/* Shared color tokens also drive the canvas lettering. */
:root {
  color-scheme: light;
  --paper: #f8f8f6;
  --ink: #202123;
  --muted: #62656b;
  --line: #d7d8d8;
  --surface: #eeeef0;
  --surface-raised: #fcfcfa;
  --surface-soft: #eceef1;
  --studio-accent: var(--ink);
  --glitch-a: #ab839d;
  --glitch-b: #799eba;
  --focus: #6b7f96;
  --shadow: #23262a18;
  --haze-blue: #a5c1e080;
  --haze-pink: #d5a4bb70;
  --haze-peach: #e6bf9960;
  --haze-violet: #a698c965;
  --grain-blend: multiply;
  --display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111214;
  --ink: #f4f3ef;
  --muted: #afb0b6;
  --line: #34363d;
  --surface: #1e2025;
  --surface-raised: #24262d;
  --surface-soft: #1b1e24;
  --glitch-a: #d2a5bb;
  --glitch-b: #a2c6d7;
  --focus: #a9b8cc;
  --shadow: #05060740;
  --haze-blue: #57769c70;
  --haze-pink: #99587560;
  --haze-peach: #ba8f5d40;
  --haze-violet: #796b9e55;
  --grain-blend: screen;
}
body { font-family: var(--body); max-width: none; transition: background-color .22s, color .22s; }
body:before { display: none; }
body:after { height: 2px; background: var(--studio-accent); }
h1,h2,h3 { font-family: var(--display); }
header { height: 96px; margin: 0 4%; gap: 24px; border-color: var(--line); }
header .monogram { font-size: 26px; font-weight: 600; letter-spacing: -1.5px; color: var(--ink); display: inline-flex; align-items: baseline; }
header nav { margin-left: auto; gap: 32px; font-size: 13px; }
header nav a { padding: 11px 0; transition: color .2s, transform .25s; transform: translateY(var(--nav-lift,0px)); }
header nav a:hover { --nav-lift: -3px; }
header nav a:after { height: 1px; }
header nav a.active { color: var(--studio-accent); }
header nav a.active:after { background: var(--studio-accent); }
.theme-toggle { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); transition: background .2s, transform .2s; }
.theme-toggle:hover { background: var(--surface); transform: rotate(-12deg); }
.theme-toggle svg { width: 19px; height: 19px; grid-area: 1/1; }
.theme-toggle .theme-sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
footer { margin: 0 4%; padding: 27px 0 30px; font-size: 11px; border-color: var(--line); }
footer .monogram { font-size: 24px; letter-spacing: -1px; color: var(--ink); }
footer>span:last-child { font-size: 10px; text-transform: uppercase; letter-spacing: .6px; }
main[data-page="home"] { animation: none; min-height: 0; }
.studio-home { padding: 0 4% 65px; overflow: clip; }
.studio-intro { position: relative; margin: 38px 0 35px; isolation: isolate; }
/* Diffused color lives behind the solid lettering, without new controls. */
.studio-intro:before,.studio-intro:after {
  content: ''; position: absolute; inset: -30px -35px -20px; z-index: -1;
  pointer-events: none; transform: translate3d(var(--haze-x,0px),var(--haze-y,0px),0);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.studio-intro:before {
  background:
    radial-gradient(ellipse 32% 44% at 65% 41%,var(--haze-blue),transparent 82%),
    radial-gradient(ellipse 29% 34% at 37% 63%,var(--haze-pink),transparent 80%),
    radial-gradient(ellipse 20% 27% at 54% 67%,var(--haze-peach),transparent 80%),
    radial-gradient(ellipse 31% 38% at 82% 71%,var(--haze-violet),transparent 80%);
  filter: blur(24px);
}
.studio-intro:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 160px 160px; opacity: .075; mix-blend-mode: var(--grain-blend);
  -webkit-mask-image: radial-gradient(ellipse 50% 45% at 59% 55%,#000,transparent 95%);
  mask-image: radial-gradient(ellipse 50% 45% at 59% 55%,#000,transparent 95%);
}
.kinetic-name { position: relative; width: 100%; aspect-ratio: 2.06; cursor: grab; touch-action: pan-y; outline-offset: 5px; isolation: isolate; }
.kinetic-name.is-pulling { cursor: grabbing; }
.name-fallback { color: var(--ink); font-family: Arial,sans-serif; font-size: 13.8vw; line-height: 1; font-weight: 900; letter-spacing: -.08em; text-transform: uppercase; margin: 0; padding: 10px 0; pointer-events: none; }
.name-fallback:first-line { font-size: 1.8em; color: var(--ink); }
.name-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kinetic-name.is-ready .name-fallback { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.studio-statement { position: absolute; left: 65%; top: 15%; width: 29%; max-width: 260px; pointer-events: none; }
.studio-statement h2 { font-size: clamp(25px,2.9vw,46px); line-height: 1.02; font-weight: 400; letter-spacing: -.05em; margin: 0 0 22px; }
.studio-statement p { font-size: 15px; line-height: 1.6; max-width: 235px; color: var(--muted); margin: 0; }
.studio-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.studio-routes>a { display: flex; flex-direction: column; position: relative; padding: 0 0 20px; gap: 13px; }
.route-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: clamp(25px,2.8vw,42px); letter-spacing: -.05em; font-weight: 400; line-height: 1.05; transition: transform .35s cubic-bezier(.2,.8,.2,1),color .2s; transform: translate(var(--link-x,0px),var(--link-y,0px)); }
.studio-routes a:after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--studio-accent); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.studio-routes a:hover:after,.studio-routes a:focus-visible:after { transform: scaleX(1); }
.studio-routes a:hover .route-title { color: var(--studio-accent); }
.monogram.logo-pressed { animation: wordmark-glitch .48s steps(1) both; }
@keyframes wordmark-glitch {
  15% { text-shadow: -3px 0 var(--glitch-a),3px 0 var(--glitch-b); transform: skewX(-9deg); }
  35% { text-shadow: 4px 0 var(--glitch-a),-4px 0 var(--glitch-b); transform: skewX(6deg); }
  55% { text-shadow: -1px 0 var(--glitch-a),2px 0 var(--glitch-b); transform: translateX(2px); }
  75% { text-shadow: 2px 0 var(--glitch-a),-2px 0 var(--glitch-b); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}
.page-heading h1,.case-heading h1 { font-weight: 500; letter-spacing: -.065em; }
.page-heading .eyebrow,.eyebrow { font-size: 10px; letter-spacing: 1.1px; }
.section { padding-left: 4%; padding-right: 4%; }
.work-index { background: var(--paper); border-bottom: 1px solid var(--line); gap: 30px; margin-bottom: 34px; padding: 16px 0; }
.work-index a { border: 0; border-radius: 0; padding: 9px 0; font-size: 13px; background: transparent; }
.work-index a.active { background: transparent; color: var(--studio-accent); border-bottom: 1px solid var(--studio-accent); }
.project-visual { border-radius: 0; }
.project-title h2 { letter-spacing: -.065em; font-weight: 500; }
.mock { border-radius: 4px; box-shadow: 0 22px 65px #26342917; }
.preview-tag { border-radius: 0; border: 0; border-bottom: 1px solid currentColor; padding: 8px 0; font-size: 11px; letter-spacing: 0; }
.tags span { border-radius: 0; border: 0; padding: 0; font-size: 10px; }
.tags { gap: 16px; }
.project-meta { margin-top: 20px; }
.project-meta h3 { font-size: 18px; }
.project-description { font-size: 13px!important; }
.gallery-experience .gx-modes { background: transparent; border: 1px solid var(--line); border-radius: 0; padding: 0; }
.gallery-experience .gx-modes button { border-radius: 0; font-size: 12px; }
.gallery-experience .gx-modes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.gallery-experience .gx-reset { font-size: 12px; }
.other { background: var(--paper); }
.contact h1 { letter-spacing: -.075em; }
.contact-links>*:hover,.contact-links>*:focus-visible { background: transparent; color: var(--studio-accent); }
button:focus-visible,a:focus-visible,.kinetic-name:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
@media(min-width:1700px) {
  .studio-home,header,footer { max-width: 1600px; margin-left: auto; margin-right: auto; }
  .studio-home { padding-left: 0; padding-right: 0; }
}
@media(max-width:1000px) {
  header { height: 83px; }
  .studio-statement { left: 64%; width: 33%; }
  .studio-statement h2 { font-size: 30px; }
}
@media(max-width:650px) {
  header { height: 76px; gap: 14px; margin: 0 5%; }
  header .monogram { font-size: 24px; }
  header nav { gap: 17px; font-size: 11px; }
  .theme-toggle { width: 34px; height: 34px; }
  .theme-toggle svg { width: 17px; height: 17px; }
  .studio-home { padding: 0 5% 40px; }
  .studio-intro { margin-top: 32px; margin-bottom: 30px; }
  .kinetic-name { aspect-ratio: 1.65; }
  .studio-statement { position: relative; left: auto; top: auto; width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; align-items: start; }
  .studio-statement h2 { font-size: 29px; margin: 0; }
  .studio-statement p { font-size: 13px; max-width: 210px; }
  .studio-routes { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; }
  .studio-routes>a { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .route-title { font-size: 32px; }
  .studio-routes a:after { bottom: -1px; }
  .studio-routes a:last-child { border-bottom: 0; padding-bottom: 0; }
  footer { margin: 0 5%; font-size: 10px; }
  .page-heading h1 { font-size: 46px; }
  .work-index { gap: 25px; }
  .work-index a { font-size: 12px; }
  .section { padding-left: 5%; padding-right: 5%; }
}
@media(max-width:480px) {
  header { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 55px 42px; height: 106px; gap: 0; align-content: center; }
  header .monogram { justify-self: start; }
  header nav { grid-column: 1/-1; grid-row: 2; width: 100%; margin: 0; justify-content: space-between; gap: 14px; font-size: 12px; }
  .theme-toggle { grid-column: 2; grid-row: 1; }
}
@media(max-width:360px) {
  .studio-statement { grid-template-columns: 1fr; gap: 16px; margin-top: 23px; }
  .studio-statement h2 br { display: none; }
  .studio-statement p { max-width: 260px; }
  .route-title { font-size: 31px; }
}
@media(pointer:coarse) {
  .theme-toggle { width: 44px; height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
  body,.theme-toggle,.route-title { transition: none; }
  .monogram.logo-pressed { animation: none; }
  .kinetic-name { cursor: pointer; }
  .studio-routes .route-title,.theme-toggle:hover,.studio-intro:before,.studio-intro:after { transform: none; }
}
/* A crisp color lens; exclusion blends text without black/white inversion. */
.site-spotlight { position:fixed; top:0; left:0; z-index:11; pointer-events:none; mix-blend-mode:exclusion; visibility:hidden; width:64px; height:64px; margin-left:calc(64px / -2); margin-top:calc(64px / -2); border-radius:50%; background:var(--spot-color,#9874d6); transition:none; }
.site-spotlight.is-visible { visibility:visible; }
.studio-statement { pointer-events:auto; }
.role-interaction { display:block; padding:0; border:0; background:none; font:inherit; letter-spacing:inherit; line-height:inherit; text-align:inherit; color:var(--ink); cursor:pointer; transition:transform .3s; }
.role-interaction:hover { transform:translateY(-2px); }
footer { justify-content:flex-end; }
html { background:var(--paper); }
body { isolation:auto; }
@media(prefers-reduced-motion:reduce) { .site-spotlight,.role-interaction { transition:none; }.role-interaction:hover { transform:none; } }
