:root {
  --ink: #151713;
  --paper: #f5f2e9;
  --cream: #e7e0d1;
  --white: #fbfaf5;
  --olive: #68705c;
  --olive-dark: #30372f;
  --olive-light: #b5bd9a;
  --muted: #77776f;
  --line: rgba(21, 23, 19, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Manrope", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
main { width: 100%; overflow: clip; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.055em; }
.section-dark { color: var(--white); background: var(--ink); }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-olive { color: var(--white); background: var(--olive-dark); }
.accent, .dot { color: var(--olive-light); }
.accent-light { color: #cfd6b8; }
.eyebrow, .section-index {
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.hero { min-height: 100svh; padding: 28px clamp(22px, 3.4vw, 54px) 34px; }
.topbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 20px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}
.wordmark { font-weight: 800; }
.nav-links { display: flex; gap: 28px; color: #bcbeb4; }
.topbar > span { justify-self: end; color: #999c91; }
.hero-layout {
  min-height: calc(100svh - 160px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 0.95fr) minmax(240px, 0.52fr);
  gap: 16px;
  padding: 24px 0;
}
.hero-copy { align-self: center; padding: 32px 4vw 32px 0; }
.hero-copy h1 { margin-top: 38px; font-size: clamp(4.8rem, 8vw, 8.6rem); line-height: 0.84; }
.hero-intro { max-width: 430px; margin-top: 48px; color: #bfc1b7; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.8; }
.hero-primary, .hero-secondary { min-height: 640px; overflow: hidden; background: #242721; }
.hero-primary img { object-position: center 30%; }
.hero-secondary { display: grid; grid-template-rows: 1.05fr 0.95fr; gap: 16px; background: transparent; }
.hero-secondary img { min-height: 0; }
.hero-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: #96998e;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.hero-footer span:nth-child(2) { text-align: center; }
.hero-footer span:last-child { text-align: right; }

.about { padding: clamp(72px, 8vw, 128px) clamp(22px, 5vw, 80px); }
.about-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 9vw; margin-top: clamp(64px, 8vw, 120px); }
.about-grid h2 { font-family: var(--serif); font-size: clamp(3.2rem, 6.4vw, 6.5rem); line-height: 1.08; font-weight: 500; }
.about-copy { padding-top: 12px; }
.about-copy p { font-size: clamp(1rem, 1.45vw, 1.28rem); line-height: 1.85; }
.about-copy p + p { margin-top: 28px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(84px, 10vw, 150px); border-top: 1px solid var(--line); }
.capability-grid article { min-height: 210px; padding: 24px 24px 20px 0; border-right: 1px solid var(--line); }
.capability-grid article:not(:first-child) { padding-left: 24px; }
.capability-grid article:last-child { border-right: 0; }
.capability-grid span { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.14em; }
.capability-grid h3 { margin-top: 58px; font-size: 1.35rem; }
.capability-grid p { margin-top: 12px; color: var(--muted); font-size: 0.78rem; line-height: 1.7; }

.works { padding: clamp(72px, 8vw, 126px) clamp(18px, 3.4vw, 54px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 0 1.6vw clamp(48px, 6vw, 84px); }
.section-heading h2 { margin-top: 30px; font-size: clamp(3.5rem, 6.2vw, 6.3rem); line-height: 0.92; }
.section-heading > p { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; }
.work-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 16px; align-items: start; }
.work-card { position: relative; min-height: 670px; overflow: hidden; background: #d0c9bb; }
.work-card-large { min-height: 900px; }
.work-card-wide { min-height: 520px; }
.work-card img { transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.work-card:hover img, .work-card:focus-visible img { transform: scale(1.025); }
.work-card > div {
  position: absolute;
  inset: auto 0 0;
  min-height: 96px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: end;
  gap: 14px;
  padding: 30px 22px 20px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
}
.work-card span, .work-card em { font-size: 0.62rem; font-style: normal; letter-spacing: 0.12em; }
.work-card strong { font-size: 0.86rem; letter-spacing: 0.08em; }

.case { padding: clamp(82px, 8vw, 128px) clamp(18px, 3.4vw, 54px); }
.case-header { display: grid; grid-template-columns: 70px 1.1fr 0.9fr; gap: 32px; margin: 0 1.6vw clamp(60px, 7vw, 104px); }
.case-number { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; }
.case-header h2 { margin-top: 30px; font-size: clamp(4rem, 7.5vw, 7.5rem); line-height: 0.86; }
.case-summary { padding-top: 38px; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.8; }
.case-summary > p { max-width: 500px; }
.case-summary dl { margin-top: 45px; }
.case-summary dl div { display: grid; grid-template-columns: 84px 1fr; padding: 11px 0; border-top: 1px solid var(--line); }
.case-summary dt, .case-summary dd { font-size: 0.68rem; line-height: 1.6; letter-spacing: 0.08em; }
.case-summary dt { color: var(--muted); }
.case-header-light .case-summary dl div { border-color: var(--line-light); }
.case-header-light .case-summary dt { color: #a9afa2; }
.case-hero { position: relative; min-height: min(76vw, 1180px); overflow: hidden; background: #ddd7ca; }
.case-hero-pet img { object-position: center 28%; }
.case-hero figcaption {
  position: absolute;
  right: 3.5vw;
  bottom: 3.5vw;
  width: min(380px, 36vw);
  padding: 28px;
  color: var(--white);
  background: rgba(42, 49, 37, 0.88);
  backdrop-filter: blur(16px);
}
.case-hero figcaption span { display: block; color: #cfd6b8; font-size: 0.65rem; letter-spacing: 0.16em; }
.case-hero figcaption strong { display: block; margin-top: 22px; font-size: clamp(2rem, 3.3vw, 3.5rem); line-height: 0.95; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 16px; background: rgba(40, 50, 36, 0.18); }
.process-grid article { min-height: 230px; padding: 30px; background: #dce0cf; }
.process-grid span { color: var(--olive); font-size: 0.68rem; }
.process-grid h3 { margin-top: 48px; font-size: 1.28rem; }
.process-grid p { margin-top: 12px; color: #5c6254; font-size: 0.8rem; line-height: 1.7; }
.gallery { display: grid; gap: 16px; margin-top: 16px; }
.gallery figure { min-height: 0; overflow: hidden; background: #d7d2c6; }
.pet-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 420px; }
.pet-gallery .portrait { grid-row: span 2; }
.pet-gallery .detail-page { grid-row: span 3; }
.pet-gallery .detail-page img { object-fit: contain; background: #eeece4; }
.pet-gallery .landscape { grid-column: span 2; }
.motion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 80px; }
.motion-card { position: relative; min-height: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #d8d4ca; }
.motion-card figcaption { position: absolute; left: 16px; bottom: 16px; padding: 9px 11px; color: #fff; background: rgba(0,0,0,.68); font-size: 0.62rem; letter-spacing: 0.12em; }

.split-hero { display: grid; grid-template-columns: 1.12fr 0.88fr; min-height: 960px; background: #22271f; }
.split-hero > img { min-height: 960px; }
.split-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(36px, 5vw, 80px); }
.split-copy h3 { margin: 32px 0; font-size: clamp(3.8rem, 6vw, 6.5rem); line-height: 0.88; }
.split-copy > p:last-child { max-width: 420px; color: #c3c9bb; line-height: 1.8; }
.editorial-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 390px; }
.editorial-gallery .wide { grid-column: span 2; grid-row: span 2; }
.editorial-gallery figure:not(.wide):not(.detail-page) { grid-row: span 2; }
.editorial-gallery .detail-page { grid-column: span 2; grid-row: span 3; }
.editorial-gallery .detail-page img { object-fit: contain; background: #e9e4d9; }
.motion-grid-dark .motion-card { background: #20251f; }

.case-aesop { background: #ded8ca; }
.case-hero-aesop { min-height: min(72vw, 1080px); background: #cfc7b8; }
.case-hero-aesop img { object-position: center; }
.aesop-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 360px; }
.aesop-gallery .tall { grid-row: span 3; }
.aesop-gallery .wide { grid-column: span 2; grid-row: span 2; }
.aesop-gallery figure:not(.wide):not(.tall):not(.editorial) { grid-row: span 2; }
.aesop-gallery .editorial { grid-column: span 2; grid-row: span 2; }
.aesop-gallery .editorial img { object-fit: contain; background: #f5f3ed; }

.case-cloud { padding-top: 0; }
.cloud-cover { min-height: 1040px; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; margin: 0 calc(clamp(18px, 3.4vw, 54px) * -1); padding: 70px clamp(28px, 6vw, 100px); background: #b8bea1; }
.cloud-copy { padding-right: 6vw; }
.cloud-copy h2 { margin: 36px 0 42px; font-size: clamp(5rem, 9vw, 9.5rem); line-height: 0.8; }
.cloud-copy > p:last-child { max-width: 500px; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.8; }
.cloud-cover > img { height: min(820px, 72vw); object-fit: contain; }
.cloud-system { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.cloud-system figure { position: relative; aspect-ratio: 4 / 5; background: #fff; }
.cloud-system img { object-fit: contain; padding: 18px; }
.cloud-system figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 0.62rem; letter-spacing: 0.11em; }
.cloud-editorial { display: grid; grid-template-columns: 1.25fr 0.75fr 0.75fr 0.75fr; gap: 16px; margin-top: 100px; align-items: stretch; }
.cloud-editorial img { min-height: 500px; }
.cloud-editorial img:first-child { object-fit: contain; background: #fff; }
.cloud-merch { display: grid; grid-template-columns: 1fr repeat(3, 0.8fr); gap: 16px; margin-top: 100px; align-items: stretch; }
.merch-copy { padding: 36px 3vw 36px 0; }
.merch-copy h3 { margin: 40px 0 24px; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1.25; font-weight: 500; }
.merch-copy > p:last-child { color: var(--muted); line-height: 1.75; }
.cloud-merch img { min-height: 520px; object-fit: contain; background: #ddd8cd; }

.poster-lab { padding: clamp(82px, 8vw, 128px) clamp(18px, 3.4vw, 54px); }
.section-heading-light > p { color: #999c91; }
.poster-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 470px; gap: 16px; }
.poster-grid figure { position: relative; overflow: hidden; background: #262823; }
.poster-grid .poster-large { grid-column: span 2; grid-row: span 2; }
.poster-grid .poster-tall { grid-row: span 2; }
.poster-grid figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 10px; color: #fff; background: rgba(0,0,0,.66); font-size: 0.58rem; letter-spacing: 0.12em; }

.closing { min-height: 88svh; display: flex; flex-direction: column; justify-content: space-between; padding: 42px clamp(22px, 3.4vw, 54px); }
.closing-top, .closing-bottom { display: flex; justify-content: space-between; gap: 30px; color: #94978d; font-size: 0.68rem; letter-spacing: 0.12em; }
.closing h2 { padding: 90px 0; font-size: clamp(4.2rem, 10vw, 10.5rem); line-height: 0.8; }
.closing-bottom { align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--line-light); }
.closing-bottom p { max-width: 480px; line-height: 1.7; }
.closing-bottom a { color: var(--olive-light); }

@media (max-width: 1050px) {
  .hero-layout { grid-template-columns: 0.95fr 1.05fr; }
  .hero-primary { min-height: 700px; }
  .hero-secondary { display: none; }
  .case-header { grid-template-columns: 50px 1fr; }
  .case-summary { grid-column: 2; padding-top: 0; }
  .pet-gallery, .editorial-gallery, .aesop-gallery { grid-template-columns: repeat(2, 1fr); }
  .cloud-system { grid-template-columns: repeat(2, 1fr); }
  .cloud-editorial { grid-template-columns: repeat(2, 1fr); }
  .cloud-merch { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .topbar > span { font-size: 0.58rem; }
  .hero { min-height: auto; }
  .hero-layout { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 42px 0 22px; }
  .hero-copy h1 { font-size: clamp(4.4rem, 20vw, 7rem); }
  .hero-intro { margin-top: 32px; }
  .hero-primary { min-height: 0; aspect-ratio: 4 / 5; }
  .hero-footer { grid-template-columns: 1fr; gap: 9px; padding-top: 18px; }
  .hero-footer span:nth-child(2), .hero-footer span:last-child { text-align: left; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-grid h2 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid article:nth-child(2) { border-right: 0; }
  .capability-grid article:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .capability-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: clamp(3.5rem, 16vw, 5.8rem); }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card-large, .work-card-wide { min-height: 0; aspect-ratio: 4 / 5; }
  .work-card > div { grid-template-columns: 30px 1fr; }
  .work-card em { display: none; }
  .case-header { grid-template-columns: 1fr; gap: 24px; margin-left: 0; margin-right: 0; }
  .case-summary { grid-column: 1; }
  .case-header h2 { font-size: clamp(4.2rem, 18vw, 6.5rem); }
  .case-hero { min-height: 0; aspect-ratio: 4 / 5; }
  .case-hero figcaption { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 190px; }
  .pet-gallery, .editorial-gallery, .aesop-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .pet-gallery .detail-page, .editorial-gallery .detail-page { grid-column: span 2; }
  .motion-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero > img { min-height: 0; aspect-ratio: 4 / 5; }
  .split-copy { min-height: 560px; }
  .cloud-cover { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; }
  .cloud-copy { padding-right: 0; }
  .cloud-cover > img { height: 500px; margin-top: 30px; }
  .cloud-editorial, .cloud-merch { grid-template-columns: 1fr 1fr; margin-top: 60px; }
  .cloud-editorial img, .cloud-merch img { min-height: 360px; }
  .merch-copy { grid-column: 1 / -1; }
  .poster-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
  .poster-grid .poster-large { grid-column: span 2; }
  .poster-grid .poster-tall { grid-row: span 2; }
  .closing { min-height: 760px; }
  .closing-bottom { flex-direction: column; }
}

@media (max-width: 440px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article, .capability-grid article:not(:first-child) { padding-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .capability-grid article:first-child { border-top: 0; }
  .work-card > div { padding-left: 16px; padding-right: 16px; }
  .pet-gallery, .editorial-gallery, .aesop-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pet-gallery figure, .editorial-gallery figure, .aesop-gallery figure,
  .pet-gallery .portrait, .pet-gallery .detail-page, .pet-gallery .landscape,
  .editorial-gallery .wide, .editorial-gallery .detail-page,
  .aesop-gallery .wide, .aesop-gallery .tall, .aesop-gallery .editorial {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
  .pet-gallery .detail-page, .editorial-gallery .detail-page { aspect-ratio: 3 / 5; }
  .cloud-system, .cloud-editorial, .cloud-merch { grid-template-columns: 1fr; }
  .cloud-editorial img, .cloud-merch img { min-height: 0; aspect-ratio: 4 / 5; }
  .merch-copy { grid-column: auto; }
  .poster-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .poster-grid figure, .poster-grid .poster-large, .poster-grid .poster-tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .closing h2 { font-size: 18vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-card img { transition: none; }
}
