:root {
  --paper: #f4f1eb;
  --ink: #10100f;
  --soft: #ded8cf;
  --muted: #746f67;
  --white: #fffaf2;
  --red: #ed1745;
  --lime: #bdf04b;
  --blue: #3c36ff;
  --navy: #001b25;
  --sky: #bcd8e7;
  --water: #062a49;
  --gold: #b99964;
  --radius: 5px;
  --radius-soft: 6px;
  --max: 1280px;
  --gutter: clamp(18px, 3.4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Satoshi, Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform .55s cubic-bezier(.76, 0, .24, 1);
}

body.page-leaving::after {
  transform: translateY(0);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  background: currentColor;
  color: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  mix-blend-mode: difference;
}

.cursor {
  position: fixed;
  z-index: 100;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .18s ease, height .18s ease, opacity .18s ease;
  mix-blend-mode: difference;
  color: #fff;
}

body.has-cursor .cursor { opacity: 1; }
body.cursor-large .cursor { width: 74px; height: 74px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tqm-mark {
  position: relative;
  display: inline-grid;
  grid-template-columns: 15px 15px 17px;
  gap: 3px;
  width: 53px;
  height: 15px;
  flex: 0 0 auto;
  align-items: center;
}

.tqm-mark i {
  position: relative;
  display: block;
  height: 15px;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.mark-t {
  background:
    linear-gradient(currentColor 0 0) 0 0 / 15px 5px no-repeat,
    linear-gradient(135deg, transparent 0 49%, currentColor 50% 100%) 5px 4px / 10px 11px no-repeat;
}

.mark-q {
  width: 15px;
  height: 15px;
  background: currentColor;
  border-radius: 50%;
  -webkit-mask: radial-gradient(circle 3.2px at 62% 42%, transparent 0 3.1px, #000 3.3px);
  mask: radial-gradient(circle 3.2px at 62% 42%, transparent 0 3.1px, #000 3.3px);
}

.mark-m {
  width: 17px;
  background:
    linear-gradient(60deg, transparent 0 49%, currentColor 50% 100%) left / 9px 15px no-repeat,
    linear-gradient(-60deg, transparent 0 49%, currentColor 50% 100%) right / 9px 15px no-repeat;
}

.brand:hover .mark-q {
  transform: translateY(-1px);
}

.brand:hover .mark-m {
  transform: translateX(1px);
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
}

.site-nav a,
.menu-toggle,
.text-link {
  position: relative;
}

.site-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .22s ease;
}

.site-nav a:hover::after,
.text-link:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
}

main { min-height: 100vh; }

.kicker,
.section-index {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Clash Display", Nohemi, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: .9;
}

h1 {
  margin-bottom: clamp(22px, 3vw, 42px);
  font-size: clamp(44px, 6.4vw, 96px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4.4vw, 64px);
}

h3 {
  margin-bottom: 0;
  font-family: Nohemi, Satoshi, Inter, sans-serif;
  font-size: clamp(24px, 3.1vw, 46px);
  line-height: 1;
}

p {
  line-height: 1.58;
}

.zh {
  max-width: 560px;
  color: #292622;
  font-size: clamp(15px, 1.25vw, 18px);
}

.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, .95fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  padding: 100px 0 70px;
}

.hero-statement {
  position: relative;
  z-index: 2;
}

.hero-statement h1 {
  max-width: 820px;
  line-height: .94;
  text-wrap: balance;
}

.hero-orbit {
  position: relative;
  height: min(76vh, 740px);
}

.orbit-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  will-change: transform;
  opacity: 0;
  animation: imageRise .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

.orbit-a { animation-delay: .18s; }
.orbit-b { animation-delay: .02s; }
.orbit-c { animation-delay: .34s; }
.orbit-d { animation-delay: .26s; }
.orbit-e { animation-delay: .42s; }

@keyframes imageRise {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-statement .kicker,
.hero-statement h1,
.hero-statement .zh {
  opacity: 0;
  animation: textLift .75s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-statement h1 { animation-delay: .1s; }
.hero-statement .zh { animation-delay: .2s; }

@keyframes textLift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.orbit-a {
  width: 32%;
  left: 2%;
  top: 4%;
  aspect-ratio: 4/3;
  z-index: 2;
}

.orbit-b {
  width: 28%;
  right: 20%;
  top: 24%;
  aspect-ratio: 4/5;
  object-position: center center;
  z-index: 3;
}

.orbit-c {
  width: 20%;
  left: 4%;
  bottom: 10%;
  aspect-ratio: 1;
  z-index: 3;
}

.orbit-d {
  width: 26%;
  right: 12%;
  bottom: 0;
  aspect-ratio: 4/5;
  z-index: 4;
}

.orbit-e {
  width: 16%;
  left: 34%;
  top: 62%;
  aspect-ratio: 1;
  filter: blur(1px);
  opacity: .72;
  z-index: 0;
}

.orbit-b,
.orbit-d {
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
}

.split-intro,
.featured-work,
.work-index,
.principle-grid,
.commerce-board,
.case-summary,
.case-process,
.case-gallery,
.case-story {
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
}

.split-intro {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
  min-height: 72vh;
  align-items: center;
  border-top: 1px solid var(--soft);
}

.split-intro p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 22px);
}

.program-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.program-strip a {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 46px);
  border-right: 1px solid rgba(244, 241, 235, .35);
  transition: background .25s ease, color .25s ease;
}

.program-strip a:hover {
  color: var(--ink);
}

.program-strip .program-brand:hover { background: var(--red); color: #fff; }
.program-strip .program-commerce:hover { background: var(--water); color: #fff; }
.program-strip .program-product:hover { background: var(--lime); color: var(--ink); }

.program-strip span {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1;
  font-family: Nohemi, Satoshi, sans-serif;
  font-weight: 650;
}

.program-strip strong {
  max-width: 330px;
  font-weight: 400;
  color: currentColor;
  opacity: .72;
}

.featured-work {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 38px;
}

.work-stack {
  width: calc(100% - min(350px, 30vw) - clamp(28px, 4vw, 58px));
  border-top: 1px solid var(--ink);
}

.work-row,
.index-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(220px, .9fr) minmax(260px, 1fr);
  gap: clamp(18px, 4vw, 70px);
  align-items: center;
  min-height: 128px;
  padding: 25px 0;
  border-bottom: 1px solid var(--ink);
  transition: padding .25s ease, background .25s ease, color .25s ease;
}

.work-row:hover,
.index-item:hover {
  padding-left: 26px;
  padding-right: 26px;
}

.work-row.red:hover { background: var(--red); color: #fff; }
.work-row.lime:hover { background: var(--lime); }
.work-row.dark:hover { background: var(--navy); color: #fff; }
.work-row.blue:hover { background: var(--blue); color: #fff; }

.work-row span,
.index-item span,
.principle-grid span,
.case-summary span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-row:hover span,
.work-row:hover p { color: currentColor; opacity: .78; }

.work-row p,
.index-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.featured-work .hover-preview {
  position: absolute;
  z-index: 2;
  right: 0;
  top: clamp(190px, 18vw, 230px);
  width: min(350px, 30vw);
  aspect-ratio: 4/3;
  pointer-events: none;
  padding: 8px;
  overflow: hidden;
  opacity: 1;
  transform: none;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 8px;
  background: rgba(255, 255, 255, .32);
  box-shadow:
    0 18px 54px rgba(28, 26, 23, .14),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(125%);
  transition: box-shadow .3s ease, background .3s ease;
}

.featured-work .hover-preview.is-visible {
  opacity: 1;
  transform: none;
}

.featured-work .hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 1;
  transition: opacity .18s ease;
}

.featured-work .hover-preview img.is-switching {
  opacity: 0;
}

.index-preview {
  position: fixed;
  z-index: 30;
  right: 4vw;
  top: 22vh;
  width: min(320px, 25vw);
  aspect-ratio: 4 / 3;
  padding: 8px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 8px;
  background: rgba(255, 255, 255, .32);
  box-shadow: 0 18px 54px rgba(28, 26, 23, .14);
  backdrop-filter: blur(18px) saturate(125%);
  transition: opacity .2s ease;
}

.index-preview.is-visible {
  opacity: 1;
}

.index-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  opacity: 1;
  transition: opacity .18s ease;
}

.index-preview img.is-switching {
  opacity: 0;
}

.visual-stage {
  position: relative;
  overflow: hidden;
  min-height: 880px;
  padding: clamp(74px, 9vw, 128px) 0 0;
  background: #160702;
  color: var(--paper);
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 42%, rgba(255, 255, 255, .08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 48%);
  pointer-events: none;
}

.visual-stage-copy {
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.visual-stage-copy .kicker {
  color: rgba(244, 241, 235, .62);
}

.visual-stage-copy h2 {
  max-width: 650px;
  margin: 20px 0 26px;
  font-family: "Clash Display", Nohemi, Satoshi, Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(30px, 4.4vw, 64px);
  font-weight: 600;
  line-height: .96;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.stage-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  height: 520px;
  perspective: 1100px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.visual-stage.is-dragging .stage-rail {
  cursor: grabbing;
}

.stage-track {
  position: absolute;
  left: 18vw;
  right: auto;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  width: max-content;
  height: 470px;
  padding-right: 18vw;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.stage-card {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  width: 360px;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 32px 92px rgba(0, 0, 0, .42);
  transform: translateY(0) scale(1);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), box-shadow .38s ease;
  will-change: transform;
}

.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  transform: scale(1.04);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), filter .6s ease;
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 36%);
  opacity: 0;
  transition: opacity .38s ease;
}

.stage-card:hover img {
  transform: scale(1.035) translateY(-2px);
  filter: saturate(1.06) contrast(1.03);
}

.stage-card:hover::after {
  opacity: 1;
}

.stage-card:hover {
  transform: perspective(900px) translateY(-8px) rotateX(-7deg) scale(1.012);
  z-index: 20;
  box-shadow: 0 44px 110px rgba(0, 0, 0, .5);
}

.stage-a {
  width: clamp(330px, 26vw, 470px);
  height: clamp(410px, 31vw, 540px);
  z-index: 2;
}

.stage-b {
  width: clamp(320px, 25vw, 440px);
  height: clamp(310px, 24vw, 400px);
  z-index: 4;
}

.stage-c {
  width: clamp(400px, 32vw, 560px);
  height: clamp(300px, 23vw, 380px);
  z-index: 3;
}

.stage-d {
  width: clamp(330px, 26vw, 470px);
  height: clamp(410px, 31vw, 540px);
  z-index: 5;
}

.stage-e {
  width: clamp(320px, 25vw, 440px);
  height: clamp(310px, 24vw, 400px);
  z-index: 1;
}

.stage-f {
  width: clamp(280px, 21vw, 360px);
  height: clamp(280px, 21vw, 360px);
  z-index: 3;
}

.page-hero {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  padding: 120px 0 50px;
}

.page-hero.compact { min-height: 70vh; }
.brand-hero { color: var(--ink); }
.commerce-hero { color: var(--ink); }

.work-index {
  padding-bottom: 120px;
  border-top: 1px solid var(--ink);
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin: -20px auto 42px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: var(--paper);
}

.index-item {
  grid-template-columns: 72px minmax(240px, .9fr) minmax(280px, 1fr) 120px;
}

.index-item.is-hidden {
  display: none;
}

.index-item:hover {
  background: var(--ink);
  color: var(--paper);
}

.index-item:hover p,
.index-item:hover span,
.index-item:hover em {
  color: currentColor;
  opacity: .72;
}

.index-item h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 64px);
}

