@font-face {
  font-family: 'LXGW WenKai GB';
  src: url('./fonts/wenkai-gb.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'LXGW WenKai TC';
  src: url('./fonts/wenkai-tc.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Klee One';
  src: url('./fonts/klee-one.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Klee One';
  src: url('./fonts/klee-one-semibold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Patrick Hand';
  src: url('./fonts/patrick-hand.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}

:root, :lang(en) { --site-font: 'Patrick Hand', 'Segoe UI', sans-serif; }
:lang(zh-CN) { --site-font: 'LXGW WenKai GB', 'KaiTi', 'Microsoft YaHei', sans-serif; }
:lang(zh-Hant) { --site-font: 'LXGW WenKai TC', 'DFKai-SB', 'Microsoft JhengHei', sans-serif; }
:lang(ja) { --site-font: 'Klee One', 'Yu Mincho', 'Meiryo', serif; }
[lang] { font-family: var(--site-font); }

:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #171816;
  --dim: #504f49;
  --blue-ink: #176487;
  --blue-label-size: clamp(1rem, 1.15vw, 1.2rem);
  --blue-heading-size: clamp(1.125rem, 1.3vw, 1.35rem);
  --rule: #d1cbc0;
  --paper-edge-shadow: 0 2px 8px #372d2124;
  --tape: linear-gradient(118deg, transparent 18%, #fff9e76b 22%, #937a5026 23%, transparent 28%, transparent 64%, #fff8e580 68%, #9a7d5329 70%, transparent 74%),
    linear-gradient(167deg, transparent 40%, #fff9ee55 48%, #aa8f6526 50%, transparent 61%),
    url('./paper-grain.png'), linear-gradient(0deg, #cbb38aeb, #e9dabced 22%, #f0e3c9e8 60%, #dbc7a6e8);
  --tape-edge: polygon(0 5%, 21% 3%, 52% 6%, 100% 0, 94% 20%, 99% 37%, 95% 58%, 100% 72%, 96% 85%, 100% 100%, 61% 96%, 30% 99%, 0 95%, 5% 79%, 1% 62%, 6% 42%, 0 26%, 5% 16%);
  --sheet-gap: clamp(4px, .5vw, 9px);
  --registration-height: clamp(1.95rem, 3.7vw, 4rem);
  --header-logo-width: clamp(10rem, 15vw, 14.5rem);
  --header-min-height: 4.55rem;
  --header-bottom: .4rem;
  --header-height: max(var(--header-min-height), calc(var(--header-logo-width) * 274 / 760 + var(--header-bottom)));
  --page-width: calc(100% - clamp(1.6rem, 4vw, 5rem));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6.25rem; scrollbar-gutter: stable; }
body { margin: 0; padding: 0 clamp(4px, .6vw, 12px) .55rem; background: #eeebe3; color: var(--ink); font: 1rem/1.55 var(--site-font); }
body:lang(en) { letter-spacing: .022em; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #268396; outline-offset: 5px; }
.shell { width: var(--page-width); margin-inline: auto; }
.sheet-top, .home-sheet, .sheet { background: var(--paper) url('./paper-grain.png'); }
.sheet-top, .home-sheet, .site-header { border-inline: 1px solid #d8d0c2; box-shadow: var(--paper-edge-shadow); }
.home-sheet { border-bottom: 1px solid #d8d0c2; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-150%); background: white; padding: .75rem 1rem; }
.skip-link:focus { transform: none; }

.registration { position: relative; height: var(--registration-height); }
.registration i { position: absolute; top: 50%; left: 17%; translate: -50% -50%; width: 6.4%; aspect-ratio: 5.5; border: 1px solid #a29a8e; border-radius: 100vmax; background: #c9c3b7 url('./paper-grain.png'); box-shadow: inset 0 2px 4px #39322569, 0 1px 0 #fff9; }
.registration i:nth-child(2) { left: 50%; width: 1.8%; aspect-ratio: 1; }
.registration i:nth-child(3) { left: 83%; }
.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper) url('./paper-grain.png'); }
.site-header {
  box-shadow: -5px 0 7px -6px #372d2150, 5px 0 7px -6px #372d2150, 0 7px 16px -7px #372d2100;
  transition: box-shadow .2s ease;
}
.site-header.has-scroll-shadow {
  box-shadow: -5px 0 7px -6px #372d2150, 5px 0 7px -6px #372d2150, 0 7px 16px -7px #372d215e;
}
.header-inner { min-height: var(--header-height); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(.9rem, 2.6vw, 2.75rem); padding-bottom: var(--header-bottom); }
.logo { justify-self: start; }
.logo img { width: var(--header-logo-width); height: auto; }
.main-nav, .language-nav { display: flex; align-items: center; }
.main-nav { --nav-ring-gutter: 1.55rem; --nav-ring-height: 3.55rem; justify-content: space-between; gap: clamp(.85rem, 2.3vw, 2.35rem); }
.main-nav > a, .portfolio-trigger, .language { min-height: 2.75rem; display: inline-flex; align-items: center; font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav > a, .portfolio-trigger { position: relative; color: #111; font-size: clamp(1.05rem, 1.55vw, 1.55rem); }
.portfolio-nav { position: relative; }
.portfolio-trigger { padding: 0; border: 0; background: transparent; cursor: pointer; }
.portfolio-menu {
  position: absolute; z-index: 1; inset-block-start: 100%; inset-inline-start: 0;
  width: max-content; min-width: 10rem; margin: 0; padding: .3rem; list-style: none;
  border: 1px solid var(--rule); background: var(--paper) url('./paper-grain.png'); box-shadow: 0 5px 14px #372d212e;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-.35rem);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.portfolio-trigger[aria-expanded="true"] + .portfolio-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s;
}
.portfolio-menu a {
  display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .4rem .75rem;
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.portfolio-menu a::before { content: ''; width: .37rem; height: .37rem; flex: none; border-radius: 50%; background: var(--blue-ink); }
.portfolio-menu a:is(:hover, :focus-visible) { background: #deece8; }
a.language:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.language-nav { border-left: 1px solid var(--rule); padding-left: clamp(.6rem, 1.35vw, 1.25rem); }
.language { justify-content: center; min-width: 2rem; color: #68645a; font-family: var(--site-font); font-size: .875rem; }
.current-language { color: var(--blue-ink); font-size: var(--blue-label-size); background: linear-gradient(#54c0dc, #54c0dc) center calc(100% - .45rem) / 1.12rem 2px no-repeat; }
.language-switch { position: relative; }
.language-switch summary { display: flex; align-items: center; justify-content: center; gap: .43rem; min-height: 2.45rem; padding: .35rem .85rem; list-style: none; cursor: pointer; color: #161a1d; font: 700 1rem/1 var(--site-font); letter-spacing: .065em; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-current-code { transition: opacity .16s ease-out; }
.language-switch summary:hover .language-current-code { opacity: .72; }
.language-globe { position: relative; display: block; width: 1.05rem; aspect-ratio: 1; flex: none; border: 1.5px solid currentColor; border-radius: 50%; }
.language-globe::before { content: ''; position: absolute; inset: -1px 25%; border-inline: 1px solid currentColor; border-radius: 50%; }
.language-globe::after { content: ''; position: absolute; inset: 27% 0; border-block: 1px solid currentColor; }
.language-menu { position: absolute; top: calc(100% + .45rem); right: 0; z-index: 1; display: grid; min-width: 11.5rem; padding: .3rem; border: 1px solid var(--rule); background: var(--paper) url('./paper-grain.png'); box-shadow: 0 5px 14px #372d212e; }
.language-menu .language { display: grid; grid-template-columns: 1.5rem 1fr auto; align-items: center; gap: .65rem; padding: .4rem .55rem; font: 700 .94rem/1.2 var(--site-font); color: var(--ink); }
.language-menu a.language:hover, .language-menu .current-language { background: #deece8; }
.language-flag { display: block; width: 1.5rem; height: 1rem; object-fit: contain; }
.language-code { color: var(--blue-ink); font: 700 var(--blue-label-size)/1 var(--site-font); }
.pencil-ring { --draw-time: .38s; position: absolute; top: 50%; left: -.46rem; width: calc(100% + .92rem); height: 2.22rem; transform: translateY(-50%) rotate(-3deg); overflow: visible; pointer-events: none; visibility: hidden; transition: visibility 0s var(--draw-time); }
.main-nav .pencil-ring { left: calc(-1 * var(--nav-ring-gutter)); width: calc(100% + 2 * var(--nav-ring-gutter)); height: var(--nav-ring-height); }
/* Center the resting offset in the gap to clear the rounded stroke caps. */
.pencil-ring path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1 1.14; stroke-dashoffset: 1.07; transition: stroke-dashoffset var(--draw-time) ease-in-out; }
.main-nav > a:is(:hover, :focus-visible) .pencil-ring, .portfolio-trigger:is(:focus-visible, [aria-expanded="true"]) .pencil-ring { visibility: visible; transition-delay: 0s; }
.main-nav > a:is(:hover, :focus-visible) .pencil-ring path, .portfolio-trigger:is(:focus-visible, [aria-expanded="true"]) .pencil-ring path { stroke-dashoffset: 0; }
.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .72rem 1.2rem; border: 1px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: .9rem; text-align: center; text-decoration: none; line-height: 1.25; transition: background-color .18s, color .18s; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #2c595f; border-color: #2c595f; }

.hero {
  padding-block: var(--hero-top, .4rem) var(--hero-bottom, clamp(.9rem, 1.35vw, 1.6rem));
}
.eyebrow { display: flex; align-items: center; gap: .55rem; color: var(--blue-ink); font-size: var(--blue-label-size); font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.eyebrow::before { content: ''; display: inline-block; width: 1.55rem; height: 1px; background: currentColor; flex: 0 0 auto; }
h2 { font-family: var(--site-font); font-weight: 400; letter-spacing: -.055em; }

.safety-frame { position: relative; outline: 1px solid #877e6b; }
.stage, .reel-video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.stage { position: relative; isolation: isolate; overflow: hidden; background: url('./paper-grain.png'), radial-gradient(ellipse at 52% 46%, #edf1e8 2%, #d7e5de 35%, #a8c0c3 75%, #91a8ac 100%); }
.stage::before { position: absolute; content: ''; inset: 0; background-image: linear-gradient(#43636b25 1px, transparent 1px), linear-gradient(90deg,#43636b25 1px,transparent 1px); background-size: 5.56% 9.9%; background-position: center; mask-image: radial-gradient(ellipse at center, transparent 20%, #000 75%); }
.stage-guides { position: absolute; inset: 9% 6%; }
.stage-circle, .stage-axis { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.stage-circle { height: 75%; aspect-ratio: 1; border-radius: 47% 53% 49% 51%; border: 1px dashed #4c757589; rotate: -12deg; }
.stage-axis { height: 115%; border-left: 1px solid #9563658a; rotate: 16deg; }
.crosshair { position: absolute; width: 17px; height: 17px; color: #316f7a; }
.crosshair::before, .crosshair::after { content: ''; position: absolute; inset: 50% 0 auto; border-top: 1px solid; }
.crosshair::after { rotate: 90deg; }
.crosshair-one { left: -9px; top: -9px; }.crosshair-two { right: -9px; top: -9px; }
.crosshair-three { left: -9px; bottom: -9px; }.crosshair-four { right: -9px; bottom: -9px; }
.stage-character { position: absolute; width: min(51%, 59svh); bottom: 14%; left: 50%; translate: -50% 0; }
.stage-line { position: absolute; left: 6%; right: 6%; bottom: 14%; border-top: 1px solid #5a706b9c; }
.reel-video { object-fit: cover; background: #1b201f; }
.hero :is(.stage, .reel-video) { max-height: max(18rem, calc(100svh - 10.5rem)); }
@media (orientation: landscape) and (min-width: 556px) {
  :root {
    --hero-top: .4rem;
    --hero-bottom: clamp(.9rem, 1.35vw, 1.6rem);
    --fold-space: clamp(1rem, 6svh, 4rem);
    --hero-height: calc(100svh - var(--registration-height) - var(--header-height) - var(--sheet-gap) - var(--fold-space));
    --reel-height: max(8rem, calc(var(--hero-height) - var(--hero-top) - var(--hero-bottom) - 1px));
    --page-width: min(100% - clamp(1.6rem, 4vw, 5rem), calc(var(--reel-height) * 16 / 9));
  }
  .hero {
    min-block-size: var(--hero-height);
    display: grid;
    align-content: center;
  }
  .hero :is(.stage, .reel-video) { max-height: none; }
  .hero .reel-video { object-fit: contain; }
}
.rabbit { position: relative; display: block; width: 100%; aspect-ratio: 526 / 416; }
.rabbit img { position: absolute; width: 100%; height: 100%; inset: 0; }
.rabbit-ear { transform-origin: 73% 52%; }
.ghost { position: absolute; inset: 0; opacity: .14; filter: invert(38%) sepia(30%) saturate(1107%) hue-rotate(143deg); }
.ghost-back { transform: translate(-14%, 1%) rotate(-13deg); transform-origin: center bottom; }
.ghost-front { transform: translate(13%, -1%) rotate(10deg); transform-origin: center bottom; opacity: .17; }
.lid { position: absolute; opacity: 0; width: 7.25%; height: 21%; top: 72%; border-radius: 60%; background: #060201; }
.lid::after { content: ''; position: absolute; inset: 44% 14% auto; height: 12%; border-bottom: 2px solid #fff; border-radius: 50%; }
.lid-left { left: 55%; }.lid-right { left: 82%; }
.playing .actor { animation: settle 2.45s both; transform-origin: center bottom; }
.playing .actor .rabbit-ear { animation: spring 2.45s both; }
.playing .actor .lid { animation: blink 2.45s steps(1, end) both; }
@keyframes settle { 0%, 25%, 100% { transform: none; } 36% { transform: scale(1.014, .965); } 56% { transform: scale(.996, 1.019); } 70% { transform: scale(1.006, .992); } 86% { transform: none; } }
@keyframes spring { 0%, 25%, 100% { transform: none; } 39% { transform: rotate(7deg); } 58% { transform: rotate(-6deg); } 73% { transform: rotate(3deg); } 85% { transform: rotate(-1deg); } }
@keyframes blink { 0%, 44%, 56%, 100% { opacity: 0; } 45%, 55% { opacity: 1; } }
.replay { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; background: transparent; border: 0; padding: .35rem .2rem; color: var(--blue-ink); font-weight: 700; font-size: var(--blue-label-size); cursor: pointer; }
.replay:hover { text-decoration: underline; text-underline-offset: .25em; }
.replay-icon { display: inline-block; width: .82rem; height: .82rem; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.hero-replay { position: absolute; right: .9rem; bottom: .9rem; width: 2.75rem; justify-content: center; background: #f6f3ebcb; border-radius: 50%; }
.hero-replay:hover { background: var(--paper); }

.sheet { position: relative; margin-top: var(--sheet-gap); border: 1px solid #d8d0c2; box-shadow: var(--paper-edge-shadow); }
.sheet:nth-of-type(3n) { --paper: #f1ebdc; }
.sheet:nth-of-type(3n + 2) { --paper: #f8f4ea; }
.sheet::before, .sheet::after {
  content: ''; position: absolute; z-index: 2; top: calc(var(--sheet-gap) / -2 - 1px); translate: 0 -50%; width: clamp(3.5rem, 7.6vw, 8rem); height: clamp(1.22rem, 2.2vw, 2.1rem);
  background: linear-gradient(112deg, #fff8 0%, transparent 9% 32%, #fff6 34%, transparent 38% 79%, #fff5 82%, transparent 87%),
    linear-gradient(0deg, #211e1417, #ffffff1a 14%, #ffffff29 78%, #fff8);
  clip-path: polygon(0 4%, 100% 0, 99% 100%, 1% 97%);
  border-top: 1px solid #fffa;
  border-bottom: 1px solid #302b232b;
  pointer-events: none;
}
.sheet::before { left: clamp(3px, .8vw, 15px); rotate: -34deg; }
.sheet::after { right: clamp(3px, .8vw, 15px); rotate: 32deg; }
.sheet:nth-of-type(2n)::before { rotate: 24deg; }
.sheet:nth-of-type(2n)::after { rotate: -24deg; }
.section-inner { container: section-content / inline-size; padding-block: clamp(2.3rem, 4.6vw, 4.7rem) clamp(3.4rem, 6.5vw, 6.3rem); }
.full-work .section-inner, .team .section-inner { min-height: clamp(19rem, 32vw, 29rem); }
h2, .detail-sheet h1 { margin-top: .85rem; font: 400 clamp(2.4rem, 5.2vw, 5.1rem)/1.06 var(--site-font); letter-spacing: -.05em; }
:is(.section-intro, .philosophy-intro, .member-bio, .service-card p, .service-detail-grid p, .poster-caption p, .inquiry-note small) {
  color: var(--dim);
  font: 400 clamp(1.1rem, 1.55vw, 1.35rem)/1.65 var(--site-font);
}
.section-intro { margin-top: 1.2rem; max-width: 55ch; }
.portfolio-heading { display: flex; justify-content: flex-end; }
.portfolio-heading > div { text-align: right; }
.portfolio-heading h2 { margin-top: 0; }
.portfolio-heading .section-intro { margin: .7rem 0 0; }
.poster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: clamp(.45rem, 2.55vw, 2.7rem) 3.5%; margin: 1.55rem 0 0; isolation: isolate; }
.poster { min-width: 0; }
.poster-cover { position: relative; width: 100%; aspect-ratio: 3 / 4; box-shadow: 1px 3px 8px #4c3d2d45; background: #ece4d4; }
.poster-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.poster-wall { padding: 1.65% 1.3%; gap: clamp(.15rem, .85vw, .65rem) 0; }
.poster-wall .poster { position: relative; margin-inline: -4%; --turn: -4deg; --shift: 4%; }
.poster-wall .poster-cover { transform: translateY(var(--shift)) rotate(var(--turn)); }
.poster-wall .poster:nth-child(3n + 2) { --turn: 5deg; --shift: 12%; z-index: 1; }
.poster-wall .poster:nth-child(3n) { --turn: -2deg; --shift: -5%; }
.poster-wall .poster:nth-child(n + 6):not(.project-card) { margin-top: -14%; z-index: 2; }
.poster-wall .project-card { margin-bottom: .7rem; }
.poster-wall .project-card .poster-cover { transform: rotate(var(--turn)); }
.poster-wall .project-card:focus-within, .poster-wall .project-card:hover, .poster-wall .project-card:has(details[open]) { z-index: 3; }
.poster-collage { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); align-items: start; isolation: isolate; margin-top: 1.55rem; padding: 2.5% 3.5% 3.5%; }
.collage-poster { position: relative; grid-column: span var(--columns, 4); z-index: var(--layer, 1); margin: var(--offset, 0) 3% 0; rotate: var(--angle, 0deg); box-shadow: 1px 4px 11px #3b302863; border: clamp(1px, .27vw, 4px) solid #f8f2e4; background: #f8f2e4; }
.collage-poster img { width: 100%; height: auto; }
.collage-poster:nth-child(9n + 1) { --offset: 19%; --angle: -9deg; }
.collage-poster:nth-child(9n + 2) { --offset: 0%; --angle: 6deg; --layer: 2; }
.collage-poster:nth-child(9n + 3) { --columns: 5; --offset: 5%; --angle: -4deg; --layer: 6; }
.collage-poster:nth-child(9n + 4) { --offset: -4%; --angle: 8deg; --layer: 2; }
.collage-poster:nth-child(9n + 5) { --columns: 3; --offset: 40%; --angle: -8deg; }
.collage-poster:nth-child(n + 6) { --columns: 5; --layer: 4; }
.collage-poster:nth-child(9n + 6) { --offset: -25%; --angle: 6deg; }
.collage-poster:nth-child(9n + 7) { --offset: -12%; --angle: -7deg; }
.collage-poster:nth-child(9n + 8) { --offset: -19%; --angle: 5deg; --layer: 5; }
.collage-poster:nth-child(9n + 9) { --offset: -31%; --angle: -5deg; --layer: 3; }
.poster-top-tape {
  position: absolute; left: var(--tape-left, 30%); top: -3%; width: var(--tape-width, 39%);
  aspect-ratio: 4.25; rotate: var(--tape-turn, -7deg); background: var(--tape);
  clip-path: var(--tape-edge); pointer-events: none;
}
:is(.collage-poster, .poster-wall .poster):nth-child(3n + 1) { --tape-left: 13%; --tape-width: 34%; --tape-turn: -15deg; }
:is(.collage-poster, .poster-wall .poster):nth-child(3n + 2) { --tape-left: 49%; --tape-width: 34%; --tape-turn: 11deg; }
:is(.collage-poster, .poster-wall .poster):nth-child(4n) { --tape-left: 21%; --tape-width: 43%; --tape-turn: 3deg; }
:is(.collage-poster, .poster-wall .poster):nth-child(9n + 9) { --tape-left: 60%; --tape-width: 33%; --tape-turn: -8deg; }
.poster-caption { position: relative; margin: .65rem 4% 0; padding: .3rem .65rem; background: var(--paper); overflow-wrap: anywhere; }
.poster-caption h3 { font: 400 1.22rem/1.2 var(--site-font); }
.poster-caption p { margin-top: .35rem; }
.poster-caption details, .poster-caption > a { margin-top: .35rem; color: var(--dim); font-size: .875rem; }
.poster-caption summary { cursor: pointer; }
.poster-caption video, .poster-caption details img { display: block; width: 100%; margin-top: .45rem; }
.poster-sample { display: grid; place-items: center; overflow: visible; --print: #234b53; --stock: #e4cc9e; --accent: #b7604a; background: var(--stock) url('./paper-grain.png'); }
.poster-sample[data-palette="1"] { --stock: #9fbcb8; --print: #1c3836; --accent: #e8d8b5; }
.poster-sample[data-palette="2"] { --stock: #b96f59; --print: #281f28; --accent: #f0c989; }
.poster-sample[data-palette="3"] { --stock: #d6d3c6; --print: #354653; --accent: #779999; }
.poster-sample[data-palette="4"] { --stock: #365461; --print: #eddfbb; --accent: #a0a982; }
.poster-ink { position: absolute; inset: 2%; overflow: hidden; background: radial-gradient(ellipse at 73% 26%, var(--accent) 0 13%, transparent 13.4%), radial-gradient(ellipse 110% 68% at 1% 97%, var(--print) 0 68%, transparent 68.5%); }
.poster-ink::after { content: ''; position: absolute; left: 20%; right: 20%; top: 13%; bottom: 17%; border: 1px solid var(--print); border-radius: 50%; opacity: .64; transform: rotate(24deg); }
.poster-sample[data-print="1"] .poster-ink { background: repeating-linear-gradient(133deg, transparent 0 9%, var(--print) 9.4% 10%, transparent 10.4% 14%), radial-gradient(circle at 50% 50%, var(--accent) 0 31%, transparent 31.5%); }
.poster-sample[data-print="2"] .poster-ink { background: conic-gradient(from 48deg at 52% 63%, transparent 0 17%, var(--accent) 17.3% 30%, transparent 30.3% 54%, var(--print) 54.3% 70%, transparent 70.3%), radial-gradient(circle at 51% 61%, var(--print) 0 28%, transparent 28.5%); }
.poster-sample .rabbit { width: 77%; margin-top: 20%; }
.taped-posters {
  --poster-gap: clamp(3.5rem, 5vw, 9rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--poster-gap); row-gap: clamp(2.75rem, 4.4vw, 7.5rem);
  margin-top: clamp(1.75rem, 3.8vw, 5.5rem);
}
.taped-poster { position: relative; display: block; }
.taped-poster .poster-cover, .portfolio-detail > .poster-cover {
  aspect-ratio: 16 / 9; isolation: isolate;
  box-shadow: 1px 2px 2px #4c3d2d30, 2px 5px 9px #4c3d2d32;
}
.taped-poster .poster-cover > img, .portfolio-detail > .poster-cover > img { object-fit: cover; }
.taped-poster .poster-cover::after, .portfolio-detail > .poster-cover::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, #f9ecd54d, transparent 58%, #5a483820), url('./paper-grain.png');
  mix-blend-mode: soft-light; opacity: .68;
}
.taped-poster .poster-cover::before, .portfolio-detail > .poster-cover::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px #faf1d698, inset 0 1px 1px #fff5dc60;
}
.taped-poster .poster-cover {
  pointer-events: none;
  transition: transform 350ms cubic-bezier(.2, .7, .3, 1), box-shadow 350ms ease;
}
.taped-poster:is(:hover, :focus-visible) { z-index: 1; }
.taped-poster:is(:hover, :focus-visible) .poster-cover {
  transform: scale(1.055);
  box-shadow: 2px 10px 17px #4c3d2d55;
  transition-delay: 80ms;
}
.poster-tape { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.poster-tape i {
  position: absolute; width: 15%; aspect-ratio: 3.15;
  transform: perspective(85px) rotateY(0deg); clip-path: inset(0);
  transition: transform 330ms ease-in-out, clip-path 330ms ease-in-out, opacity 330ms ease-in;
  transition-delay: var(--peel-delay, 0ms);
}
.poster-tape i::before { content: ''; position: absolute; inset: 0; background: var(--tape); clip-path: var(--tape-edge); }
.poster-tape i:nth-child(1) { left: 0; top: 0; translate: -50% -50%; rotate: -39deg; }
.poster-tape i:nth-child(2) { right: 0; top: 0; translate: 50% -50%; rotate: 33deg; --peel-delay: 38ms; }
.poster-tape i:nth-child(3) { left: 0; bottom: 0; translate: -50% 50%; rotate: 31deg; --peel-delay: 68ms; }
.poster-tape i:nth-child(4) { right: 0; bottom: 0; translate: 50% 50%; rotate: -36deg; --peel-delay: 95ms; }
.poster:nth-child(even) .poster-tape i { scale: -1 1; }
.poster:nth-child(3n) .poster-tape i { width: 17%; }
.taped-poster:is(:hover, :focus-visible) .poster-tape i {
  transform: perspective(85px) translate(21%, -22%) rotateY(-67deg);
  clip-path: inset(0 100% 0 0); opacity: 0;
}
.portfolio-detail {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.25rem); align-items: start; margin-top: 1.5rem;
}
.portfolio-detail .section-intro { margin-top: 0; }
.portfolio-detail .poster-caption { max-width: 42rem; margin-inline: 0; padding-inline: 0; }

.about-layout, .philosophy-layout { display: grid; gap: clamp(1.65rem, 5vw, 5rem); align-items: center; }
.about-layout {
  --wordmark-size: clamp(2.2rem, 4.15vw, 4.7rem);
}
.about-visual {
  display: grid; grid-template-columns: fit-content(43%) minmax(0, 1fr); align-items: center;
  gap: clamp(1.25rem, 4.2vw, 4rem);
}
.about-visual h2 { align-self: start; margin: 0; }
.about-artwork {
  --tape: linear-gradient(116deg, #fffd 0 8%, #fff3 9% 52%, #fffa 55%, #fff2 61% 100%),
    linear-gradient(0deg, #81775e61, #e9e3ce53 16% 81%, #fffc);
  --tape-edge: polygon(0 3%, 100% 0, 98% 99%, 1% 96%);
  position: relative; width: min(100%, 34rem); aspect-ratio: 1; rotate: -3deg;
  border: 1px solid #ddd8cb;
  background: linear-gradient(145deg, #ffffff45, #fffdf330), #fffcf6 url('./paper-grain.png');
  box-shadow: 1px 3px 4px #382f2029, 3px 9px 15px #382f2018;
}
.about-artwork > img { width: 100%; height: 100%; object-fit: cover; }
.about-artwork .poster-tape i { width: 22%; }
.about-artwork .poster-tape i::before { box-shadow: inset 0 0 0 1px #968b715c, inset 0 2px 1px #fffa; }
.greeting-rabbit { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: hidden; }
.greeting-motion { transform-box: view-box; transform-origin: 166px 264px; }
.greeting-gaze { transform: translate(var(--gaze-x, 0px), var(--gaze-y, 0px)); transition: transform 160ms ease-out; }
.greeting-gaze ellipse { transform-box: fill-box; transform-origin: center; }
.about-greeting.is-visible .greeting-motion { animation: greeting-breathe 3.6s ease-in-out infinite; }
.about-greeting.is-visible .greeting-gaze ellipse { animation: greeting-blink 4.8s ease-in-out infinite; }

@keyframes greeting-breathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(.991, 1.018); }
}
@keyframes greeting-blink {
  0%, 48%, 54%, 100% { transform: scaleY(1); }
  51% { transform: scaleY(.08); }
}
.studio-wordmark { font: 400 var(--wordmark-size)/1.04 var(--site-font); }
.studio-wordmark:lang(ja) { font-size: clamp(1.95rem, 3.35vw, 4.35rem); line-height: 1.16; }
.studio-wordmark rt { font-size: .32em; line-height: 1.3; }
.about-subtitle {
  margin-top: 2rem; color: var(--blue-ink); font-size: var(--blue-heading-size); font-weight: 800;
  -webkit-text-stroke: .2px currentColor;
}
.about-copy .section-intro { max-width: none; margin-top: 1rem; }
.about-copy .section-intro + .about-subtitle { margin-top: 1.65rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 3rem); margin-top: 1.1rem; }
.service-card h4 { margin: 0; font: 700 clamp(1.55rem, 2.15vw, 2rem)/1.2 var(--site-font); }
.service-card p { margin-top: .9rem; }
.service-card p + p { margin-top: .95rem; }
.service-card .service-timeframe { color: var(--ink); }
@supports (grid-template-rows: subgrid) {
  @media (width > 720px) {
    .service-grid { row-gap: .95rem; }
    .service-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-items: start; }
    .service-grid .service-card p { margin-top: 0; }
  }
}
.sheet-cta { display: flex; width: fit-content; margin: 2.3rem 0 0 auto; }

.philosophy-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); }
.philosophy-layout:lang(en) h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); }
.philosophy-intro { margin-top: 1.25rem; }
.philosophy-intro span { display: block; }
.principles { container-type: inline-size; list-style: none; display: flex; flex-direction: column; align-items: start; gap: 1.25rem; margin: 2rem 0 0; padding: 0; }
.principles li {
  position: relative; z-index: 0; padding-inline: .27em;
  font: 400 clamp(2.1rem, 3.3vw, 3rem)/1.45 var(--site-font);
  font-size: min(clamp(2.1rem, 3.3vw, 3rem), 9.5cqi);
}
.principles li::after { content: ''; position: absolute; z-index: -1; inset: auto 0 .08em; height: .43em; background: #55c2de80; rotate: -1.5deg; }
.principles li:nth-child(1) { margin-inline-start: 5%; }
.principles li:nth-child(3) { margin-inline-start: 8%; }
.principles:lang(en) li {
  font-size: clamp(1rem, 7.8cqi, 2.75rem);
  letter-spacing: .02em;
  text-wrap: balance;
}
.philosophy-media { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; object-fit: contain; background: #253c40; }
.philosophy-placeholder { position: relative; display: grid; place-items: center; padding: 1rem; text-align: center; color: #f6f3eb; background: url('./paper-grain.png'), radial-gradient(ellipse at 65% 47%, #526f70, #283f45); }
.philosophy-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.philosophy-placeholder p { position: relative; padding: .3rem .55rem; background: #253c40e8; font-size: .875rem; }
.team h2 { margin-top: 0; }
.team-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 3.2cqw, 3.75rem); row-gap: 1.65rem;
  margin-top: clamp(1.75rem, 4vw, 3.6rem);
}
.team-member {
  --avatar-size: clamp(3rem, 5vw, 4.25rem);
  display: grid; grid-template-columns: var(--avatar-size) minmax(0, 1fr);
  grid-template-areas: 'avatar name' 'bio bio'; grid-template-rows: auto 1fr;
  column-gap: clamp(.7rem, 1.4vw, 1.2rem); row-gap: .85rem; align-items: start;
  padding-top: 1.2rem; border-top: 1px solid #a095825c;
}
.team-lead {
  --avatar-size: clamp(4.25rem, 8vw, 6.6rem);
  grid-template-areas: 'avatar name' 'avatar bio'; row-gap: .65rem;
  width: min(100%, 55rem); margin: clamp(1.35rem, 3vw, 2.5rem) auto 0;
  padding: clamp(1rem, 2.6cqw, 2.4rem); border: 1px solid #adc7c36e;
  background: linear-gradient(120deg, #dbe8e1cc, #eef1e8aa 74%), url('./paper-grain.png');
  box-shadow: 0 2px 6px #5a51441c;
}
.team-avatar { grid-area: avatar; width: var(--avatar-size); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid #a5a99d; background: #dbe7dc url('./paper-grain.png'); display: grid; place-items: center; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar .rabbit { width: 88%; }
.member-title { grid-area: name; align-self: center; }
.member-title h3 { font: 400 clamp(1.3rem, 2.1vw, 1.9rem)/1.2 var(--site-font); overflow-wrap: anywhere; }
.team-lead .member-title h3 { font-size: clamp(1.55rem, 2.55vw, 2.25rem); }
.member-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .7rem;
  margin-top: .25rem; color: var(--blue-ink); font-size: var(--blue-label-size); line-height: 1.4;
}
.member-role { font-weight: 700; }
.member-bio { grid-area: bio; white-space: pre-line; overflow-wrap: anywhere; max-width: 62ch; }
.team-lines { grid-area: name; align-self: center; height: 2rem; width: 92%; border-block: 1px solid #a095826c; }
.team-partners { margin-top: clamp(2.65rem, 5vw, 4.7rem); }
.remote-heading {
  display: flex; align-items: center; gap: 1rem;
  color: var(--blue-ink); font-size: clamp(1.4rem, 2.2vw, 2rem);
}
.remote-heading::after { content: ''; flex: 1; height: 1px; background: #a095825c; }
.team-remote {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.65rem clamp(1.35rem, 5cqw, 5rem); margin-top: 1.25rem;
}
.team-remote .team-member { grid-template-areas: 'avatar name' 'avatar bio'; row-gap: .5rem; padding-top: 0; border-top: 0; }
@container section-content (max-width: 46rem) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid .team-member { grid-template-areas: 'avatar name' 'avatar bio'; }
}
@container section-content (max-width: 28rem) {
  .team .team-member { grid-template-areas: 'avatar name' 'bio bio'; }
}

.process h2 { text-align: center; }
.production-player {
  position: relative;
  --arrow-target: clamp(2.75rem, 4vw, 3.5rem);
  --arrow-gap: clamp(.2rem, 1vw, .85rem);
  --arrow-outset: calc(var(--arrow-target) + var(--arrow-gap));
  --thumb-size: clamp(1.9rem, 4vw, 2.45rem);
  --scrubber-height: 2.55rem;
  --stage-gap: .5rem;
  --timeline-stroke: .32rem;
  --timeline-blue: #54c0dc;
  --timeline-unfilled: #d3e9ee;
  width: min(100%, calc(max(36rem, 105svh) + 2 * var(--arrow-outset)), calc(59rem + 2 * var(--arrow-outset)));
  margin: 1.8rem auto 0;
}
.production-visual {
  display: grid; grid-template-columns: var(--arrow-target) minmax(0, 1fr) var(--arrow-target);
  column-gap: var(--arrow-gap); align-items: center;
}
.production-controls { margin-inline: var(--arrow-outset); }
.production-arrow {
  display: grid; place-items: center; width: var(--arrow-target); aspect-ratio: 1;
  border: 0; padding: 0; background: transparent; cursor: pointer;
  filter: drop-shadow(1px 2px 2px #503b2866);
}
.production-arrow[data-stage-direction="previous"] { grid-column: 1; grid-row: 1; }
.production-arrow[data-stage-direction="next"] { grid-column: 3; grid-row: 1; }
.production-arrow::before {
  content: ''; width: 68%; height: 68%;
  clip-path: polygon(4% 2%, 97% 48%, 95% 54%, 3% 98%);
  background:
    linear-gradient(118deg, transparent 25%, #fff8 28%, #6d553748 30%, transparent 34%),
    linear-gradient(162deg, transparent 54%, #80624148 58%, #fff8 60%, transparent 63%),
    linear-gradient(62deg, transparent 59%, #fff6 63%, #7a5f3938 65%, transparent 68%),
    url('./paper-grain.png'), #ceb595;
}
.production-arrow[data-stage-direction="previous"]::before { scale: -1 1; }
.production-arrow:is(:hover, :focus-visible)::before { background-color: #bea182; }
.production-arrow:focus-visible { outline-offset: 1px; }
.production-preview {
  grid-column: 2; grid-row: 1;
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9;
  border: 1px solid #777164; background: #d5e4df; box-shadow: 0 3px 10px #392d1e26;
}
.production-frame { position: absolute; inset: 0; visibility: hidden; }
.production-frame.is-visible { visibility: visible; }
.production-source { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.production-output { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.production-wipe {
  position: absolute; z-index: 2; inset-block: 0; left: var(--wipe-position);
  width: 2px; transform: translateX(-50%); background: #fff8e8; box-shadow: 0 0 6px #1825239c;
}
.production-frame video, .production-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.production-frame video { object-fit: contain; background: #151b1c; opacity: 0; transition: opacity .18s ease-out; }
.production-frame video.is-playing { opacity: 1; }
.production-project-pending {
  position: absolute; z-index: 3; inset: 0; display: grid; place-content: center;
  padding: .75rem; gap: .3rem; text-align: center;
  background: url('./paper-grain.png'), linear-gradient(145deg, #f6f0e1, #e9e0cb);
}
.production-project-pending strong { font-size: clamp(1rem, 3vw, 2.25rem); }
.production-projects { width: min(100%, 30rem); margin: 2.4rem auto 0; }
.production-project-stack { display: flex; padding-inline: .3rem; }
.production-project-card {
  position: relative; isolation: isolate; z-index: 0; flex: 1; min-width: 0; min-height: 44px;
  aspect-ratio: 1.8; padding: 0; border: 0;
  background: transparent; color: #4c3427; font: inherit; cursor: pointer;
  transition: z-index 0s .45s;
}
.production-project-card + .production-project-card { margin-inline-start: -.28rem; }
.production-project-card:is(:hover, :focus-visible) { z-index: 2; transition-delay: 0s; }
.production-envelope {
  --stud-size: clamp(.375rem, .85vw, .78rem);
  --stud-position: 50%;
  position: absolute; inset: 0; pointer-events: none;
  transition: transform .19s .26s ease, filter .19s .26s ease;
}
.production-project-card:is(:hover, :focus-visible) .production-envelope {
  transform: translate(-.48rem, -.38rem);
  filter: drop-shadow(0 4px 4px #49322345);
  transition-delay: 0s;
}
.production-envelope-back, .production-envelope-flap, .production-envelope-front {
  position: absolute; inset-inline: 0; pointer-events: none;
  background-image: url('./paper-grain.png');
}
.production-envelope-back {
  inset-block: 0; border: 1px solid #a57449; border-radius: 2px;
  background-color: #b98c5e; box-shadow: 0 2px 4px #49322339;
}
.production-envelope-flap {
  z-index: 3; top: 0; height: 35%; border-top: 1px solid #a57449;
  background-color: #e1ba8a;
  clip-path: polygon(0 0, 100% 0, 93% 70%, 58% 96%, 42% 96%, 7% 70%);
  transform-origin: top;
  transition: transform .25s .09s ease-in-out, background-color .25s .09s ease-in-out, z-index 0s .24s;
}
.production-envelope-front {
  z-index: 2; inset-block: 26% 0; display: grid; align-content: center; justify-items: center;
  gap: .12em; padding: .38em .15em .12em; border: 1px solid #a57449; border-radius: 0 0 2px 2px;
  background-color: #dabb90; line-height: 1.12; font-size: clamp(.57rem, .83vw, .95rem);
}
.production-envelope-front > span:first-of-type { font-weight: 700; }
.production-envelope-front > span:last-of-type { font-family: ui-monospace, monospace; }
.production-envelope-flap::after, .production-envelope-stud {
  content: ''; position: absolute; top: var(--stud-top); left: var(--stud-position);
  width: var(--stud-size); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, #69645c 0 12%, #c7c3bb 15% 23%, #fcfaf3 26% 66%, #ded8c9 71%);
  box-shadow: 0 1px 2px #4b2e2559;
}
.production-envelope-flap { --stud-top: 42%; }
.production-envelope-stud { --stud-top: 32%; z-index: 4; }
.production-envelope-cord {
  position: absolute; z-index: 4; top: 17%; left: var(--stud-position);
  width: calc(var(--stud-size) * .56); height: 19%; translate: -50% 0;
  border-inline: 1px solid #f5e5ca; border-bottom: 1px solid #f5e5ca;
  border-radius: 35% 30% 48% 45%; transform-origin: top;
  box-shadow: 1px 0 1px #5f432533;
  transition: transform .13s .3s ease-in-out, opacity .13s .3s ease-in-out;
}
.production-project-card:is(:hover, :focus-visible) .production-envelope-cord {
  transform: translateX(40%) rotate(-62deg); opacity: 0; transition-delay: 0s, .1s;
}
.production-project-paper {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 100%; aspect-ratio: 16 / 9; border: 1px solid #b2a38a;
  background: linear-gradient(137deg, transparent 65%, #fff8 66%, #7e6b4626 67%, transparent 70%),
    url('./paper-grain.png'), #efe5d2;
  box-shadow: 0 2px 5px #43382744;
}
.production-project-card .production-project-paper {
  position: absolute; z-index: 1; inset: 28% 7% auto; width: 86%;
  pointer-events: none; clip-path: inset(0 0 32% 0);
  transition: transform .39s cubic-bezier(.24,.45,.58,.72), clip-path .39s ease;
  transition-timing-function: linear(0, .37 28%, .52 48%, .8 70%, 1), ease;
}
.production-project-card:is(:hover, :focus-visible) .production-project-paper {
  transform: translateY(-69%) rotate(var(--project-preview-angle, -3deg)); clip-path: inset(0); transition-delay: .16s;
}
.production-project-card:is(:hover, :focus-visible) .production-envelope-flap {
  z-index: 0; transform: perspective(12rem) rotateX(155deg); background-color: #c99e70;
  transition-delay: .09s, .09s, .21s;
}
.production-project-paper::before { content: ''; position: absolute; inset: 9%; border: 1px solid #786c5733; }
.production-project-paper > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.production-project-card[aria-pressed='true'] .production-envelope-front { color: var(--blue-ink); }
.production-project-return { display: block; margin: 1rem auto 0; }
.production-paper-flight {
  position: fixed; z-index: 5; pointer-events: none; transform-origin: top left;
}
@container section-content (min-width: 54rem) {
  .production-player {
    --project-rack-width: clamp(7.5rem, 8.5vw, 10.75rem);
    --project-rack-gap: clamp(1.4rem, 2vw, 3rem);
    max-width: calc(100% - 2 * (var(--project-rack-width) + var(--project-rack-gap)));
  }
  .production-projects {
    position: absolute; inset-inline-start: calc(100% + var(--project-rack-gap));
    inset-block-start: clamp(.45rem, 3vh, 2.25rem); width: var(--project-rack-width); margin: 0;
  }
  .production-project-stack { flex-direction: column; padding: 0; }
  .production-project-card { flex: auto; }
  .production-envelope-front { padding-bottom: .68em; }
  .production-project-card + .production-project-card { margin: clamp(-.95rem, -.9vw, -.72rem) 0 0; }
}
.production-scene { color: #4b7477; background: #f5f0e4 url('./paper-grain.png'); }
.production-guide { position: absolute; inset: 10% 12%; border: 1px solid currentColor; opacity: .5; }
.production-ground { position: absolute; inset: auto 12% 24%; border-top: 1px solid currentColor; opacity: .65; }
.production-actor {
  position: absolute; left: 36%; bottom: 24%; width: 23%; transform-origin: center bottom;
  animation: production-hop 2.8s var(--shot-timing, ease-in-out) infinite paused;
}
.production-player.is-in-view .production-actor { animation-play-state: running; }
.production-scene .rabbit { filter: var(--shot-ink, none); opacity: var(--shot-opacity, 1); }
[data-stage="storyboard"] { --shot-ink: grayscale(1); --shot-opacity: .53; --shot-timing: steps(2, end); }
[data-stage="storyboard"] .production-guide { inset: 8% 9%; border-width: 2px; }
[data-stage="key-animation"] { --shot-ink: grayscale(1) contrast(1.25); --shot-timing: steps(2, end); }
[data-stage="inbetweens"] { --shot-ink: grayscale(1); }
[data-stage="key-animation"] .production-scene, [data-stage="inbetweens"] .production-scene {
  background-image: repeating-linear-gradient(0deg, #71878420 0 1px, transparent 1px 10%), url('./paper-grain.png');
}
[data-stage="color-background"] .production-scene, [data-stage="photography"] .production-scene, [data-stage="sound-compositing"] .production-scene {
  background: url('./paper-grain.png'), radial-gradient(ellipse at 65% 42%, #f5f5de, transparent 60%), linear-gradient(#9cbec0 76%, #b4cab5 76%);
}
[data-stage="photography"] .production-scene, [data-stage="sound-compositing"] .production-scene { box-shadow: inset 0 0 7rem #25535a66; }
[data-stage="photography"] .production-guide, [data-stage="sound-compositing"] .production-guide { opacity: .22; }
.production-meter { display: none; }
[data-stage="sound-compositing"] .production-meter {
  display: block; position: absolute; inset: auto 12% 15% auto; width: 13%; height: 7%;
  background: repeating-linear-gradient(90deg, #416e71 0 1px, transparent 1px 8%);
  clip-path: polygon(0 43%, 15% 20%, 27% 44%, 41% 8%, 54% 27%, 66% 5%, 83% 33%, 100% 39%, 100% 63%, 83% 70%, 66% 96%, 54% 73%, 41% 94%, 27% 63%, 15% 78%, 0 55%);
}
@keyframes production-hop {
  0%, 12%, 88%, 100% { transform: translate(0, 0) rotate(-4deg); }
  42% { transform: translate(25%, -24%) rotate(7deg); }
  65% { transform: translate(44%, 0) rotate(-2deg); }
}
.production-example { position: absolute; z-index: 3; inset: auto auto .65rem .65rem; max-width: calc(100% - 1.3rem); padding: .23rem .55rem; background: #f6f3ebed; color: var(--blue-ink); font-size: var(--blue-label-size); }
.production-scrubber {
  appearance: none; display: block; position: relative; z-index: 1;
  width: calc(100% - 100% / var(--stage-count) + var(--thumb-size)); height: var(--scrubber-height);
  margin: .8rem auto 0; padding: 0; cursor: grab; touch-action: pan-y;
  background: linear-gradient(90deg, var(--timeline-blue) var(--scrub-progress, 0%), var(--timeline-unfilled) var(--scrub-progress, 0%))
    center / calc(100% - var(--thumb-size)) var(--timeline-stroke) no-repeat;
}
.production-scrubber:active { cursor: grabbing; }
.production-scrubber::-webkit-slider-thumb {
  appearance: none; width: var(--thumb-size); height: var(--thumb-size); border: 0;
  background: transparent url('./rabbit-front-thumb.png') center / contain no-repeat;
}
.production-scrubber::-moz-range-thumb {
  width: var(--thumb-size); height: var(--thumb-size); border: 0;
  background: transparent url('./rabbit-front-thumb.png') center / contain no-repeat;
}
.timeline { display: grid; grid-template-columns: repeat(var(--stage-count), minmax(0, 1fr)); list-style: none; padding: var(--stage-gap) 0 0; margin: 0; }
.timeline li { position: relative; }
.timeline li::before {
  content: ''; position: absolute; top: calc(var(--scrubber-height) / -2 - var(--stage-gap)); left: 50%;
  translate: -50% -50%; width: var(--timeline-stroke); height: 1.05rem; border-radius: 1px;
  background: var(--timeline-unfilled); pointer-events: none;
}
.timeline li.is-reached::before { background: var(--timeline-blue); }
.timeline li.is-under-thumb::before { visibility: hidden; }
.timeline a {
  display: flex; flex-direction: column; align-items: center; gap: .55rem; width: 100%;
  padding: .2rem .3rem; color: inherit; text-decoration: none;
  font-weight: 700; text-align: center; overflow-wrap: anywhere;
}
.stage-number {
  display: grid; place-items: center; width: 2.85rem; height: 2.85rem; border-radius: 50%;
  background: var(--timeline-blue); color: #102b33; font: 700 1.1rem var(--site-font);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.timeline a[aria-current="step"] .stage-number { box-shadow: 0 0 0 2px #155d72; }
.timeline a:is(:hover, :focus-visible) .stage-number { background: #fff; color: var(--blue-ink); box-shadow: 0 0 0 2px var(--timeline-blue); }

.contact-heading { text-align: center; }
.contact-heading .eyebrow { justify-content: center; }
.inquiry-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 2rem 0 0; }
.inquiry-note {
  position: relative; display: grid; isolation: isolate; color: inherit; text-decoration: none;
  filter: drop-shadow(0 2px 3px #503d1d38);
}
.inquiry-note-copy {
  position: relative; pointer-events: none;
  display: grid; place-content: center; min-height: 7.15rem; padding: .9rem 1.85rem; text-align: center;
}
.inquiry-note-paper {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: url('./paper-grain.png'), linear-gradient(#e7c969 0%, #f5dd8f 29%, #ffe79b 82%, #f9df8c);
}
.inquiry-note-filter { position: absolute; pointer-events: none; }
.inquiry-note.is-curving .inquiry-note-paper { filter: var(--note-curve); }
.inquiry-note-paper::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 44%, #74511410 57%, #fff4bd63 85%, #91651a30);
  opacity: var(--note-bend, 0);
}
.inquiry-note-content { transform: translateY(calc(var(--note-bend, 0) * -1px)) rotate(calc(var(--note-bend, 0) * -.65deg)); }
.inquiry-note strong { display: block; font-size: clamp(1.25rem, 1.75vw, 1.55rem); line-height: 1.25; }
.inquiry-note small { display: block; margin-top: .45rem; }
.inquiry-contact { grid-column: 2; }
.inquiry-contact-icons { display: flex; justify-content: center; gap: .7rem; margin-top: .4rem; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.2rem; }
.service-detail-grid > section { min-width: 0; border-top: 1px solid var(--rule); padding-top: .85rem; }
.service-detail-grid h2 { margin: 0 0 .6rem; font: 700 1.05rem/1.4 var(--site-font); letter-spacing: normal; }
.contact-details { margin-top: 2.5rem; }
.contact-details h2 { margin: 0; font: 700 1rem/1.55 var(--site-font); letter-spacing: normal; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .65rem; }
.contact-line { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.85rem; padding: .45rem .75rem; border: 1px solid var(--rule); text-decoration: none; font-weight: 700; }
a.contact-line:hover { background: #dbece7; }
.contact-line small { font-weight: 400; color: var(--dim); }
.contact-mark { position: relative; width: 1.25rem; height: 1.25rem; display: grid; place-items: center; flex: none; object-fit: contain; }
.mark-x { filter: brightness(0); }
.mark-email::before { content: ''; width: 1.08rem; height: .82rem; border: 1px solid; border-radius: 2px; }
.mark-email::after { content: ''; position: absolute; width: .5rem; height: .5rem; top: .22rem; border-right: 1px solid; border-bottom: 1px solid; rotate: 45deg; }
.end-sheet { padding-bottom: clamp(1.15rem, 2vw, 2rem); }
.end-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); grid-template-rows: 1fr auto; gap: 1.6rem clamp(1rem, 8vw, 7.5rem); min-height: clamp(19rem, 38svh, 27rem); padding-block: clamp(1.05rem, 3.1vw, 2.75rem); }
.end-brand .logo { display: inline-block; }
.end-brand .logo img { width: clamp(7.5rem, 17vw, 14rem); }
.end-social { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.end-social .contact-line { gap: .35rem; min-height: 2.5rem; font-size: .875rem; }
.end-social .contact-pending { color: var(--dim); }
.end-social small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.end-brand .language-nav { width: fit-content; flex-wrap: wrap; column-gap: .25rem; border-left: 0; padding-left: 0; margin-top: .45rem; }
.end-links { display: grid; align-self: start; min-width: min(12rem, 100%); }
.end-links a { padding: .48rem 0; border-bottom: 1px solid #a89c86; font-weight: 700; text-decoration: none; }
.end-links a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: .22em; }
.end-top { grid-column: 2; justify-self: end; }
.detail-sheet .section-inner { min-height: 55vh; }
.detail-sheet .eyebrow { margin-top: 2.25rem; }
.detail-sheet .text-link { display: inline-block; margin-bottom: .8rem; color: var(--blue-ink); font-size: var(--blue-label-size); }

:is(:lang(zh), :lang(ja)) :is(h2, .detail-sheet h1) { letter-spacing: -.02em; line-height: 1.18; }
:lang(en):is(h2, .detail-sheet h1, .studio-wordmark) { letter-spacing: .01em; }

@media (min-width: 1120px) {
  .header-inner { grid-template-columns: minmax(0, 1.32fr) minmax(max-content, 1fr) auto; }
}

@media (max-width: 850px) {
  :root { --header-logo-width: clamp(8rem, 18vw, 10rem); }
  .header-inner { gap: clamp(.65rem, 2vw, 1rem); }
  .main-nav { --nav-ring-gutter: .93rem; --nav-ring-height: 3.1rem; gap: clamp(.55rem, 1.75vw, 1rem); }
  .about-layout, .philosophy-layout { gap: clamp(1rem, 3.6vw, 2rem); }
  .timeline a { padding-inline: .2rem; font-size: .875rem; }
  .inquiry-note-copy { padding-inline: 1.55rem; }
  .end-frame { column-gap: clamp(1rem, 5vw, 3rem); }
  .end-social .contact-line { padding: .35rem .55rem; }
}

@media (orientation: landscape) and (min-width: 556px) and (max-height: 610px) {
  :root {
    --header-height: calc(max(2.75rem, var(--header-logo-width) * 274 / 760) + 2.75rem + var(--header-bottom));
  }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .5rem; }
  .header-inner .main-nav { grid-row: 2; grid-column: 1 / -1; gap: .25rem; }
  .header-inner .main-nav > a, .header-inner .portfolio-trigger { font-size: clamp(.875rem, 2.3vw, 1.05rem); }
  .header-inner .language-switch { grid-row: 1; grid-column: 2; }
}

@media (width > 1320px) {
  .services > .section-inner {
    padding-top: clamp(3.5rem, 3.2vw, 4rem);
  }
  .about-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: clamp(3rem, 8.2vw, 12.5rem);
    align-items: start;
  }
  .about-visual {
    grid-template-columns: minmax(0, 34rem);
    justify-content: center;
    gap: clamp(2.25rem, 2.3vw, 3rem);
  }
  .about-visual h2 { justify-self: center; text-align: center; }
  .about-visual h2:lang(zh) { font-size: var(--wordmark-size); line-height: 1.04; }
  .about-copy { margin-top: clamp(2rem, 3.3vw, 5rem); }
}

@media (max-width: 1320px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .about-visual { grid-template-columns: fit-content(43%) minmax(0, 34rem); }
  .about-copy { max-width: 48rem; }
}
@container section-content (max-width: 68rem) {
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .about-copy { margin-top: 0; }
}

@container section-content (max-width: 44rem) {
  .portfolio-heading { justify-content: flex-start; }
  .portfolio-heading > div { text-align: left; }
  .taped-posters {
    --poster-gap: clamp(1.25rem, 4vw, 2rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(1.25rem, 5vw, 2.5rem);
  }
  .taped-poster .poster-tape i { width: min(15%, 1.35rem); }
  .taped-posters > :last-child:nth-child(odd) {
    grid-column: 1 / -1; width: calc((100% - var(--poster-gap)) / 2); justify-self: center;
  }
  .about-copy .service-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.35rem; }
}

@container section-content (max-width: 32rem) {
  .inquiry-options, .service-detail-grid, .portfolio-detail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 590px) {
  .timeline a { padding-inline: .12rem; font-size: clamp(.66rem, 2.1vw, .82rem); line-height: 1.3; }
  .timeline .stage-number { width: 1.8rem; height: 1.8rem; font-size: .9rem; }
}

@media (max-width: 555px) {
  html { scroll-padding-top: 7.7rem; }
  .header-inner { grid-template-columns: 1fr auto; align-items: center; gap: 0 .5rem; padding-bottom: .2rem; }
  .logo img { width: min(9rem, 39vw); }
  .main-nav { --nav-ring-gutter: .6rem; --nav-ring-height: 2.7rem; grid-row: 2; grid-column: 1 / -1; gap: .15rem; margin-top: .25rem; }
  .language-switch { grid-row: 1; grid-column: 2; }
  .hero { padding-top: .3rem; }
  .section-inner { padding-block: 2rem 2.75rem; }
  .production-controls { margin-inline: .5rem; }
  .stage-character { width: 55%; }
  .about-visual { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .about-artwork { width: min(100% - 2rem, 24rem); justify-self: center; }
  .about-artwork .poster-tape i { width: min(22%, 2.85rem); }
  .portfolio-detail { grid-template-columns: minmax(0, 1fr); }
  .inquiry-options, .service-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .inquiry-contact { grid-column: 1; }
  .inquiry-note-copy { min-height: 5.5rem; }
  .end-frame { min-height: 0; gap: 1rem; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .end-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .end-links a { font-size: .875rem; }
  .end-top { grid-column: 1; }
}

@media (max-width: 820px) {
  .philosophy-layout { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 380px) {
  .main-nav > a, .portfolio-trigger { font-size: .94rem; }
  .main-nav { --nav-ring-gutter: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .production-project-card { transition: z-index 0s .24s !important; }
  .production-project-card:is(:hover, :focus-visible) { transition-delay: 0s !important; }
  .production-envelope { transition: transform .12s .12s ease, filter .12s .12s ease !important; }
  .production-project-card:is(:hover, :focus-visible) .production-envelope { transition-delay: 0s !important; }
  .production-project-card .production-project-paper { transition: transform .21s ease-in-out, clip-path .21s ease !important; }
  .production-project-card:is(:hover, :focus-visible) .production-project-paper { transition-delay: .09s !important; }
  .production-envelope-flap { transition: transform .13s .06s ease-in-out, z-index 0s .14s !important; }
  .production-envelope-cord { transition: transform .09s .14s ease, opacity .09s .14s ease !important; }
  .production-project-card:is(:hover, :focus-visible) .production-envelope-cord { transition-delay: 0s, .06s !important; }
  .pencil-ring { --draw-time: .16s; transition: visibility 0s var(--draw-time) !important; }
  .main-nav > a:is(:hover, :focus-visible) .pencil-ring, .portfolio-trigger:is(:focus-visible, [aria-expanded="true"]) .pencil-ring { transition: visibility 0s !important; }
  .pencil-ring path { transition: stroke-dashoffset var(--draw-time) linear !important; }
  .replay { display: none; }
}
