:root {
  --bg: #EEEBE5;
  --bg-2: #E5E1D9;
  --panel: #F6F4F0;
  --ink: #111110;
  --ink-2: #57544E;
  --ink-3: #8C8880;
  --line: rgba(17,17,16,.12);
  --line-2: rgba(17,17,16,.22);
  --accent: #FF5A1F;
  --dark: #121211;
  --dark-2: #1C1C1A;
  --paper: #F2EFEA;

  --f-display: "Archivo", "Helvetica Neue", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.still { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-display); font-variation-settings: "wdth" 100;
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* background 3D field */
#bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: .55; }
main, .footer { position: relative; z-index: 1; }
@media (max-width: 1100px) { #bg { opacity: .4; } }

/* ---------- loader ---------- */
.loader { display: none; }
html.anim .loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--dark); color: var(--paper);
  clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.76,0,.24,1);
  animation: loaderFailsafe .01s 7s forwards;
}
html.loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes loaderFailsafe { to { visibility: hidden; } }
@keyframes rise { to { transform: none; } }
.loader__center { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.loader__cube { width: 70px; height: 70px; perspective: 500px; }
.loader__cube .cube { width: 70px; height: 70px; animation-duration: 3s; }
.loader__cube .cube span { border-color: var(--paper); background: rgba(255,90,31,.08); }
.loader__cube .cube span:nth-child(1) { transform: translateZ(35px); }
.loader__cube .cube span:nth-child(2) { transform: rotateY(180deg) translateZ(35px); }
.loader__cube .cube span:nth-child(3) { transform: rotateY(90deg) translateZ(35px); }
.loader__cube .cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(35px); }
.loader__cube .cube span:nth-child(5) { transform: rotateX(90deg) translateZ(35px); }
.loader__cube .cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(35px); }
.loader__cube .cube span::before, .loader__cube .cube span::after { border-color: rgba(255,255,255,.2); }
.loader__word { display: flex; overflow: hidden; font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(64px, 15vw, 200px); line-height: .9; letter-spacing: -.05em; }
.loader__word span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 100ms); }
.loader__word span:nth-child(2) { color: var(--accent); }
.loader__meta { position: absolute; left: var(--gutter); bottom: 28px; color: #8E8A82; }
.loader__count { position: absolute; right: var(--gutter); bottom: 18px; font: 500 clamp(40px, 7vw, 96px)/1 var(--f-mono); letter-spacing: -.04em; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 1%); background: var(--accent); transition: width .15s linear; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  html.anim .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none; mix-blend-mode: difference; }
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid #fff; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s ease; }
  .cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s ease; white-space: nowrap; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.12); }
  .cursor.is-drag .cursor__ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: #fff; }
  .cursor.is-drag .cursor__label { opacity: 1; }
  html.anim, html.anim a, html.anim button { cursor: none; }
}