.index-item em {
  font-style: normal;
  color: var(--muted);
}

.spine-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 72vh;
  border: 1px solid var(--ink);
}

.spine-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 24px;
  border-right: 1px solid var(--ink);
  transition: flex .25s ease, background .25s ease, color .25s ease;
}

.spine-card:last-child { border-right: 0; }
.spine-card.crafti { background: var(--red); color: #fff; }
.spine-card.crochetobe { background: var(--lime); }
.spine-card.resiners { background: var(--navy); color: #fff; }
.spine-card.caydo { background: var(--blue); color: #fff; }

.spine-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.spine-card p {
  max-width: 220px;
  margin-bottom: 0;
}

.spine-card img {
  position: absolute;
  inset: auto 20px 20px auto;
  width: 58%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(20px) scale(.96);
  transition: opacity .25s ease, transform .25s ease;
}

.spine-card:hover img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 120px 0;
}

.principle-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
}

.principle-grid h3 {
  margin: 50px 0 18px;
  font-size: clamp(26px, 3.2vw, 42px);
}

.principle-grid p {
  max-width: 320px;
  color: var(--muted);
}

.commerce-board {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-auto-rows: minmax(320px, auto);
  gap: 18px;
  padding-bottom: 120px;
}

.commerce-tile {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--ink);
}

