/* MIGency inner pages (services, about, contact, work). Same tokens and type as the homepage. */
:root {
  --bg: #F3E6CE; --surface: #FBF4E6; --fg: #0B1530; --muted: #333B57;
  --line: rgba(11,21,48,.16); --blue: #0147BA; --blue-text: #0147BA; --tango: #E34F33;
  --tango-text: #BC341A; --on-tango: #0B1530; --band-tango: #E34F33; --tango-lab: #A42D16; --tango-lab-inv: #FF6A4D; --ph: #636B84;
  --la: #0147BA; --lb: #E34F33;
  --cube-a: #0147BA; --cube-b: #E34F33; --cube-c: #0B1530;
  --glass: rgba(243,230,206,.8);
  --fog: radial-gradient(110% 80% at 88% -12%, #FFF8EC 0%, rgba(255,248,236,0) 62%), radial-gradient(90% 70% at -12% 112%, rgba(1,71,186,.08) 0%, rgba(1,71,186,0) 66%);
  --lift-sh: rgba(11,21,48,.16);
  --f-pixel: "Pixelify Sans", "Courier New", monospace;
  --f-serif: "Fraunces", Georgia, serif;
  --f-sans: "Figtree", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --gut: max(16px, env(safe-area-inset-left, 0px), 4vw);
  --gut-r: max(16px, env(safe-area-inset-right, 0px), 4vw);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1530; --surface: #12204A; --fg: #F3E6CE; --muted: #D2CBBE; --line: rgba(243,230,206,.16);
    --blue-text: #8FB1FF; --tango: #FF6A4D; --tango-text: #FF6A4D; --band-tango: #BC341A; --tango-lab: #FF6A4D; --tango-lab-inv: #A42D16; --ph: #9396A8; --la: #F3E6CE; --lb: #FF6A4D;
    --cube-a: #2A66E0; --cube-b: #FF6A4D; --cube-c: #F3E6CE; --glass: rgba(11,21,48,.74);
    --fog: radial-gradient(110% 80% at 88% -12%, rgba(42,102,224,.2) 0%, rgba(42,102,224,0) 62%), radial-gradient(90% 70% at -12% 112%, rgba(255,106,77,.07) 0%, rgba(255,106,77,0) 66%);
    --lift-sh: rgba(0,0,0,.5); color-scheme: dark;
  }
  :root:not([data-theme="light"]) .portrait[data-pix="g"], :root:not([data-theme="light"]) .tile.g { --tile: #182658; }
  :root:not([data-theme="light"]) .wk-band.ink { background: #182658; }   /* the ink band would vanish into the ink page */
  :root:not([data-theme="light"]) .reel.made[style*="0B1530"] { --rc: #182658; }
}
:root[data-theme="dark"] {
  --bg: #0B1530; --surface: #12204A; --fg: #F3E6CE; --muted: #D2CBBE; --line: rgba(243,230,206,.16);
  --blue-text: #8FB1FF; --tango: #FF6A4D; --tango-text: #FF6A4D; --band-tango: #BC341A; --tango-lab: #FF6A4D; --tango-lab-inv: #A42D16; --ph: #9396A8; --la: #F3E6CE; --lb: #FF6A4D;
  --cube-a: #2A66E0; --cube-b: #FF6A4D; --cube-c: #F3E6CE; --glass: rgba(11,21,48,.74);
    --fog: radial-gradient(110% 80% at 88% -12%, rgba(42,102,224,.2) 0%, rgba(42,102,224,0) 62%), radial-gradient(90% 70% at -12% 112%, rgba(255,106,77,.07) 0%, rgba(255,106,77,0) 66%);
    --lift-sh: rgba(0,0,0,.5); color-scheme: dark;
}
:root[data-theme="dark"] .portrait[data-pix="g"], :root[data-theme="dark"] .tile.g { --tile: #182658; }
:root[data-theme="dark"] .wk-band.ink { background: #182658; }
:root[data-theme="dark"] .reel.made[style*="0B1530"] { --rc: #182658; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--f-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 800; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--tango); outline-offset: 3px; border-radius: 6px; }
.gutter { padding-left: var(--gut); padding-right: var(--gut-r); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.pixel { font-family: var(--f-pixel); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.tango { color: var(--tango); }
.pixel.tango { color: var(--tango-text); }   /* small labels use the deeper tango so they read (4.6:1 on cream) */
.blue { color: var(--blue-text); }
main, header, footer { position: relative; z-index: 1; }
main { overflow-x: clip; }
canvas.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; background: var(--fog); image-rendering: pixelated; }   /* light from the top right, a cool haze bottom left: the tiles hang in air, not on a flat wall */

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor .dot { position: absolute; width: 8px; height: 8px; margin: -4px; background: var(--tango); }
.cursor .ring { position: absolute; width: 44px; height: 44px; margin: -22px; border: 1.5px solid var(--fg); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .35s; }
.cursor.link .ring { width: 64px; height: 64px; margin: -32px; border-color: var(--tango); }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; } }
@media not ((hover: hover) and (pointer: fine)) { .cursor { display: none; } }

/* header */
header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding-top: max(18px, env(safe-area-inset-top, 0px)); padding-bottom: 14px; transition: transform .5s var(--ease); }
header.nav.hide { transform: translateY(-110%); }
.nav .home svg { width: 132px; height: auto; display: block; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
.nav ul a { display: block; padding: 8px 14px; font-weight: 600; font-size: 15px; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--tango-text); }
.nav .end { display: flex; align-items: stretch; gap: 8px; min-height: 44px; }
.nav .talk { display: flex; align-items: center; background: var(--fg); color: var(--bg); padding: 12px 18px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav .talk:hover { background: var(--tango); color: var(--on-tango); }

/* type + buttons */
.kicker { display: flex; align-items: center; gap: 10px; color: var(--tango-text); margin-bottom: 22px; }
.kicker::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.big { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(40px, 6vw, 92px); line-height: .95; letter-spacing: -.03em; }
.lede { color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); max-width: 52ch; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 24px; font-weight: 700; font-size: 17px; border: 2px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; font-family: inherit;
  transition: background .3s, color .3s, border-color .3s; }
.btn.solid { background: var(--tango); border-color: var(--tango); color: var(--on-tango); }
.btn.wa { background: #25D366; border-color: #25D366; color: #0B1530; }
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .todo { background: rgba(255,255,255,.22); color: inherit; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
section { position: relative; }
.sec { padding-top: 16vh; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head p { max-width: 40ch; color: var(--muted); font-weight: 500; }

/* page hero */
.phero { padding-top: max(150px, 24vh); }
.phero h1 { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(48px, 8.4vw, 136px); line-height: .92; letter-spacing: -.035em; max-width: 14ch; }
.phero .lede { font-size: clamp(18px, 1.6vw, 22px); }

/* pixel tiles (founder art) */
.tile { --tile: #0147BA; position: relative; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; background-color: var(--tile);
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 0 18%, transparent 21%); background-size: 20px 20px; background-position: center bottom; }
.tile.i { --tile: #E34F33; } .tile.g { --tile: #0B1530; }
.tile img { display: block; width: 100%; max-width: 384px; height: auto; image-rendering: crisp-edges; image-rendering: pixelated; }
.tile .alt { position: absolute; left: 50%; bottom: 0; width: 100%; max-width: 384px; transform: translateX(-50%); opacity: 0; }
.tile:hover .alt, .svc:hover .tile .alt { opacity: 1; }

/* services */
.svc-list { margin-top: 10vh; border-top: 1px solid var(--fg); }
.svc { display: grid; grid-template-columns: 90px minmax(0, 1.25fr) minmax(0, 1fr); gap: 4vw; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc .n { font-family: var(--f-pixel); font-size: 44px; line-height: 1; }
.svc:nth-child(1) .n { color: var(--blue-text); } .svc:nth-child(2) .n { color: var(--tango); }
.svc h2 { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(34px, 4vw, 60px); line-height: .98; letter-spacing: -.03em; }
.svc p { color: var(--muted); margin-top: 14px; max-width: 46ch; font-weight: 500; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 520px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--tango); transform: translateY(-2px); }
.svc .lead { margin-top: 18px; color: var(--tango-text); }
.svc .tile { aspect-ratio: 64 / 44; border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 15px; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line); background: var(--glass); }
.chips span.hot { border-color: var(--tango); color: var(--tango-text); }
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4vw; align-items: end; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tools div { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; font-size: 15px; }
.tools svg { width: 30px; height: 30px; flex: none; }
.foot-note { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.faq { border-top: 1px solid var(--fg); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-weight: 800; font-size: clamp(19px, 1.8vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-pixel); color: var(--tango); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; font-weight: 500; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--fg); }
.step { padding: 26px 22px 30px; border-right: 1px solid var(--line); }
.step:nth-child(4n + 1) { padding-left: 0; }
.step:nth-child(4n) { border-right: 0; padding-right: 0; }
.step:nth-child(n + 5) { border-top: 1px solid var(--line); }
.step .n { font-family: var(--f-pixel); font-size: 40px; line-height: 1; color: var(--blue-text); }
.step h3 { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 2.2vw, 34px); line-height: 1; letter-spacing: -.02em; margin-top: 18px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 17px; font-weight: 500; }

/* about */
.mig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); }
.mig div { padding: 26px 18px 22px 0; }
.mig div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.mig b { display: block; font-family: var(--f-pixel); font-weight: 700; font-size: clamp(64px, 10vw, 160px); line-height: .9; }
.mig div:nth-child(1) b { color: var(--blue-text); } .mig div:nth-child(2) b { color: var(--tango); } .mig div:nth-child(3) b { color: var(--fg); }
.mig div:nth-child(4) b { font-family: var(--f-serif); font-style: italic; font-weight: 800; color: var(--tango); letter-spacing: -.03em; }
.mig span { display: block; margin-top: 12px; font-weight: 700; }
.mig small { display: block; color: var(--muted); font-size: 16px; font-weight: 500; }
.mig.vox > div { position: relative; }
.mig.vox b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mig .vox-cv { display: block; width: calc(100% + 40px); height: clamp(170px, 18vw, 250px); margin: -18px -20px -6px; pointer-events: none; }
.mig.vox span { position: relative; width: fit-content; transition: color .35s; }
.mig.vox span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--tango); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.mig.vox > div.on span { color: var(--tango-text); }
.mig.vox > div.on span::after { transform: none; }
.mig.vox > div { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5vw; }
.story .pull { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.025em; }
.story .copy p { color: var(--muted); font-size: 18px; max-width: 56ch; }
.story .copy p + p { margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.value { padding: 26px 26px 28px; border: 1px solid var(--line); background: var(--glass); }
.value .n { font-family: var(--f-pixel); color: var(--tango-text); }
.value h3 { font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1.02; letter-spacing: -.02em; margin-top: 12px; }
.value p { color: var(--muted); margin-top: 10px; font-size: 17px; font-weight: 500; }
/* the complaint, crossed out in tango as the card arrives (and again on hover) */
.value .pain { margin-top: 14px; font-family: var(--f-serif); font-style: italic; font-size: 17px; line-height: 1.4; }
.value .pain .q { background: linear-gradient(var(--tango), var(--tango)) no-repeat 0 58% / 0 2px; transition: background-size .9s cubic-bezier(.65, 0, .25, 1) .45s; }
.value.in .pain .q { background-size: 100% 2px; }
.value:hover .pain .q { animation: strike .9s cubic-bezier(.65, 0, .25, 1); }
@keyframes strike { from { background-size: 0 2px; } to { background-size: 100% 2px; } }
.value.ask { border-color: color-mix(in srgb, var(--tango) 55%, var(--line)); background: color-mix(in srgb, var(--tango) 9%, var(--glass)); }
.value .ask-l { margin-top: 14px; font-family: var(--f-pixel); font-size: 13px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; color: var(--tango-lab); }
.value.ask > p:last-child { color: var(--fg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* founder cards (same as the homepage) */
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.founder { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); padding: 26px; transition: transform .6s var(--ease); }
.founder:hover { transform: translateY(-8px); }
.founder .pixel { color: var(--tango-text); }
.founder h3 { font-family: var(--f-serif); font-style: italic; font-size: 44px; letter-spacing: -.02em; line-height: 1; margin-top: 12px; }
.founder .role { font-weight: 600; margin-top: 8px; }
.founder p { color: var(--muted); margin-top: 12px; font-size: 17px; font-weight: 500; }
.founder .aside { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--fg); }
.founder .chips { margin-top: 16px; gap: 6px; }
.founder .chips span { font-size: 14px; font-weight: 600; padding: 5px 10px; background: none; }
.portrait { --tile: #0147BA; position: relative; margin: -26px -26px 22px; display: flex; justify-content: center; overflow: hidden; background-color: var(--tile);
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 0 18%, transparent 21%); background-size: calc(var(--px, 5px) * 4) calc(var(--px, 5px) * 4); background-position: center bottom; }
.portrait[data-pix="i"] { --tile: #E34F33; }
.portrait[data-pix="g"] { --tile: #0B1530; }
.portrait canvas { display: block; width: calc(var(--px, 5px) * 64); height: calc(var(--px, 5px) * 44); image-rendering: crisp-edges; image-rendering: pixelated; }
.portrait .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.portrait .rec { position: absolute; left: 22px; top: 18px; display: flex; align-items: center; gap: 6px; font-family: var(--f-pixel); font-size: 12px; letter-spacing: .08em; color: #fff; opacity: 0; transition: opacity .2s; }
.portrait .rec::before { content: ""; width: 8px; height: 8px; background: #ff3b30; animation: recb 1s steps(1) infinite; }
@keyframes recb { 50% { opacity: 0; } }
.portrait[data-pix="m"]::after { content: ""; position: absolute; inset: 10px; pointer-events: none; opacity: 0; transition: opacity .2s; background-repeat: no-repeat;
  background-image: linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff), linear-gradient(#fff,#fff);
  background-size: 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom; }
.portrait.act .rec, .portrait[data-pix="m"].act::after { opacity: 1; }

/* contact */
.phero .appcards { margin-top: 56px; }
.brief { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4vw; align-items: start; }
.bf { display: grid; gap: 26px; }
.bf .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf label.f, .bf fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bf legend, .bf .lab { font-family: var(--f-pixel); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.bf input[type="text"], .bf select, .bf textarea { width: 100%; padding: 15px 14px; border: 1.5px solid var(--line); border-radius: 0; background: var(--surface); color: var(--fg); font: 500 17px/1.4 var(--f-sans); }
.bf textarea { min-height: 120px; resize: vertical; }
.bf ::placeholder { color: var(--ph); opacity: 1; }
.bf input:focus, .bf select:focus, .bf textarea:focus { outline: none; border-color: var(--tango); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; user-select: none; }
.opts label:hover span { border-color: var(--fg); }
.opts input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.opts input:focus-visible + span { outline: 3px solid var(--tango); outline-offset: 2px; }
.bf-out { position: sticky; top: 110px; padding: 24px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bf-out .lab { display: flex; justify-content: space-between; }
.bf-msg { white-space: pre-wrap; margin: 6px 0 0; padding: 16px; background: #DCF8C6; color: #0B1530; font: 500 16px/1.5 var(--f-sans); min-height: 140px; border-left: 4px solid #25D366; }
.bf-btns { display: grid; gap: 8px; margin-top: 16px; }
.bf-btns .btn { justify-content: center; }
.bf-btns .lite { display: flex; gap: 8px; }
.bf-btns .lite .btn { flex: 1; padding: 13px 14px; font-size: 15px; }
.bf-note { min-height: 1.4em; margin-top: 10px; font-size: 14px; color: var(--tango-text); font-weight: 600; }
.based { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 34px 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line); }
.based .big { font-size: clamp(40px, 6vw, 88px); }

/* work */
.wk-hero { padding-top: max(150px, 24vh); }
.wk-band { --c: #0147BA; position: relative; margin-top: 34px; padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px); background: var(--c); color: #F3E6CE; overflow: hidden; }
.wk-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.14) 0 18%, transparent 21%); background-size: 20px 20px; pointer-events: none; }
.wk-band .pixel { color: #F3E6CE; position: relative; z-index: 1; }
.wk-band h1 { position: relative; z-index: 1; font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(56px, 11vw, 180px); line-height: .88; letter-spacing: -.04em; margin-top: 14px; }
.wk-band .row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-top: 28px; }
.wk-band .btn { border-color: #F3E6CE; color: #F3E6CE; }
.wk-band .btn:hover { background: #F3E6CE; color: var(--c); }
.wk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.wk-facts div { padding: 22px 18px 22px 0; }
.wk-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.wk-facts .pixel { color: var(--muted); display: block; margin-bottom: 6px; }
.wk-facts b { font-weight: 700; }
.wk-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wk-story div { padding: 24px; border: 1px solid var(--line); background: var(--glass); }
.wk-story h3 { font-family: var(--f-serif); font-style: italic; font-size: 32px; line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.wk-story p { color: var(--muted); margin-top: 10px; font-weight: 500; }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.reel { position: relative; aspect-ratio: 3 / 4; border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.reel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--line) 0 16%, transparent 20%); background-size: 16px 16px; }
.reel > * { position: relative; }
.reel .play { width: 64px; height: 64px; display: grid; place-items: center; border: 2px solid var(--fg); align-self: center; }
.reel .play::before { content: ""; border-left: 18px solid var(--fg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--fg); }
.next a { display: block; padding: 30px 0; border-bottom: 1px solid var(--fg); }
.next a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.next .name { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(34px, 5vw, 76px); line-height: .95; letter-spacing: -.035em; margin-top: 8px; transition: transform .6s var(--ease), color .3s; }
.next a:hover .name { transform: translateX(14px); color: var(--tango); }
.pending-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1.5px dashed var(--tango); color: var(--fg); font-size: 15px; max-width: 760px; }
.pending-note b { color: var(--tango-text); }

/* a project that is not ready to show yet */
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px 6px; background: var(--tango); color: var(--on-tango); font-family: var(--f-pixel); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; white-space: nowrap; box-shadow: 3px 3px 0 var(--fg); }
.soon i { width: 8px; height: 8px; background: currentColor; animation: soon-blink 1.1s steps(1) infinite; }
@keyframes soon-blink { 50% { opacity: .15; } }
.wk-band .soon { font-size: 15px; padding: 10px 14px 9px; box-shadow: 4px 4px 0 #F3E6CE; }
.soon-strip { margin-top: 12vh; overflow: hidden; background: var(--tango); color: var(--on-tango); border-top: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: rotate(-1.4deg) scale(1.02); }
.soon-strip .track { display: flex; width: max-content; animation: soon-run 38s linear infinite; }
.soon-strip span { display: flex; align-items: center; gap: 22px; padding: 14px 0 13px 22px; font-family: var(--f-pixel); font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.soon-strip span::after { content: ""; width: 9px; height: 9px; background: currentColor; }
.soon-strip span:nth-child(3n) { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(19px, 1.9vw, 26px); letter-spacing: -.01em; text-transform: none; }
.soon-strip:hover .track { animation-play-state: paused; }
@keyframes soon-run { to { transform: translateX(-50%); } }
.soon-sec { padding-top: 12vh; }
.next > a:only-child { grid-column: 1 / -1; }

/* work pages: links in the band, four facts, the story hooks and the reel title cards */
.wk-links { display: flex; flex-wrap: wrap; gap: 10px; }
.wk-facts.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wk-story p.hook { margin-top: 12px; font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -.015em; color: var(--tango); }
.reel.made { --rc: #0147BA; background: var(--rc); color: #F3E6CE; border: 1.5px solid var(--fg); text-decoration: none; padding: 20px;
  box-shadow: 6px 6px 0 var(--fg); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.reel.made::before { background-image: radial-gradient(circle, rgba(243,230,206,.17) 0 16%, transparent 20%); }
.reel.made:hover, .reel.made:focus-visible { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--fg); }
.r-top { display: flex; justify-content: space-between; gap: 8px; color: #F3E6CE; }
.r-hook { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(26px, 2.5vw, 48px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.r-foot { display: flex; align-items: center; gap: 12px; color: #F3E6CE; }
.reel.made .play { width: 48px; height: 48px; border-color: #F3E6CE; align-self: auto; transition: background .3s; }
.reel.made .play::before { border-left-color: #F3E6CE; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.reel.made:hover .play { background: rgba(243,230,206,.16); }
.reel-more { margin-top: 30px; }

/* closing band */
.band { margin-top: 18vh; padding: clamp(40px, 7vw, 96px) var(--gut); background: var(--fg); color: var(--bg); text-align: center; }
.band .pixel, .band .tango { color: var(--band-tango); }
.band h2 { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(44px, 6.6vw, 104px); line-height: .95; letter-spacing: -.03em; margin-top: 16px; }
.band .ctas { justify-content: center; }
.band .btn { border-color: var(--bg); color: var(--bg); }
.band .btn:hover { background: var(--bg); color: var(--fg); }
.band .btn.solid { color: var(--on-tango); border-color: var(--tango); }
.band .btn.wa { color: #0B1530; border-color: #25D366; }

/* the closing band's block field */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band > :not(.band-cv) { position: relative; z-index: 1; }
.band-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* page headings: a pixel-block shadow behind the words, and the word under the cursor lifts */
.phero h1.bh { position: relative; isolation: isolate; cursor: default; -webkit-tap-highlight-color: transparent; }
.bh-cv { position: absolute; left: -70px; top: -70px; width: calc(100% + 140px); height: calc(100% + 140px); z-index: -1; pointer-events: none; }
.bh .hw { display: inline-block; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.bh .hb { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
@media (hover: hover) and (pointer: fine) { .bh .hw:hover { transform: translateY(-.06em) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .bh .hw { transition: none; } .bh .hw:hover { transform: none; } }

/* footer */
.site-foot { position: relative; z-index: 1; padding-top: 72px; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.sf-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 4vw; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.sf-brand svg { width: 190px; height: auto; display: block; }
.sf-brand .serif { font-size: 26px; line-height: 1.1; margin-top: 18px; }
.sf-brand p.muted { margin-top: 10px; font-size: 15px; max-width: 36ch; }
.sf-col { display: grid; align-content: start; gap: 10px; }
.sf-col .pixel { color: var(--muted); margin-bottom: 4px; }
.sf-col a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; width: fit-content; }
.sf-col a:hover { color: var(--tango-text); }
.sf-col svg { width: 18px; height: 18px; flex: none; }
.sf-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 15px; color: var(--muted); }

/* phones and tablets */
/* footer: the legal links */
.sf-legal { display: flex; gap: 18px; }
.sf-legal a { font-weight: 600; color: var(--fg); }
.sf-legal a:hover { color: var(--tango-text); }

/* legal pages: privacy and terms */
.legal-date { color: var(--muted); margin-top: 26px; }
.legal-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin-top: 40px; }
.legal-sum > div { padding: 18px 18px 16px; background: var(--surface); border: 1.5px solid var(--fg); box-shadow: 4px 4px 0 var(--cube-a); }
.legal-sum > div:nth-child(2) { box-shadow: 4px 4px 0 var(--cube-b); }
.legal-sum > div:nth-child(3) { box-shadow: 4px 4px 0 var(--cube-c); }
.legal-sum .pixel { color: var(--muted); }
.legal-sum b { display: block; margin-top: 6px; font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -.02em; }
.legal-sum p { margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--muted); }
.legal { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 720px); gap: 6vw; padding-top: 12vh; padding-bottom: 14vh; }
.legal-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 9px; }
.legal-toc .pixel { color: var(--muted); margin-bottom: 6px; }
.legal-toc a { display: flex; gap: 12px; font-weight: 600; font-size: 15px; line-height: 1.3; width: fit-content; }
.legal-toc a span { flex: none; min-width: 2.2ch; font-family: var(--f-pixel); font-weight: 500; color: var(--tango-text); }
.legal-toc a:hover { color: var(--tango-text); }
.legal-body { display: grid; gap: 56px; }
.legal-body section { scroll-margin-top: 110px; }
.legal-body h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.legal-body h2 .n { flex: none; font-family: var(--f-pixel); font-style: normal; font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--tango-text); }
.legal-body p, .legal-body li { max-width: 64ch; }
.legal-body p + p, .legal-body ul + p, .legal-body .legal-table + p, .legal-body .legal-card + p { margin-top: 14px; }
.legal-body ul { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.legal-body li { position: relative; padding-left: 24px; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--tango); }
.legal-body a:not(.btn) { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.legal-body a:not(.btn):hover { color: var(--tango-text); }
.legal-body .muted a { color: inherit; }
.legal-table { display: grid; margin-top: 18px; border: 1.5px solid var(--fg); background: var(--surface); }
.legal-table > div { display: grid; grid-template-columns: 1.1fr 1.5fr 1.4fr; gap: 16px; padding: 14px 16px; font-size: 15px; }
.legal-table > div + div { border-top: 1px solid var(--line); }
.legal-table .th { font-family: var(--f-pixel); font-weight: 500; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.legal-table code { font: 500 14px/1.3 var(--f-pixel); letter-spacing: .02em; color: var(--blue-text); }
.legal-table small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.legal-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 1.5px solid var(--fg); background: var(--surface); box-shadow: 5px 5px 0 var(--tango); }
.legal-card > div { display: grid; align-content: start; gap: 6px; padding: 16px; }
.legal-card > div + div { border-left: 1px solid var(--line); }
.legal-card .pixel { color: var(--muted); }
.legal-card b, .legal-card .v { font-weight: 700; overflow-wrap: anywhere; }

/* 404 */
.nf { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 130px; padding-bottom: 12vh; }
.nf-px { --px: clamp(10px, 2.1vw, 22px); display: grid; grid-template-columns: repeat(17, var(--px)); gap: 3px; margin-bottom: 44px; }
.nf-px i { width: var(--px); height: var(--px); }
.nf-px i.on { background: var(--c); animation: nf-drop .55s steps(5, end) both; animation-delay: calc(var(--d) * 26ms); transition: translate .2s steps(2, end); }
.nf-px i.on:hover { translate: 0 -8px; }
@keyframes nf-drop { from { opacity: 0; transform: translateY(-48px); } to { opacity: 1; transform: none; } }
.nf h1 { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: clamp(40px, 6.4vw, 96px); line-height: .95; letter-spacing: -.03em; max-width: 15ch; }
.nf .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

@media (max-width: 1100px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value.ask { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step:nth-child(4n), .step:nth-child(4n + 1) { padding: 26px 22px 30px; border-right: 1px solid var(--line); }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { border-right: 0; padding-right: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .legal { grid-template-columns: 1fr; gap: 40px; padding-top: 9vh; }
  .legal-toc { position: static; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .legal-toc .pixel { grid-column: 1 / -1; }
  .legal-sum { grid-template-columns: 1fr; }
  .legal-card { grid-template-columns: 1fr; }
  .legal-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .legal-table > div { grid-template-columns: 1fr; gap: 4px; }
  .legal-table .th { display: none; }
  body { font-size: 16px; }
  .nav ul { display: none; }
  .nav .home svg { width: 112px; }
  .phero, .wk-hero { padding-top: 130px; }
  .sec { padding-top: 12vh; }
  .svc { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .svc .n { font-size: 32px; }
  .svc .tile { max-width: 420px; }
  .who, .story, .brief { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .mig { grid-template-columns: 1fr 1fr; }
  .mig div:nth-child(3) { padding-left: 0; border-left: 0; }
  .mig div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mig .vox-cv { width: calc(100% + 24px); margin: -14px -12px -4px; height: clamp(140px, 40vw, 190px); }
  .bf .row { grid-template-columns: 1fr; }
  .bf-out { position: static; }
  .wk-facts, .wk-facts.four, .wk-story { grid-template-columns: 1fr; }
  .r-hook { font-size: 26px; }
  .wk-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: start; aspect-ratio: 9 / 16; }
  .next { grid-template-columns: 1fr; }
  .next a + a { padding-left: 0; border-left: 0; }
  .sf-top { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
  .band { margin-top: 12vh; }
}
@media (max-width: 520px) {
  .values, .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(n) { padding: 22px 0 24px; border-right: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .btn { padding: 15px 20px; }
  .ctas .btn { flex: 1 1 auto; justify-content: center; }
}
/* cards lift off the page on hover and tip toward the pointer, casting a block shadow onto the tile field
   (site.js adds .depth on computers with a mouse; --tx and --ty run -1..1 across the card) */
.depth { transition: opacity 1s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: 0 0 0 var(--lift-sh); }
.depth.lift { transform: perspective(1100px) translateY(-6px) rotateX(calc(var(--ty, 0) * -5deg)) rotateY(calc(var(--tx, 0) * 6deg));
  box-shadow: calc(9px - var(--tx, 0) * 4px) calc(11px - var(--ty, 0) * 4px) 0 var(--lift-sh); transition-duration: 1s, .25s, .35s; }

@media (prefers-reduced-motion: reduce) {
  .nf-px i.on { animation: none; }
  .soon i, .soon-strip .track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .portrait .rec::before { animation: none; }
  .founder, .next .name, .reel.made { transition: none; }
  .value .pain .q { transition: none; background-size: 100% 2px; }
  .value:hover .pain .q { animation: none; }
}
