/* designer.gr
   White page, ink, greys, one orange in small doses. Commissioner. Glass for the header, labels and cards.
   Home: the 3D stack (transparent canvas on the white page) read in six pulses, one layer per screen. */
:root {
  --bg: #ffffff; --paper: #f5f6f8; --ink: #0f1222; --ink-2: #4a5068; --ink-3: #868ca3; --line: rgba(15, 18, 34, .09);
  --accent: #ff5a1f; --accent-soft: rgba(255, 90, 31, .12); --accent-ink: #ffffff;
  --glass: rgba(255, 255, 255, .62); --glass-edge: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(30, 40, 90, .05), 0 18px 50px -18px rgba(30, 40, 90, .22);
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4.5vw, 72px); --head: 72px; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; gap: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 90; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }
.glass { background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--shadow); }

/* header */
.top { position: fixed; z-index: 40; top: 10px; left: 50%; transform: translateX(-50%); width: min(1280px, calc(100% - 20px)); height: 58px; display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 12px; padding: 0 10px 0 22px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), var(--shadow); }
.logo { font-weight: 800; font-size: 25px; letter-spacing: -.045em; text-decoration: none; color: var(--ink); line-height: 1; }
.logo span { color: var(--accent); }
.nav { display: flex; justify-content: center; gap: 2px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .8); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.lang span { padding: 3px 9px; border-radius: 999px; }
.lang .on { background: var(--ink); color: #fff; }
.pill, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; text-decoration: none; font-weight: 700; cursor: pointer; border: 0; transition: transform .2s var(--ease); }
.pill { padding: 10px 18px; font-size: 14.5px; background: var(--ink); color: #fff; white-space: nowrap; gap: 0; }
.pill:hover, .btn:hover { transform: translateY(-1px); }
.btn { min-height: 52px; padding: 0 26px; font-size: 16px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(255, 90, 31, .7); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* stage + track */
.layers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.track { grid-column: 1; grid-row: 1; padding: 0 clamp(20px, 3vw, 48px) 0 var(--gut); }
/* one continuous field behind the text and the 3D (a sticky full-width layer), not two surfaces */
.layers::before { content: ""; grid-column: 1 / -1; grid-row: 1; position: sticky; top: 0; height: 100svh; pointer-events: none;
  background: radial-gradient(42% 50% at 80% 30%, rgba(255, 90, 31, .10), transparent 70%), radial-gradient(36% 50% at 56% 82%, rgba(134, 140, 163, .16), transparent 70%), var(--bg); }
.track { position: relative; z-index: 1; }
.stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100svh; margin: 0; overflow: hidden; z-index: 1; background: transparent; }
.poster { position: absolute; inset: 70px 0 80px; display: grid; place-items: center; transition: opacity 220ms linear; }
.poster img { width: min(92%, 760px); height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.gl { position: absolute; inset: 0; opacity: 0; transition: opacity 320ms linear; }
.gl canvas { display: block; width: 100%; height: 100%; }
.stage.ready .gl { opacity: 1; }
.stage.ready .poster { opacity: 0; }
.tags { position: absolute; inset: 0; pointer-events: none; display: none; }
.stage.ready .tags { display: block; }
.tags li { position: absolute; left: 0; top: 0; transform: translate(var(--x, -999px), var(--y, -999px)); padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); transition: background .3s, color .3s; }
.tags li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 1.5px; background: rgba(15, 18, 34, .35); }
.tags li.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tags li.on::before { background: var(--accent); }
.hud { position: absolute; left: 28px; right: var(--gut); bottom: 26px; display: grid; gap: 10px; max-width: 520px; }
.hud-ticks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.hud-ticks li { height: 4px; border-radius: 2px; background: rgba(15, 18, 34, .1); transition: background-color .3s var(--ease); }
.hud-ticks li.done { background: var(--ink); }
.hud-ticks li.on { background: var(--accent); }
.hud-now { font-weight: 700; font-size: 17px; display: flex; gap: 10px; align-items: baseline; }
.hud-n { color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 600; }