.commerce-tile.wide { grid-row: span 2; }
.commerce-tile.tall { min-height: 520px; }

.commerce-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.commerce-tile:hover img {
  transform: scale(1.05);
  filter: brightness(.75);
}

.commerce-tile div {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
}

.commerce-tile .commerce-caption-light {
  color: var(--ink);
  background: #fff;
}

.commerce-tile span {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.commerce-tile h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
}

.commerce-tile.wide h2 {
  font-size: clamp(26px, 2vw, 38px);
  line-height: 1.02;
}

.case-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: 110px var(--gutter) 60px;
}

.case-hero h1 {
  color: currentColor;
}

.case-hero img {
  width: 100%;
  max-height: min(72vh, 680px);
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
}

.case-hero.theme-water img {
  border-radius: 26px;
  clip-path: inset(2px 8.2% 3px round 26px);
}

.theme-red { background: var(--red); color: #fff; }
.theme-lime { background: var(--lime); }
.theme-dark { background: var(--navy); color: #fff; }
.theme-blue { background: var(--blue); color: #fff; }
.theme-sky { background: var(--sky); }
.theme-water { background: var(--water); color: #fff; }
.theme-gold { background: #17130f; color: var(--gold); }
.theme-m3 { background: #111; color: var(--paper); }

.case-hero .kicker,
.theme-dark .kicker,
.theme-water .kicker,
.theme-red .kicker,
.theme-blue .kicker {
  color: currentColor;
  opacity: .72;
}

.case-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 100px 0;
}

.case-summary div {
  min-height: 270px;
  padding: 26px;
  background: var(--white);
}

.case-summary p {
  margin: 60px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
}

.case-process {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: 0 0 100px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.process-grid p {
  margin: 58px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 23px);
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 110px;
  align-items: start;
}

.case-gallery img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  background: transparent;
  border-radius: var(--radius);
}

.case-gallery .wide {
  grid-column: 1 / -1;
}

.case-more {
  width: min(var(--max), calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 0 120px;
}

.case-more-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
}

.case-more-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.8vw, 54px);
}

.case-more-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: start;
}

.case-more-grid img {
  width: 100%;
  height: auto;
  object-fit: initial;
  background: transparent;
  border-radius: var(--radius);
}

.case-more-grid .compact-frame {
  justify-self: center;
}

.case-more-grid.compact-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.case-more-grid.compact-pair .compact-frame {
  grid-column: span 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.case-more-grid .span-7 { grid-column: span 7; }
.case-more-grid .span-5 { grid-column: span 5; }
.case-more-grid .span-4 { grid-column: span 4; }
.case-more-grid .span-6 { grid-column: span 6; }
.case-more-grid .span-8 { grid-column: span 8; }

.case-story {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding: 0 0 130px;
}

.case-story h2 {
  max-width: 820px;
}

.case-story p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
}

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}

