
/* ═══════════════════════════════════════════════════════════════════
   Black and white on purpose: the studio is monochrome so the client
   work is the only thing in colour. Light is the default; dark is the
   same design inverted deliberately. Craft is carried by motion —
   smooth scroll, type that rises in, tiles that shift, a menu and a
   footer that are set pieces rather than furniture.
   ═══════════════════════════════════════════════════════════════════ */
:root{
  --paper:  #F2F1EE;
  --panel:  #E8E6E1;
  --panel2: #DEDBD5;
  --ink:    #0A0A0B;
  --mute:   #6F6D68;
  --rule:   rgba(10,10,11,.14);
  --rule2:  rgba(10,10,11,.32);
  --spot:   #E03127;
  --card:   #151517;
  --foot:   #0A0A0B;
  --veil:   rgba(242,241,238,.82);

  --display: "Syne", "Avenir Next", "Century Gothic", sans-serif;
  --sans:  "Instrument Sans", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --hand:  "Caveat", "Comic Sans MS", cursive;

  --gut:  clamp(1.2rem, 4.5vw, 4.5rem);
  --max:  78rem;
  --barH: 4.4rem;
  --ease: cubic-bezier(.2,.8,.2,1);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#0A0A0B; --panel:#141416; --panel2:#1C1C1F; --ink:#F2F1EE; --mute:#8D8B84;
    --rule:rgba(242,241,238,.15); --rule2:rgba(242,241,238,.34); --veil:rgba(10,10,11,.8); --card:#1E1E22; --foot:#131315;
  }
}
:root[data-theme="dark"]{
  --paper:#0A0A0B; --panel:#141416; --panel2:#1C1C1F; --ink:#F2F1EE; --mute:#8D8B84;
  --rule:rgba(242,241,238,.15); --rule2:rgba(242,241,238,.34); --veil:rgba(10,10,11,.8); --card:#1E1E22; --foot:#131315;
}

*{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ scroll-behavior:auto; }
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-stopped{ overflow:hidden; }

body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--sans); font-size:16px; line-height:1.55;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
.tile, .wrow, .pj-next a{ color:inherit; text-decoration:none; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
:focus-visible{ outline:2px solid var(--spot); outline-offset:3px; }

.wrap{ max-width:var(--max); margin:0 auto; padding-inline:var(--gut); }

/* line-mask reveals: SplitType wraps lines, we wrap the wrappers */
[data-split]{ opacity:0; animation:splitSafety 0s 1.6s forwards; }
html.ready [data-split]{ opacity:1; }
@keyframes splitSafety{ to{ opacity:1; } }
.msk{ overflow:hidden; }
.msk .ln{ display:block; will-change:transform; }

/* section openers: a mono key and one big sentence */
.key{
  display:flex; align-items:center; gap:.7em;
  font-family:var(--mono); font-size:.62rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--mute);
  margin:0 0 1.4rem;
}
.key::before{ content:""; width:1.4rem; height:1px; background:var(--ink); }
.sh{
  font-family:var(--display); font-weight:700;
  font-size:clamp(1.85rem, 4vw, 3.4rem);
  line-height:1.06; letter-spacing:-.04em; margin:0; max-width:20ch;
}
.sh em{ font-style:normal; }
.lede{ font-size:1.05rem; color:var(--mute); max-width:42ch; margin:0; }

.sec{ padding-block:clamp(5rem, 11vw, 9.5rem); }

/* ═══════════ cursor ═══════════ */
.cur{
  position:fixed; top:0; left:0; z-index:300; pointer-events:none;
  width:10px; height:10px; border-radius:50%;
  background:#fff; mix-blend-mode:difference;
  display:grid; place-items:center;
  transition:width .35s var(--ease), height .35s var(--ease);
}
.cur span{
  font-family:var(--mono); font-size:.58rem; letter-spacing:.16em; text-transform:uppercase;
  color:#000; opacity:0; transition:opacity .2s; white-space:nowrap;
}
.cur.big{ width:88px; height:88px; }
.cur.big span{ opacity:1; }
@media (hover:none), (prefers-reduced-motion:reduce){ .cur{ display:none; } }

