:root {
  --paper: #f3f3f1;
  --ink: #0b0b0c;
  --muted: #6a6a6a; /* was #8a8a8a: 4.5:1 contrast on paper (go-live 4.11) */
  --blue: #4da1ff;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(16px, 3vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); overflow-x: clip; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  transition: background-color .6s ease, color .6s ease;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-dark { background: var(--ink); color: #f5f5f3; }
a { color: inherit; text-decoration: none; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; display: block; }
/* 3D logo (logo3d.js): floats centre on landing, docks onto the nav mark as you scroll */
#logo3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 25; pointer-events: none; opacity: 0; transition: opacity .8s; }
body:not(.is-loading) #logo3d { opacity: 1; }
body.logo-docked #logo3d { opacity: 0; transition: opacity .25s; }
.brand .mark { transition: opacity .25s; }
body:has(#logo3d):not(.logo-docked) .brand .mark { opacity: 0; }

/* chrome */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad); font-size: 14px; transition: background-color .3s;
}
body.on-plain .nav { background: var(--paper); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.mark { height: 22px; width: auto; }
.mark-light, body.is-dark .mark-dark { display: none; }
body.is-dark .mark-light { display: block; }
/* tab picker: one island, a highlight that slides to the hovered or current section (nav.js) */
.tabs { position: absolute; left: 50%; transform: translateX(-50%); display: flex; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(11,11,12,.04), 0 0 0 1px rgba(11,11,12,.07), 0 12px 32px -16px rgba(11,11,12,.4); transition: background .6s, box-shadow .6s; }
.tabs a { position: relative; z-index: 1; display: flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; color: rgba(11,11,12,.6); transition: color .35s; }
.tabs a:hover { color: var(--ink); }
.tabs a.lit { color: #fff; }
.tab-ind { position: absolute; left: 0; top: 4px; height: 34px; width: var(--w, 0); border-radius: 999px; opacity: 0;
  background: linear-gradient(180deg, #45464c 0%, #1b1c1f 48%, #0b0b0c 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 4px rgba(0,0,0,.45), 0 6px 14px -6px rgba(11,11,12,.55);
  transform: translateX(var(--x, 0)); transition: transform .55s cubic-bezier(.34,1.2,.5,1), width .55s cubic-bezier(.34,1.2,.5,1), opacity .3s, background .6s; }
.tabs.on .tab-ind { opacity: 1; }
.tabs.snap .tab-ind { transition: opacity .3s; }
body.is-dark .tabs { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(255,255,255,.1), 0 12px 32px -16px rgba(0,0,0,.7); }
body.is-dark .tabs a { color: rgba(255,255,255,.6); }
body.is-dark .tabs a:hover { color: #fff; }
body.is-dark .tabs a.lit { color: var(--ink); }
body.is-dark .tab-ind { background: linear-gradient(180deg, #fff 0%, #eceef1 60%, #dcdfe3 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgba(11,11,12,.12), 0 6px 14px -6px rgba(0,0,0,.6); }
/* buttons: flat and solid. One ink fill, a hairline edge, a soft shadow and a calm lift on hover. No gloss, no gradient */
.pill {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px;
  color: #fff; font-size: 14px; font-weight: 500; letter-spacing: -.01em; background: #0b0b0c;
  box-shadow: 0 1px 2px rgba(11,11,12,.14), 0 10px 24px -14px rgba(11,11,12,.55);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1), background-color .3s;
}
.pill:hover { transform: translateY(-1px); background: #1d1d20; box-shadow: 0 2px 4px rgba(11,11,12,.14), 0 16px 32px -16px rgba(11,11,12,.6); }
.pill:active { transform: translateY(0) scale(.985); transition-duration: .12s; }
/* Deep picked the thin outline: plain buttons are outlines that fill in on hover (the symbiote CTAs keep their own look) */
.pill:not([data-goo]) { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(11,11,12,.55); }
.pill:not([data-goo]):hover { color: #fff; background: #0b0b0c; box-shadow: inset 0 0 0 1px #0b0b0c, 0 12px 26px -16px rgba(11,11,12,.55); }
.pill-light { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(11,11,12,.08), 0 10px 24px -14px rgba(0,0,0,.45); }
.pill-light:hover { background: #f4f4f2; }
.pill-ghost, .pill-ghost:not([data-goo]) { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.pill-ghost:hover, .pill-ghost:not([data-goo]):hover { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
/* the nav's button over the dark sections keeps its own look (Deep: leave the top-right button as it is) */
body.is-dark .nav .pill { color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f1f2f4 55%, #dfe1e5 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.6), inset 0 -2px 4px rgba(11,11,12,.12), 0 1px 2px rgba(0,0,0,.3), 0 12px 30px -12px rgba(255,255,255,.28); }


/* stages */
.stage { position: relative; height: 240vh; z-index: 5; pointer-events: none; }
.stage.hero { height: 500vh; }
.stage.arch { height: 200vh; }
.stage.grid { height: 120vh; } /* the grid holds ~0.2 screen, then scrolls away */
.stage.gap { height: 80vh; }
.sticky {
  position: sticky; top: 0; height: 100vh; padding: 96px var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.sticky a, .sticky ul, .sticky button { pointer-events: auto; }

/* hero: the lines are placed by script.js (slide in, part, slide out) */
.headline { position: absolute; inset: 0; font: 400 min(10vw, 19vh)/1 var(--serif); letter-spacing: -.04em; color: var(--ink); }
.headline .line { position: absolute; left: 0; white-space: nowrap; will-change: transform; transform: translateX(-120vw); color: transparent; }
.headline .l1 { top: calc(42vh - .8em); }
.headline .l2 { top: calc(72vh - .8em); }
.hero-sub, .hero-note { position: absolute; font-size: 11px; line-height: 1.35; color: #6a6a6a; opacity: 0; }
.hero-sub { left: 50%; top: 47vh; width: 150px; transform: translateX(-50%); text-align: center; color: transparent; opacity: 1; letter-spacing: -.02em; }
.hero-note { left: var(--pad); bottom: 22px; width: 230px; opacity: 1; } /* shown from the HTML, not the first 3D frame (it is fully visible at the top anyway); script.js fades it on scroll */

/* work: the hovered page's title swaps in above the grid, as in the reel */
.grid .sticky { padding: 0; }
.work-head { position: absolute; left: var(--grid-left, 16vw); right: var(--grid-left, 16vw); top: 13vh; display: flex; align-items: flex-start; justify-content: space-between;
  opacity: 0; transition: opacity .5s; }
body.in-grid .work-head { opacity: 1; }
@media (min-width: 761px) { .work-head { display: none; } } /* desktop: the name shows on the hovered card instead */
.now { display: flex; gap: 4vw; overflow: hidden; height: 3.2em; font-size: 15px; line-height: 1.3; }
.now b, .now span { display: block; transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .3s; }
.now b { font-weight: 400; }
.now b i { font-style: normal; color: var(--muted); margin-right: .3em; }
.now span { color: var(--muted); font-size: 12px; max-width: 160px; }
.now.swap b, .now.swap span { transform: translateY(-110%); opacity: 0; transition: none; }

/* statement over the globe */
.globe .sticky { justify-content: center; }
.statement {
  max-width: 9em; font: 400 clamp(44px, 6.2vw, 112px)/1 var(--serif); letter-spacing: -.04em;
}
.statement .w { color: rgba(255,255,255,.18); transition: color .25s; }
.statement .w.on { color: #fff; }
.statement .w.on.accent { color: var(--blue); }

/* arch / contact */
.arch .sticky { align-items: center; justify-content: flex-end; padding-bottom: 14vh; text-align: center; }
.cta-title { font: 400 clamp(56px, 8vw, 148px)/.92 var(--serif); letter-spacing: -.04em; }
.cta-row { display: flex; gap: 12px; margin-top: 36px; }
.arch footer { position: absolute; bottom: 24px; font-size: 12px; color: #9a9a9a; }
.arch footer a:hover { color: #fff; }

/* plain sections: opaque, above the canvas, normal scroll */
.plain { position: relative; z-index: 6; background: var(--paper); padding: 140px var(--pad); }
.wrap { max-width: 1240px; margin: 0 auto; }
.h2 { font: 400 clamp(36px, 4.4vw, 72px)/1.02 var(--serif); letter-spacing: -.035em; max-width: 14em; }
.lede { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 32em; }

  padding: 8px 0 10px; border-radius: 0; outline: none; transition: border-color .2s; }
.form-msg { font-size: 15px; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }
.gap { height: 140vh; }

/* grid hover: name on the card */
.card-info { position: fixed; left: 0; top: 0; z-index: 12; pointer-events: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 12px; color: var(--ink); opacity: 0; transition: opacity .25s; }
.card-info.on { opacity: 1; }
/* one clean name tag on the hovered card; the cursor already says View */
.card-info span { min-width: 0; max-width: 100%; padding: 9px 14px 10px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -14px rgba(11,11,12,.45); transform: translateY(6px); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.card-info.on span { transform: none; }
.card-info b { display: block; font: 400 18px/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; }
.card-info small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.card-info i { display: none; }
.card-info span { display: none; } /* Deep: no names on hover; they show once a project is opened. #card-info still drives the View cursor */



/* picked project: the site big on the left, an editorial panel beside it, the rest in a strip below */
.fp { position: fixed; z-index: 12; display: flex; flex-direction: column; gap: 22px; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
body.has-focus.in-grid .fp { opacity: 1; visibility: visible; }
body.has-focus .work-head, body.has-focus .card-info { opacity: 0; }
.fp a, .fp button { pointer-events: auto; }
.fp-top { display: flex; justify-content: space-between; align-items: center; }
.fp-num { font: 300 12px var(--mono); color: var(--muted); letter-spacing: .02em; }
.fp-back { border: 0; background: none; padding: 0; cursor: pointer; font: 500 13px var(--sans); color: var(--muted); transition: color .2s; }
.fp-back:hover { color: var(--ink); }
.fp-body h3 { font: 400 clamp(34px, 3.4vw, 54px)/.98 var(--serif); letter-spacing: -.035em; }
.fd-type { margin-top: 12px; font-size: 15px; color: var(--muted); }
.fp-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(11,11,12,.1); font-size: 13px; }
.fp-meta div:last-child { border-bottom: 1px solid rgba(11,11,12,.1); }
.fp-meta dt { color: var(--muted); }
.fp-meta dd { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-acts { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.fd-view { justify-content: space-between; height: 54px; padding: 0 7px 0 24px; font-size: 15px; }
.fp-next { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(11,11,12,.1);
  background: none; cursor: pointer; text-align: left; color: var(--ink); font: 400 17px var(--serif); letter-spacing: -.01em; }
.fp-next small { font: 500 12px var(--sans); color: var(--muted); letter-spacing: 0; }
.fp-next span::after { content: '\00a0\2192'; display: inline-block; transition: transform .3s; }
.fp-next:hover span::after { transform: translateX(4px); }
.fd-view::after { content: '\2192'; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(11,11,12,.06); font-size: 16px; transition: transform .45s cubic-bezier(.16,1,.3,1), background-color .3s; }
.fd-view:hover::after { transform: translateX(3px); background: rgba(255,255,255,.16); }
.fp > * { opacity: 0; transform: translateY(16px); }
.fp.show > * { opacity: 1; transform: none; transition: opacity .5s, transform .8s cubic-bezier(.16,1,.3,1); }
.fp.show > :nth-child(1) { transition-delay: .3s; }
.fp.show > :nth-child(2) { transition-delay: .38s; }
.fp.show > :nth-child(3) { transition-delay: .46s; }
.fp.show > :nth-child(4) { transition-delay: .54s; }

/* project page: one client, told plainly */
/* project page: a case study. Name and facts, the real site playing on a laptop and a phone, then the brief and the pages */
.proj { padding: 132px 0 0; }
.proj .wrap { padding: 0 var(--pad); }
.proj-top { display: flex; justify-content: space-between; align-items: center; }
.proj-back { font-size: 13px; font-weight: 500; color: var(--muted); transition: color .2s; }
.proj-back::before { content: '\2190\00a0'; }
.proj-back:hover { color: var(--ink); }
.proj-num { font: 300 12px var(--mono); color: var(--muted); }
.proj h1 { margin-top: 36px; font: 400 clamp(56px, 9vw, 150px)/.92 var(--serif); letter-spacing: -.05em; }
.proj-lede { margin-top: 22px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: #444; max-width: 34em; }
.proj-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 20px 64px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(11,11,12,.12); }
.proj-meta dt { font-size: 12px; color: var(--muted); }
.proj-meta dd { margin-top: 6px; font-size: 15px; }
.proj-meta a { text-decoration: underline; text-underline-offset: 3px; }
.proj-show { position: relative; margin: 72px var(--pad) 0; padding: 7vw 15vw 7vw 7vw; border-radius: 18px; background: #e9e8e4; overflow: hidden; }
.proj-desk { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(11,11,12,.06), 0 40px 90px -40px rgba(11,11,12,.45); }
.proj-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; background: #f4f4f2; border-bottom: 1px solid rgba(11,11,12,.06); }
.proj-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(11,11,12,.14); }
.proj-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.proj-desk video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f2f2f0; }
.proj-phone { position: absolute; right: 5vw; bottom: 4vw; width: 17vw; min-width: 150px; padding: 8px; border-radius: 34px; background: #0b0b0c; box-shadow: 0 40px 70px -30px rgba(11,11,12,.6); }
.proj-phone video { display: block; width: 100%; aspect-ratio: 1 / 2; object-fit: cover; border-radius: 27px; background: #111; }
.proj-row { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; padding: 80px 0; border-bottom: 1px solid rgba(11,11,12,.12); }
.proj-row h2 { font: 400 clamp(26px, 2.4vw, 36px)/1.1 var(--serif); letter-spacing: -.025em; }
.proj-row p, .proj-row li { font-size: 18px; line-height: 1.6; color: #333; max-width: 36em; }
.proj-row ul { list-style: none; }
.proj-row li { padding: 12px 0; border-top: 1px solid rgba(11,11,12,.08); }
.proj-row li:first-child { border-top: 0; padding-top: 0; }
.proj-quote { padding: 96px 0; font: 400 clamp(28px, 3.2vw, 48px)/1.2 var(--serif); letter-spacing: -.025em; max-width: 22em; border-bottom: 1px solid rgba(11,11,12,.12); }
.proj-quote cite { display: block; margin-top: 24px; font: 400 14px var(--sans); color: var(--muted); font-style: normal; letter-spacing: 0; }
.proj-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.proj-pages img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; background: #e4e4e1; box-shadow: 0 20px 50px -34px rgba(11,11,12,.45); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.proj-pages a:hover img { transform: translateY(-4px); }
.proj-pages span { display: block; margin-top: 12px; font-size: 14px; }
.proj-end { margin-top: 120px; padding: 110px 0 130px; background: #0b0b0c; color: #fff; }
.proj-end .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7vw; align-items: end; }
.proj-next small { display: block; font-size: 13px; color: rgba(255,255,255,.55); }
.proj-next b { display: block; margin-top: 10px; font: 400 clamp(36px, 4.6vw, 72px)/1 var(--serif); letter-spacing: -.04em; }
.proj-next b::after { content: '\00a0\2192'; transition: margin .3s; }
.proj-next:hover b::after { margin-left: 10px; }
.proj-next img { display: block; width: 100%; margin-top: 28px; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 10px; opacity: .85; transition: opacity .4s, transform .8s cubic-bezier(.16,1,.3,1); }
.proj-next:hover img { opacity: 1; transform: translateY(-4px); }
.proj-cta h2 { font: 400 clamp(32px, 3.4vw, 52px)/1.05 var(--serif); letter-spacing: -.035em; }
.proj-cta p { margin-top: 16px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.6); max-width: 26em; }
.proj-cta .pill { margin-top: 30px; }

/* slice wipe between light and dark */
.wipe { position: fixed; inset: 0; z-index: 15; pointer-events: none; display: grid; grid-template-rows: repeat(10, 1fr); }
.wipe i { background: var(--ink); transform: scaleX(0); transform-origin: left; }

body.can-click { cursor: pointer; }

@media (max-width: 760px) {
  .nav nav { display: none; }
  .statement { font-size: 44px; }
  .globe .sticky { justify-content: flex-end; padding-bottom: 16vh; }
  .work-head { top: auto; bottom: 18px; align-items: center; }
  .now { height: auto; flex-direction: column; gap: 2px; font-size: 14px; }
  .fp { gap: 10px; }
  .fp .fp-meta { display: none; }
  .fp-body h3 { font-size: 26px; }
  .fp .fd-type { margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); }
  .fp .fd-view { height: 48px; padding: 0 5px 0 18px; font-size: 14px; }
  .fp .fd-view::after { width: 36px; height: 36px; }
  .fp-next { margin-top: 12px; padding-top: 10px; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14px; }
  .proj { padding: 100px 0 0; }
  .proj .wrap { padding: 0 20px; }
  .proj-meta { grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 36px; }
  .proj-show { margin: 44px 20px 0; padding: 24px 24px 170px; }
  .proj-phone { right: 24px; bottom: 20px; width: 30%; min-width: 0; padding: 5px; border-radius: 22px; }
  .proj-phone video { border-radius: 18px; }
  .proj-row, .proj-end .wrap { grid-template-columns: 1fr; gap: 24px; }
  .proj-row { padding: 52px 0; }
  .proj-pages { grid-template-columns: 1fr; }
  .proj-end { margin-top: 72px; padding: 72px 0 96px; }
  .cta-row { flex-direction: column; align-items: center; }
  .plain { padding: 96px 20px; }
}


/* free upgrade questionnaire CSS lives in demo.css */

/* symbiote buttons (goo.js): the ink body and its arms live in one goo-filtered layer behind the label */
.pill[data-goo] { --goo: #0b0b0c; background: none; box-shadow: none; filter: none; }
.pill[data-goo]::before { display: none; }
.pill[data-goo] > span:not(.goo) { position: relative; z-index: 1; }
.pill-light[data-goo], body.is-dark .nav .pill[data-goo] { --goo: #fff; background: none; box-shadow: none; }
.goo { position: absolute; inset: -170px; z-index: -1; pointer-events: none; filter: url(#goo) drop-shadow(0 10px 16px rgba(11,11,12,.28)); }
.pill-light[data-goo] .goo { filter: url(#goo); } /* no shadow under the white CTA on black: it read as a murky patch */
.goo i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; background: var(--goo); transform: scale(0); will-change: transform; transition: background .6s; }
.goo .goo-body { left: 170px; top: 170px; right: 170px; bottom: 170px; width: auto; height: auto; margin: 0; border-radius: 999px; transform: none; }
.pill[data-goo]:hover { filter: none; }
.pill[data-goo]:hover .goo-body { transform: scale(1.04); transition: transform .4s cubic-bezier(.34,1.4,.5,1), background .6s; }

/* between the hero and the work: one clean "Projects" title that rises out of a mask, then gives way to the grid */
.between { position: fixed; inset: 0; z-index: 11; pointer-events: none; display: grid; place-items: center; opacity: 0; }
.between-title { display: flex; align-items: flex-start; overflow: hidden; padding: 0 .08em .14em; font: 400 min(15vw, 26vh)/1 var(--serif); letter-spacing: -.05em; color: var(--ink); }
.between-title span { display: block; will-change: transform; }
.between-title sup { margin: .2em 0 0 .18em; font: 400 max(13px, 1.1vw) var(--sans); letter-spacing: 0; color: var(--muted); }
.venom { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 21; pointer-events: none; }
.goo-body { box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }

/* custom cursor (cursor.js): desktop only; text fields keep the I-beam */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor :is(input:not([type=radio]):not([type=checkbox]), textarea) { cursor: text !important; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
html.cur-on :is(.cur-dot, .cur-ring) { opacity: 1; }
.cur-dot { width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff; }
.cur-ring { width: 0; height: 0; }
.cur-ring::before { content: ''; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px #fff;
  transition: transform .45s cubic-bezier(.34,1.4,.5,1), background .3s, box-shadow .3s; }
.cur-ring.link::before { transform: scale(1.6); background: rgba(255,255,255,.12); }
.cur-ring.down::before { transform: scale(.8); }
.cur-ring.text::before { transform: scale(.4); }
.cur-ring.view::before { transform: scale(3.3); background: #fff; box-shadow: none; }
.cur-ring span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); font: 500 16px var(--sans); color: #000; opacity: 0; white-space: nowrap; transition: opacity .25s, transform .45s cubic-bezier(.34,1.4,.5,1); }
.cur-ring.view span { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cur-ring.view { mix-blend-mode: normal; }
.cur-ring.view::before { box-shadow: 0 8px 24px -8px rgba(0,0,0,.45); }
.cur-dot.off { opacity: 0 !important; }

/* legal pages + 404: the project page's layout (proj, proj-row), text to read */
.legal { padding-bottom: 60px; }
.legal .proj-row p + p { margin-top: 16px; }
.legal .proj-row a { text-decoration: underline; text-underline-offset: 3px; }
.legal h1 { margin-top: 36px; }
.nf-acts { display: flex; align-items: center; gap: 28px; margin-top: 44px; }
.site-foot { padding: 28px 0 32px; font-size: 13px; color: var(--muted); border-top: 1px solid rgba(11,11,12,.12); }
.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 0 var(--pad); }
.site-foot span:last-child { display: flex; gap: 24px; }
.site-foot a:hover { color: var(--ink); }
.site-foot.is-dark { background: #0b0b0c; color: #9a9a9a; border-top-color: rgba(255,255,255,.1); }
.site-foot.is-dark a:hover { color: #fff; }