.footer h2 {
  max-width: 1040px;
  margin: 22px 0 36px;
}

.footer p,
.footer a {
  color: rgba(244, 241, 235, .72);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    mix-blend-mode: normal;
    color: var(--ink);
    background: rgba(244, 241, 235, .82);
    backdrop-filter: blur(14px);
  }

  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 64px var(--gutter) auto;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
  }

  body.nav-open .site-nav { display: flex; }

  .home-hero,
  .split-intro,
  .case-hero,
  .case-story {
    grid-template-columns: 1fr;
  }

  .home-hero { padding-top: 120px; }
  .hero-orbit { height: 560px; }
  .program-strip,
  .spine-wall,
  .principle-grid,
  .commerce-board,
  .case-summary,
  .case-process,
  .process-grid,
  .case-more-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .program-strip a { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(244, 241, 235, .35); }
  .work-row,
  .index-item { grid-template-columns: 50px 1fr; gap: 16px; }
  .work-stack { width: 100%; }
  .work-row p,
  .index-item p,
  .index-item em { grid-column: 2; }
  .hover-preview { display: none; }
  .spine-card { min-height: 360px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .spine-card h2 { writing-mode: initial; transform: none; }
  .spine-card img { opacity: 1; width: 45%; }
  .case-hero img { height: 52vh; }
  .case-gallery img,
  .case-gallery .wide {
    height: auto;
    aspect-ratio: auto;
  }
  .case-more-grid img,
  .case-more-grid .span-4,
  .case-more-grid .span-5,
  .case-more-grid .span-6,
  .case-more-grid .span-7,
  .case-more-grid .span-8 {
    grid-column: 1 / -1;
    min-height: auto;
  }
  .case-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-more-grid .compact-frame {
    grid-column: span 1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(40px, 13vw, 64px); }
  h2 { font-size: clamp(30px, 9vw, 48px); }
  .home-hero,
  .page-hero { min-height: auto; }
  .hero-orbit { height: 430px; }
  .orbit-a { width: 56%; }
  .orbit-b { width: 66%; top: 26%; }
  .orbit-c { width: 45%; left: 5%; }
  .orbit-d { width: 38%; right: 3%; }
  .orbit-e { display: none; }
  .section-title-row { align-items: flex-start; gap: 20px; }
  .commerce-tile,
  .commerce-tile.tall { min-height: 330px; }
  .commerce-tile div { padding: 20px; }
  .commerce-tile span {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .commerce-tile h2 {
    max-width: 18ch;
    font-size: clamp(22px, 5.4vw, 27px);
    line-height: 1.02;
  }
  .commerce-tile.wide h2 {
    font-size: clamp(22px, 5.4vw, 27px);
  }
  .case-summary div { min-height: 220px; }
  .process-grid article { min-height: 190px; }
  .visual-stage {
    min-height: 720px;
  }
  .stage-rail {
    overflow-x: auto;
    overflow-y: hidden;
    height: 410px;
    bottom: 30px;
    scrollbar-width: none;
  }
  .stage-rail::-webkit-scrollbar { display: none; }
  .stage-track {
    position: relative;
    left: auto;
    inset: auto;
    display: flex;
    gap: 12px;
    width: max-content;
    height: 100%;
    padding: 0 18px;
    align-items: flex-end;
  }
  .stage-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 250px;
    height: 210px;
    transform: translateY(0);
  }
  .stage-a,
  .stage-d {
    width: 270px;
    height: 360px;
  }
  .stage-b,
  .stage-e {
    width: 260px;
    height: 250px;
  }
  .stage-c {
    width: 300px;
    height: 210px;
  }
  .stage-f {
    width: 240px;
    height: 240px;
  }
}