/* hero + layers */
.hero { min-height: 100svh; display: grid; align-content: center; gap: 18px; padding: 110px 0 60px; }
.lede2 { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink); font-weight: 600; max-width: 40ch; margin-top: -8px; }
h1 { font-weight: 800; font-size: clamp(38px, 4.2vw, 62px); line-height: .98; letter-spacing: -.045em; }
h1 span { display: block; }
.h1b { color: var(--ink-2); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.legend { display: grid; gap: 2px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 420px; }
.legend a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.legend a:hover { background: var(--paper); }
.ic { width: 22px; height: 24px; fill: #fff; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; }
.legend a:hover .ic { stroke: var(--accent); }
.layer { min-height: 100svh; display: grid; align-content: center; gap: 16px; padding: 90px 0 60px; opacity: .38; transition: opacity .5s var(--ease); }
.layer.on, html:not(.live) .layer { opacity: 1; }
.layer-no { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.layer-no span { color: var(--ink-3); font-weight: 600; }
.layer h3, .outro h3 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.04em; max-width: 15ch; }
.layer-text { font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.ticks { display: grid; gap: 10px; font-size: 16.5px; color: var(--ink-2); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: .62em; width: 6px; height: 3.5px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.layer-cta { justify-self: start; font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; }
.layer-cta:hover { background: #262b45; }
.outro { min-height: 100svh; display: grid; align-content: center; gap: 18px; padding: 90px 0 60px; }
.outro p { font-size: 18px; color: var(--ink-2); max-width: 42ch; }

/* sections after the stack */
.sec { max-width: 1280px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gut); display: grid; gap: 26px; }
.sec-head { display: grid; gap: 10px; }
.sec h2, .ct-copy h2 { font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.04em; }
.sec-head p, .ct-copy p { color: var(--ink-2); max-width: 62ch; font-size: 17px; }
.clients { background: var(--paper); max-width: none; }
.clients > * { width: min(100%, 1180px); margin: 0 auto; }
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); }
.ct-copy { display: grid; gap: 14px; align-content: start; }
.direct { display: grid; gap: 4px; font-weight: 700; font-size: 18px; }
.direct a { text-decoration: none; } .direct a:hover { color: var(--accent); }
.foot { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 40px 20px 56px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
.foot .logo { font-size: 20px; margin-right: 6px; }

/* clients */
.clients, .work { display: grid; gap: 24px; }
.cl-head { display: grid; gap: 10px; }
.cl-head p { color: var(--ink-2); max-width: 62ch; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.brand { width: 100%; height: 100%; display: grid; gap: 6px; justify-items: start; align-content: start; text-align: left; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .72); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.brand:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.brand[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.no-work .brand { cursor: default; }
.no-work .brand:hover { transform: none; box-shadow: none; }
.b-logo { height: 44px; display: flex; align-items: center; margin-bottom: 6px; }
.b-logo img { height: 36px; max-width: 130px; width: auto; object-fit: contain; object-position: left center; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.b-name { font-weight: 700; font-size: 15px; }
.b-what { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.b-work { display: grid; gap: 10px; margin-top: 10px; }
.b-work img { border-radius: 14px; }
.live .b-work { display: none; }
.slot { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; border: 1.5px dashed #c9ccd6; color: var(--ink-3); font-size: 14px; font-weight: 600; background: repeating-linear-gradient(135deg, rgba(15, 18, 34, .02) 0 10px, transparent 10px 20px); }
.viewer:empty { display: none; }
.viewer { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.v-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v-head b { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.v-head span { color: var(--ink-3); font-size: 14px; }
.v-x { border: 0; background: var(--paper); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.v-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.v-row figure { scroll-snap-align: start; }
.v-row img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; background: var(--paper); }
.v-row .slot { aspect-ratio: 16 / 10.5; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proj { display: grid; gap: 14px; align-content: start; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); }
.proj.big { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
.pj-vis { position: relative; aspect-ratio: 16 / 9.5; border-radius: 14px; background: var(--paper); overflow: hidden; }
.pj-note { position: absolute; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: var(--ink-3); background: rgba(255, 255, 255, .8); padding: 2px 8px; border-radius: 999px; }
.pj-txt { display: grid; gap: 6px; padding: 0 6px 6px; }
.pj-tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.proj h3 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.proj.big h3 { font-size: clamp(26px, 2.8vw, 36px); }
.pj-desc { color: var(--ink-2); }
.pj-dom { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.pj-mock { position: absolute; inset: 0; }
.m-recrm { display: grid; grid-template-columns: 54px 1fr; background: #fff; }
.mr-side { background: var(--ink); display: grid; align-content: start; gap: 12px; padding: 16px 13px; }
.mr-side i { height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .12); } .mr-side i.o { background: var(--accent); }
.mr-main { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 16px; }
.mr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mr-kpis b { height: 54px; border-radius: 12px; background: var(--paper); } .mr-kpis b.o { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.mr-map { position: relative; border-radius: 12px; background: linear-gradient(#eef0f5, #e6e9f0); overflow: hidden; }
.mr-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 100% 26px, linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 34px 100%; }
.mr-map i { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); }
.mr-map i.o { background: var(--accent); }
.m-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; background: #fff; }
.m-grid i { border-radius: 10px; background: linear-gradient(160deg, #eef0f5, #dfe2ea); }
.m-grid i.sea { grid-row: span 2; background: linear-gradient(180deg, #cfe0ef 0 45%, #9fbcd6 45% 62%, #e9dcc7 62%); }
.m-video { background: #0f1222; display: grid; place-items: center; }
.m-video .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); position: relative; }
.m-video .play::after { content: ""; position: absolute; left: 26px; top: 20px; border: 12px solid transparent; border-left: 18px solid #fff; }
.m-video .tl { position: absolute; left: 18px; right: 18px; bottom: 18px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.m-video .tl b { display: block; width: 38%; height: 100%; border-radius: 2px; background: var(--accent); }
.m-cms { background: #fff; display: grid; align-content: start; gap: 10px; padding: 14px 18px; }
.m-cms .cbar { display: flex; gap: 6px; padding: 0 0 6px; }
.m-cms .cbar i { width: 8px; height: 8px; border-radius: 50%; background: #d9dbe3; }
.m-cms b { height: 10px; border-radius: 5px; background: #e3e5ec; width: 72%; } .m-cms b.t { height: 18px; width: 50%; background: var(--ink); } .m-cms b.s { width: 44%; }
.m-cms .blk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.m-cms .blk i { height: 64px; border-radius: 10px; background: var(--paper); } .m-cms .blk i.o { background: var(--accent-soft); }

form#brief { display: grid; gap: 16px; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
fieldset { border: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { position: relative; }
.checks input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.checks span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; transition: background .2s, box-shadow .2s; }
.checks input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.checks input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input, .field textarea { border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; min-height: 48px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.send { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.send .btn { min-height: 50px; }
.status[data-state="ok"] { color: #12804f; font-weight: 600; }
.status[data-state="error"] { color: #c0392b; font-weight: 600; }


.brand { background: #fff; }
@media (max-width: 900px) {
  .nav { display: none; }
  .top { grid-template-columns: auto 1fr auto; height: 54px; top: 8px; width: calc(100% - 16px); padding: 0 8px 0 16px; }
  .lang { justify-self: end; }
  .pill { padding: 9px 14px; font-size: 13.5px; }
  /* Mobile: the hero text comes first, on its own. The 3D strip appears under it and stays at the top
     only while the six layers are read; plain scroll, no snapping. */
  .layers { display: flex; flex-direction: column; }
  .layers::before { display: none; }
  .track { display: contents; }
  .track > :not(.hero) { order: 2; }
  .hero { order: 0; min-height: auto; padding: 96px var(--gut) 32px; }
  .legend { display: none; }
  .stage { order: 1; position: sticky; top: 0; height: 48svh; z-index: 2; border-bottom: 1px solid var(--line); background: var(--bg); }
  .gl { inset: 56px 0 30px; } /* clear of the header bar and the HUD */
  .stage .gl canvas { pointer-events: none; }
  .stage.ready .tags { display: none; }
  .poster { inset: 56px 0 30px; }
  .poster img { width: auto; height: 100%; }
  .hud { left: var(--gut); bottom: 10px; gap: 6px; }
  .hud-now { font-size: 14px; }
  .layer { order: 2; min-height: auto; padding: 44px var(--gut); }
  .layer, .outro { scroll-margin-top: 48svh; } /* anchors land under the 3D strip, not behind it */
  .outro { order: 2; min-height: auto; padding: 48px var(--gut) 64px; }
  /* cheaper on phones: no live blur over the moving 3D */
  .top { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .contact, .two, .proj.big { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand { padding: 12px; }
  .b-logo { height: 34px; } .b-logo img { height: 28px; max-width: 110px; }
  .wordmark { font-size: 18px; }
  .v-row { grid-auto-columns: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* square client logos that come with their own background (Elias, Factory Outlet) */
.b-logo.sq { height: 60px; margin: -8px 0 -2px; }
.b-logo.sq img { height: 60px; width: 60px; object-fit: cover; border-radius: 10px; mix-blend-mode: multiply; }
/* our upcoming products: name only, no logo yet */
.pj-word { display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--paper)); }
.pj-word span { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.045em; color: var(--ink); }
.pj-word span::after { content: "."; color: var(--accent); }
.proj.small .pj-vis { aspect-ratio: 16 / 6; }

/* ---------- pulses: one layer per screen, snapping ---------- */
@media (min-width: 901px) {
  html.pulses { scroll-snap-type: y proximity; }
  html.pulses .hero, html.pulses .layer, html.pulses .outro { scroll-snap-align: start; }
}

/* ---------- "I'm interested in…" ---------- */
.want { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: 15.5px; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease); }
.want svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .3s var(--ease); }
.want:hover { transform: translateY(-1px); }
.want .w-on { display: none; }
.want[aria-pressed="true"] { background: var(--ink); color: #fff; }
.want[aria-pressed="true"] svg { transform: rotate(45deg); color: var(--accent); }
.want[aria-pressed="true"] .w-on { display: inline; }
.want[aria-pressed="true"] .w-off { display: none; }
.picked { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; gap: 0; }
.picked[hidden] { display: none; }
.picked-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; }
.picked.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }
.ctas .btn.ghost, .more-wrap .btn.ghost { display: inline-flex; }
.more-wrap { display: flex; justify-content: center; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic { stroke-width: 1; }

/* ---------- clients ---------- */
.b-logo.tall { height: 64px; margin: -10px 0 -6px; }
.b-logo.tall img { height: 64px; }
.b-logo.sq { height: 60px; margin: -8px 0 -2px; }
.b-logo.sq img { height: 60px; width: 60px; object-fit: cover; border-radius: 10px; mix-blend-mode: multiply; }
.brand.ghost { display: grid; place-items: center; min-height: 100%; border: 1.5px dashed rgba(15, 18, 34, .16); background: transparent; color: var(--ink-3); cursor: default; }
.brand.ghost:hover { transform: none; box-shadow: none; }
.brand.ghost .b-name { color: var(--ink-3); font-weight: 600; }

/* ---------- best work + projects ---------- */
.best { gap: 30px; }
.best-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proj { display: grid; gap: 14px; align-content: start; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pj-vis { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--paper); overflow: hidden; border: 0; padding: 0; text-align: left; }
button.pj-vis { cursor: zoom-in; }
.pj-vis > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
button.pj-vis:hover > img { transform: scale(1.03); }
.pj-count { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .9); padding: 3px 9px; border-radius: 999px; }
.pj-count::before { content: "▦ "; color: var(--accent); }
.pj-txt { display: grid; gap: 6px; padding: 0 6px 6px; }
.pj-link { justify-self: start; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.proj .slot, .pj-vis > .slot { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-weight: 600; font-size: 14px; border: 1.5px dashed #c9ccd6; border-radius: 14px; aspect-ratio: auto; }
.proj.big h3 { font-size: clamp(26px, 2.6vw, 34px); }
/* our own products: brand panels */
.bv { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 18px; padding: 26px; }
.bv-logo { width: 100%; max-width: 190px; height: auto; justify-self: center; }
.bv-openotion { background: linear-gradient(150deg, #eef5ff, #ffffff 60%); }
.oo-app { display: grid; grid-template-columns: 34px 1fr; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -20px rgba(2, 112, 235, .45); }
.oo-side { background: #0270eb; display: grid; align-content: start; gap: 9px; padding: 12px 8px; }
.oo-side i { height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .25); } .oo-side i.on { background: #fff; }
.oo-main { display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 10px; }
.oo-head { display: flex; gap: 8px; align-items: center; } .oo-head b { height: 10px; width: 40%; border-radius: 5px; background: #0f1222; } .oo-head span { height: 10px; width: 20%; border-radius: 5px; background: #d9e6fb; margin-left: auto; }
.oo-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.oo-cal i { border-radius: 5px; background: #f1f4f9; min-height: 14px; } .oo-cal i.bk { background: #0270eb; } .oo-cal i.b2 { background: #ff5a1f; }
.bv-openly { background: linear-gradient(150deg, #f1f4ff, #ffffff 60%); }
.ol-phone { position: relative; justify-self: center; width: 62%; aspect-ratio: 9 / 17; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 0 0 6px #12151c, 0 24px 40px -20px rgba(31, 90, 246, .5); }
.ol-phone > img { width: 100%; height: 48%; object-fit: cover; }
.ol-sheet { display: grid; gap: 7px; padding: 10px; }
.ol-sheet b { height: 10px; width: 60%; border-radius: 5px; background: #12151c; } .ol-sheet span { height: 8px; width: 80%; border-radius: 4px; background: #e6e8ee; }
.ol-sheet em { font-style: normal; justify-self: start; margin-top: 4px; font-size: 10px; font-weight: 700; color: #fff; background: #1f5af6; padding: 4px 10px; border-radius: 999px; }
/* gallery */
.gallery { width: min(1100px, calc(100vw - 24px)); max-height: calc(100svh - 24px); border: 0; border-radius: 22px; padding: 18px; box-shadow: 0 40px 100px -30px rgba(15, 18, 34, .5); }
.gallery::backdrop { background: rgba(15, 18, 34, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.g-head b { font-weight: 800; font-size: 20px; } .g-head span { color: var(--ink-3); }
.g-row { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.g-row figure { scroll-snap-align: start; } .g-row img { width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: 14px; background: var(--paper); }

/* ---------- the work page ---------- */
.page-head { max-width: 1280px; margin: 0 auto; padding: 130px var(--gut) 10px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(40px, 5vw, 72px); }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 56ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-grid .proj[hidden] { display: none; }
.wip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 1100px) { .work-grid, .wip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr auto auto; }
  .picked { justify-self: end; padding: 6px 10px; font-size: 12.5px; }
  .picked span:last-child { display: none; }
  .best-list, .work-grid, .wip-grid { grid-template-columns: 1fr; }
  .bv { padding: 16px; gap: 10px; }
  .want { font-size: 14.5px; }
  .page-head { padding-top: 96px; }
}
.best-list .proj.big { grid-column: auto; grid-template-columns: 1fr; }
.pj-vis > .pj-word { position: absolute; inset: 0; }
.work-page .sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.outro-cta { text-align: center; justify-items: center; }
.nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 460px) { .pill .pill-x { display: none; } }

/* ---------- phones in landscape: text and 3D side by side, like the desktop ---------- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 540px) {
  .layers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .layers::before { display: block; }
  .track { display: block; grid-column: 1; grid-row: 1; padding: 0 16px 0 var(--gut); }
  .stage { grid-column: 2; grid-row: 1; height: 100svh; border-bottom: 0; background: transparent; }
  .gl, .poster { inset: 60px 0 30px; }
  .hero { padding: 80px 0 28px; }
  .layer { min-height: 100svh; align-content: center; padding: 72px 0 24px; }
  .outro { min-height: 100svh; padding: 72px 0 40px; }
  .layer, .outro { scroll-margin-top: 0; }
}

/* ---------- touch: every control at least 44px tall ---------- */
@media (pointer: coarse) {
  .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .lang { min-height: 44px; align-items: center; }
  .pill { min-height: 44px; }
  .pj-link, .direct a, .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot a { min-width: 44px; justify-content: center; }
  .checks span, .filters button { min-height: 44px; }
  .v-x { width: 44px; height: 44px; }
}
