@font-face {
  font-family: Sora;
  src: url("/assets/sora-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root{--display-font:Sora,Arial,"PingFang SC","Microsoft YaHei","DejaVu Sans",sans-serif;--body-font:Inter,Arial,"PingFang SC","Microsoft YaHei","DejaVu Sans",sans-serif;--paper:#f8f8f8;--ink:#141414;--muted:#565656;--soft:#eeeeed;--soft-hover:#e5e5e3;--accent:#e5f545;--mono:ui-monospace,"SFMono-Regular",Consolas,monospace;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body-font);-webkit-font-smoothing:antialiased}
body:has(dialog[open]){overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
.lang, .signal, .case-back, .pill, #close-detail, .swatch-toggle,
.gallery-filters button, .about-project, .cover-label, .swatch span, .specialty-mark {
  border-radius: 4px;
}
img{display:block;max-width:100%;object-fit:cover}
h1,h2,h3,p{margin:0}
:is(h3,h4):not(.cover *){font-weight:550}
b,strong{font-weight:600}
:is(h1, h2, h3, h4):not(.cover *),
.play-card-title, .gallery-title, .case-neighbor strong {
  font-family: var(--display-font);
}
p{color:var(--muted);line-height:1.7}
section[id],footer[id]{scroll-margin-top:94px}
:focus-visible{outline:2px solid #4034b0;outline-offset:4px}
.skip{position:fixed;top:8px;left:12px;z-index:9;padding:10px;background:#fff;transform:translateY(-160%)}
.skip:focus{transform:translateY(0)}
.wrap{width:min(1280px,calc(100% - 112px));margin-inline:auto}
.mono{font:10px/1.4 var(--body-font);letter-spacing:.12em}
.site-header{height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding-inline:clamp(24px,4vw,58px);position:sticky;top:0;z-index:5;background:rgba(248,248,248,.95);backdrop-filter:blur(16px);box-shadow:inset 0 -1px rgb(0 0 0 / .08)}
.brand{display:flex;align-items:center;gap:10px;justify-self:start;font-size:13px;font-weight: 600}
.brand-avatar{width:34px;height:34px;flex:none;overflow:hidden;border-radius:50%}
.brand-avatar img{width:100%;height:100%;object-position:30% center;transform:scale(2.45);transform-origin:50% 36%}
.main-nav{display:flex;gap:clamp(18px,3vw,42px);font-size:13px}
.main-nav a{padding-block:8px;color:var(--muted);transition:color .2s}
.main-nav a:hover,.main-nav a[aria-current]{color:var(--ink)}
.main-nav a[aria-current]{font-weight: 600}
.lang{justify-self:end;border:0;background:var(--soft);padding:7px 12px;font:11px var(--body-font)}
.lang span{color:#777;margin-inline:4px}
.lang:hover,.pill:hover{background:var(--soft-hover)}
.hero{padding-top:82px;padding-bottom:100px}
.hero-title{--hero-weight-max:720;margin:clamp(52px,7.4vw,100px) 0 calc(clamp(52px,6.7vw,96px) + 90px);display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.8vw,28px);font-size:clamp(40px,9.65vw,139px);font-weight:var(--hero-weight-max);line-height:.84;letter-spacing:-.075em}
.signal{position:relative;display:grid;flex:none;place-items:center;width:clamp(50px,13.6vw,188px);aspect-ratio:1.28;background:var(--accent);color:#151515;border:0;padding:0;transition:background .35s,transform .4s cubic-bezier(.22,.8,.28,1.22)}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .signal:hover{transform:translate(var(--pull-x,0),var(--pull-y,0)) rotate(-4deg)}
}
.signal:active{transform:scale(.96)}
.signal-shape{width:42%;aspect-ratio:1;background:currentColor;clip-path:polygon(48% 0,53% 0,56% 35%,82% 11%,90% 19%,66% 44%,100% 47%,100% 55%,66% 58%,90% 82%,82% 90%,56% 66%,53% 100%,47% 100%,43% 66%,18% 89%,11% 82%,35% 57%,0 54%,0 47%,35% 43%,11% 18%,18% 11%,43% 35%);transform:rotate(var(--spin,0deg));transition:transform .65s cubic-bezier(.22,.8,.28,1.22)}
.hero-role{font-size:16px;letter-spacing:.04em}
.hero-intro p{margin-top:10px;max-width:640px}
.hero-intro p,.specialty p{font-size:16px}
.case-back{background:var(--soft);padding:8px 13px;font-weight: 600;transition:background .2s}
.case-back:hover{background:var(--soft-hover)}
.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:30px}
.section-heading p,.play-intro p,.visual p{font-size:14px;margin-top:12px}
h2,body[data-view] main h1:not(.hero-title){font-size:clamp(38px,5.75vw,78px);font-weight:550;letter-spacing:-.072em;line-height:.99}
.period{display:inline-block;color:var(--ink)}
.cover{height:auto;aspect-ratio:1.86;position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;background:#21201e;container-type:inline-size}
.cover-viggle{background:radial-gradient(ellipse at 76% 13%,#634a9c 0%,transparent 43%),radial-gradient(ellipse at 3% 100%,#40485e,transparent 55%),#1d1929}
.cover-kaibo{background:radial-gradient(ellipse at 80% 8%,#494f29,transparent 62%),#242921}
.cover-label{position:absolute;top:5.3%;left:4%;z-index:1;color:#fff;font:clamp(7px,1.5cqw,11px) var(--mono);letter-spacing:.1em;background:#121212e8;padding:.65em .85em;}
.mock-window{width:78%;height:77%;margin-top:6%;background:#111116;border:1px solid #ffffff30;overflow:hidden;color:#e8e6ee;box-shadow:0 3cqw 8cqw #0007;font-family:Arial,sans-serif;transform:perspective(1000px) rotateX(4deg) rotateY(-3deg);transition:transform .4s}
.mock-top{height:12%;min-height:13px;padding-inline:3%;display:flex;gap:1%;align-items:center;border-bottom:1px solid #ffffff19;font:1.15cqw var(--mono)}
.mock-top i{display:block;background:#f58988;border-radius:50%;width:.65cqw;aspect-ratio:1}
.mock-top i:nth-child(2){background:#f6d57d}.mock-top i:nth-child(3){background:#8ada9a}
.mock-top span{margin-left:auto;margin-right:auto;opacity:.65}
.mock-shell{height:88%;display:grid;grid-template-columns:23% 1fr}
.mock-nav{padding:13% 9%;border-right:1px solid #ffffff19;display:flex;flex-direction:column;gap:1.45cqw;font-size:1.15cqw;color:#b4afbe}
.mock-nav b{font-size:2.25cqw;letter-spacing:-.05em;color:white;margin-bottom:.4cqw}
.mock-nav span:first-of-type{background:#ffffff17;padding:.7cqw;color:white}
.mock-main{padding:5%;overflow:hidden}
.mock-main small{display:block;color:#d4c6f9;font:1cqw var(--mono);letter-spacing:.12em}
.mock-main h3{font-size:4cqw;letter-spacing:-.05em;margin:.8cqw 0 1.35cqw;line-height:1}
.mock-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:3%;height:56%}
.mock-tile{display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#483bb0,#241344 65%,#09131d)}
.mock-tile:nth-child(2){background:linear-gradient(140deg,#d8886c,#7d395e 43%,#392b49)}
.mock-tile:nth-child(3){background:linear-gradient(135deg,#aced83,#4b967d 42%,#173e4f)}
.mock-tile i{width:52%;aspect-ratio:1;border-radius:39% 61% 61% 39%;background:radial-gradient(circle at 28% 20%,#fffde9,#ccacff 28%,#7f54ef 64%,#292357 90%);transform:rotate(-30deg);box-shadow:0 .9cqw 3cqw #0007}
.mock-tile:nth-child(2) i{border-radius:4%;width:44%;background:linear-gradient(30deg,#5a234f,#fa9d71 57%,#ffeeb9)}
.mock-tile:nth-child(3) i{border-radius:50%;width:54%;background:radial-gradient(circle at 35% 27%,#f5ffdd,#a0d86d 32%,#347949 64%,#134356)}
.mock-tile i::after{content:"";position:absolute;width:170%;height:35%;top:31%;left:-35%;border:1px solid #ffffff92;border-radius:50%;transform:rotate(-19deg)}
.mock-tags{font:1.05cqw var(--mono);padding-top:1.05cqw;letter-spacing:.06em;color:#b4afbe}
.mock-kaibo .mock-main small{color:#c9e17d}
.console-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.7cqw;margin-bottom:1cqw}
.console-grid span{border:1px solid #ffffff24;padding:.7cqw;font:1.1cqw var(--mono);white-space:nowrap}
.console-chart{height:34%;display:flex;align-items:end;gap:4%;padding:.7cqw 1cqw;border:1px solid #ffffff24}
.console-chart i{background:#c4e86e;width:9%;height:var(--h);}
.playground {
  --play-gutter: clamp(18px, 4vw, 62px);
  margin: clamp(84px, 10vw, 145px) auto 0;
  padding-inline: var(--play-gutter);
}
.play-intro {
  margin-bottom: clamp(34px, 6vw, 90px);
  text-align: center;
}
.play-intro h2 {font-size:clamp(36px,5.55vw,76px)}
.play-intro p {
  max-width: 46ch;
  margin: 14px auto 0;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
}
#close-detail{background:var(--soft);border:0;min-height:38px;padding-inline:12px;font-size:12px;white-space:nowrap}
#close-detail:hover{background:var(--soft-hover)}
.play-projects {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(22px, 5.2vw, 108px);
  margin-inline: calc(-1 * var(--play-gutter));
  padding: 5px var(--play-gutter) 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--play-gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}
.play-projects:focus-visible {outline-offset:-3px}
.play-projects[data-dragging] {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
.play-projects[data-dragging] button {cursor:grabbing}
.play-card {
  flex: 0 0 calc(clamp(252px, 31vw, 620px) + 40px);
  min-width: 0;
  scroll-snap-align: start;
}
.play-card button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  background: transparent;
}
.play-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface, var(--soft));
}
.play-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .35s;
}
.play-card button:hover img, .play-card button:focus-visible img {transform:scale(1.035)}
.play-card-title {
  display: block;
  margin-top: clamp(13px, 1.6vw, 23px);
  font-size: clamp(24px, 2.8vw, 39px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.1;
}
.play-card-description, .play-card-tag {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}
.play-card-description {margin-top:8px;max-width:45ch;font-size:14px}
.play-card-tag {margin-top:9px;font-size:12px}
.play-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(31px, 5vw, 66px);
}
.play-toggle {
  border: 0;
  background: var(--soft);
}
.play-toggle[hidden] {display: none;}
@media (max-width: 620px) {
  .play-card {flex-basis: calc(min(78vw, 430px) + 40px);}
}
.home-about {
  margin-top: clamp(72px, 10vw, 144px);
  border-block: 1px solid #14141420;
}
.home-about-main {
  padding-block: clamp(48px, 8vw, 116px);
}
@media (prefers-reduced-motion: no-preference) {
  .home-about-reveal span {
    color: color-mix(in srgb, var(--ink) clamp(0%, calc((var(--about-fill, 0) - var(--glyph-index)) * 20%), 100%), var(--about-unfilled, #767676));
  }
}
#home-about-title {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -.04em;
}
.home-about-statement {
  --about-unfilled: #858585;
  margin-top: clamp(20px, 3.2vw, 44px);
  color: var(--ink);
  font: 550 clamp(33px, 6vw, 83px)/1.13 var(--display-font);
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.home-about-description {
  max-width: 62ch;
  margin-top: clamp(16px, 2vw, 30px);
  font-size: clamp(16px, 1.6vw, 20px);
}
.home-about-focus h3 {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.home-about-focus ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-about-focus li {
  padding: clamp(20px, 3vw, 42px) clamp(14px, 2vw, 28px);
  border-top: 1px solid #14141420;
}
.home-about-focus li + li {border-left: 1px solid #14141420}
.home-about-focus li:first-child {padding-left: 0}
.home-about-icon {
  display: block;
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-bottom: 16px;
  border-radius: 4px;
  background: var(--soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-about-focus li h4 {
  margin: 0;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.home-about-focus li p {
  margin-top: 8px;
  max-width: 32ch;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
}
@media (max-width: 800px) {
  .home-about-focus ul {grid-template-columns: repeat(2, minmax(0, 1fr))}
  .home-about-focus li:nth-child(odd) {padding-left: 0; border-left: 0}
}
@media (max-width: 480px) {
  .home-about-focus ul {grid-template-columns: minmax(0, 1fr)}
  .home-about-focus li:nth-child(n) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    padding-inline: 0;
    border-left: 0;
  }
  .home-about-icon {grid-row: span 2; margin: 0}
  .home-about-focus li p {margin-top: 5px}
}
.visual{padding-block:135px 114px;text-align:center}
.visual h2{font-size:clamp(36px,5.3vw,72px)}
.swatches {
  display: flex;
  gap: clamp(6px, .8vw, 12px);
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 32px;
}
.swatch{position:relative;display:grid;place-items:center;border:0;overflow:hidden;color:#151515;flex:0 0 calc(max(150px,23vw) + var(--swatch-size-increase, 0px));height:calc(clamp(115px,13.4vw,230px) + 40px + var(--swatch-size-increase, 0px));background:var(--sw);padding:0;transition:filter .2s}
.swatch:hover{filter:brightness(.96)}
.swatch:focus-visible{outline-offset:-5px}
.swatch-controls{display:flex;justify-content:flex-end;margin-top:12px}
.swatch-toggle{border:0;background:none;color:var(--muted);padding:4px 0;font-size:12px}
.swatch-toggle:hover{color:var(--ink)}
@media(prefers-reduced-motion:reduce){
  .swatch[data-repeat],.swatch-toggle{display:none}
}
.swatch[aria-pressed=true] span{background:var(--ink);color:white}
.swatch span{position:absolute;bottom:8%;left:6%;padding:3px 5px;font:clamp(7px,1vw,11px) var(--body-font);letter-spacing:.04em}
.swatch.fog{--sw:#d6d6d5}.swatch.lime{--sw:#e5f545}.swatch.mint{--sw:#91dbb8}.swatch.iris{--sw:#c5b6f4}.swatch.coral{--sw:#f9aa8e}
.contact{background:var(--soft);padding:62px 0 24px}
.contact em{font-style:normal;color:#666}
.contact-actions{display:flex;gap:10px;margin-top:27px}
.pill{display:inline-flex;align-items:center;background:var(--paper);padding:12px 17px;font-size:13px;transition:background .2s}
.pill.primary{background:var(--ink);color:white}
.pill.primary:hover{background:var(--accent);color:var(--ink)}
.footer-line{margin-top:64px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}
dialog{width:min(760px,calc(100% - 28px));max-height:calc(100% - 28px);padding:0;border:0;background:var(--paper);color:var(--ink);overscroll-behavior:contain}
dialog::backdrop{background:#171717a8;backdrop-filter:blur(5px)}
.dialog-bar{position:sticky;top:0;background:var(--paper);z-index:2;display:flex;align-items:center;justify-content:space-between;padding:10px 20px}
#detail-content{padding:28px clamp(16px,5vw,50px) 42px}
#detail-title{font-size:clamp(36px,6vw,67px);margin-bottom:10px}
.detail-desc{margin-bottom:22px;font-size:15px}
.detail-visual{display:block;width:100%;max-height:610px;object-fit:contain;}
.detail-part{margin-top:34px;display:grid;grid-template-columns:minmax(90px,1fr) 4fr;gap:12px}
.detail-part h3{font-size:14px;padding-top:3px}
.detail-part p{font-size:14px}
@media(max-width:800px){
  .wrap{width:calc(100% - 48px)}
  .visual{padding-block:100px 86px}
}
@media(max-width:600px){
  .wrap{width:calc(100% - 36px)}
  .site-header{height:76px;padding:7px 18px 0;grid-template-columns:1fr 1fr;grid-template-rows:33px 1fr}
  .brand-avatar{width:27px;height:27px}
  .brand{font-size:12px;gap:7px}
  .lang{grid-row:1;grid-column:2;padding:5px 9px}
  .main-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;font-size:12px}
  .main-nav a{padding-block:5px}
  .hero{padding-top:63.2px}
  .hero-title{gap:2vw;margin:55px -3px 142px;font-size:clamp(28px,10.3vw,63px)}
  .signal{width:13.4vw;min-width:39px}
  .hero-intro p,.specialty p{font-size:15px}
  .section-heading{margin-bottom:21px;display:block}
  .visual{padding-block:82px 65px}
  .swatches{margin-top:22px}
  .contact{padding-top:43px}
  .footer-line{margin-top:43px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}

body:not([data-view="home"]) main{padding-top:clamp(48px,7vw,104px)}
body[data-case] main {padding-top: 0}
.work-layout {
  --document-inset: clamp(20px, 4.5vw, 86px);
  display: grid;
  grid-template-columns: clamp(174px, 19vw, 290px) minmax(0, 1fr);
}
.work-rail {
  position: sticky;
  top: 72px;
  align-self: start;
  display: grid;
  gap: 3px;
  padding: clamp(24px, 4vw, 62px) clamp(16px, 3.2vw, 48px);
}
.work-rail a {
  width: fit-content;
  padding-block: 8px;
  font-size: 14px;
  line-height: 1.3;
}
.work-rail a:hover, .work-rail a:focus-visible {text-decoration: underline; text-underline-offset: 5px}
.work-rail .work-rail-back {margin-bottom: 16px; color: var(--muted)}
.work-content {
  min-width: 0;
  border-left: 1px solid #14141420;
  padding-bottom: clamp(55px, 8vw, 110px);
}
.work-masthead {
  min-height: clamp(300px, 49vw, 690px);
  display: grid;
  align-items: end;
  padding: var(--document-inset);
  background:
    radial-gradient(ellipse at 85% 85%, color-mix(in srgb, var(--accent) 75%, #ece5bb), transparent 64%),
    radial-gradient(ellipse at 75% 8%, #ebdef9, transparent 68%),
    #eceee8;
}
.work-masthead h2 {
  font-size: clamp(42px, 8.6vw, 142px);
  font-style: italic;
  font-weight: 450;
  letter-spacing: -.075em;
  line-height: .98;
}
.work-index-heading {
  margin-bottom: clamp(26px, 4vw, 58px);
}
.work-entry {
  scroll-margin-top: 94px;
  border-top: 1px solid #14141420;
}
.work-entry-cover {
  display: block;
  margin: clamp(20px, 3.2vw, 46px) var(--document-inset) 0;
}
.work-entry-cover:focus-visible {outline-offset: 6px}
.work-entry-cover:is(:hover, :focus-visible) .mock-window {
  transform: perspective(1000px) rotateX(0) rotateY(0) scale(1.035);
}
.work-entry-copy, .case-story section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(17px, 4vw, 64px);
  padding: clamp(24px, 4vw, 58px) var(--document-inset);
}
.work-entry-copy h2, body[data-view="work"] main .case-header h1 {
  font-size: clamp(30px, 5vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
.work-entry-copy p, .case-story p {
  max-width: 55ch;
  font-size: clamp(16px, 1.5vw, 20px);
}
.work-read-link {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid;
  font-size: 14px;
  font-weight: 600;
}
.case-page > .cover {
  aspect-ratio: auto;
  height: clamp(340px, 48vw, 700px);
}
.case-story section {
  border-top: 1px solid #14141420;
}
.case-story h2 {
  font-size: clamp(20px, 2.8vw, 35px);
  letter-spacing: -.04em;
  line-height: 1.2;
}
.case-tag {
  font-size: 12px;
  color: var(--muted);
}
.case-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px var(--document-inset) 0;
}
.case-neighbor {
  display: grid;
  gap: 6px;
  align-items: center;
  padding: clamp(13px, 2vw, 21px);
  background: var(--soft);
  transition: background .2s;
}
.case-neighbor:hover, .case-neighbor:focus-visible {
  background: var(--accent);
}
.case-neighbor strong {
  font-size: clamp(15px, 2.2vw, 25px);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.case-neighbor-next {
  grid-column: 2;
}
@media (max-width: 760px) {
  .work-layout {grid-template-columns: minmax(0, 1fr)}
  .work-rail {
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px var(--document-inset);
    background: var(--paper);
    border-bottom: 1px solid #14141420;
  }
  .work-rail .work-rail-back {margin: 0; padding-right: 16px; border-right: 1px solid #14141420}
  .work-content {border-left: 0}
  .work-entry, .case-page section {scroll-margin-top: 136px}
  .work-entry-copy, .case-story section {grid-template-columns: minmax(0, 1fr); gap: 12px}
  .case-page > .cover {height: clamp(245px, 65vw, 480px)}
}
@media (max-width: 600px) {
  .work-rail {top: 76px}
}

.index-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 24px;
  align-items: end;
}
body[data-view] main .index-heading h1 {
  font-size: clamp(45px, 8.6vw, 130px);
  font-style: italic;
  font-weight: 450;
}
.index-heading p {
  max-width: 42ch;
  font-size: clamp(16px, 1.55vw, 20px);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-block: clamp(26px, 4vw, 58px) 0;
  padding-block: 14px;
  border-block: 1px solid #14141420;
}
.gallery-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 8px 12px 8px 15px;
  background: var(--soft);
  font-size: 14px;
  line-height: 1.2;
  transition: background .2s;
}
.gallery-filters button:hover {
  background: var(--soft-hover);
}
.gallery-filters button[aria-pressed="true"] {
  background: var(--accent);
}
.gallery-count {
  font: 11px/1 var(--body-font);
}
.exploration-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px) clamp(14px, 2.5vw, 34px);
  padding-top: clamp(22px, 3vw, 48px);
}
.gallery-card {grid-column: span 5; min-width: 0}
.gallery-card:nth-child(4n + 1 of .gallery-card:not([hidden])),
.gallery-card:nth-child(4n + 4 of .gallery-card:not([hidden])) {grid-column: span 7}
.gallery-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  text-align: left;
}
.gallery-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(220px, 34vw, 470px);
  overflow: hidden;
  background: radial-gradient(circle at 45% 42%, color-mix(in srgb, var(--surface), white 12%), var(--surface) 77%);
}
.gallery-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-card button:hover img,
.gallery-card button:focus-visible img {
  transform: scale(1.045);
}
.gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 12px;
}
.gallery-title {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -.04em;
}
.gallery-category {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.gallery-description {
  max-width: 55ch;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
body[data-view="playground"] #detail {width: min(1120px, calc(100% - 28px))}
body[data-view="playground"] #detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 12px clamp(20px, 4vw, 48px);
  align-items: start;
}
body[data-view="playground"] #detail-content > :not(img) {grid-column: 2}
body[data-view="playground"] #detail-content .detail-visual {
  grid-area: 1 / 1 / span 3;
  margin: 0;
  background: var(--soft);
}
body[data-view="playground"] #detail-content .detail-part {margin-top: 8px}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .index-heading {grid-template-columns: minmax(0, 1fr); gap: 14px}
  .exploration-gallery {grid-template-columns: minmax(0, 1fr)}
  .exploration-gallery .gallery-card:nth-child(n) {grid-column: auto}
  .gallery-visual {height: auto; aspect-ratio: 4 / 3}
  body[data-view="playground"] #detail-content {display: block}
  body[data-view="playground"] #detail-content .detail-visual {margin-block: 16px}
}

.about {
  padding-bottom: clamp(72px, 10vw, 140px);
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(28px, 7vw, 110px);
}
.about-eyebrow, .about-education {
  font-size: 13px;
}
body[data-view="about"] main .about-hero h1 {
  font-weight: 450;
  margin-top: 15px;
}
.about-role {
  margin-top: 13px;
  color: var(--ink);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -.025em;
}
.about-lede, .about-section-intro {
  max-width: 62ch;
  font-size: clamp(15px, 1.65vw, 19px);
  line-height: 1.7;
}
.about-lede {
  margin-top: 24px;
}
.about-education {
  margin-top: 16px;
}
.about-portrait {
  width: 100%;
  max-width: 430px;
  height: auto;
  aspect-ratio: 1;
  justify-self: end;
  object-fit: cover;
  object-position: 30% center;
}
.about-section {
  margin-top: clamp(70px, 10vw, 135px);
}
.about-section-intro {
  margin-top: 16px;
}
.about-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: 28px;
}
.about-capabilities article {
  padding: clamp(18px, 3vw, 36px);
  background: var(--soft);
}
.about-section :where(article, .about-job-header) > h3 {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.23;
  letter-spacing: -.035em;
}
.about-capabilities p {
  margin-top: 9px;
  max-width: 52ch;
  font-size: 15px;
}
.about-experience {
  display: grid;
  gap: 12px;
  margin-top: clamp(25px, 4vw, 48px);
}
.about-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(18px, 4.5vw, 64px);
  padding: clamp(20px, 3vw, 36px);
  background: var(--soft);
}
.about-job-header h3 {
  font-size: clamp(21px, 2.2vw, 30px);
  overflow-wrap: anywhere;
}
.about-job-date {
  margin-bottom: 8px;
  font: 12px/1.5 var(--body-font);
}
.about-job-role {
  margin-top: 7px;
  font-size: 13px;
}
.about-job ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.about-project {
  display: inline-grid;
  grid-template-columns: clamp(72px, 9vw, 104px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 4px 12px 4px 4px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
  overflow-wrap: anywhere;
}
.about-project .cover {
}
.about-project .cover-label {
  display: none;
}
.about-project:hover, .about-project:focus-visible {
  background: var(--accent);
}
.about-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 50px);
  margin-top: 27px;
}
.about-tools ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media(max-width: 650px) {
  .about-hero, .about-capabilities, .about-job, .about-tools {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-job {
    gap: 14px;
  }
  .about-portrait {
    justify-self: start;
    max-width: 350px;
  }
  .about-tools {
    gap: 23px;
  }
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  :is(.work-entry-cover .cover,.play-card button .play-card-media,.gallery-card .gallery-visual)::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--light-x, 50%) var(--light-y, 50%), #ffffff32, transparent 58%);
    opacity: 0;
    transition: opacity .25s ease;
  }
  :is(.work-entry-cover .cover,.play-card button .play-card-media,.gallery-card .gallery-visual):hover::after {
    opacity: 1;
  }
}

/* Homepage typography and scroll-driven services strip. */
body[data-view="home"] {
  --paper: #fff;
  --home-section-gutter: clamp(24px, 4.4vw, 88px);
}
body[data-view="home"] .wrap {
  width: calc(100% - 2 * var(--home-section-gutter));
}
body[data-view="home"] .playground {
  --play-gutter: var(--home-section-gutter);
}
body[data-view="home"] .swatches {--swatch-size-increase: 36px}
body[data-view="home"] .site-header {
  padding-inline: var(--home-section-gutter);
  background: rgb(255 255 255 / .94);
}
.hero-title {
  font-size: clamp(38px, 9.3vw, 145px);
}
.hero-word {
  font-weight: var(--hero-weight, var(--hero-weight-max));
}
.hero-word-ink {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-word {
    position: relative;
    color: transparent;
  }
  .hero-word-ink {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--ink);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    font-weight: calc(var(--hero-weight, var(--hero-weight-max)) * (1 - var(--hero-pointer-strength, 0)) + 400 * var(--hero-pointer-strength, 0));
    transform: scaleX(var(--hero-pointer-scale, 1));
    transform-origin: left center;
    transition: transform .26s cubic-bezier(.2,.72,.28,1), font-weight .26s ease-out;
  }
  .hero-word:first-child .hero-word-ink {
    transform-origin: right center;
  }
}
.hero .signal {
  rotate: var(--hero-turn, 0deg);
}
.design-specialties {
  --specialty-rule: #e8e8e8;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: var(--home-section-gutter);
  border-block: 1px solid var(--specialty-rule);
}
.specialty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: clamp(12px, 1.45vw, 25px);
  padding: clamp(36px, 4.2vw, 72px) clamp(23px, 3vw, 56px);
}
.specialty:first-child {padding-inline-start: 0}
.specialty:last-child {padding-inline-end: 0}
.specialty + .specialty {
  border-inline-start: 1px solid var(--specialty-rule);
}
.specialty h2 {
  font-size: clamp(17px, 1.7vw, 26px);
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 600;
}
.specialty p {
  max-width: 37ch;
  margin-top: 8px;
  line-height: 1.55;
}
.specialty-mark {
  display: grid;
  place-items: center;
  width: clamp(36px, 4vw, 61px);
  aspect-ratio: 1;
  background: #f0f0ef;
  color: var(--ink);
}
.specialty-mark::before {
  content: "";
  width: 49%;
  aspect-ratio: 1;
  background: currentColor;
}
.specialty-mark-product::before {
  clip-path: polygon(50% 0, 63% 30%, 72% 38%, 100% 50%, 72% 62%, 63% 70%, 50% 100%, 37% 70%, 28% 62%, 0 50%, 28% 38%, 37% 30%);
}
.specialty-mark-system::before {
  clip-path: polygon(43% 0, 57% 0, 57% 38%, 84% 11%, 94% 21%, 66% 43%, 100% 43%, 100% 57%, 66% 57%, 94% 79%, 84% 89%, 57% 62%, 57% 100%, 43% 100%, 43% 62%, 16% 89%, 6% 79%, 34% 57%, 0 57%, 0 43%, 34% 43%, 6% 21%, 16% 11%, 43% 38%);
}
.specialty-mark-research::before {
  clip-path: polygon(0 14%, 49% 41%, 49% 14%, 100% 42%, 100% 58%, 49% 86%, 49% 59%, 0 86%, 0 67%, 32% 50%, 0 33%, 0 14%, 49% 33%, 49% 67%, 81% 50%, 49% 33%);
}
@media (max-width: 700px) {
  .design-specialties {
    grid-template-columns: minmax(0, 1fr);
  }
  .specialty {
    padding: 23px 0;
  }
  .specialty + .specialty {
    border-inline-start: 0;
    border-top: 1px solid var(--specialty-rule);
  }
}
.services-strip {
  overflow: hidden;
  margin-block: 0 clamp(62px, 8vw, 116px);
  background: #f5f5f4;
}
.services-track {
  display: flex;
  transform: translateX(var(--services-offset, 0px));
}
.services-list {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  margin: 0;
  padding: clamp(23px, 3vw, 45px) var(--home-section-gutter);
  list-style: none;
  white-space: nowrap;
  font-size: clamp(24px, 4.7vw, 68px);
  line-height: 1.05;
  font-weight: 550;
  letter-spacing: -.085em;
}
.services-list li {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
}
.services-list li:not(:first-child)::before {
  content: "";
  width: .12em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
}
.services-list li:nth-child(even) {
  color: #555;
  font-weight: 400;
}
.services-list[aria-hidden="true"] {
  padding-inline-start: 0;
}
.services-strip:not([data-scroll-driven]) .services-list {
  flex: 1;
  flex-wrap: wrap;
  white-space: normal;
}
.services-list[aria-hidden="true"] li:first-child::before {
  content: "";
  width: .12em;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
}
/* Full-width project rows and aligned section headings on the homepage. */
.home-work {
  --column-padding: var(--home-section-gutter);
  --row-padding: clamp(42px, 5.8vw, 104px);
  --work-divider: #e5e5e5;
}
.home-work > .section-heading {
  margin: 0;
  padding: 60px var(--column-padding) clamp(54px, 7vw, 130px);
}
body[data-view="home"] :is(#work-title, #play-title, #visual-title),
body[data-view="about"] .about-section > h2 {
  color: #484848;
  font-size: clamp(34px, 4.2vw, 66px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.065em;
}
body[data-view="home"] .play-intro {
  text-align: left;
}
body[data-view="home"] .visual > .wrap:first-child {
  text-align: left;
}
body[data-view="home"] :is(.home-work > .section-heading, .play-intro, .visual > .wrap:first-child) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(34%, 360px));
  align-items: end;
  gap: clamp(16px, 4vw, 64px);
}
body[data-view="home"] :is(.home-work > .section-heading, .play-intro, .visual > .wrap:first-child) > p {
  max-width: none;
  margin: 0;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.55;
  text-align: right;
}
body[data-view="home"] #visual-title .period {
  color: inherit;
}
.home-work-list {
  border-top: 1px solid var(--work-divider);
}
.home-work-row {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 42fr) minmax(0, 28fr);
  align-items: stretch;
  border-bottom: 1px solid var(--work-divider);
}
.home-work-copy,
.home-work-role {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  padding: var(--row-padding) var(--column-padding);
}
.home-work-title {
  font-size: clamp(21px, 2.55vw, 39px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.05em;
  overflow-wrap: break-word;
}
.home-work-copy p,
.home-work-role p {
  margin-top: 16px;
  font-size: clamp(14px, 1.23vw, 18px);
}
.home-work-row h4 {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
}
.home-work-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.home-work-tools li {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.home-work-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: var(--row-padding) clamp(18px, 3.25vw, 66px);
  border-inline: 1px solid var(--work-divider);
}
.home-work-visual .cover {
  width: 100%;
  aspect-ratio: 1.22;
  transition: transform .32s ease;
}
.work-project-image,
.home-work-image {
  width: 100%;
  height: auto;
  transition: transform .32s ease;
}
.home-work-visual:is(:hover, :focus-visible) :is(.cover, .home-work-image) {
  transform: scale(1.025);
}
.home-work-visual .mock-window {
  height: 61%;
  margin-top: 2%;
}
@media (max-width: 720px) {
  body[data-view="home"] {
    --home-section-gutter: clamp(18px, 4vw, 28px);
  }
  body[data-view="home"] :is(.home-work > .section-heading, .play-intro, .visual > .wrap:first-child) {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  body[data-view="home"] :is(.home-work > .section-heading, .play-intro, .visual > .wrap:first-child) > p {
    text-align: left;
  }
  .home-work-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 32px var(--column-padding);
  }
  .home-work-copy,
  .home-work-role,
  .home-work-visual {
    padding: 0;
  }
  .home-work-copy p,
  .home-work-role p {
    margin-top: 8px;
  }
  .home-work-visual {
    border-inline: 0;
  }
  .home-work-visual .cover {
    aspect-ratio: 1.53;
  }
  .home-work-visual .mock-window {
    height: 72%;
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(24px, 9.5vw, 56px);
    margin-bottom: clamp(85px, 26vw, 138px);
  }
  .hero {padding-bottom: 67px;}
}
@media (prefers-reduced-motion: reduce) {
  .hero-word {font-weight: var(--hero-weight-max);}
  .hero .signal {rotate: none;}
  .services-track {transform: none;}
  .services-list {flex: 1; flex-wrap: wrap; white-space: normal;}
  .services-list[aria-hidden="true"] {display: none;}
}