/* ═══════════ bar ═══════════ */
.bar{
  position:fixed; inset:0 0 auto 0; z-index:120;
  height:var(--barH);
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding-inline:var(--gut);
  transition:transform .5s var(--ease), opacity .5s;
}
.bar::before{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to bottom, var(--paper) 20%, transparent); opacity:.9; pointer-events:none; }
.menu-open .bar::before{ opacity:0; }
.menu-open .bar__mid, .menu-open .bar__mid b, .menu-open .tbtn{ color:#8a8a8a; }
.menu-open .bar__mid b{ color:var(--paper); }
.menu-open .pill{ background:var(--paper); color:var(--ink); }
.bar--hide{ transform:translateY(-110%); }
.logo img{ width:38px; height:auto; }
.bar__mid{
  display:flex; align-items:center; gap:1.4rem;
  font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.bar__mid b{ color:var(--ink); font-weight:500; }
@media (max-width:44rem){ .bar__mid{ display:none; } }
.tbtn{
  appearance:none; background:transparent; border:0; padding:0; cursor:pointer;
  font:inherit; letter-spacing:inherit; text-transform:inherit; color:var(--mute);
  border-bottom:1px solid transparent; transition:color .2s, border-color .2s;
}
.tbtn:hover{ color:var(--ink); border-color:var(--ink); }

.pill{
  appearance:none; cursor:pointer; border:0;
  display:inline-flex; align-items:center; gap:.6em;
  background:var(--ink); color:var(--paper);
  font-family:var(--mono); font-size:.62rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  padding:.85em 1.25em .85em 1.05em; border-radius:999px;
  transition:transform .3s var(--ease);
}
.pill:hover{ transform:scale(1.04); }
.pill i{ width:6px; height:6px; border-radius:50%; background:var(--paper); transition:background .3s; }
.menu-open .pill i{ background:var(--spot); }

/* ═══════════ menu ═══════════ */
.menu{
  position:fixed; inset:0; z-index:110;
  background:var(--ink); color:var(--paper);
  display:grid; align-items:end;
  overflow:hidden;
}
.menu__in{
  width:100%; max-width:var(--max); margin:0 auto;
  padding:calc(var(--barH) + 2rem) var(--gut) clamp(2rem, 5vw, 4rem);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,18rem);
  gap:2rem 4rem; align-items:end;
}
@media (max-width:52rem){ .menu__in{ grid-template-columns:1fr; } }
.menu__nav{ display:grid; }
.menu__nav .msk{ line-height:1; }
.menu__nav a{
  display:inline-block; text-decoration:none;
  font-family:var(--display); font-weight:700;
  font-size:clamp(2.1rem, 6vw, 5rem); line-height:1.1; letter-spacing:-.045em;
  transition:translate .5s var(--ease), color .3s;
  color:var(--paper);
}
.menu__nav a:hover{ translate:.3em 0; color:#9b9b9b; }
.menu__nav a sup{ font-family:var(--mono); font-size:.18em; letter-spacing:.14em; vertical-align:top; margin-left:.5em; color:#8a8a8a; }
.menu__side{ display:grid; gap:1.4rem; font-size:.92rem; }
.menu__grp{ display:grid; gap:.3rem; }
.menu__grp span{ font-family:var(--mono); font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; color:#8a8a8a; }
.menu__grp a{ text-decoration:none; width:max-content; border-bottom:1px solid transparent; }
.menu__grp a:hover{ border-color:currentColor; }
.menu__grp b{ font-family:var(--display); font-weight:700; font-size:1.4rem; }
.menu .tbtn{ color:#8a8a8a; width:max-content; }
.menu .tbtn:hover{ color:var(--paper); border-color:var(--paper); }

/* ═══════════ hero ═══════════ */
.hero{ padding-top:calc(var(--barH) + clamp(2rem, 6vw, 5rem)); }
.hero__in{ position:relative; }
.hero__key{ margin-bottom:clamp(1.4rem, 3vw, 2.2rem); }
h1{
  font-family:var(--display); font-weight:700;
  font-size:clamp(2.2rem, 5.4vw, 5rem);
  line-height:1.02; letter-spacing:-.045em; margin:0; max-width:17ch;
}
h1 .thin, .cta h2 .thin{ color:var(--mute); }
.hero__row{
  display:grid; grid-template-columns:minmax(0,30rem) max-content;
  justify-content:start; gap:1.5rem clamp(2.5rem, 6vw, 6rem); align-items:end;
  margin-top:clamp(1.8rem, 3.5vw, 3rem);
}
@media (max-width:48rem){ .hero__row{ grid-template-columns:1fr; } }
.hero__row p{ margin:0; color:var(--mute); font-size:clamp(1rem, 1.3vw, 1.15rem); max-width:38ch; }
.hero__meta{
  display:grid; gap:.55rem; justify-items:start;
  font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.hero__meta b{ color:var(--ink); font-weight:500; }
.hero__meta .live{ display:inline-flex; align-items:center; gap:.55em; color:var(--ink); }
.hero__meta .live i{ width:6px; height:6px; border-radius:50%; background:var(--spot); }
.hero__meta .btn{ margin-top:.6rem; }

.band{
  position:relative; height:clamp(17rem, 32vw, 25rem);
  width:100%; max-width:1480px; margin:clamp(2.2rem, 4vw, 3.4rem) auto 0; cursor:grab;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.band.dragging{ cursor:grabbing; }
.band canvas{ display:block; width:100%; height:100%; }
.band__cap{
  position:absolute; left:var(--gut); bottom:0;
  display:flex; gap:1rem; align-items:baseline;
  font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.band__cap b{ color:var(--ink); font-weight:500; }
.band.failed{ display:grid; place-items:center; color:var(--mute); }
.swap{ transition:opacity .25s, transform .25s; display:inline-block; }
.swap.out{ opacity:0; transform:translateY(4px); }

/* the client list runs under the band like a ticker */
.marq{ overflow:hidden; border-block:1px solid var(--rule); margin-top:clamp(1.5rem, 3vw, 2.4rem); }
.marq__track{ display:flex; width:max-content; animation:marq 46s linear infinite; }
.marq:hover .marq__track{ animation-play-state:paused; }
.marq__track span{
  display:inline-flex; align-items:center; gap:1.4rem;
  padding:.85rem 1.4rem .85rem 0;
  font-family:var(--mono); font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; white-space:nowrap; color:var(--ink);
}
.marq__track span::after{ content:""; width:5px; height:5px; border-radius:50%; background:var(--spot); }
@keyframes marq{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .marq__track{ animation:none; } }

.hero__cue{
  display:flex; justify-content:space-between; align-items:center; gap:1rem;
  padding-top:1.1rem;
  font-family:var(--mono); font-size:.6rem; letter-spacing:.18em; text-transform:uppercase; color:var(--mute);
}
.cue{ display:inline-flex; align-items:center; gap:.8em; }
.cue i{ display:block; width:1px; height:2.2rem; background:var(--ink); animation:cue 1.9s var(--ease) infinite; }
@keyframes cue{ 0%{ transform:scaleY(0); transform-origin:top } 50%{ transform:scaleY(1); transform-origin:top } 51%{ transform-origin:bottom } 100%{ transform:scaleY(0); transform-origin:bottom } }
@media (prefers-reduced-motion:reduce){ .cue i{ animation:none; } }

/* ═══════════ work ═══════════ */
.work__head{
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1.5rem 3rem; align-items:end;
  margin-bottom:clamp(2.5rem, 5vw, 4rem);
}
@media (max-width:48rem){ .work__head{ grid-template-columns:1fr; } }
.tiles{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(1.2rem, 3vw, 2.6rem);
}
@media (max-width:48rem){ .tiles{ grid-template-columns:1fr; } }
.tile{ position:relative; cursor:pointer; }
.tile--full{ grid-column:1 / -1; }
.tile__img{
  aspect-ratio:16 / 10;            /* the captures are exactly 16:10 — nothing gets cut */
  overflow:hidden; background:var(--panel);
  border-radius:4px;
}
.tile__img img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1); transition:transform 1.1s var(--ease);
}
.tile:hover .tile__img img{ transform:scale(1.035); }
.tile__meta{
  display:flex; justify-content:space-between; gap:1rem;
  margin-top:.9rem;
  font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.tile__t{
  font-family:var(--display); font-weight:700;
  font-size:clamp(1.2rem, 2.3vw, 1.8rem); line-height:1.1; letter-spacing:-.035em;
  margin:.35rem 0 0;
  transition:transform .6s var(--ease);
}
.tile--half .tile__t{ font-size:clamp(1.1rem, 1.8vw, 1.5rem); }
.tile:hover .tile__t{ transform:translateX(.35rem); }
.tile__phone{
  position:absolute; right:5%; bottom:22%;
  width:19%; max-width:11rem; aspect-ratio:9 / 19;
  border-radius:1.4rem; overflow:hidden;
  background:#000; border:1px solid rgba(255,255,255,.35);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.55);
  opacity:0; transform:translateY(12%) rotate(-2deg);
  transition:opacity .55s var(--ease), transform .7s var(--ease);
  pointer-events:none;
}
.tile__phone img{ width:100%; height:100%; object-fit:cover; object-position:top; }
@media (hover:hover){ .tile:hover .tile__phone{ opacity:1; transform:none; } }
.tile--half .tile__phone{ bottom:26%; width:24%; }

/* ═══════════ services: drawn, then built ═══════════
   Each service is a marker drawing on a dotted board that colours in to
   the real screen we shipped. Everything on a board is absolutely placed
   in % (wide 16:10 on desktop, tall 4:5 on phones, swapped by the media
   query below), so the drawing never shifts layout. Ink is currentColor,
   so a theme switch needs no redraw. Without JS (no html.sk-on / .is-sk)
   the real screens simply show in their composed positions. */
:root{ --skB:#FBFAF7; --skDot:rgba(10,10,11,.13); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --skB:#141416; --skDot:rgba(242,241,238,.12); } }
:root[data-theme="dark"]{ --skB:#141416; --skDot:rgba(242,241,238,.12); }
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

.sks{ display:grid; grid-template-columns:minmax(0,14.5rem) minmax(0,1fr); gap:clamp(2.5rem, 4vw, 4.5rem); align-items:start; }
.sks__index{ position:sticky; top:calc(var(--barH) + 2rem); align-self:start; padding-top:clamp(2.5rem, 6vw, 5rem); }
.sks__index ol{ list-style:none; margin:0; padding:0; border-top:1px solid var(--ink); }
.sks__index a{ text-decoration:none; }
.sks__index li a{
  display:grid; grid-template-columns:2rem minmax(0,1fr) 18px; gap:.6rem; align-items:baseline;
  padding:.8rem 0; border-bottom:1px solid var(--rule);
  color:var(--mute); font-family:var(--sans); font-size:.95rem; font-weight:500; line-height:1.25;
  transition:color .3s;
}
.sks__index li a:hover, .sks__index a[aria-current="true"]{ color:var(--ink); }
.sks__index .n{ font-family:var(--mono); font-size:.58rem; letter-spacing:.14em; }
.sks__index small{ display:block; margin-top:.2rem; font-family:var(--mono); font-size:.56rem; font-weight:400; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }
.sks__index .tick{ width:18px; height:18px; align-self:center; color:var(--spot); overflow:visible; }
.sks__hand{ margin:1.1rem 0 0; font-family:var(--hand); font-size:1.25rem; line-height:1.1; color:var(--mute); rotate:-2deg; }
.sks__skip, .sks__done{
  display:inline-block; margin-top:1rem; font-family:var(--mono); font-size:.58rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--mute); border-bottom:1px solid var(--rule2); padding-bottom:.3em;
}
.sks__skip:hover{ color:var(--ink); border-color:var(--ink); }
.sks__done{ display:block; width:max-content; max-width:100%; font-family:var(--hand); font-size:1.3rem; letter-spacing:0; text-transform:none; color:var(--spot); border-color:currentColor; rotate:-1.5deg; }
.sks__done[hidden]{ display:none !important; }
.sks__end{ display:flex; flex-wrap:wrap; gap:.8rem 2rem; margin:0; padding-top:clamp(1.6rem, 3vw, 2.4rem); border-top:1px solid var(--rule); }
.sks__end a{ font-family:var(--hand); font-size:clamp(1.3rem, 2vw, 1.6rem); line-height:1.2; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--rule2); }
.sks__end a:first-child{ color:var(--spot); border-color:currentColor; }
.sks__end i{ font-style:normal; }
@media (max-width:72rem){ .sks{ grid-template-columns:minmax(0,1fr); } .sks__index{ display:none; } }

.sk{ padding-block:clamp(2.5rem, 6vw, 5rem); border-top:1px solid var(--rule); scroll-margin-top:var(--barH); }
.sk:first-child{ border-top-color:var(--ink); }
.sk:focus{ outline:none; }
.sk:focus-visible{ outline:2px solid var(--spot); outline-offset:6px; }
/* the articles are only ever focused by script (index links, #hash arrivals) — Safari would ring them in red */
.sk[tabindex="-1"]:focus-visible{ outline:none; }
/* the main column already ends with the same hand-off, so the index copy just duplicated it */
.sks__done{ display:none !important; }
.sk__head{
  display:grid; grid-template-columns:2.6rem minmax(0,1fr) auto; gap:.4rem 1.6rem; align-items:baseline;
  margin-bottom:clamp(1.2rem, 2.4vw, 2rem);
}
.sk__n{ font-family:var(--mono); font-size:.62rem; letter-spacing:.14em; color:var(--mute); }
.sk__k{ display:block; margin-bottom:.35rem; font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }
.sk__copy h2{ font-family:var(--display); font-weight:700; font-size:clamp(1.5rem, 2.6vw, 2.3rem); line-height:1.05; letter-spacing:-.04em; margin:0; }
.sk__copy p{ margin:.5rem 0 0; color:var(--mute); font-size:1rem; max-width:44ch; }
.sk__meta{ display:grid; justify-items:end; gap:.9rem; text-align:right; }
/* the stack is a rubber stamp: part of the hand-made language, in ink for contrast */
.sk__meta .spec, .skc__meta .spec{
  display:inline-block; font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink);
  border:1.5px solid var(--ink); border-radius:3px; padding:.35em .6em; rotate:-3deg; white-space:nowrap; opacity:.85;
}
.sk__meta a{ font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); text-underline-offset:.3em; }
.sk__meta a:hover{ color:var(--spot); }

.sk__fig{ position:relative; margin:0; }
.sk__board{
  position:relative; aspect-ratio:16 / 10; overflow:hidden; isolation:isolate;
  border:1px solid var(--rule); border-radius:clamp(12px, 1.6vw, 20px);
  background-color:var(--skB);
  background-image:radial-gradient(var(--skDot) 1.1px, transparent 1.2px);
  background-size:24px 24px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 24px 60px -40px rgba(0,0,0,.35);
}
.sk__frame, .sk__note, .sk__tag{ position:absolute; left:var(--x); top:var(--y); width:var(--w); rotate:var(--r, 0deg); }
.sk__frame{ z-index:1; overflow:hidden; }
.sk__frame--phone{ aspect-ratio:390 / 844; border-radius:11% / 5.1%; }
.sk__frame--screen{ aspect-ratio:16 / 10; border-radius:2px; }
.sk__real{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.sk__colour{ position:absolute; inset:0; width:100%; height:100%; z-index:2; pointer-events:none; }
.sk__ink{ position:absolute; inset:0; width:100%; height:100%; z-index:3; pointer-events:none; color:var(--ink); overflow:visible; }
.sk__ink .red{ color:var(--spot); }
.sk__ink text, .skc__wire text{ fill:currentColor; stroke:none; }
.sk__ink .h, .skc__wire .h{ font-family:var(--hand); font-weight:700; }
.sk__ink .m, .skc__wire .m{ font-family:var(--mono); letter-spacing:.12em; }
.sk__ink .b{ font-weight:700; }
.sk__note{
  z-index:4; font-family:var(--hand); font-size:clamp(1rem, 1.45vw, 1.3rem); line-height:1.1; color:var(--ink);
  pointer-events:none; text-wrap:balance;
}
.sk__note--s{ font-size:clamp(.9rem, 1.2vw, 1.1rem); line-height:1.05; }
.sk__note--r{ color:var(--spot); }
.sk__tag{
  z-index:4; font-family:var(--mono); font-size:.56rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
  white-space:nowrap; line-height:1; pointer-events:none;
}
@media (min-width:48.01rem){ .sk__x--nw{ display:none; } }
.sk__chip{
  position:absolute; left:12px; bottom:12px; z-index:5;
  display:inline-flex; align-items:center; gap:.55em;
  background:var(--paper); border:1px solid var(--rule); border-radius:8px; padding:.5em .8em;
  font-family:var(--mono); font-size:.58rem; letter-spacing:.12em; text-transform:uppercase; color:var(--mute);
}
.sk__chip i{ width:6px; height:6px; border-radius:50%; background:var(--spot); transition:background .3s; }
.sk__chip b{ font-weight:500; color:var(--ink); }
.sk__board.is-sk:not(.is-built) ~ .sk__chip i{ background:var(--mute); }
.sk__seg{
  position:absolute; right:12px; bottom:12px; z-index:5; background:var(--paper);
  font-family:var(--mono); font-size:.58rem; letter-spacing:.14em; text-transform:uppercase;
}
.sk__seg button{ min-height:2.25rem; }
@media (pointer:coarse){ .sk__seg button{ min-height:2.75rem; min-width:2.75rem; } }

/* states: .is-sk = drawn by sketch.js; .is-built = the real screen shows */
html:not(.sk-on) .sk__note, .sk__board:not(.is-sk) .sk__note, .sk__board:not(.is-sk) .sk__tag{ display:none; }
.sk__board.is-sk:not(.is-built) .sk__real{ opacity:0; }
.sk__board.is-sk .sk__note--r{ opacity:0; }
.sk__board.is-built .sk__note--r{ opacity:1; }

/* phones: the tall composition, chip and toggle move under the board */
@media (max-width:48rem){
  .sk__head{ grid-template-columns:2rem minmax(0,1fr); }
  .sk__meta{ grid-column:2; grid-row:2; display:flex; flex-wrap:wrap; align-items:center; justify-items:start; gap:.7rem 1.2rem; text-align:left; margin-top:.5rem; }
  .sk__board{ aspect-ratio:4 / 5; }
  .sk__frame, .sk__note, .sk__tag{ left:var(--tx); top:var(--ty); width:var(--tw); rotate:var(--tr, var(--r, 0deg)); }
  .sk__note{ font-size:1rem; }
  .sk__note--s{ font-size:.95rem; }
  .sk__x--nt{ display:none; }
  .sk__fig{ display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.7rem .8rem; }
  .sk__board{ grid-column:1 / -1; }
  .sk__chip, .sk__seg{ position:static; margin-top:.7rem; }
  .sk__chip{ justify-self:start; }
}

/* the Home teaser: six index cards, pure ink until each one is built */
.skc{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(1.4rem, 2.6vw, 2.4rem) clamp(1.2rem, 2.4vw, 2rem); }
@media (max-width:64rem){ .skc{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
.skc__card{ display:block; color:inherit; text-decoration:none; }
.skc__frame{
  position:relative; aspect-ratio:16 / 10; border-radius:4px; overflow:hidden;
  background:var(--panel); border:1px solid var(--rule); rotate:var(--r);
  transition:rotate .6s var(--ease), translate .6s var(--ease), box-shadow .6s var(--ease);
}
.skc__frame img{ width:100%; height:100%; object-fit:cover; }
.skc__frame svg{ position:absolute; inset:0; width:100%; height:100%; color:var(--ink); pointer-events:none; }
.skc__frame .sk__colour{ z-index:1; }
.skc__frame svg.skc__wire{ z-index:2; }
.skc__card.is-sk:not(.is-built) img{ opacity:0; }
@media (hover:hover){ .skc__card:hover .skc__frame{ rotate:0deg; translate:0 -4px; box-shadow:0 26px 50px -28px rgba(0,0,0,.45); } }
.skc__card:focus-visible .skc__frame{ rotate:0deg; translate:0 -4px; box-shadow:0 26px 50px -28px rgba(0,0,0,.45); }
.skc__meta{
  display:flex; justify-content:space-between; gap:1rem; margin-top:.9rem;
  font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.skc__meta span:first-child{ display:inline-flex; align-items:center; gap:.5em; white-space:nowrap; }
.skc__meta i{ width:5px; height:5px; border-radius:50%; background:var(--spot); }
.skc__card.is-sk:not(.is-built) .skc__meta i{ transform:scale(0); }
.skc__meta i{ transition:transform .4s var(--ease); }
.skc__card h3{ font-family:var(--display); font-weight:700; font-size:clamp(1.1rem, 1.6vw, 1.35rem); line-height:1.12; letter-spacing:-.035em; margin:.35rem 0 0; }
.skc__card p{ margin:.4rem 0 0; font-size:.92rem; color:var(--mute); max-width:34ch; }
@media (max-width:48rem){
  .skc{ grid-template-columns:minmax(0,1fr); gap:0; border-top:1px solid var(--rule); }
  .skc__card{ display:grid; grid-template-columns:minmax(0,8.5rem) minmax(0,1fr); grid-template-rows:auto auto; gap:.3rem 1rem; align-items:center; padding:.9rem 0; border-bottom:1px solid var(--rule); }
  .skc__frame{ grid-row:1 / span 2; rotate:calc(var(--r) * .5); }
  .skc__meta{ margin:0; align-self:end; flex-direction:column; gap:.25rem; }
  .skc__card h3{ margin:0; align-self:start; }
  .skc__card p{ display:none; }  /* edited down on phones; every row links to the full sheet */
}

/* reduced motion: final state, nothing moves (the Sketch view can still hide the image) */
@media (prefers-reduced-motion:reduce){
  .sk__board:not(.is-sketch) .sk__real, .sk__note{ opacity:1 !important; transform:none !important; }
  .sk__board.is-sketch .sk__note--r{ opacity:0 !important; }
  .skc__frame, .skc__meta i{ transition:none; }
}

.float{
  position:fixed; top:0; left:0; z-index:90; pointer-events:none;
  width:clamp(14rem, 24vw, 22rem); aspect-ratio:16 / 10;
  border-radius:4px; overflow:hidden; background:var(--panel);
  opacity:0; scale:.92;
  transition:opacity .3s, scale .4s var(--ease);
  box-shadow:0 40px 80px -30px rgba(0,0,0,.5);
}
.float.on{ opacity:1; scale:1; }
.float img{ width:100%; height:100%; object-fit:cover; }
@media (hover:none){ .float{ display:none; } }

/* ═══════════ process: a stack that piles up as you scroll ═══════════ */
.stack{ margin-top:clamp(2rem, 4vw, 3.5rem); padding-bottom:12vh; }
.pc{
  position:sticky; top:calc(var(--barH) + 1.2rem + var(--i) * 1.4rem);
  min-height:min(58vh, 34rem);
  margin-bottom:1.5rem;
  background:var(--panel); border:1px solid var(--rule); border-radius:6px;
  padding:clamp(1.5rem, 3.5vw, 3rem);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:2rem 3rem;
  align-content:start;
  box-shadow:0 -12px 40px -20px rgba(0,0,0,.25);
}
.pc:nth-child(even){ background:var(--panel2); }
@media (max-width:48rem){ .pc{ grid-template-columns:1fr; min-height:0; } }
.pc .n{ font-family:var(--mono); font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:var(--mute); }
.pc h3{
  font-family:var(--display); font-weight:700;
  font-size:clamp(1.9rem, 4.2vw, 3.5rem); line-height:1.04; letter-spacing:-.045em; margin:.6rem 0 0;
}
.pc p{ margin:0; font-size:clamp(1rem, 1.4vw, 1.2rem); color:var(--ink); max-width:34ch; align-self:end; }
.pc p small{ display:block; margin-top:1rem; font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }

/* ═══════════ words ═══════════ */
.words{ position:relative; overflow:hidden; }
.words__bg{ position:absolute; inset:0; z-index:0; }
.words__bg img{ width:100%; height:100%; object-fit:cover; filter:blur(28px) saturate(1.1); transform:scale(1.15); opacity:.9; }
.words__bg::after{ content:""; position:absolute; inset:0; background:var(--veil); }
.words__in{ position:relative; z-index:1; display:grid; gap:2rem; }
.words blockquote{
  margin:0; font-family:var(--display); font-weight:600;
  font-size:clamp(1.2rem, 2.6vw, 2.1rem); line-height:1.24; letter-spacing:-.03em;
  max-width:24ch; min-height:3.5em;
}
.words cite{
  font-style:normal; font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
  display:grid; gap:.3rem;
}
.words cite b{ color:var(--ink); font-weight:500; }
.wnav{ display:flex; align-items:center; gap:1rem; font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; color:var(--mute); }
.wnav button{
  appearance:none; background:transparent; border:1px solid var(--rule2); color:var(--ink);
  width:2.4rem; height:2.4rem; border-radius:50%; cursor:pointer; display:grid; place-items:center;
  transition:background .25s, color .25s;
}
.wnav button:hover{ background:var(--ink); color:var(--paper); }
.wnav svg{ width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.6; }

/* ═══════════ scope ═══════════ */
.scope__grid{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,19rem);
  gap:clamp(2rem, 4vw, 3.5rem); align-items:start;
  margin-top:clamp(2rem, 4vw, 3.5rem);
}
@media (max-width:56rem){ .scope__grid{ grid-template-columns:1fr; } }
.toggles{ display:flex; flex-wrap:wrap; gap:.6rem; }
.tg{ position:relative; cursor:pointer; }
.tg input{ position:absolute; opacity:0; inset:0; }
.tg span{
  display:inline-flex; align-items:center; gap:.7em;
  border:1px solid var(--rule2); border-radius:999px;
  padding:.85em 1.3em; font-size:.98rem;
  transition:background .25s, color .25s, border-color .25s;
}
.tg span::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--rule2); transition:background .25s; }
.tg input:checked + span{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.tg input:checked + span::before{ background:var(--spot); }
.tg input:focus-visible + span{ outline:2px solid var(--spot); outline-offset:3px; }
.readout{ border:1px solid var(--ink); padding:1.6rem; position:sticky; top:calc(var(--barH) + 1rem); }
.readout .k{ font-family:var(--mono); font-size:.6rem; letter-spacing:.18em; text-transform:uppercase; color:var(--mute); }
.readout .v{ font-family:var(--display); font-weight:700; font-size:clamp(1.6rem, 3vw, 2.1rem); letter-spacing:-.04em; line-height:1.05; margin:.5rem 0; }
.readout p{ margin:0 0 1.3rem; font-size:.92rem; color:var(--mute); }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--mono); font-size:.62rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  text-decoration:none; background:var(--ink); color:var(--paper);
  padding:1em 1.4em; border-radius:999px; border:1px solid var(--ink);
  cursor:pointer; transition:transform .3s var(--ease), background .25s, color .25s;
}
.btn:hover{ transform:scale(1.04); }
.btn--ghost{ background:transparent; color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); }
.readout .btn{ width:100%; }

/* ═══════════ studio ═══════════ */
.studio__q{
  font-family:var(--display); font-weight:600;
  font-size:clamp(1.25rem, 2.8vw, 2.3rem); line-height:1.22; letter-spacing:-.03em;
  margin:0; max-width:26ch;
}
.studio__q em{ font-style:normal; color:var(--mute); }
.creds{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(13rem, 1fr));
  gap:0; margin-top:clamp(2.5rem, 5vw, 4rem);
  border-top:1px solid var(--ink);
}
.cred{ padding:1.2rem 1.2rem 1.2rem 0; border-bottom:1px solid var(--rule); }
.cred time{ display:block; font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; color:var(--mute); margin-bottom:.4rem; }
.cred b{ display:block; font-weight:500; font-size:.97rem; }
.cred span{ display:block; color:var(--mute); font-size:.84rem; margin-top:.15rem; }

/* ═══════════ the end: a CTA card floating over a rounded footer (the AirDash device) ═══════════ */
.cta-zone{ position:relative; z-index:2; padding-top:clamp(3rem, 7vw, 6rem); }
.cta{
  position:relative; overflow:hidden;
  border-radius:clamp(18px, 2.4vw, 30px);
  background:var(--card); color:#F2F1EE; border:1px solid rgba(255,255,255,.08);
  padding:clamp(2rem, 5vw, 4.2rem);
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2rem 3rem; align-items:end;
  box-shadow:0 40px 90px -40px rgba(0,0,0,.55);
}
@media (max-width:52rem){ .cta{ grid-template-columns:1fr; } }
.cta::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle, rgba(255,255,255,.16) 0 1.4px, transparent 1.5px);
  background-size:22px 22px;
  -webkit-mask-image:linear-gradient(250deg, #000 8%, rgba(0,0,0,.4) 45%, transparent 78%);
  mask-image:linear-gradient(250deg, #000 8%, rgba(0,0,0,.4) 45%, transparent 78%);
}
.cta__body, .cta__acts{ position:relative; }
.cta .key{ color:#8a8a8a; }
.cta .key::before{ background:#F2F1EE; }
.cta h2{
  font-family:var(--display); font-weight:700;
  font-size:clamp(1.9rem, 4.2vw, 3.4rem); line-height:1.05; letter-spacing:-.045em; margin:0; max-width:15ch;
}
.cta h2 .thin{ color:#8a8a8a; }
.cta p{ margin:.9rem 0 0; color:#a3a29d; max-width:32rem; }
.cta__acts{ display:flex; flex-wrap:wrap; gap:.6rem; }
.btn--white{ background:#F2F1EE; color:#0A0A0B; border-color:#F2F1EE; }
.btn--line{ background:transparent; color:#F2F1EE; border-color:rgba(255,255,255,.3); }
.btn--line:hover{ background:#F2F1EE; color:#0A0A0B; }

.end{
  position:relative; z-index:1;
  background:var(--foot); color:#F2F1EE;
  border-radius:clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) 0 0;
  margin-top:calc(-1 * clamp(5rem, 9vw, 8rem));
  padding:calc(clamp(5rem, 9vw, 8rem) + clamp(3.5rem, 6vw, 5.5rem)) 0 2rem;
}
.foot-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.15fr 1fr; gap:2.5rem;
  padding-bottom:3rem; border-bottom:1px solid rgba(255,255,255,.12);
}
@media (max-width:60rem){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:34rem){ .foot-grid{ grid-template-columns:1fr; } }
.foot-brand{ display:grid; gap:1.1rem; align-content:start; }
.foot-brand img{ width:92px; height:auto; }
.foot-brand p{ margin:0; color:#8f8e89; font-size:.95rem; max-width:22rem; }
.socials{ display:flex; gap:.6rem; }
.socials a{
  width:2.5rem; height:2.5rem; border-radius:50%; border:1px solid rgba(255,255,255,.16);
  display:grid; place-items:center; color:#F2F1EE; text-decoration:none;
  transition:background .2s, color .2s, border-color .2s;
}
.socials a:hover{ background:#F2F1EE; color:#0A0A0B; border-color:#F2F1EE; }
.socials svg{ width:1.05rem; height:1.05rem; fill:currentColor; }
.foot-col h2{
  font-family:var(--display); font-size:.66rem; font-weight:700;
  letter-spacing:.26em; text-transform:uppercase; color:#8f8e89; margin:0 0 1.1rem;
}
.foot-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.foot-col a{ color:rgba(242,241,238,.85); text-decoration:none; font-size:.93rem; }
.foot-col a:hover{ color:#fff; text-decoration:underline; }
.foot-col address{ font-style:normal; font-size:.9rem; color:#8f8e89; line-height:1.7; }
.foot-col address b{ color:#F2F1EE; font-weight:500; font-family:var(--mono); font-size:.8rem; }
.foot-legal{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem 1.6rem;
  padding-top:1.6rem; font-size:.8rem; color:#8f8e89;
}
.foot-legal a{ color:#8f8e89; text-decoration:none; }
.foot-legal a:hover{ color:#fff; }


/* ═══════════ page transition ═══════════ */
.curtain{
  position:fixed; inset:0; z-index:400; pointer-events:none; visibility:hidden;
  background:var(--ink); display:grid; place-items:center;
}
.curtain b{ font-family:var(--display); font-weight:700; color:var(--paper); font-size:clamp(1.3rem, 2.6vw, 2rem); letter-spacing:-.04em; }
.arriving .curtain{ visibility:visible; animation:curtainSafety 0s 2.6s forwards; }
@keyframes curtainSafety{ to{ visibility:hidden; } }

.menu__nav a[aria-current="page"]::after{
  content:""; display:inline-block; width:.13em; height:.13em; border-radius:50%;
  background:var(--spot); margin-left:.22em; vertical-align:.12em;
}

/* ═══════════ inner page headers ═══════════ */
.phead{ padding-top:calc(var(--barH) + clamp(3rem, 8vw, 6.5rem)); padding-bottom:clamp(2.5rem, 5vw, 4rem); }
.phead .lede{ margin-top:1.4rem; }
.more{
  display:inline-flex; align-items:center; gap:.7em; margin-top:clamp(2rem, 4vw, 3rem);
  font-family:var(--mono); font-size:.62rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  text-decoration:none; color:var(--ink); border-bottom:1px solid var(--ink); padding-bottom:.4em;
}
.more i{ font-style:normal; transition:translate .4s var(--ease); }
.more:hover i{ translate:.3em 0; }
.center{ text-align:center; }

/* ═══════════ work: grid / list ═══════════ */
.wtools{
  display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap;
  padding-bottom:1rem; border-bottom:1px solid var(--rule); margin-bottom:clamp(2rem, 4vw, 3rem);
  font-family:var(--mono); font-size:.62rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.seg{ display:inline-flex; border:1px solid var(--rule2); border-radius:999px; padding:3px; }
.seg button{
  appearance:none; border:0; background:transparent; color:var(--mute); cursor:pointer;
  font:inherit; letter-spacing:inherit; text-transform:inherit; padding:.6em 1.15em; border-radius:999px;
  transition:background .25s, color .25s;
}
.seg button[aria-pressed="true"]{ background:var(--ink); color:var(--paper); }
[data-view="grid"] .wlist{ display:none; }
[data-view="list"] .tiles{ display:none; }
.wlist{ border-top:1px solid var(--rule); }
.wrow{
  display:grid; grid-template-columns:3rem minmax(0,1fr) minmax(0,12rem) 4rem;
  gap:.5rem 2rem; align-items:baseline;
  padding:clamp(1.2rem, 2.4vw, 1.8rem) 0; border-bottom:1px solid var(--rule);
}
.wrow .n, .wrow .k, .wrow .y{ font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }
.wrow .y{ text-align:right; }
.wrow h3{
  font-family:var(--display); font-weight:700; margin:0;
  font-size:clamp(1.5rem, 3.6vw, 2.9rem); line-height:1.05; letter-spacing:-.045em;
  transition:translate .5s var(--ease), color .3s;
}
.wrow:hover h3{ translate:.4rem 0; }
.wlist:hover .wrow h3{ color:var(--mute); }
.wlist:hover .wrow:hover h3{ color:var(--ink); }
@media (max-width:48rem){ .wrow{ grid-template-columns:2.2rem minmax(0,1fr); } .wrow .k, .wrow .y{ display:none; } }

.archive{ margin-top:clamp(4rem, 8vw, 6rem); }
.archive__grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1rem, 2.5vw, 2rem); }
@media (max-width:40rem){ .archive__grid{ grid-template-columns:1fr; } }
.archive .tile__t{ font-size:clamp(1.05rem, 1.6vw, 1.3rem); }

/* ═══════════ project page ═══════════ */
.pj-head{ padding-top:calc(var(--barH) + clamp(2rem, 6vw, 5rem)); }
.back{
  display:inline-flex; gap:.6em; align-items:center; margin-bottom:clamp(1.6rem, 3vw, 2.4rem);
  font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); text-decoration:none;
}
.back:hover{ color:var(--ink); }
.pj-sub{ margin:1rem 0 0; color:var(--mute); font-size:clamp(1rem, 1.4vw, 1.15rem); }
.facts{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); border-top:1px solid var(--ink); margin-top:clamp(2rem, 4vw, 3rem); }
@media (max-width:48rem){ .facts{ grid-template-columns:1fr 1fr; } }
.fact{ padding:1rem 1rem 1rem 0; border-bottom:1px solid var(--rule); }
.fact span{ display:block; font-family:var(--mono); font-size:.58rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); margin-bottom:.35rem; }
.fact b{ font-weight:500; }
.fact a{ text-decoration:none; border-bottom:1px solid var(--rule2); }
.fact a:hover{ border-color:var(--ink); }

.pj-hero{
  margin:clamp(2rem, 4vw, 3rem) auto 0; width:min(100% - 2 * var(--gut), 110rem);
  border-radius:clamp(10px, 1.4vw, 18px); overflow:hidden; aspect-ratio:16 / 10; background:var(--panel);
}
.pj-hero img{ width:100%; height:100%; object-fit:cover; }

.pj-over{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:2rem clamp(2.5rem, 6vw, 6rem); align-items:start; }
@media (max-width:52rem){ .pj-over{ grid-template-columns:1fr; } }
.pj-over .big{ margin:0; font-size:clamp(1.2rem, 2.1vw, 1.65rem); line-height:1.42; letter-spacing:-.015em; }
.did{ list-style:none; margin:0; padding:0; border-top:1px solid var(--ink); }
.did li{ padding:.85rem 0; border-bottom:1px solid var(--rule); font-size:.96rem; display:flex; gap:.9rem; }
.did li::before{ content:""; flex:none; width:6px; height:6px; margin-top:.55em; border-radius:50%; background:var(--spot); }

.devhead{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
  border-bottom:1px solid var(--rule); padding-bottom:.8rem; margin-bottom:clamp(1.5rem, 3vw, 2.5rem);
}
.deskstage{ display:grid; place-items:center; }
.pinwrap{ min-height:100svh; display:grid; place-items:center; padding-block:calc(var(--barH) + 1rem) 2rem; }

/* laptop — screenshot scrolls as you scroll the page */
.mbp{ width:min(100%, 68rem); margin:0 auto; }
.mbp__lid{
  position:relative; background:#0c0c0e; border-radius:2.1% 2.1% .6% .6% / 3.4% 3.4% 1% 1%;
  padding:1.7% 1.7% 2.4%;
  box-shadow:0 0 0 1.5px #b9b9bf, 0 0 0 3px #7e7e84, 0 50px 90px -40px rgba(0,0,0,.55);
}
.mbp__notch{ position:absolute; top:1.7%; left:50%; translate:-50% 0; width:11%; height:2.4%; background:#0c0c0e; border-radius:0 0 8px 8px; z-index:2; }
.mbp__screen{ position:relative; aspect-ratio:16 / 10; overflow:hidden; background:#000; border-radius:.5%; }
.mbp__screen img{ position:absolute; left:0; top:0; width:100%; height:auto; will-change:transform; }
.mbp__base{
  position:relative; height:clamp(10px, 1.7vw, 20px); width:116%; margin-left:-8%;
  background:linear-gradient(#e9e9ed 0%, #cfcfd4 38%, #9d9da3 100%);
  border-radius:0 0 50% 50% / 0 0 100% 100%;
  box-shadow:0 26px 40px -24px rgba(0,0,0,.5);
}
.mbp__base::before{ content:""; position:absolute; left:50%; top:0; translate:-50% 0; width:14%; height:38%; background:#b5b5ba; border-radius:0 0 10px 10px; }
.mbp--still .mbp__screen img{ height:100%; object-fit:cover; object-position:top; }

/* phones — three sections of the same page, each scrollable */
.phones{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:clamp(1rem, 3.5vw, 3rem); align-items:start; max-width:64rem; margin:0 auto; }
.phones .iph:nth-child(2){ margin-top:clamp(2rem, 8vw, 6rem); }
.phones .iph:nth-child(3){ margin-top:clamp(1rem, 4vw, 3rem); }
@media (max-width:40rem){ .phones{ grid-template-columns:1fr 1fr; } .phones .iph:nth-child(3){ display:none; } }
.iph{ position:relative; }
.iph__frame{
  position:relative; background:#0b0b0c; padding:3.4%;
  border-radius:15% / 7%;
  box-shadow:0 0 0 1.5px #c3c3c9, 0 0 0 3px #86868c, 0 40px 70px -30px rgba(0,0,0,.5);
}
.iph::before, .iph::after{ content:""; position:absolute; width:3px; background:#86868c; border-radius:2px; }
.iph::before{ left:-4px; top:18%; height:8%; box-shadow:0 7.5vmin 0 #86868c; }
.iph::after{ right:-4px; top:24%; height:11%; }
.iph__view{
  position:relative; aspect-ratio:390 / 844; overflow-y:auto; overflow-x:hidden;
  border-radius:12% / 5.6%; background:#000; scrollbar-width:none; overscroll-behavior:contain;
}
.iph__view::-webkit-scrollbar{ display:none; }
.iph__view img{ display:block; width:100%; height:auto; }
.iph__island{ position:absolute; top:5.2%; left:50%; translate:-50% 0; width:30%; height:3.1%; background:#000; border-radius:999px; z-index:2; pointer-events:none; }
.iph__cap{ margin-top:1rem; text-align:center; font-family:var(--mono); font-size:.58rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }

.pj-next{ border-top:1px solid var(--ink); }
.pj-next a{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,26rem); gap:1.5rem 3rem; align-items:center;
  padding-block:clamp(2.5rem, 6vw, 5rem);
}
@media (max-width:48rem){ .pj-next a{ grid-template-columns:1fr; } }
.pj-next .k{ font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }
.pj-next .pj-next__t{ font-family:var(--display); font-weight:700; font-size:clamp(2rem, 6vw, 4.8rem); line-height:1; letter-spacing:-.05em; margin:.5rem 0 0; transition:translate .6s var(--ease); }
.pj-next a:hover h2{ translate:.5rem 0; }
.pj-next .im{ aspect-ratio:16 / 10; border-radius:10px; overflow:hidden; background:var(--panel); }
.pj-next .im img{ width:100%; height:100%; object-fit:cover; transition:scale 1s var(--ease); }
.pj-next a:hover .im img{ scale:1.04; }

/* ═══════════ on air: the whiteboard ═══════════ */
.board{
  --paperB:#FBFAF7; --dot:rgba(10,10,11,.13);
  position:relative; margin-top:clamp(2rem, 4vw, 3rem);
  aspect-ratio:16 / 9.4; min-height:34rem;
  background-color:var(--paperB);
  background-image:radial-gradient(var(--dot) 1.1px, transparent 1.2px);
  background-size:24px 24px;
  border:1px solid var(--rule); border-radius:clamp(14px, 2vw, 24px);
  overflow:hidden; isolation:isolate;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 30px 70px -40px rgba(0,0,0,.35);
  touch-action:pan-y;
}
:root[data-theme="dark"] .board{ --paperB:#141416; --dot:rgba(242,241,238,.12); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .board{ --paperB:#141416; --dot:rgba(242,241,238,.12); } }
.board__bar{
  position:absolute; top:14px; left:50%; translate:-50% 0; z-index:30;
  display:flex; align-items:center; gap:2px; padding:5px;
  background:var(--paper); border:1px solid var(--rule); border-radius:12px;
  box-shadow:0 8px 24px -12px rgba(0,0,0,.3);
}
.board__bar button{
  appearance:none; border:0; background:transparent; color:var(--ink); cursor:pointer;
  width:34px; height:34px; border-radius:8px; display:grid; place-items:center;
  transition:background .2s, color .2s;
}
.board__bar button:hover{ background:var(--panel); }
.board__bar button[aria-pressed="true"]{ background:var(--ink); color:var(--paper); }
.board__bar svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.board__bar .sw{ width:14px; height:14px; border-radius:50%; background:var(--spot); box-shadow:0 0 0 2px var(--paper), 0 0 0 3px var(--rule2); }
.board__bar .sep{ width:1px; height:20px; background:var(--rule); margin:0 4px; }
.board__meta{
  position:absolute; left:14px; bottom:12px; z-index:30; display:flex; gap:.5rem;
  font-family:var(--mono); font-size:.58rem; letter-spacing:.12em; text-transform:uppercase; color:var(--mute);
}
.board__meta span{ background:var(--paper); border:1px solid var(--rule); border-radius:8px; padding:.5em .8em; }
.board__rough, .board__ink{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.board__rough{ z-index:5; }
.board__ink{ z-index:25; }
.board.pen .board__ink{ pointer-events:auto; cursor:crosshair; touch-action:none; }
.bi{ position:absolute; left:var(--x); top:var(--y); width:var(--w, auto); rotate:var(--r, 0deg); z-index:10; }
.board.move .bi[data-drag]{ cursor:grab; touch-action:none; }
.bi.lift{ cursor:grabbing !important; }
.frame__label{
  font-family:var(--hand); font-size:1.25rem; color:var(--mute); margin:0 0 .45rem 3.6rem; cursor:grab; user-select:none;
}
.frame__box{
  position:relative; background:#000; border-radius:6px; overflow:visible;
  box-shadow:0 0 0 1.5px var(--ink), 0 24px 50px -24px rgba(0,0,0,.55);
}
.frame__box video{ display:block; width:100%; aspect-ratio:1478 / 830; object-fit:cover; border-radius:6px; background:#000; }
.tape{ position:absolute; width:78px; height:24px; background:rgba(236,226,196,.82); box-shadow:0 1px 2px rgba(0,0,0,.12); z-index:3; }
.tape--tl{ left:-24px; top:-10px; rotate:-34deg; }
.tape--br{ right:-24px; bottom:-10px; rotate:-34deg; }
.note{
  font-family:var(--hand); font-size:clamp(1.05rem, 1.55vw, 1.4rem); line-height:1.15; color:#1b1b1d;
  padding:1rem 1.05rem 1.3rem; min-height:7.5rem; user-select:none;
  box-shadow:0 14px 26px -14px rgba(0,0,0,.45);
}
.note b{ display:block; font-size:1.45em; line-height:1; margin-top:.3rem; }
.note::after{ content:""; position:absolute; right:0; bottom:0; width:20px; height:20px; background:linear-gradient(135deg, rgba(0,0,0,.14) 50%, transparent 50%); }
.note--y{ background:#F4E4A1; }
.note--w{ background:#FFFFFF; }
.note--r{ background:var(--spot); color:#fff; }
.scrawl{ font-family:var(--hand); font-size:clamp(1.3rem, 2.3vw, 2.1rem); color:var(--ink); white-space:nowrap; user-select:none; }
.scrawl i{ font-style:normal; color:var(--spot); }
@media (max-width:52rem){
  .board{ aspect-ratio:auto; min-height:0; display:grid; gap:1.4rem; padding:4.5rem 1.1rem 3.8rem; }
  .bi{ position:relative; left:auto; top:auto; width:auto; }
  .bi.note{ justify-self:start; max-width:80%; }
  .bi.note:nth-of-type(even){ justify-self:end; }
  .board__rough{ display:none; }
}

/* ═══════════ contact page ═══════════ */
.talk{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(2rem, 5vw, 5rem); align-items:start; }
@media (max-width:56rem){ .talk{ grid-template-columns:1fr; } }
.form{ display:grid; border-top:1px solid var(--ink); }
.fld{ display:grid; grid-template-columns:7rem 1fr; gap:1rem; align-items:center; border-bottom:1px solid var(--rule); padding:.35rem 0; }
@media (max-width:34rem){ .fld{ grid-template-columns:1fr; gap:.2rem; padding:.6rem 0; } }
.fld label{ font-family:var(--mono); font-size:.6rem; letter-spacing:.15em; text-transform:uppercase; color:var(--mute); }
.fld input, .fld select, .fld textarea{ font-family:inherit; font-size:1rem; color:var(--ink); background:transparent; border:0; padding:.8em 0; width:100%; }
.fld textarea{ resize:vertical; min-height:6rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus{ outline:none; }
.fld:focus-within{ border-bottom-color:var(--ink); }
.fld select{ appearance:none; cursor:pointer; }
.fld select option{ background:var(--paper); color:var(--ink); }
.form .btn{ justify-self:start; margin-top:1.6rem; }
.chans{ border-top:1px solid var(--ink); }
.chan{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; padding:1.05rem 0; border-bottom:1px solid var(--rule); text-decoration:none; transition:padding-left .3s var(--ease); }
.chan:hover{ padding-left:.5rem; }
.chan .k{ font-family:var(--mono); font-size:.6rem; letter-spacing:.15em; text-transform:uppercase; color:var(--mute); }
.end--flat{ margin-top:clamp(4rem, 8vw, 7rem); padding-top:clamp(4rem, 7vw, 6rem); }

figure.bi, figure.iph{ margin:0; }
.pinwrap .mbp{ width:min(100%, 68rem, calc((100svh - 8.5rem) * 1.45)); }

/* ═══════════ QA pass — 22 Sep ═══════════ */

/* nothing may push the page sideways (iOS still pans with body overflow-x:hidden) */
html{ overflow-x:clip; }
.mbp{ --over:min(8%, max(0px, calc(var(--gut) - 6px))); }
.mbp__base{ width:calc(100% + 2 * var(--over)); margin-left:calc(-1 * var(--over)); }

/* type details */
h1, h2, .sh, .display, .tile__t, .pj-next .pj-next__t, .menu__nav a, .cta h2, .studio__q, .words blockquote, .wrow h3{ font-variant-numeric:lining-nums; }
h1, h2, .sh{ text-wrap:balance; }
p{ text-wrap:pretty; }
.nw{ white-space:nowrap; }
.key::before{ flex:none; }
.cta h2{ max-width:20ch; }
.cta h2 .thin{ display:block; }
.studio__q{ text-indent:-.42em; }

/* the bar: a real backdrop once the page moves, the clock steps aside, and it inks up over dark sections */
.bar::before{ transition:opacity .35s, background .35s; }
.bar.is-scrolled::before{
  background:var(--paper); opacity:.9;
  -webkit-backdrop-filter:blur(14px) saturate(1.2); backdrop-filter:blur(14px) saturate(1.2);
  -webkit-mask-image:linear-gradient(#000 70%, transparent); mask-image:linear-gradient(#000 70%, transparent);
}
.bar__mid{ transition:opacity .3s; }
.bar.is-scrolled .bar__mid{ opacity:0; pointer-events:none; }
.bar--ink::before{ background:#0A0A0B !important; }
.bar--ink .pill{ background:#F2F1EE; color:#0A0A0B; }
.bar--ink .pill i{ background:#0A0A0B; }

/* section rhythm: one consistent gap instead of doubled padding */
.sec{ padding-block:clamp(3.5rem, 7vw, 6rem); }

/* tiles: a hairline so light screenshots keep an edge; right-hand halves on a deliberate stagger */
.tile__img, .pj-hero, .pj-next .im{ box-shadow:0 0 0 1px var(--rule); }
@media (min-width:48rem){ .tile--r{ margin-top:clamp(2.5rem, 7vw, 6rem); } }
.wgroup + .wgroup{ margin-top:clamp(4rem, 8vw, 6.5rem); }
.wgroup > .devhead a{ color:var(--ink); }

/* up next: the rule sits on the content grid, not across the gutters */
.pj-next{ border-top:0; }
.pj-next a{ border-top:1px solid var(--ink); }

/* device headers read cleanly on phones */
.devhead > span:first-child{ white-space:nowrap; color:var(--ink); }
@media (max-width:40rem){ .devhead{ flex-direction:column; align-items:flex-start; gap:.35rem; } }
.devnote{ margin:1.2rem auto 0; max-width:68rem; text-align:center; font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }

/* laptop: a browser bar under the notch, so the notch sits on chrome, not on the site */
.mbp__screen{ display:flex; flex-direction:column; }
.mbp__bar{
  flex:none; height:5.2%; min-height:14px; display:flex; align-items:center; gap:3%;
  padding:0 2.2%; background:#1a1a1d; border-bottom:1px solid #2a2a2e;
}
.mbp__dots{ display:flex; gap:5px; }
.mbp__dots i{ width:clamp(4px, .6vw, 8px); aspect-ratio:1; border-radius:50%; background:#3a3a40; }
.mbp__url{
  margin-left:auto; margin-right:auto; translate:-12% 0; max-width:60%;
  font-family:var(--mono); font-size:clamp(.42rem, .75vw, .62rem); letter-spacing:.06em; color:#9a9aa2;
  background:#26262b; border-radius:6px; padding:.25em 1.2em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mbp__vp{ position:relative; flex:1; overflow:hidden; background:#000; }
.mbp__vp img{ position:absolute; left:0; top:0; width:100%; height:auto; will-change:transform; }
.mbp__notch{ z-index:3; }
@media (max-width:40rem){ .pinwrap{ min-height:0; padding-block:.5rem 2.5rem; } }

/* phones: a real status bar in the site's own colour, the island sits inside it */
.iph__screen{ position:relative; aspect-ratio:390 / 844; border-radius:12% / 5.6%; overflow:hidden; background:#000; display:flex; flex-direction:column; }
.iph__status{
  flex:none; height:5.6%; display:flex; align-items:center; justify-content:space-between; padding:0 7% 0 9%;
  background:var(--sb); color:var(--sbt); font-family:var(--sans); font-weight:600; font-size:clamp(.45rem, .8vw, .72rem);
  position:relative; z-index:2;
}
.iph__status .iph__island{ position:absolute; left:50%; top:22%; translate:-50% 0; width:30%; height:56%; background:#000; border-radius:999px; }
.iph__icons{ display:flex; gap:3px; align-items:center; }
.iph__icons i{ display:block; width:4px; height:4px; border-radius:1px; background:currentColor; opacity:.9; }
.iph__icons i:nth-child(3){ width:12px; height:6px; border-radius:2px; }
.iph__screen .iph__view{ flex:1; aspect-ratio:auto; border-radius:0; }
@media (max-width:40rem){
  .phones{ display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:62%; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:1rem; gap:1rem; scrollbar-width:none; }
  .phones::-webkit-scrollbar{ display:none; }
  .phones .iph{ scroll-snap-align:start; margin-top:0 !important; }
  .phones .iph:nth-child(3){ display:block; }
}

/* hero: the scroll cue only makes sense where the hero fits the screen */
@media (max-width:40rem){ .hero__cue .cue{ display:none; } .hero__cue{ justify-content:flex-start; } }

/* whiteboard: a hand-made play button instead of the browser's controls */
.frame__box{ position:relative; }
.frame__play{
  position:absolute; inset:0; display:grid; place-items:center; align-content:center; gap:.4rem;
  background:transparent; border:0; cursor:pointer; padding:0; z-index:2;
}
.frame__play span{ width:clamp(3.2rem, 7vw, 4.6rem); aspect-ratio:1; border-radius:50%; background:var(--spot); position:relative; box-shadow:0 10px 30px -10px rgba(0,0,0,.6); transition:scale .3s var(--ease); }
.frame__play span::after{ content:""; position:absolute; left:40%; top:30%; border-left:clamp(14px, 2.2vw, 20px) solid #fff; border-top:clamp(9px, 1.4vw, 13px) solid transparent; border-bottom:clamp(9px, 1.4vw, 13px) solid transparent; }
.frame__play em{ font-family:var(--hand); font-style:normal; font-size:1.35rem; color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.7); rotate:-4deg; }
.frame__play:hover span{ scale:1.08; }
.frame__box.playing .frame__play{ display:none; }
@media (max-width:52rem){
  .board__rough{ display:block !important; }
  .board__bar [data-tool="move"], .board__meta span:first-child{ display:none; }
}

/* testimonials: the client's work pinned beside the quote, whiteboard-style */
.words__bg{ display:none; }
.words__grid{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:2rem clamp(2rem, 6vw, 5rem); align-items:center; }
@media (max-width:52rem){ .words__grid{ grid-template-columns:1fr; } }
.words__in{ display:grid; gap:2rem; }
.words__pin{
  position:relative; margin:0; justify-self:center; width:min(100%, 26rem);
  background:#fff; padding:.8rem .8rem 3rem; rotate:-2.5deg;
  box-shadow:0 22px 40px -22px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.05);
}
.words__pic{ aspect-ratio:16 / 10; overflow:hidden; background:#EDEBE6; }
.words__pic img{ width:100%; height:100%; object-fit:cover; display:block; }
.words__pin figcaption{ position:absolute; left:1rem; right:1rem; bottom:.75rem; font-family:var(--hand); font-size:1.35rem; color:#1b1b1d; }
.words__pin .tape{ left:38%; top:-12px; rotate:-4deg; }
.words__pin.is-note{ background:#F4E4A1; padding:1.4rem 1.4rem 1.6rem; rotate:2deg; }
.words__pin.is-note .words__pic{ display:none; }
.words__pin.is-note figcaption{ position:static; font-size:clamp(1.6rem, 3vw, 2.3rem); line-height:1.1; }

/* contact: fields that read as fields, rules that line up across both columns */
.fld, .chan{ min-height:3.7rem; }
.fld:has(textarea){ align-items:start; }
.fld:has(textarea) label{ padding-top:1.15em; }
.fld textarea{ resize:none; }
.fld:has(select){ position:relative; }
.fld:has(select)::after{
  content:""; position:absolute; right:.2rem; top:50%; width:8px; height:8px; margin-top:-6px;
  border-right:1.5px solid var(--mute); border-bottom:1.5px solid var(--mute); rotate:45deg; pointer-events:none;
}
.fld input::placeholder, .fld textarea::placeholder{ color:var(--mute); opacity:.8; }

/* cursor stays hidden until the pointer actually moves */
.cur{ opacity:0; }

/* ═══════════ case studies — 23 Sep ═══════════ */

/* status chip beside the project number */
.st-chip{
  display:inline-flex; align-items:center; gap:.5em; margin-left:.8em;
  font-family:var(--mono); font-size:.58rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  padding:.35em .8em; border-radius:999px; border:1px solid var(--rule2); color:var(--ink); vertical-align:middle;
}
.st-chip::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--ink); }
.st-chip--in-progress{ border-color:var(--spot); color:var(--spot); }
.st-chip--in-progress::before{ background:var(--spot); animation:stPulse 1.6s ease-in-out infinite; }
.st-chip--concept{ border-style:dashed; color:var(--mute); }
.st-chip--concept::before{ background:transparent; box-shadow:inset 0 0 0 1.5px var(--mute); }
@keyframes stPulse{ 50%{ opacity:.3; } }
@media (prefers-reduced-motion: reduce){ .st-chip--in-progress::before{ animation:none; } }

/* the standout */
.cs-hl{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:1.4rem clamp(2rem, 6vw, 5rem); align-items:end; border-top:1px solid var(--ink); padding-top:clamp(1.6rem, 3vw, 2.4rem); }
@media (max-width:52rem){ .cs-hl{ grid-template-columns:1fr; } }
.cs-hl h2{ margin:0; font-family:var(--display); font-weight:700; letter-spacing:-.045em; line-height:1.02; font-size:clamp(1.9rem, 4.6vw, 3.6rem); text-wrap:balance; }
.cs-hl h2 i{ font-style:normal; font-family:var(--hand); color:var(--spot); letter-spacing:0; font-weight:700; }
.cs-hl p{ margin:0; font-size:clamp(1.02rem, 1.5vw, 1.22rem); line-height:1.5; max-width:46ch; }

/* how it works: a marker sketch on a dotted board */
.flowsk{
  position:relative; margin-top:clamp(1.6rem, 3vw, 2.4rem);
  background-color:var(--boardPaper, #FBFAF7);
  background-image:radial-gradient(var(--boardDot, rgba(10,10,11,.12)) 1.1px, transparent 1.2px); background-size:24px 24px;
  border:1px solid var(--rule); border-radius:clamp(14px, 2vw, 22px);
  padding:clamp(2rem, 4.5vw, 3.6rem) clamp(1.4rem, 4vw, 3.4rem);
}
:root[data-theme="dark"] .flowsk{ --boardPaper:#141416; --boardDot:rgba(242,241,238,.12); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .flowsk{ --boardPaper:#141416; --boardDot:rgba(242,241,238,.12); } }
.flowsk__steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(11rem, 1fr)); gap:clamp(2.2rem, 4vw, 3rem) clamp(2.4rem, 4.4vw, 3.6rem); position:relative; z-index:1; }
@media (max-width:40rem){ .flowsk__steps{ grid-template-columns:1fr; gap:2.6rem; } }
.flowsk__step{ position:relative; padding:1rem 1.1rem 1.05rem; background:var(--boardPaper, #FBFAF7); }
.flowsk__step small{ display:block; font-family:var(--mono); font-size:.56rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); margin-bottom:.35rem; }
.flowsk__step span{ font-family:var(--hand); font-size:clamp(1.15rem, 1.7vw, 1.4rem); line-height:1.15; color:var(--ink); display:block; }
.flowsk__step[data-hot] small{ color:var(--spot); }
.flowsk__ink{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:2; overflow:visible; }
.flowsk__note{ margin:1.4rem 0 0; font-family:var(--hand); font-size:1.25rem; color:var(--mute); rotate:-1deg; position:relative; z-index:1; }

/* what customers see / what runs behind it */
.cs-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:2.4rem clamp(2rem, 6vw, 5rem); }
@media (max-width:52rem){ .cs-split{ grid-template-columns:1fr; } }
.cs-col > .key{ margin-bottom:1rem; }
.cs-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--ink); }
.cs-list li{ padding:1rem 0 1.05rem; border-bottom:1px solid var(--rule); }
.cs-list h3{ margin:0 0 .3rem; font-family:var(--display); font-weight:700; font-size:1.08rem; letter-spacing:-.03em; line-height:1.2; }
.cs-list p{ margin:0; color:var(--mute); font-size:.95rem; }

/* software: each feature with its real screen */
.ft{ display:grid; gap:clamp(3.5rem, 8vw, 6.5rem); margin-top:clamp(2rem, 4vw, 3rem); }
.ft__row{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr); gap:1.6rem clamp(2rem, 5vw, 4.5rem); align-items:center; }
.ft__row:nth-child(even){ grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr); }
.ft__row:nth-child(even) .ft__text{ order:2; }
@media (max-width:52rem){ .ft__row, .ft__row:nth-child(even){ grid-template-columns:1fr; } .ft__row:nth-child(even) .ft__text{ order:0; } }
.ft__text .key{ margin-bottom:.9rem; }
.ft__text h3{ margin:0 0 .7rem; font-family:var(--display); font-weight:700; letter-spacing:-.04em; line-height:1.06; font-size:clamp(1.45rem, 2.8vw, 2.2rem); text-wrap:balance; }
.ft__text p{ margin:0; font-size:1.02rem; line-height:1.55; max-width:40ch; }
.ft__text p + p{ margin-top:.7rem; color:var(--mute); font-size:.95rem; }
.app{ border:1px solid var(--rule2); border-radius:12px; overflow:hidden; background:var(--panel); box-shadow:0 40px 80px -45px rgba(0,0,0,.45); }
.app__bar{ display:flex; align-items:center; gap:6px; height:30px; padding:0 12px; border-bottom:1px solid var(--rule); background:var(--panel2); }
.app__bar i{ width:9px; height:9px; border-radius:50%; background:var(--rule2); }
.app__bar span{ margin-left:10px; font-family:var(--mono); font-size:.58rem; letter-spacing:.08em; color:var(--mute); }
.app__view{ max-height:clamp(20rem, 42vw, 34rem); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; background:#fff; }
.app__view::-webkit-scrollbar{ display:none; }
.app__view img{ display:block; width:100%; height:auto; }
.ft__phone{ display:flex; justify-content:center; }
.ft__phone .iph{ width:min(100%, 17rem); }

/* snake layout: 3 across, the second row runs back right-to-left, like a whiteboard */
.flowsk__steps{ grid-template-columns:repeat(3, minmax(0,1fr)); column-gap:clamp(2.2rem, 4vw, 3.4rem); }
@media (min-width:40.01rem){ .flowsk__step{ grid-column:var(--c); grid-row:var(--r); } }
@media (max-width:40rem){ .flowsk__steps{ grid-template-columns:1fr; } }
.cs-how{ margin-top:clamp(2.8rem, 6vw, 4.5rem); }
.pj-note{ margin:1.2rem 0 0; font-family:var(--hand); font-size:clamp(1.25rem, 1.9vw, 1.5rem); line-height:1.2; color:var(--spot); max-width:52ch; }

/* app windows show the whole screen — sized from the image's own ratio, never cropped */
.app{ --mh:min(40rem, 74vh); width:min(100%, calc(var(--mh) * var(--ar, 1.6))); margin-inline:auto; }
.app--hero{ --mh:min(50rem, 78vh); }
.app--tall{ --mh:min(44rem, 80vh); }
.app--narrow{ --mh:min(24rem, 56vh); }
.app__view{ max-height:none; overflow:visible; }
.app__view img{ width:100%; height:auto; }
.pj-hero--app{ aspect-ratio:auto; padding:clamp(.9rem, 4vw, 3.6rem); background:
  radial-gradient(120% 90% at 50% 0%, var(--panel) 0%, var(--panel2) 100%); }
.pj-hero--app img{ height:auto; object-fit:initial; }
.pj-hero--app .app{ box-shadow:0 50px 90px -50px rgba(0,0,0,.55), 0 0 0 1px var(--rule); border:0; }
.ft__media{ min-width:0; }

/* rendered films: phone, laptop, phone */
.films{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2.5fr) minmax(0,1fr); gap:clamp(.8rem, 2vw, 1.6rem); align-items:center; }
.film{ margin:0; }
.film video{ display:block; width:100%; height:auto; border-radius:clamp(10px, 1.4vw, 16px); background:#2b3434; object-fit:cover; }
.film--phone video{ aspect-ratio:9 / 16; }
.film--mac video{ aspect-ratio:16 / 9; }
.film figcaption{ margin-top:.75rem; text-align:center; font-family:var(--mono); font-size:.56rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); }
@media (max-width:52rem){ .films{ grid-template-columns:1fr 1fr; } .film--mac{ grid-column:1 / -1; order:-1; } }

/* the current project, flagged on its tile */
.tile__img{ position:relative; }
.tile__chip{ position:absolute; left:clamp(10px, 1.4vw, 16px); top:clamp(10px, 1.4vw, 16px); z-index:2;
  display:inline-flex; align-items:center; gap:.5em; padding:.45em .85em; border-radius:999px;
  background:var(--spot); color:#fff; font-family:var(--mono); font-size:.56rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; }
.tile__chip::before{ content:""; width:6px; height:6px; border-radius:50%; background:#fff; animation:stPulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .tile__chip::before{ animation:none; } }

/* ═══════════ Tristan — the front desk ═══════════
   Small by default: a pill bottom-right that shrinks to a circle once you
   scroll, steps aside while the footer is on screen, and sits under the menu. */
.tr{ --trR:clamp(12px, 1.6vw, 20px); position:fixed; right:var(--trR); bottom:var(--trR); z-index:100; font-family:var(--sans); color:var(--ink); }
.tr button{ font:inherit; color:inherit; }
.tr__btn{
  display:flex; align-items:center; gap:.6rem; height:50px; padding:0 1.15rem 0 6px; border:0; border-radius:999px; cursor:pointer;
  background:var(--ink); color:var(--paper); box-shadow:0 18px 40px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  transition:opacity .35s var(--ease), translate .45s var(--ease), padding .35s var(--ease), background .2s;
}
.tr__btn .tr__av{ background:var(--paper); color:var(--ink); }
.tr__lbl{ font-weight:600; font-size:.9rem; letter-spacing:-.01em; white-space:nowrap; max-width:9rem; overflow:hidden; transition:max-width .35s var(--ease), opacity .25s; }
.tr__av{ position:relative; flex:none; display:grid; place-items:center; width:38px; height:38px; border-radius:50%;
  background:var(--ink); color:var(--paper); font-family:var(--display); font-weight:800; font-size:1.02rem; letter-spacing:-.04em; }
.tr__av i{ position:absolute; right:0; bottom:1px; width:9px; height:9px; border-radius:50%; background:var(--spot); box-shadow:0 0 0 2px var(--ink); }
.tr__btn .tr__av i{ box-shadow:0 0 0 2px var(--ink); }
.tr--min .tr__btn, .tr--open .tr__btn{ padding-right:6px; }
.tr--min .tr__lbl, .tr--open .tr__lbl{ max-width:0; opacity:0; }
.tr--min .tr__btn:hover .tr__lbl, .tr--min .tr__btn:focus-visible .tr__lbl{ max-width:9rem; opacity:1; }
.tr--min .tr__btn:hover, .tr--min .tr__btn:focus-visible{ padding-right:1.15rem; }
.tr--pre .tr__btn, .tr--away:not(.tr--open) .tr__btn{ opacity:0; translate:0 18px; pointer-events:none; }
body.menu-open .tr{ display:none; }

.tr__panel{
  position:absolute; right:0; bottom:62px; width:min(390px, calc(100vw - 2 * var(--trR))); height:min(600px, calc(100dvh - 110px));
  display:flex; flex-direction:column; overflow:hidden; background:var(--paper); border:1px solid var(--rule2); border-radius:20px;
  box-shadow:0 40px 90px -40px rgba(0,0,0,.55), 0 10px 30px -18px rgba(0,0,0,.3);
  opacity:0; translate:0 14px; transform-origin:100% 100%; transition:opacity .22s ease, translate .32s var(--ease);
}
.tr--open .tr__panel{ opacity:1; translate:0 0; }
.tr__head{ display:flex; align-items:center; gap:.7rem; padding:.85rem .8rem .8rem .95rem; border-bottom:1px solid var(--rule); }
.tr__head .tr__av i{ box-shadow:0 0 0 2px var(--paper); }
.tr__who{ flex:1; min-width:0; display:grid; gap:.1rem; }
.tr__who b{ font-family:var(--display); font-weight:700; font-size:1.05rem; letter-spacing:-.03em; }
.tr__who span{ font-family:var(--mono); font-size:.55rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }
.tr__ic{ display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:50%; background:transparent; cursor:pointer; color:var(--mute); }
.tr__ic:hover{ background:var(--panel); color:var(--ink); }

.tr__log{ flex:1; overflow-y:auto; overscroll-behavior:contain; padding:1rem .95rem; display:flex; flex-direction:column; gap:.55rem; scrollbar-width:thin; }
.tr__m{ max-width:86%; padding:.62rem .85rem; border-radius:15px; font-size:.92rem; line-height:1.45; overflow-wrap:anywhere; }
.tr__m--bot{ background:var(--panel); border-bottom-left-radius:5px; align-self:flex-start; }
.tr__m--me{ background:var(--ink); color:var(--paper); border-bottom-right-radius:5px; align-self:flex-end; }
.tr__m--err{ background:transparent; border:1px dashed var(--rule2); color:var(--mute); }
.tr__m a{ color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px; }
.tr__chips{ display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.15rem; }
.tr__chip{ padding:.45rem .8rem; border:1px solid var(--rule2); border-radius:999px; background:transparent; font-size:.8rem; cursor:pointer; transition:background .15s, color .15s, border-color .15s; }
.tr__chip:hover, .tr__chip:focus-visible{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.tr__typing{ align-self:flex-start; display:flex; gap:4px; padding:.75rem .85rem; border-radius:15px; border-bottom-left-radius:5px; background:var(--panel); }
.tr__typing i{ width:6px; height:6px; border-radius:50%; background:var(--mute); animation:trDot 1s ease-in-out infinite; }
.tr__typing i:nth-child(2){ animation-delay:.15s; } .tr__typing i:nth-child(3){ animation-delay:.3s; }
@keyframes trDot{ 0%, 60%, 100%{ opacity:.25; translate:0 0; } 30%{ opacity:1; translate:0 -3px; } }

.tr__brief{ margin-top:.3rem; padding:.9rem .95rem 1rem; border:1px solid var(--ink); border-radius:15px; background:var(--paper); }
.tr__bk{ margin:0 0 .6rem; font-family:var(--hand); font-size:1.35rem; line-height:1; color:var(--spot); }
.tr__brief dl{ margin:0 0 .85rem; display:grid; grid-template-columns:auto 1fr; gap:.35rem .8rem; font-size:.84rem; }
.tr__brief dt{ font-family:var(--mono); font-size:.55rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); padding-top:.3em; }
.tr__brief dd{ margin:0; overflow-wrap:anywhere; }
.tr__wa{ display:flex; align-items:center; justify-content:center; gap:.5rem; padding:.7rem .9rem; border-radius:999px; background:var(--ink); color:var(--paper); text-decoration:none; font-weight:600; font-size:.86rem; }
.tr__wa:hover{ background:var(--spot); color:#fff; }
.tr__brief small{ display:block; margin-top:.55rem; text-align:center; font-size:.72rem; color:var(--mute); }

.tr__form{ display:flex; align-items:flex-end; gap:.5rem; padding:.65rem .7rem .55rem; border-top:1px solid var(--rule); }
.tr__form textarea{ flex:1; min-height:42px; max-height:120px; resize:none; padding:.62rem .85rem; border:1px solid var(--rule); border-radius:14px;
  background:var(--panel); color:var(--ink); font:inherit; font-size:16px; line-height:1.35; }
.tr__form textarea:focus{ outline:none; border-color:var(--ink); }
.tr__send{ flex:none; display:grid; place-items:center; width:42px; height:42px; border:0; border-radius:50%; background:var(--ink); color:var(--paper) !important; cursor:pointer; }
.tr__send:hover{ background:var(--spot); }
.tr__foot{ margin:0; padding:0 1rem .7rem; text-align:center; font-family:var(--mono); font-size:.52rem; letter-spacing:.12em; text-transform:uppercase; color:var(--mute); }

.tr__nudge{ position:absolute; right:0; bottom:64px; width:15.5rem; display:flex; gap:.3rem; align-items:flex-start;
  padding:.7rem .5rem .75rem .95rem; background:var(--paper); border:1px solid var(--rule2); border-radius:16px 16px 5px 16px;
  box-shadow:0 20px 40px -24px rgba(0,0,0,.45); animation:trIn .45s var(--ease); }
.tr__nudge p{ margin:0; flex:1; cursor:pointer; font-family:var(--hand); font-size:1.28rem; line-height:1.1; }
.tr__nx{ flex:none; display:grid; place-items:center; width:26px; height:26px; border:0; border-radius:50%; background:transparent; color:var(--mute); cursor:pointer; }
@keyframes trIn{ from{ opacity:0; translate:0 10px; } }

@media (max-width:40rem){
  .tr__lbl{ display:none; }
  .tr__btn{ padding:0 6px; height:50px; }
  .tr--open .tr__btn{ opacity:0; pointer-events:none; }
  .tr__panel{ position:fixed; left:8px; right:8px; bottom:8px; width:auto; height:min(640px, 84dvh); border-radius:20px; }
}
@media (prefers-reduced-motion: reduce){
  .tr__btn, .tr__panel, .tr__lbl{ transition:none; }
  .tr__typing i, .tr__nudge{ animation:none; }
}

/* an app shown in its own dark mode keeps a dark window around it */
.app--dark{ border-color:#2a2a2d; background:#0a0a0a; }
.app--dark .app__bar{ background:#1b1b1d; border-bottom-color:#2a2a2d; }
.app--dark .app__bar i{ background:#3a3a3e; }
.app--dark .app__bar span{ color:#8d8b84; }
.app--dark .app__view{ background:#0a0a0a; }

/* body must clip, not hide: with html{overflow-x:clip}, body{overflow-x:hidden}
   turns the body into its own scroll box and every position:sticky stops
   sticking (the Process stack, the Services index, the scope readout) */
body{ overflow-x:clip; }
.tr__foot{ font-family:var(--sans); text-transform:none; letter-spacing:0; font-size:.68rem; line-height:1.4; padding:0 1rem .7rem; }
.tr__foot a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
.privacy{ max-width:46rem; }
.privacy h2{ margin:0 0 1rem; font-family:var(--display); font-weight:700; letter-spacing:-.035em; font-size:clamp(1.5rem, 2.6vw, 2rem); }
.privacy dl{ margin:0; display:grid; grid-template-columns:minmax(0,11rem) minmax(0,1fr); gap:.9rem 2rem; border-top:1px solid var(--ink); padding-top:1.2rem; }
@media (max-width:40rem){ .privacy dl{ grid-template-columns:1fr; gap:.25rem; } .privacy dd{ margin-bottom:.9rem; } }
.privacy dt{ font-family:var(--mono); font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); padding-top:.2em; }
.privacy dd{ margin:0; color:var(--ink); line-height:1.55; }

/* phones on small screens: a real swipe row — edge to edge, snapping, the next phone
   peeking in from the screen edge, shadows and side buttons not clipped by the row */
.dh-mob{ display:none; }
@media (max-width:40rem){
  .phones{ margin-inline:calc(-1 * var(--gut)); padding:.5rem var(--gut) 2.8rem; scroll-padding-inline:var(--gut); grid-auto-columns:72%; gap:1.1rem; }
  .phones .iph{ padding-inline:5px; scroll-snap-align:center; }
  .phones .iph:first-child{ scroll-snap-align:start; }
  .phones .iph:last-child{ scroll-snap-align:end; }
  .phones .iph__frame, .ft__phone .iph__frame{ box-shadow:0 0 0 1.5px #c3c3c9, 0 0 0 3px #86868c, 0 22px 36px -22px rgba(0,0,0,.45); }
  .ft__phone .iph{ width:min(78%, 17rem); }
  .dh-desk{ display:none; }
  .dh-mob{ display:inline; color:var(--spot); }
}

/* ═══════════ search: keyword headings, guides, FAQ ═══════════ */
/* the H1 carries the keywords in the small mono line; the big line keeps the look */
h1.key{ line-height:1.5; max-width:none; text-wrap:pretty; }
.h1{
  font-family:var(--display); font-weight:700;
  font-size:clamp(2.2rem, 5.4vw, 5rem);
  line-height:1.02; letter-spacing:-.045em; margin:0; max-width:17ch;
  font-variant-numeric:lining-nums; text-wrap:balance;
}
.h1 .thin{ color:var(--mute); }
.sw-hero .h1{ max-width:19ch; }
.hero__row a, .phead .lede a, .gd-prose a, .faq__a a, .gd-answer a, .gd-by a{ color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em; }
.hero__row a:hover, .phead .lede a:hover, .gd-prose a:hover, .faq__a a:hover{ color:var(--spot); }
.more-row{ display:flex; flex-wrap:wrap; gap:.6rem 2.2rem; margin:0; }
.sk__more{ display:inline-block; margin-top:.8rem; font-family:var(--mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); text-decoration:none; border-bottom:1px solid var(--rule2); }
.sk__more:hover{ border-color:var(--ink); }
.rel-svc{ display:flex; flex-wrap:wrap; align-items:baseline; gap:.4rem 1.2rem; margin:0; padding:1.4rem 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.rel-svc span{ font-family:var(--mono); font-size:.6rem; letter-spacing:.18em; text-transform:uppercase; color:var(--mute); }
.rel-svc a{ font-family:var(--display); font-weight:700; font-size:clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing:-.03em; color:var(--ink); text-decoration:none; }
.rel-svc a:hover{ color:var(--spot); }

/* guide pages */
.crumbs{ display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 2.2rem; font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }
.crumbs a{ color:var(--mute); text-decoration:none; }
.crumbs a:hover{ color:var(--ink); }
.crumbs [aria-current]{ color:var(--ink); }
.gd-h1{ font-size:clamp(2.1rem, 4.8vw, 4.4rem); max-width:20ch; }
.gd-lede{ max-width:52ch; }
.gd-acts{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; }
.gd-by{ margin:1.6rem 0 0; font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }
.gd-answer{
  max-width:46rem; background:var(--panel); border:1px solid var(--rule2); border-radius:18px;
  padding:clamp(1.3rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.2rem);
}
.gd-answer .key{ margin-bottom:1rem; color:var(--spot); }
.gd-answer .key::before{ background:var(--spot); }
.gd-answer ul{ margin:0; padding-left:1.1rem; display:grid; gap:.55rem; }
.gd-answer p{ margin:1rem 0 0; color:var(--mute); }
.gd-sec{ padding-block:clamp(2.6rem, 6vw, 4.6rem) 0; }
.gd-sec + .gd-sec{ border-top:0; }
.gd-h2{ font-family:var(--display); font-weight:700; font-size:clamp(1.55rem, 3.2vw, 2.5rem); line-height:1.08; letter-spacing:-.04em; margin:0 0 1.2rem; max-width:24ch; }
.gd-sec--tiles .gd-h2{ margin-bottom:2rem; }
.gd-prose{ max-width:44rem; font-size:1.05rem; line-height:1.65; }
.gd-prose p{ margin:0 0 1rem; }
.gd-prose ul, .gd-prose ol{ margin:0 0 1rem; padding-left:1.2rem; display:grid; gap:.6rem; }
.gd-prose li::marker{ color:var(--spot); }
.gd-prose b{ font-weight:600; }
.gd-table{ overflow-x:auto; margin:0 0 1rem; border:1px solid var(--rule2); border-radius:14px; }
.gd-table:focus-visible{ outline:2px solid var(--spot); outline-offset:3px; }
.gd-table table{ width:100%; min-width:34rem; border-collapse:collapse; font-size:.95rem; line-height:1.45; }
.gd-table th{ text-align:left; font-family:var(--mono); font-size:.58rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--mute); padding:.9rem 1rem; background:var(--panel); }
.gd-table td{ padding:.9rem 1rem; border-top:1px solid var(--rule); vertical-align:top; }
.gd-table td:first-child{ font-weight:600; white-space:nowrap; }

/* FAQ (home and guides) */
.faq__list{ border-top:1px solid var(--rule2); max-width:56rem; }
.faq__i{ border-bottom:1px solid var(--rule); }
.faq__i summary{
  list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1.2rem;
  padding:1.2rem 0; font-family:var(--display); font-weight:700; font-size:clamp(1.05rem, 2vw, 1.3rem); letter-spacing:-.03em;
}
.faq__i summary::-webkit-details-marker{ display:none; }
.faq__i summary::after{ content:"+"; flex:none; font-family:var(--mono); font-weight:400; font-size:1.3rem; line-height:1; transition:rotate .3s var(--ease); }
.faq__i[open] summary::after{ rotate:45deg; }
.faq__i summary:focus-visible{ outline:2px solid var(--spot); outline-offset:4px; border-radius:4px; }
.faq__a p{ margin:0 0 1.4rem; color:var(--mute); max-width:64ch; line-height:1.6; }
.faq .lede a{ color:inherit; }
.hero__row a{ text-decoration-color:var(--rule2); }
.hero__row a:hover{ text-decoration-color:currentColor; }
@media (max-width:40rem){
  .gd-table{ overflow:visible; border:0; border-radius:0; }
  .gd-table table{ min-width:0; }
  .gd-table thead{ display:none; }
  .gd-table tr{ display:grid; gap:.35rem; padding:1rem 1.1rem; border:1px solid var(--rule2); border-radius:14px; margin-bottom:.7rem; }
  .gd-table td{ display:block; padding:0; border:0; white-space:normal; }
  .gd-table td:first-child{ font-family:var(--display); font-weight:700; font-size:1.1rem; letter-spacing:-.02em; white-space:normal; }
  .gd-table td:nth-child(3){ font-family:var(--mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color:var(--mute); }
  .gd-table td:nth-child(3)::before{ content:"Example · "; }
}