/* ---------- buttons ---------- */
.btn {
  --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h);
  padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  font: 600 15px/1 var(--f-display); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; white-space: nowrap;
  transition: transform .25s var(--ease), translate .5s var(--spring), background .25s ease, color .25s ease, border-color .25s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; border-radius: inherit; }
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); color: #fff; }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--bg); }
.btn .arr { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .3s ease, border-color .3s ease, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.nav[data-stuck="true"] { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav[data-hidden="true"] { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 22px; letter-spacing: .02em; }
.logo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent); } }
.nav__links { display: flex; gap: 2px; margin-left: auto; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 75%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__links a { position: relative; padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: background .2s ease, color .2s ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.nav .btn { --h: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 1120px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- split text ---------- */
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
html.anim .split .ch { opacity: 0; transform: translateY(.55em) rotateX(-95deg); transform-origin: 50% 100% -.2em; transition: transform 1s var(--ease), opacity .6s ease; transition-delay: calc(var(--i) * 24ms); }
html.anim .split.in .ch { opacity: 1; transform: none; }
.split { perspective: 700px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 104px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); margin: 0; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink-2); }
.hero h1 { margin: 22px 0 0; font-weight: 700; font-variation-settings: "wdth" 88; font-size: clamp(44px, 6.4vw, 104px); line-height: .92; letter-spacing: -.035em; perspective: 800px; }
.hero h1 .line { display: block; padding-bottom: .06em; }
.hero h1 .serif { font-size: 1.08em; letter-spacing: -.02em; color: var(--accent); }
html.anim .hero h1 .ch { opacity: 0; transform: translateY(.7em) rotateX(-100deg) scale(.9); transform-origin: 50% 100%; transition: transform 1.1s var(--ease), opacity .7s ease; transition-delay: calc(var(--i) * 32ms + 200ms); }
html.anim.loaded .hero h1 .ch { opacity: 1; transform: none; }
.hero__lede { max-width: 30em; margin: 28px 0 0; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
html.anim .intro { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1s var(--ease); transition-delay: var(--d, 0ms); }
html.anim.loaded .intro { opacity: 1; transform: none; }
html.anim .viewport.intro { transform: perspective(1400px) rotateY(-18deg) rotateX(8deg) translateY(40px) scale(.94); transform-origin: 20% 50%; transition-duration: 1.4s; }
html.anim.loaded .viewport.intro { transform: none; }
.hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; padding-top: 22px; border-top: 1px solid var(--line); margin: 0; }
.hero__meta dt { color: var(--ink-3); margin-bottom: 6px; }
.hero__meta dd { margin: 0; font-weight: 600; font-size: 15px; }

/* viewport */
.viewport {
  position: relative; min-height: clamp(460px, 74vh, 800px); border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 20%, #FBFAF7 0%, #ECE8E1 55%, #DCD7CE 100%);
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 50px 90px -40px rgba(17,17,16,.4);
}
.viewport canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.viewport__fallback { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; }
.viewport__fallback svg { width: 50%; opacity: .5; }
.viewport__corners { position: absolute; inset: 12px; pointer-events: none; z-index: 1; }
.viewport__corners i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink-3); }
.viewport__corners i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.viewport__corners i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.viewport__corners i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.viewport__corners i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hud { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; color: var(--ink-2); pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud--tl { top: 18px; left: 18px; flex-wrap: wrap; }
.hud--tr { top: 16px; right: 16px; }
.hud--bl { bottom: 18px; left: 18px; right: 18px; }
.hud__tag { padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.7); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.hud__tag b { color: var(--ink); font-weight: 500; }
.hud__rec { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 6px; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.modes { display: flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.72); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modes button { border: 0; background: none; padding: 7px 10px; border-radius: 7px; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; transition: background .2s ease, color .2s ease; }
.modes button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.modes button:hover:not([aria-pressed="true"]) { color: var(--ink); background: rgba(17,17,16,.06); }
.timeline { flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.72); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.timeline button { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--ink); color: #fff; cursor: pointer; }
.timeline button svg { width: 10px; height: 10px; }
.timeline__track { position: relative; flex: 1; height: 22px; background-image: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10%); background-size: 100% 6px; background-repeat: no-repeat; background-position: bottom; }
.timeline__track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.timeline__key { position: absolute; bottom: 8px; width: 9px; height: 9px; margin-left: -4.5px; background: var(--ink); transform: rotate(45deg); }
.timeline__head { position: absolute; top: -4px; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); left: 0; }
.timeline__head::before { content: attr(data-f); position: absolute; top: -2px; left: 50%; transform: translate(-50%, -100%); padding: 2px 5px; border-radius: 4px; background: var(--accent); color: #fff; font: 500 10px/1.2 var(--f-mono); }
.timeline__label { flex: 0 0 auto; min-width: 5.5em; text-align: right; }
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .viewport { min-height: 480px; }
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
  .hero__meta { grid-template-columns: 1fr; gap: 0; padding-top: 6px; }
  .hero__meta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero__meta dt { margin: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hud--tl .hud__tag:nth-child(2), .timeline__label { display: none; }
  .viewport .hud--tr { top: auto; bottom: 66px; right: 18px; }
  .show__stage .hud--tl .hud__tag:nth-child(2) { display: none; }
  .viewport { min-height: 440px; }
  .modes button { padding: 7px 8px; }
}

/* ---------- 3D ribbons ---------- */
.ribbons { position: relative; height: clamp(170px, 19vw, 250px); overflow: hidden; margin-block: clamp(10px, 3vw, 40px); }
.ribbon { position: absolute; left: -6%; right: -6%; top: 50%; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(17,17,16,.5); }
.ribbon--a { background: var(--ink); color: var(--paper); transform: translateY(-78%) rotate(-3.2deg); z-index: 2; }
.ribbon--b { background: var(--accent); color: #fff; transform: translateY(-8%) rotate(2.4deg); }
.ribbon__track { display: flex; width: max-content; will-change: transform; }
.ribbon__item { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 42px); padding: 20px clamp(11px, 1.5vw, 21px); font-weight: 700; font-variation-settings: "wdth" 115; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.02em; white-space: nowrap; }
.ribbon__item::after { content: ""; width: 12px; height: 12px; background: currentColor; transform: rotate(45deg); opacity: .8; }
.ribbon--b .ribbon__item { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; font-size: clamp(24px, 2.8vw, 42px); }
html.still .ribbon__track { transform: none !important; }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section__num { display: flex; align-items: center; gap: 12px; color: var(--ink-3); margin: 0 0 18px; }
.section__num span { color: var(--accent); }
.h2 { margin: 0; font-weight: 700; font-variation-settings: "wdth" 86; font-size: clamp(38px, 5.2vw, 80px); line-height: .95; letter-spacing: -.035em; }
.h2 .serif { color: var(--accent); font-size: 1.06em; }
.section__intro { margin: 0; max-width: 34em; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); justify-self: end; }
@media (max-width: 800px) { .section__head { grid-template-columns: 1fr; } .section__intro { justify-self: start; } }

