/* Dark studio: the name is the face, the work is the colour.
   One accent (vermilion). Radius rule: media and inputs 10px, panels 16px, buttons full pill. */
@font-face { font-family:Archivo; src:url(/fonts/archivo.woff2) format('woff2'); font-weight:100 900; font-stretch:62% 125%; font-display:swap; }
:root { --bg:#0f0f0e; --bg2:#181817; --text:#f1efe9; --muted:#a3a19a; --line:rgba(241,239,233,.12); --accent:#ff5c39; --pad:40px; --head:64px; --ease:cubic-bezier(.16,1,.3,1); }
* { box-sizing:border-box; margin:0; padding:0; }
html { background:var(--bg); scroll-behavior:smooth; scroll-padding-top:var(--head); }
/* No body background: the grain below sits between the page colour and the content. */
body { font:17px/1.5 Archivo, system-ui, sans-serif; color:var(--text); -webkit-font-smoothing:antialiased; }
/* Faint film grain on the background only; fixed and behind everything, so images stay untouched. */
body::before { content:''; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.05; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background:var(--accent); color:var(--bg); }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
img, video { display:block; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }
.wrap { max-width:1440px; margin:0 auto; padding:0 var(--pad); }
.display { font-stretch:125%; font-weight:800; text-transform:uppercase; letter-spacing:-.02em; line-height:.9; }

/* Phosphor glyphs (MIT), self-hosted as masks so the <i class="ph-*"> markup keeps working without a third-party script. */
i[class^="ph"] { display:inline-block; width:1em; height:1em; flex:none; vertical-align:-.125em; background:currentColor; -webkit-mask:var(--i) center / contain no-repeat; mask:var(--i) center / contain no-repeat; }
.ph-check { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
.ph.ph-arrow-right { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z'/%3E%3C/svg%3E"); }
.ph-bold.ph-arrow-right { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z'/%3E%3C/svg%3E"); }
.ph-arrow-down { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); }
.ph-arrow-up-right { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z'/%3E%3C/svg%3E"); }
.ph-magnifying-glass { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z'/%3E%3C/svg%3E"); }
.ph-heart { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40ZM128,214.8C109.74,204.16,32,155.69,32,102A46.06,46.06,0,0,1,78,56c19.45,0,35.78,10.36,42.6,27a8,8,0,0,0,14.8,0c6.82-16.67,23.15-27,42.6-27a46.06,46.06,0,0,1,46,46C224,155.61,146.24,204.15,128,214.8Z'/%3E%3C/svg%3E"); }
.ph-heart-fill, [aria-pressed="true"] > .ph-heart { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z'/%3E%3C/svg%3E"); }
.ph-chat-circle { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z'/%3E%3C/svg%3E"); }
.ph-paper-plane-tilt { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z'/%3E%3C/svg%3E"); }
.ph-bookmark-simple { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M184,32H72A16,16,0,0,0,56,48V224a8,8,0,0,0,12.24,6.78L128,193.43l59.77,37.35A8,8,0,0,0,200,224V48A16,16,0,0,0,184,32Zm0,177.57-51.77-32.35a8,8,0,0,0-8.48,0L72,209.57V48H184Z'/%3E%3C/svg%3E"); }
.ph-dots-three-outline { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,96a32,32,0,1,0,32,32A32,32,0,0,0,128,96Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,128,144ZM48,96a32,32,0,1,0,32,32A32,32,0,0,0,48,96Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,48,144ZM208,96a32,32,0,1,0,32,32A32,32,0,0,0,208,96Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,208,144Z'/%3E%3C/svg%3E"); }
.ph-caret-left { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z'/%3E%3C/svg%3E"); }
.ph-caret-right { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'/%3E%3C/svg%3E"); }
.ph-x { --i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z'/%3E%3C/svg%3E"); }

/* Header: sticks to the top. On the homepage the small wordmark and the button dock in once the hero has scrolled away. */
header { position:sticky; top:0; z-index:20; background:rgba(15,15,14,.84); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); transition:border-color .3s; }
.at-top header { border-bottom-color:transparent; }
header .wrap { height:var(--head); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
header nav { display:flex; gap:32px; }
header nav a { padding-block:8px; transition:color .25s; }
header nav a:hover { color:var(--accent); }
header .mark { justify-self:start; font-size:22px; letter-spacing:-.01em; }
header .head-cta { justify-self:end; padding:9px 16px; letter-spacing:.06em; }
header .mark, header .head-cta { transition:opacity .35s var(--ease), translate .35s var(--ease), visibility 0s, background .25s, color .25s; }
.at-top header .mark, .at-top header .head-cta { opacity:0; translate:0 -6px; visibility:hidden; transition:opacity .25s, translate .25s, visibility 0s .25s; }

.pill { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; padding:10px 18px; font-weight:600; white-space:nowrap; transition:background .25s, color .25s, box-shadow .25s, transform .2s; }
.pill:active { transform:scale(.98); }
.pill i { transition:translate .3s var(--ease); }
.pill:hover .ph-arrow-down { translate:0 3px; }
.pill.line { box-shadow:inset 0 0 0 1.5px var(--text); }
.pill.line:hover { background:var(--text); color:var(--bg); }
.pill.solid { background:var(--accent); color:var(--bg); }
.pill.solid:hover { background:#ff7859; }

/* Hero: the name, one sentence about what we make, one primary and one secondary action. */
.wordmark { display:inline-block; white-space:nowrap; font-size:23.4vw; margin-top:8px; }
.hero-row { display:flex; justify-content:space-between; align-items:end; gap:40px; margin:28px 0 48px; }
.hero-row p { font-size:clamp(20px, 2vw, 28px); line-height:1.3; font-weight:500; letter-spacing:-.01em; max-width:32ch; }
.hero-row .ctas { display:flex; gap:10px; flex:none; }
.hero-row .pill { padding:15px 24px; font-size:16px; }

/* Focus carousel (main.js): cards sit on one line around the centre and main.js places them with transforms.
   The card in focus is full size; the cards beside it are scaled by --side and dimmed. */
.focus { --w:clamp(280px, 50vw, 720px); --gap:28px; --side:.8; position:relative; overflow:hidden; padding-top:4px; }
/* A soft spotlight behind the card in focus. */
.focus::before { content:''; position:absolute; left:50%; top:calc(var(--w) * .3125); width:calc(var(--w) * 1.7); height:calc(var(--w) * .9); translate:-50% -50%; background:radial-gradient(closest-side, rgba(241,239,233,.07), transparent); pointer-events:none; }
.focus-track { position:relative; height:calc(var(--w) * .625 + 52px); touch-action:pan-y; user-select:none; -webkit-user-select:none; cursor:grab; -webkit-mask:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.focus.dragging .focus-track { cursor:grabbing; }
.slide { position:absolute; left:50%; top:4px; width:var(--w); margin-left:calc(var(--w) / -2); transform-origin:50% 40%; will-change:transform; }
.thumb { display:grid; place-items:center; aspect-ratio:16/10; border-radius:16px; overflow:hidden; background:var(--panel, var(--bg2)); filter:brightness(var(--dim, 1)); } /* darken, not fade: light screenshots must not turn grey */
.thumb > img { width:100%; height:100%; object-fit:cover; object-position:top; transition:scale .6s var(--ease); -webkit-user-drag:none; }
.slide[aria-current] a.thumb:hover > img { scale:1.03; }
.slide[aria-current] a.thumb:hover .mini-phone { translate:0 -6px; }
.slide-cap { display:flex; justify-content:space-between; gap:16px; padding-top:14px; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); opacity:var(--cap, 1); }
.slide-cap b { color:var(--text); font-weight:600; }
/* Service cards: our services index as a card. */
.slide .svc-tile { display:flex; flex-direction:column; justify-content:flex-end; align-items:start; gap:12px; padding:6%; background:var(--bg2); box-shadow:inset 0 0 0 1px var(--line); }
.svc-name { font-size:clamp(28px, 4.2vw, 60px); }
.svc-tile p:not(.svc-name) { max-width:34ch; color:var(--muted); font-size:clamp(15px, 1.3vw, 18px); line-height:1.4; }
.svc-go { margin-top:6px; display:inline-flex; gap:8px; align-items:center; font-weight:600; font-size:15px; transition:color .25s; }
.svc-go i { color:var(--accent); transition:translate .3s var(--ease); }
.svc-go:hover { color:var(--accent); }
.svc-go:hover .ph-arrow-right { translate:4px 0; }
.svc-go:hover .ph-arrow-down { translate:0 3px; }
.focus-arrow { position:absolute; top:calc(var(--w) * .3125 + 4px); translate:0 -50%; z-index:20; width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-size:18px; color:var(--text); background:rgba(15,15,14,.6); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); box-shadow:inset 0 0 0 1px var(--line); transition:background .25s, color .25s; }
.focus-arrow:hover { background:var(--text); color:var(--bg); }
.focus-arrow.prev { left:var(--pad); }
.focus-arrow.next { right:var(--pad); }
.focus-arrow.prev i { scale:-1 1; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mini-phone { width:23%; aspect-ratio:390/844; border-radius:14px; padding:3px; background:#000; box-shadow:0 18px 40px rgba(0,0,0,.35); transition:translate .6s var(--ease); }
.mini-phone img { width:100%; height:100%; object-fit:cover; object-position:top; border-radius:11px; }

section.block { margin-top:150px; }
.intro p { font-size:clamp(28px, 3.2vw, 46px); line-height:1.18; letter-spacing:-.02em; font-weight:500; max-width:30ch; }
.intro p > span:not(.iw) { color:var(--muted); }

/* Work index */
.work-head { margin-bottom:36px; }
.work-head h2 { font-size:clamp(56px, 9vw, 136px); }
.work-head p { margin-top:20px; color:var(--muted); max-width:50ch; font-size:18px; }
/* Launch counter: counted from the visible projects, with the way into the Projectverkenner. */
.stats { display:grid; grid-template-columns:repeat(3, auto) 1fr; align-items:center; border-block:1px solid var(--line); margin-bottom:32px; }
.stats > div { padding:22px 48px 22px 0; margin-right:48px; border-right:1px solid var(--line); }
.stats b { display:block; font-stretch:125%; font-weight:800; font-size:clamp(40px, 5vw, 72px); line-height:.9; font-variant-numeric:tabular-nums; }
.stats span { display:block; margin-top:6px; color:var(--muted); font-size:15px; }
.stats .explore { justify-self:end; padding:15px 24px; }
.explore i { transition:translate .3s var(--ease); }
.explore:hover i { translate:4px 0; }
.filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:40px; }
.x-tools .filters { margin:0; }
.filters button { padding:10px 18px; border-radius:999px; box-shadow:inset 0 0 0 1px var(--line); font-weight:600; font-size:15px; transition:background .25s, color .25s, box-shadow .25s; }
.filters button:hover { box-shadow:inset 0 0 0 1px var(--text); }
.filters button[aria-pressed="true"] { background:var(--text); color:var(--bg); box-shadow:none; }
.projects { display:grid; grid-template-columns:1fr 1fr; gap:88px 28px; }
.project { grid-column:span 1; min-width:0; }
.project.full { grid-column:1 / -1; }
.project[hidden] { display:none; }
.project > a { display:block; }
.panel { position:relative; border-radius:16px; overflow:hidden; background:var(--panel); aspect-ratio:var(--ratio, 16/10); display:flex; align-items:center; justify-content:center; padding:6%; transition:transform .7s var(--ease); }
.project.full .panel { --ratio:16/8.2; }
.project > a:hover .panel { transform:scale(.99); }
.stage { position:relative; width:100%; height:100%; }
.cap { display:grid; grid-template-columns:1fr auto; gap:8px 24px; align-items:baseline; padding-top:22px; }
.cap h3 { font-size:clamp(26px, 2.8vw, 40px); transition:color .3s; }
.project > a:hover .cap h3 { color:var(--accent); }
.cap .meta { display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:end; }
.cap p { grid-column:1 / -1; color:var(--muted); max-width:58ch; }
.cap p.for { color:var(--text); }
.cap p.for span { color:var(--accent); font-weight:600; margin-right:4px; }
.tag { border-radius:999px; padding:4px 11px; font-size:13px; font-weight:600; white-space:nowrap; box-shadow:inset 0 0 0 1px var(--line); color:var(--muted); }
.tag.live { color:#b8f5c8; box-shadow:inset 0 0 0 1px rgba(120,230,150,.45); }
.more-link { display:inline-flex; gap:6px; align-items:center; font-weight:600; color:var(--text); margin-top:6px; }
.more-link i { transition:transform .3s var(--ease); }
.project > a:hover .more-link i { transform:translateX(4px); }

/* Device mockups */
.browser { position:absolute; background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.08); display:flex; flex-direction:column; }
.browser .bar { flex:none; height:28px; background:#f1f1ef; display:flex; align-items:center; gap:6px; padding:0 12px; border-bottom:1px solid #e3e3e0; }
.browser .bar span { width:9px; height:9px; border-radius:50%; background:#d5d5d1; }
.browser .bar em { margin-left:10px; font-style:normal; font-size:11px; color:#77776f; background:#fff; border-radius:6px; padding:2px 10px; flex:1; max-width:60%; white-space:nowrap; overflow:hidden; }
.browser.dark { background:#111; } .browser.dark .bar { background:#1c1c1b; border-color:#2a2a28; } .browser.dark .bar span { background:#3a3a37; } .browser.dark .bar em { background:#262624; color:#9a9a92; }
.browser .screen { flex:1; min-height:0; overflow:hidden; }
.browser .screen img { width:100%; height:100%; object-fit:cover; object-position:top; }
/* Long screenshots scroll top to bottom on hover: shows the whole site, not one fold. */
.browser .screen img.scroll { transition:object-position var(--dur, 7s) cubic-bezier(.45,0,.55,1); }
.project > a:hover .screen img.scroll, .project.peek .screen img.scroll { object-position:bottom; }
.phone { position:absolute; aspect-ratio:390/844; border-radius:22px; overflow:hidden; background:#000; padding:5px; box-shadow:0 30px 60px rgba(0,0,0,.45); }
.phone img { width:100%; height:100%; object-fit:cover; object-position:top; border-radius:17px; }
.player { position:absolute; border-radius:10px; overflow:hidden; background:#000; box-shadow:0 30px 70px rgba(0,0,0,.5); }
.player video, .player img { width:100%; height:100%; object-fit:cover; }
.player .bar { position:absolute; left:14px; right:14px; bottom:12px; height:3px; background:rgba(255,255,255,.25); border-radius:3px; }
.player .bar i { display:block; height:100%; width:37%; background:var(--accent); border-radius:3px; }
.still { position:absolute; border-radius:8px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.45); }
.still img { width:100%; height:100%; object-fit:cover; }
.brands .phone { width:17%; }
.floaty { transition:transform .8s var(--ease); }
.project > a:hover .floaty { transform:translateY(-10px); }
.project > a:hover .floaty:nth-child(even) { transform:translateY(-16px); }

/* Services: a typographic index, each row pointing at the work that proves it. */
.svc-head { font-size:clamp(44px, 9.5vw, 136px); }
.svc-lead { margin:20px 0 40px; font-size:20px; color:var(--muted); max-width:46ch; }
.svc { display:grid; grid-template-columns:1.15fr 1fr 180px; gap:40px; align-items:center; padding:30px 0; border-top:1px solid var(--line); }
.svc > :last-child { justify-self:end; }
.svc:last-child { border-bottom:1px solid var(--line); }
.svc h3 { font-size:clamp(26px, 3vw, 42px); transition:color .3s, translate .5s var(--ease); }
.svc:hover h3 { color:var(--accent); translate:12px 0; }
.svc p { color:var(--muted); } .svc p b { display:block; color:var(--text); font-weight:500; margin-bottom:4px; }
.svc button, .svc a.go { font-weight:600; font-size:15px; white-space:nowrap; display:inline-flex; gap:6px; align-items:center; transition:color .25s; }
.svc button:hover, .svc a.go:hover { color:var(--accent); }
.svc i { transition:translate .3s var(--ease); }
.svc button:hover .ph-arrow-right, .svc a.go:hover .ph-arrow-right { translate:4px 0; }
.svc a.go:hover .ph-arrow-down { translate:0 3px; }

/* Social media: the entry offer and the one place with a price, on the second surface. */
.social { background:var(--bg2); padding-block:120px; }
.social .big { font-size:clamp(40px, 9vw, 128px); }
.social-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; margin-top:48px; }
.social-lead { font-size:22px; line-height:1.4; color:var(--muted); max-width:42ch; }
.offer-price { margin-top:40px; }
.offer-price b { display:block; font-stretch:125%; font-weight:800; font-size:clamp(44px, 4.4vw, 64px); line-height:.9; }
.offer-price span { display:block; margin-top:10px; font-size:20px; }
.offer-price small { display:block; margin-top:4px; font-size:16px; color:var(--muted); }
.incl { list-style:none; display:grid; gap:12px; margin-top:32px; }
.incl li { display:flex; gap:10px; } .incl i { color:var(--accent); margin-top:4px; flex:none; }
.excl { margin-top:20px; font-size:15px; color:var(--muted); }
.social-grid .pill { margin-top:36px; padding:16px 26px; font-size:17px; }
.social-visual { display:grid; grid-template-columns:minmax(0, 1fr); justify-items:center; gap:20px; min-width:0; } /* minmax(0, ...): the post row must not widen the column */
/* Instagram-style posts (main.js), in the app's own dark mode and system font: the frame is the work, not our interface. */
.ig { --post:min(340px, 76vw); position:relative; width:100%; }
.ig-track { position:relative; display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; padding-inline:calc(50% - var(--post) / 2); padding-block:4px; }
.ig-track::-webkit-scrollbar { display:none; }
.ig-track { -webkit-mask:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ig-post { flex:none; width:var(--post); scroll-snap-align:center; overflow:hidden; border-radius:12px; background:#000; color:#f5f5f5; box-shadow:inset 0 0 0 1px #262626; font:14px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; position:relative; }
/* Posts beside the one in view sit under a dark veil (not opacity, so their text keeps its real colours for contrast checks). */
.ig-post::after { content:''; position:absolute; inset:0; border-radius:inherit; background:#0f0f0e; opacity:.62; pointer-events:none; transition:opacity .4s; }
.ig-post[aria-current]::after { opacity:0; }
.ig-head { display:flex; align-items:center; gap:10px; padding:10px 12px; }
.ig-head b { font-weight:600; }
.ig-head i { margin-left:auto; font-size:20px; }
/* The story ring is Instagram's own gradient. */
.ig-avatar { padding:2px; border-radius:50%; background:linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.ig-avatar span { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:700; color:#fff; box-shadow:0 0 0 2px #000; }
.ig-media { position:relative; aspect-ratio:4/5; background:#121212; cursor:pointer; }
.ig-media img { width:100%; height:100%; object-fit:cover; -webkit-user-drag:none; }
.ig-pop { position:absolute; inset:0; display:grid; place-items:center; font-size:96px; color:#fff; opacity:0; pointer-events:none; filter:drop-shadow(0 6px 20px rgba(0,0,0,.4)); }
.ig-pop.go { animation:heart .9s var(--ease); }
@keyframes heart { 15% { opacity:1; scale:1.2; } 30% { scale:.95; } 45%, 75% { opacity:1; scale:1; } to { opacity:0; scale:1; } }
.ig-actions { display:flex; align-items:center; gap:14px; padding:10px 12px 6px; font-size:24px; }
.ig-like { display:grid; transition:color .2s, scale .2s; }
.ig-like:active { scale:.85; }
.ig-like[aria-pressed="true"] { color:#ff3040; }
.ig-save { margin-left:auto; }
.ig-caption { padding:0 12px 14px; }
.ig-caption b { font-weight:600; }
.ig-nav { position:absolute; top:calc(50% - 14px); translate:0 -50%; z-index:2; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font-size:16px; color:#000; background:rgba(255,255,255,.88); box-shadow:0 4px 14px rgba(0,0,0,.35); transition:opacity .25s; }
.ig-nav.prev { left:calc(50% - var(--post) / 2 + 8px); }
.ig-nav.next { right:calc(50% - var(--post) / 2 + 8px); }
.ig-nav[disabled] { opacity:0; pointer-events:none; }
.ig-dots { display:flex; justify-content:center; gap:4px; margin-top:14px; }
.ig-dots i { width:6px; height:6px; border-radius:50%; background:#4a4a4a; transition:background .25s; }
.ig-dots i.on { background:#0095f6; }
.posts-note { font-size:14px; color:var(--muted); }

/* Contact + enquiry form. Choices reuse the filter pills; fields use the 10px media radius. */
.contact { margin-top:150px; }
.contact h2 { font-size:clamp(52px, 9.4vw, 150px); }
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:64px; margin-top:40px; align-items:start; }
.contact-text p { font-size:20px; color:var(--muted); max-width:40ch; }
.contact-text .alt { margin-top:24px; font-size:17px; }
.contact-text .alt a, .form-foot a, .prose a { color:var(--text); border-bottom:1px solid var(--muted); }
.contact-text .alt a:hover, .form-foot a:hover, .prose a:hover, footer a:hover { color:var(--accent); }
.form { display:grid; grid-template-columns:1fr 1fr; gap:22px 20px; }
.form .full { grid-column:1 / -1; }
.form fieldset { border:0; min-width:0; }
.form legend, .field label { display:block; font-size:15px; font-weight:600; margin-bottom:8px; }
.form legend span, .field label span { color:var(--muted); font-weight:500; }
.choices { display:flex; gap:8px; flex-wrap:wrap; }
.choices label { position:relative; padding:10px 18px; border-radius:999px; box-shadow:inset 0 0 0 1px var(--line); font-weight:600; font-size:15px; cursor:pointer; transition:background .25s, color .25s, box-shadow .25s; }
.choices label:hover { box-shadow:inset 0 0 0 1px var(--text); }
.choices input { position:absolute; inset:0; opacity:0; cursor:pointer; }
.choices label:has(:checked) { background:var(--text); color:var(--bg); box-shadow:none; }
.choices label:has(:focus-visible) { outline:2px solid var(--accent); outline-offset:3px; }
.field input, .field textarea { display:block; width:100%; font:inherit; color:var(--text); background:var(--bg2); border:0; border-radius:10px; box-shadow:inset 0 0 0 1px var(--line); padding:14px 16px; transition:box-shadow .2s; }
.field textarea { min-height:128px; resize:vertical; }
.field input:hover, .field textarea:hover { box-shadow:inset 0 0 0 1px var(--muted); }
.field :focus-visible { border-radius:10px; outline-offset:2px; }
.field [aria-invalid="true"] { box-shadow:inset 0 0 0 1.5px var(--accent); }
.err { margin-top:6px; font-size:14px; color:var(--accent); }
.err:empty, .status:empty { display:none; }
.hp { display:none; }
.form-foot { display:flex; align-items:center; gap:20px; margin-top:6px; }
.form-foot .pill { flex:none; padding:15px 24px; }
.form-foot .pill[disabled] { opacity:.6; cursor:progress; }
.form-foot p { font-size:14px; color:var(--muted); max-width:44ch; }
.status { padding:14px 16px; border-radius:10px; background:var(--bg2); box-shadow:inset 0 0 0 1.5px var(--accent); }

footer { margin-top:120px; border-top:1px solid var(--line); }
footer .wrap { display:flex; justify-content:space-between; gap:12px 24px; padding-top:22px; padding-bottom:32px; font-size:14px; color:var(--muted); flex-wrap:wrap; }

/* Project detail */
dialog.case { width:min(1180px, calc(100% - 32px)); max-height:calc(100% - 48px); margin:auto; background:var(--bg2); color:var(--text); border:0; border-radius:20px; padding:0; overflow:auto; overscroll-behavior:contain; }
dialog.case::backdrop { background:rgba(8,8,7,.78); backdrop-filter:blur(4px); }
dialog.case[open] { animation:pop .45s var(--ease); }
@keyframes pop { from { opacity:0; transform:translateY(24px) scale(.98); } }
.case-top { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 20px; background:linear-gradient(var(--bg2) 70%, transparent); }
.case-top .tags { display:flex; gap:8px; flex-wrap:wrap; }
.close { flex:none; width:44px; height:44px; border-radius:50%; box-shadow:inset 0 0 0 1px var(--line); display:grid; place-items:center; font-size:20px; transition:background .25s, color .25s; }
.close:hover { background:var(--text); color:var(--bg); }
.case-body { padding:8px 48px 48px; }
.case-body h2 { font-size:clamp(40px, 6vw, 84px); }
.case-body h2:focus { outline:none; } /* programmatic focus target only */
.case-body .lead { font-size:22px; line-height:1.4; max-width:44ch; margin-top:20px; }
.case-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; margin:40px 0; }
.case-grid h3 { font-size:14px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.case-grid ul { list-style:none; display:grid; gap:10px; }
.case-grid li { display:flex; gap:10px; } .case-grid li i { color:var(--accent); margin-top:4px; }
.facts { display:flex; gap:32px; flex-wrap:wrap; }
.facts div b { display:block; font-size:30px; font-stretch:125%; font-weight:800; }
.facts div span { color:var(--muted); font-size:15px; }
.gallery { display:grid; gap:16px; }
.gallery img, .gallery video { width:100%; border-radius:10px; background:#000; }
.gallery .row { display:grid; grid-template-columns:repeat(var(--n, 2), 1fr); gap:16px; align-items:start; }
.brand { display:grid; gap:14px; }
.brand + .brand { margin-top:36px; }
.brand figcaption { display:flex; flex-wrap:wrap; gap:4px 14px; align-items:baseline; color:var(--muted); }
.brand figcaption b { color:var(--text); font-size:24px; font-stretch:125%; font-weight:800; text-transform:uppercase; letter-spacing:-.01em; }
.case-cta { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:44px; padding-top:32px; border-top:1px solid var(--line); }
.case-cta p { flex:0 0 100%; font-size:19px; color:var(--muted); margin-bottom:8px; }
.case-cta p span { display:block; color:var(--text); font-stretch:125%; font-weight:800; text-transform:uppercase; font-size:clamp(26px, 3vw, 40px); line-height:1; margin-bottom:12px; }
.case-cta .pill { padding:15px 24px; }
.next-project { display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; margin-top:44px; padding-top:28px; border-top:1px solid var(--line); }
.next-project span { flex-basis:100%; font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.next-project b { font-size:clamp(28px, 4vw, 56px); transition:color .3s; }
.next-project i { font-size:clamp(24px, 3vw, 40px); transition:translate .3s var(--ease); }
.next-project:hover b { color:var(--accent); }
.next-project:hover i { translate:8px 0; }

/* Line menu (main.js marks the section in view), after Till Janek's Line Menu: thin lines that open into labels when you reach for them.
   Only where there is room beside the content, and not over the hero. */
.toc { position:fixed; right:4px; top:50%; translate:0 -50%; z-index:15; display:grid; justify-items:end; padding:10px 8px 10px 16px; border-radius:14px; transition:background .3s, opacity .3s, visibility 0s; }
.at-top .toc { opacity:0; visibility:hidden; transition:opacity .3s, visibility 0s .3s; }
.toc a { display:flex; align-items:center; gap:12px; height:24px; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); transition:color .25s; }
.toc a::after { content:''; width:14px; height:2px; border-radius:2px; background:currentColor; opacity:.6; transition:width .45s var(--ease), opacity .3s; }
.toc a span { opacity:0; translate:8px 0; transition:opacity .3s, translate .45s var(--ease); }
.toc a[aria-current="true"] { color:var(--text); }
.toc a[aria-current="true"]::after { width:28px; opacity:1; }
.toc:hover, .toc:focus-within { background:rgba(15,15,14,.88); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.toc:hover a::after, .toc:focus-within a::after { width:22px; }
.toc:hover a[aria-current="true"]::after, .toc:focus-within a[aria-current="true"]::after { width:38px; }
.toc:hover a span, .toc:focus-within a span { opacity:1; translate:none; }
.toc a:hover { color:var(--text); }
.toc a:hover::after { opacity:1; }
@media (max-width:1099px) { .toc { display:none; } }

/* Projectverkenner: same surface as the project detail, every project as an identical card. */
dialog.explorer { width:min(1320px, calc(100% - 32px)); max-height:calc(100% - 48px); margin:auto; background:var(--bg2); color:var(--text); border:0; border-radius:20px; padding:0; overflow:auto; overscroll-behavior:contain; }
dialog.explorer::backdrop { background:rgba(8,8,7,.78); backdrop-filter:blur(4px); }
dialog.explorer[open] { animation:pop .45s var(--ease); }
dialog:focus-visible { outline:none; } /* the dialog itself is not a control; focus rings stay on its contents */
.x-top { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 28px 18px; background:var(--bg2); border-bottom:1px solid var(--line); }
.x-top h2 { font-size:clamp(32px, 4.4vw, 64px); }
.x-tools { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:20px 28px 0; }
.x-search { display:flex; align-items:center; gap:10px; flex:0 1 340px; padding:0 18px; border-radius:999px; color:var(--muted); box-shadow:inset 0 0 0 1px var(--line); transition:box-shadow .25s; }
.x-search:focus-within { box-shadow:inset 0 0 0 1.5px var(--accent); }
.x-search input { flex:1; min-width:0; height:44px; background:none; border:0; outline:none; color:var(--text); font:inherit; font-size:15px; }
.x-search input::placeholder { color:var(--muted); opacity:1; }
.x-count { padding:18px 28px 0; font-size:14px; color:var(--muted); }
.x-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px 20px; padding:16px 28px 36px; }
.xcard { display:grid; gap:6px; align-content:start; }
.xthumb { display:grid; place-items:center; aspect-ratio:16/10; border-radius:10px; overflow:hidden; background:var(--panel, #222); margin-bottom:8px; }
.xthumb > img { width:100%; height:100%; object-fit:cover; object-position:top; transition:scale .6s var(--ease); }
.xcard:hover .xthumb > img { scale:1.04; }
.xcard:hover .mini-phone { translate:0 -6px; }
.xmeta { font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.xtitle { font-size:clamp(22px, 2vw, 28px); transition:color .3s; }
.xcard:hover .xtitle { color:var(--accent); }
.xtags { display:flex; gap:6px; margin-top:4px; }
.x-empty { padding:8px 28px 48px; color:var(--muted); }
.x-empty .pill { margin-top:16px; padding:13px 22px; }

/* Text pages: privacy, thanks, 404 */
.page { padding-top:64px; min-height:60vh; }
.page h1 { font-size:clamp(34px, 8vw, 112px); hyphens:manual; }
.page .lead { margin-top:24px; font-size:clamp(20px, 2vw, 26px); line-height:1.35; max-width:40ch; }
.page .ctas { margin-top:32px; display:flex; gap:12px; flex-wrap:wrap; }
.page .ctas .pill { padding:15px 24px; }
.prose { max-width:68ch; margin-top:40px; color:var(--muted); }
.prose h2 { color:var(--text); font-size:22px; font-weight:600; margin:44px 0 10px; }
.prose p, .prose ul { margin-top:12px; }
.prose ul { padding-left:20px; display:grid; gap:6px; }
.prose strong { color:var(--text); font-weight:600; }

/* Motion (with motion.js). Entrances play once, scroll effects follow the visitor; nothing loops. */
@media (prefers-reduced-motion:no-preference) {
  @view-transition { navigation:auto; }
  @keyframes rise { from { opacity:0; transform:translateY(30px); } }
  @keyframes widen { from { font-stretch:62%; } }
  /* Hero: the wordmark widens into place on our own variable font, then the sentence and buttons follow together. */
  .wordmark { animation:rise 1s var(--ease) both, widen 1.4s var(--ease) both; }
  .hero-row { animation:rise .9s var(--ease) backwards .4s; }
  /* Headings slide up from behind a mask, line by line. */
  .reveal .w { display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.12em; margin-bottom:-.12em; }
  .reveal .w > span { display:inline-block; translate:0 110%; transition:translate .9s var(--ease) var(--d, 0ms); }
  .reveal.in .w > span { translate:none; }
  .xcard { animation:rise .6s var(--ease) backwards; animation-delay:calc(var(--i, 0) * 55ms); }
  @supports (animation-timeline: view()) {
    .project { animation:enter linear both; animation-timeline:view(); animation-range:entry 0% entry 30%; }
    @keyframes enter { from { opacity:0; transform:translateY(40px); } }
    .intro p { view-timeline:--intro block; }
    .iw { animation:glow linear both; animation-timeline:--intro; animation-range:cover calc(10% + var(--p) * 26%) cover calc(16% + var(--p) * 26%); }
    @keyframes glow { from { opacity:.15; } }
  }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition-duration:0s !important; animation:none !important; }
}

@media (max-width:900px) {
  .hero-row { flex-direction:column; align-items:start; }
  .projects { grid-template-columns:1fr; } .project, .project.full { grid-column:auto; }
  .project.full .panel { --ratio:16/10; }
  .social-grid, .contact-grid { grid-template-columns:1fr; gap:48px; }
  .social-visual { order:-1; }
  .x-grid { grid-template-columns:1fr 1fr; }
  .stats { grid-template-columns:repeat(3, 1fr); }
  .stats > div { padding-right:16px; margin-right:16px; }
  .stats > div:nth-child(3) { border-right:0; margin-right:0; }
  .stats .explore { grid-column:1 / -1; justify-self:stretch; margin-bottom:20px; }
}
@media (max-width:767px) {
  :root { --pad:20px; --head:56px; }
  /* Phones: the nav at the top of the homepage; once the hero is gone, the wordmark and the button take its place. */
  header .wrap { display:flex; justify-content:space-between; gap:16px; }
  header nav { gap:22px; }
  header .mark { font-size:18px; }
  header .head-cta { padding:8px 14px; font-size:12px; }
  .at-top header .mark, .at-top header .head-cta, body:not(.at-top) header nav { display:none; }
  .hero-row { align-items:stretch; gap:18px; margin:16px 0 28px; } .hero-row p { font-size:20px; } .hero-row .ctas { gap:8px; flex-wrap:wrap; } .hero-row .pill { padding:13px 17px; font-size:15px; flex:1 1 auto; }
  .focus { --w:78vw; --gap:14px; --side:.86; }
  .focus-arrow { width:36px; height:36px; font-size:15px; } /* at the screen edge, over the side cards */
  .focus-arrow.prev { left:4px; } .focus-arrow.next { right:4px; }
  .thumb { border-radius:12px; }
  .slide-cap span { display:none; }
  section.block { margin-top:96px; }
  .work-head { margin-bottom:24px; } .work-head p { font-size:17px; }
  .stats b { font-size:40px; }
  .filters { flex-wrap:nowrap; overflow-x:auto; margin:0 -20px 28px; padding:0 20px; scrollbar-width:none; }
  .x-tools .filters { margin:0 -20px; }
  .filters button { flex:none; }
  .projects { gap:64px; }
  .panel { border-radius:12px; padding:5%; }
  .project .panel:has(.brands) { --ratio:4/3; } .brands .phone { width:21%; }
  .cap { grid-template-columns:1fr; } .cap .meta { order:-1; justify-content:start; }
  .hide-sm { display:none; }
  .svc { grid-template-columns:1fr; gap:8px; padding:24px 0; }
  .svc > :last-child { justify-self:start; margin-top:4px; }
  .social { padding-block:80px; }
  .social-lead { font-size:18px; }
  .social-grid { margin-top:32px; gap:36px; }
  .social-grid .pill { width:100%; }
  .contact { margin-top:110px; } .contact-grid { margin-top:28px; } .contact-text p { font-size:18px; }
  .form { grid-template-columns:1fr; gap:20px; }
  .choices label { padding:10px 14px; font-size:14px; }
  .form-foot { flex-direction:column; align-items:stretch; } .form-foot .pill { width:100%; }
  dialog.case, dialog.explorer { width:100%; max-width:100%; max-height:100%; height:100%; border-radius:0; }
  .x-top, .x-tools, .x-count, .x-grid, .x-empty { padding-inline:20px; }
  .x-search { flex:1 1 100%; }
  .x-grid { grid-template-columns:1fr; gap:28px; }
  .case-body { padding:4px 20px 40px; } .case-body .lead { font-size:18px; }
  .case-grid { grid-template-columns:1fr; gap:32px; margin:28px 0; }
  .gallery .row { grid-template-columns:1fr 1fr; }
  .page { padding-top:40px; }
}