.reveal { opacity: 0; transform: perspective(1000px) translateY(46px) rotateX(16deg); transform-origin: 50% 0; transition: opacity .9s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 3D tilt ---------- */
.reveal.in[data-tilt], [data-tilt]:not(.reveal) {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .7s var(--ease), box-shadow .5s var(--ease), opacity .9s ease, border-color .3s ease;
}
.reveal.in[data-tilt].is-tilting, [data-tilt]:not(.reveal).is-tilting { transition: transform .15s linear, box-shadow .5s var(--ease), border-color .3s ease; }
[data-tilt] { transform-style: preserve-3d; }
.glare { position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.45), rgba(255,255,255,0) 45%); mix-blend-mode: soft-light; }
.is-tilting .glare { opacity: 1; }
[data-depth] { transform: translateZ(calc(var(--depth) * 1px)); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; min-height: 540px; padding: 26px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.svc:hover { --ty: -6px; box-shadow: 0 40px 70px -34px rgba(17,17,16,.38); border-color: var(--line-2); }
.svc__top { display: flex; justify-content: space-between; color: var(--ink-3); }
.svc__art { flex: 1; display: grid; place-items: center; min-height: 230px; perspective: 700px; transform-style: preserve-3d; }
.svc h3 { margin: 0 0 10px; font-weight: 700; font-variation-settings: "wdth" 92; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.02; letter-spacing: -.025em; }
.svc p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.svc li { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.svc--dark { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.svc--dark p, .svc--dark .svc__top { color: #A9A59D; }
.svc--dark li { border-color: rgba(255,255,255,.2); color: #CFCBC3; }
@media (max-width: 1100px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; display: grid; grid-template-columns: minmax(220px, 40%) minmax(0, 1fr); grid-template-areas: "art top" "art title" "art body" "art tags"; grid-template-rows: auto auto 1fr auto; column-gap: clamp(24px, 4vw, 48px); padding: 28px; }
  .svc__top { grid-area: top; margin-bottom: 28px; }
  .svc__art { grid-area: art; min-height: 260px; border-radius: 14px; background: rgba(17,17,16,.03); }
  .svc--dark .svc__art { background: rgba(255,255,255,.04); }
  .svc h3 { grid-area: title; }
  .svc p { grid-area: body; max-width: 40em; }
  .svc ul { grid-area: tags; }
}
@media (max-width: 640px) {
  .svc { display: flex; padding: 22px; }
  .svc__top { margin-bottom: 0; }
  .svc__art { min-height: 220px; margin: 18px 0 22px; background: none; }
  .svc--dark .svc__art { background: none; }
}

.cube { position: relative; width: 120px; height: 120px; transform-style: preserve-3d; animation: spin 14s linear infinite; }
.cube span { position: absolute; inset: 0; border: 1.5px solid var(--ink); background: rgba(255,90,31,.04); }
.cube span:nth-child(1) { transform: translateZ(60px); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(60px); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(60px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(60px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }
.cube span::before, .cube span::after { content: ""; position: absolute; }
.cube span::before { left: 33.3%; right: 33.3%; top: 0; bottom: 0; border-inline: 1px solid var(--line-2); }
.cube span::after { top: 33.3%; bottom: 33.3%; left: 0; right: 0; border-block: 1px solid var(--line-2); }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.svc:hover .cube { animation-duration: 4s; }

.rig { width: min(240px, 80%); overflow: visible; }
.rig .bone { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; }
.rig .joint { fill: var(--accent); }
.rig .arm-l { transform-origin: 90px 62px; animation: armL 3.2s var(--ease) infinite alternate; }
.rig .arm-r { transform-origin: 150px 62px; animation: armR 3.2s var(--ease) infinite alternate; }
.rig .fore-l { transform-origin: 50px 62px; animation: foreL 3.2s var(--ease) infinite alternate; }
.rig .fore-r { transform-origin: 190px 62px; animation: foreR 3.2s var(--ease) infinite alternate; }
@keyframes armL { 0%, 20% { transform: rotate(0); } 80%, 100% { transform: rotate(-38deg); } }
@keyframes armR { 0%, 20% { transform: rotate(0); } 80%, 100% { transform: rotate(38deg); } }
@keyframes foreL { 0%, 20% { transform: rotate(0); } 80%, 100% { transform: rotate(-18deg); } }
@keyframes foreR { 0%, 20% { transform: rotate(0); } 80%, 100% { transform: rotate(18deg); } }

.browser { width: min(260px, 86%); border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; overflow: hidden; box-shadow: 10px 10px 0 var(--ink); transform: rotate(-3deg); transition: transform .5s var(--ease); }
.svc:hover .browser { transform: rotate(0) translateY(-4px); }
.browser__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1.5px solid var(--ink); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.browser__body { position: relative; height: 150px; display: grid; place-items: center; perspective: 400px; background: repeating-linear-gradient(0deg, transparent 0 19px, var(--line) 19px 20px), repeating-linear-gradient(90deg, transparent 0 19px, var(--line) 19px 20px); }
.browser__obj { width: 54px; height: 54px; transform-style: preserve-3d; animation: objspin 6s linear infinite; }
.browser__obj i { position: absolute; inset: 0; background: var(--accent); border: 1.5px solid var(--ink); }
.browser__obj i:nth-child(1) { transform: translateZ(27px); }
.browser__obj i:nth-child(2) { transform: rotateY(90deg) translateZ(27px); background: #E24A12; }
.browser__obj i:nth-child(3) { transform: rotateY(180deg) translateZ(27px); }
.browser__obj i:nth-child(4) { transform: rotateY(-90deg) translateZ(27px); background: #E24A12; }
.browser__obj i:nth-child(5) { transform: rotateX(90deg) translateZ(27px); background: #FF8A5C; }
.browser__obj i:nth-child(6) { transform: rotateX(-90deg) translateZ(27px); }
@keyframes objspin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.browser__cursor { position: absolute; width: 14px; animation: cur 3s ease-in-out infinite; }
@keyframes cur { 0%, 100% { transform: translate(52px, 40px); } 50% { transform: translate(18px, 12px); } }

/* ---------- showroom ---------- */
.show { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px; align-items: stretch; }
.show__stage { position: relative; min-height: clamp(460px, 66vh, 760px); border-radius: 22px; overflow: hidden; isolation: isolate; background: radial-gradient(90% 80% at 50% 30%, #34332F 0%, #1B1B19 55%, #0F0F0E 100%); color: var(--paper); }
.show__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.show__stage .hud__tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: #CFCBC3; }
.show__stage .hud__tag b { color: #fff; }
.show__stage .modes { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.show__stage .modes button { color: #CFCBC3; }
.show__stage .modes button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.show__stage .modes button:hover:not([aria-pressed="true"]) { color: #fff; background: rgba(255,255,255,.08); }
.show__stage .viewport__corners i { border-color: rgba(255,255,255,.3); }
.show__title { position: absolute; left: 22px; bottom: 20px; right: 22px; z-index: 2; pointer-events: none; }
.show__title b { display: block; font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(30px, 4.4vw, 64px); line-height: .95; letter-spacing: -.04em; }
.show__title span { color: #A9A59D; }
.show__loading { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(15,15,14,.5); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.show__loading[data-on="true"] { opacity: 1; }
.show__panel { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.show__list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.show__item { position: relative; width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 14px; border: 1px solid transparent; border-radius: 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background .25s ease, border-color .25s ease; }
.show__item:hover { background: rgba(17,17,16,.04); }
.show__item[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.show__item .k { grid-row: span 2; color: var(--ink-3); }
.show__item[aria-selected="true"] .k { color: var(--accent); }
.show__item b { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.show__item span.c { color: var(--ink-3); }
.show__item[aria-selected="true"] span.c { color: #A9A59D; }
.show__item .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.show__desc { margin: 0; color: var(--ink-2); font-size: 15.5px; min-height: 4.6em; }
.show__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: auto 0 0; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.show__stats div { padding: 12px 14px; background: var(--panel); }
.show__stats dt { color: var(--ink-3); margin-bottom: 4px; }
.show__stats dd { margin: 0; font: 600 20px/1.1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.show__hint { margin: 0; color: var(--ink-3); }
@media (max-width: 1000px) { .show { grid-template-columns: minmax(0, 1fr); } .show__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; min-width: 0; } .show__list li { flex: 1 0 190px; } .show__desc { min-height: 0; } }
@media (max-width: 560px) { .show__stage { min-height: 420px; } .show__panel { padding: 14px; } .show__stats dd { font-size: 17px; } .show__list { flex-direction: column; } .show__list li { flex: none; } .show__item { padding: 10px 12px; } }

/* ---------- audiences ---------- */
.aud { position: relative; isolation: isolate; border-top: 1px solid var(--ink); perspective: 1400px; }
.aud__row { display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.4fr) 48px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line-2); position: relative; text-decoration: none; color: inherit; transition: padding .4s var(--ease), color .3s ease, opacity .9s ease, transform 1.1s var(--ease); }
.aud__row::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.aud__row:hover::before { transform: scaleY(1); }
.aud__row:hover { color: var(--bg); padding-inline: 12px; }
.aud__row:hover p { color: #B9B5AD; }
.aud__row:hover .aud__icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg) scale(1.1); }
.aud__row:hover h3 .ch { animation: hop .5s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
@keyframes hop { 40% { transform: translateY(-14%) rotateX(30deg); } }
.aud__k { color: var(--ink-3); }
.aud__row h3 { margin: 0; font-weight: 700; font-variation-settings: "wdth" 110; font-size: clamp(30px, 4vw, 60px); line-height: 1; letter-spacing: -.035em; }
.aud__row p { margin: 0; color: var(--ink-2); max-width: 36em; transition: color .3s ease; }
.aud__icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .45s var(--ease), background .3s ease, border-color .3s ease, color .3s ease; }
.aud__icon svg { width: 16px; height: 16px; }
@media (max-width: 800px) { .aud__row { grid-template-columns: 1fr 48px; gap: 10px 16px; } .aud__k { grid-column: 1 / -1; } .aud__row p { grid-column: 1 / 2; } .aud__icon { grid-row: 2; grid-column: 2; } }

/* ---------- work ---------- */
.works { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.work { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.work:hover { --ty: -6px; box-shadow: 0 40px 70px -34px rgba(17,17,16,.38); }
.work:nth-child(1) { grid-column: span 7; }
.work:nth-child(2) { grid-column: span 5; }
.work:nth-child(3) { grid-column: 1 / -1; }
.work__art { position: relative; height: clamp(220px, 26vw, 360px); overflow: hidden; background: var(--c, #222); }
.work__art svg { position: absolute; inset: -12% 0; width: 100%; height: 124%; transform: translateY(var(--py, 0px)); transition: scale .8s var(--ease); }
.work:hover .work__art svg { scale: 1.06; }
.work__status { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); }
.work__status i { width: 7px; height: 7px; border-radius: 50%; background: #1FA84F; box-shadow: 0 0 0 3px rgba(31,168,79,.2); }
.work__status--case i { background: var(--ink-3); box-shadow: none; }
.work__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 22px 24px 24px; }
.work h3 { margin: 0; font-weight: 700; font-variation-settings: "wdth" 96; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.025em; line-height: 1.05; }
.work p { grid-column: 1 / 2; margin: 0; color: var(--ink-2); font-size: 15.5px; }
.work__go { grid-row: 1 / 3; grid-column: 2; align-self: start; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s ease, color .3s ease, transform .45s var(--ease), border-color .3s ease; }
.work__go svg { width: 15px; height: 15px; }
.work:hover .work__go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.work__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.work__tags span { padding: 4px 9px; border-radius: 999px; background: var(--bg-2); font: 500 11px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 900px) { .work:nth-child(n) { grid-column: 1 / -1; } }

.rain line { stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-linecap: round; animation: fall 1.1s linear infinite; }
@keyframes fall { from { transform: translateY(-60px); } to { transform: translateY(240px); } }
.pitch path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 5s var(--ease) infinite; }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.breath circle { fill: none; stroke: rgba(255,255,255,.5); transform-origin: center; transform-box: fill-box; animation: breathe 5s ease-in-out infinite; }
.breath circle:nth-child(2) { animation-delay: -1.6s; } .breath circle:nth-child(3) { animation-delay: -3.2s; }
@keyframes breathe { 0% { transform: scale(.3); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.member { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; padding: 28px; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); isolation: isolate; }
.member:hover { --ty: -6px; box-shadow: 0 40px 70px -34px rgba(17,17,16,.38); }
.member--b { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.member__mono { position: absolute; right: -0.06em; bottom: -0.2em; z-index: -1; font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(160px, 20vw, 300px); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); transform: translateY(var(--py, 0px)); transition: translate .8s var(--ease), -webkit-text-stroke-color .4s ease; }
.member--b .member__mono { -webkit-text-stroke-color: rgba(255,255,255,.16); }
.member:hover .member__mono { translate: -12px -10px; -webkit-text-stroke-color: var(--accent); }
.member__top { display: flex; justify-content: space-between; color: var(--ink-3); }
.member--b .member__top { color: #8E8A82; }
.member h3 { margin: 0; font-weight: 700; font-variation-settings: "wdth" 92; font-size: clamp(44px, 5vw, 76px); line-height: .95; letter-spacing: -.04em; }
.member__role { margin: 10px 0 24px; font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--ink-2); }
.member--b .member__role { color: #B9B5AD; }
.member__links { display: flex; flex-wrap: wrap; gap: 8px; }
.member--b .btn--ghost { color: var(--paper); border-color: rgba(255,255,255,.25); }
.member--b .btn--ghost::before { background: var(--paper); }
.member--b .btn--ghost:hover { color: var(--ink); border-color: var(--paper); }
@media (max-width: 800px) { .team { grid-template-columns: minmax(0, 1fr); } .member { min-height: 360px; } }

/* ---------- github ---------- */
.gh { position: relative; background: var(--dark); color: var(--paper); border-radius: 28px; margin-inline: clamp(8px, 1.4vw, 20px); overflow: hidden; }
.gh::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at var(--mx, 70%) var(--my, 0%), rgba(255,90,31,.18), transparent 70%); transition: background .2s linear; }
.gh > .wrap { position: relative; }
.gh .section__num { color: #8E8A82; }
.gh .section__intro { color: #A9A59D; }
.gh__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 16px 18px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: var(--dark-2); }
.gh__accounts { display: flex; flex-wrap: wrap; gap: 10px; }
.gh__acct { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: border-color .3s ease, background .3s ease; }
.gh__acct:hover { border-color: var(--accent); background: #222220; }
.gh__acct img { width: 40px; height: 40px; border-radius: 8px; background: #333; object-fit: cover; }
.gh__acct b { display: block; font-weight: 600; font-size: 15px; }
.gh__acct span { color: #8E8A82; }
.gh__stats { display: flex; gap: 22px; margin-left: auto; color: #8E8A82; }
.gh__stats b { color: var(--paper); font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: 0; margin-right: 6px; }
.repos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; perspective: 1400px; }
.repo { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 210px; padding: 22px; border-radius: 16px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); text-decoration: none; color: inherit; }
.repo:hover { --ty: -4px; border-color: var(--accent); }
.repo__head { display: flex; align-items: center; gap: 10px; }
.repo__head svg { width: 16px; height: 16px; color: #8E8A82; flex: 0 0 auto; }
.repo__name { font-family: var(--f-mono); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.repo__vis { margin-left: auto; white-space: nowrap; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #8E8A82; font: 500 10px/1.5 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.repo p { flex: 1; margin: 0; color: #B9B5AD; font-size: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.repo__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: #8E8A82; font: 12px/1 var(--f-mono); }
.repo__foot span { display: inline-flex; align-items: center; gap: 6px; }
.repo__lang { width: 10px; height: 10px; border-radius: 50%; background: var(--lc, #888); }
.repo__foot svg { width: 13px; height: 13px; }
.repo--skel { pointer-events: none; }
.repo--skel .sk { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #262624, #30302d, #262624); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@media (max-width: 640px) {
  .gh { margin-inline: 0; border-radius: 22px; }
  .gh__bar { padding: 12px; }
  .gh__accounts { width: 100%; }
  .gh__acct { flex: 1 1 100%; }
  .gh__stats { margin-left: 0; width: 100%; justify-content: space-between; padding: 4px 4px 0; }
  .repo { padding: 18px; min-height: 0; }
}

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact__big { margin: 0 auto; max-width: 14ch; font-weight: 800; font-variation-settings: "wdth" 82; font-size: clamp(52px, 9vw, 150px); line-height: .9; letter-spacing: -.045em; transform: perspective(1200px) rotateX(var(--crx, 0deg)) rotateY(var(--cry, 0deg)); transition: transform .4s var(--ease); }
.contact__big .serif { color: var(--accent); font-weight: 400; }
.contact p { max-width: 34em; margin: 28px auto 0; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }
.contact__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact .btn { --h: 60px; padding: 0 30px; font-size: 17px; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--paper); padding-top: 64px; overflow: hidden; }
.footer .wrap { container-type: inline-size; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col .mono { color: #8E8A82; margin-bottom: 6px; }
.footer__col a { text-decoration: none; color: #D9D5CD; transition: color .2s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__word { margin: 0; padding-top: 24px; font-weight: 900; font-variation-settings: "wdth" 125; font-size: 27.5vw; font-size: 27cqi; white-space: nowrap; line-height: .78; letter-spacing: -.055em; text-align: center; color: var(--paper); user-select: none; perspective: 900px; }
.footer__word span { display: inline-block; transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p, 1)) * -100deg)) translateY(calc((1 - var(--p, 1)) * 30%)); opacity: calc(.15 + var(--p, 1) * .85); transition: color .3s ease, translate .5s var(--spring); }
.footer__word span:hover { color: var(--accent); translate: 0 -5%; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; color: #8E8A82; }

/* ---------- scroll timeline (vertical, in the left margin) ---------- */
.scrub { position: fixed; left: 14px; top: 50%; z-index: 55; display: none; flex-direction: column; align-items: center; gap: 12px; transform: translateY(-50%); color: var(--ink-3); }
@media (min-width: 1240px) and (pointer: fine) { html.anim .scrub { display: flex; } }
.scrub > span:first-child, #scrub-s { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.scrub b { color: inherit; font-weight: 500; font-variant-numeric: tabular-nums; }
.scrub__bar { position: relative; width: 2px; height: 140px; background: currentColor; opacity: .35; }
.scrub__bar i { position: absolute; left: 0; top: 0; right: 0; height: calc(var(--p, 0) * 100%); background: var(--accent); }
.scrub__bar i::after { content: ""; position: absolute; bottom: -4px; left: -3px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- case studies ---------- */
.cases { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.case--flip .case__art { order: 2; }
.case__art { position: sticky; top: 96px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(17,17,16,.4); }
.case__art .work__art { height: clamp(280px, 34vw, 520px); }
.case__num { position: absolute; right: 18px; bottom: 6px; z-index: 2; font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(64px, 9vw, 140px); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); pointer-events: none; }
.case__num--ink { -webkit-text-stroke-color: rgba(17,17,16,.25); }
.case__kicker { color: var(--accent); margin: 0 0 12px; }
.case h3 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 96; font-size: clamp(36px, 4.2vw, 64px); line-height: .95; letter-spacing: -.04em; }
.case__lede { margin: 16px 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; letter-spacing: -.01em; max-width: 34em; }
.case__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.case h4 { margin: 0 0 8px; font-weight: 500; color: var(--ink-3); }
.case__cols p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 40em; }
.case__cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.case__cols li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.case__cols li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.case__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 28px 0 18px; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.case__stats div { padding: 14px; background: var(--panel); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.case__stats dt { color: var(--ink-3); font-size: 10.5px; line-height: 1.35; }
.case__stats dd { margin: 0; font-weight: 800; font-variation-settings: "wdth" 110; font-size: clamp(22px, 2.2vw, 32px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.case .work__tags { margin: 0; }
.case__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 1000px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case--flip .case__art { order: 0; }
  .case__art { position: relative; top: 0; }
  .case__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .case__links .btn { flex: 1 1 100%; } }

/* ---------- more from the studio ---------- */
.more { margin-top: clamp(64px, 9vw, 130px); }
.more__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.more__note { margin: 0; color: var(--ink-3); }
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.more__card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.more__card:hover { --ty: -6px; box-shadow: 0 40px 70px -34px rgba(17,17,16,.38); }
.more__card:hover .work__go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.more__top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-3); }
.more__card h3 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.035em; }
.more__card p { margin: 0; flex: 1; color: var(--ink-2); font-size: 16px; }
@media (max-width: 800px) { .more__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 52px; height: 2px; width: calc(var(--sp, 0) * 100%); background: var(--accent); transition: width .2s linear; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); min-height: 300px; }
.step:hover { --ty: -6px; box-shadow: 0 30px 60px -30px rgba(17,17,16,.35); }
.step__n { color: var(--accent); }
.step__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 4px 0 10px; border-radius: 16px; background: var(--bg-2); perspective: 300px; }
.step h3 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 100; font-size: 24px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ico { position: relative; display: block; width: 28px; height: 28px; transform-style: preserve-3d; animation: icoSpin 7s linear infinite; }
.ico--brief { border: 2px solid var(--ink); border-radius: 4px; animation-name: icoTilt; }
.ico--brief::before, .ico--brief::after { content: ""; position: absolute; left: 5px; right: 5px; height: 2px; background: var(--ink); top: 7px; box-shadow: 0 6px 0 var(--ink); }
.ico--brief::after { top: 19px; right: 11px; box-shadow: none; background: var(--accent); }
.ico--block { border: 2px dashed var(--ink); border-radius: 3px; }
.ico--block::after { content: ""; position: absolute; inset: 5px; background: var(--accent); opacity: .35; }
.ico--model { border-radius: 50%; border: 2px solid var(--ink); background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(17,17,16,.35) 6px 7px); }
.ico--rig { width: 30px; height: 30px; animation-name: icoTilt; background:
  radial-gradient(circle, var(--accent) 3px, transparent 3.5px) 50% 0 / 8px 8px no-repeat,
  radial-gradient(circle, var(--accent) 3px, transparent 3.5px) 0 45% / 8px 8px no-repeat,
  radial-gradient(circle, var(--accent) 3px, transparent 3.5px) 100% 45% / 8px 8px no-repeat,
  radial-gradient(circle, var(--accent) 3px, transparent 3.5px) 30% 100% / 8px 8px no-repeat,
  radial-gradient(circle, var(--accent) 3px, transparent 3.5px) 70% 100% / 8px 8px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 50% 20% / 2px 50% no-repeat,
  linear-gradient(var(--ink), var(--ink)) 50% 48% / 80% 2px no-repeat; }
.ico--ship { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; animation-name: icoBounce; }
.ico--ship::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
@keyframes icoSpin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
@keyframes icoTilt { 0%, 100% { transform: rotateY(-25deg) rotateX(10deg); } 50% { transform: rotateY(25deg) rotateX(-10deg); } }
@keyframes icoBounce { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
.step:hover .ico { animation-duration: 2s; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before, .steps::after { display: none; }
  .step { min-height: 0; }
  .step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
