/* App Development page: scroll-driven product showcase */
body.ad { background: #fff; --forest: #1C4B3A; --deep: #172416; --moss: #22321F; --parch: #F3F1E9; --clay: #B4432C; --char: #1D2620; --orange: #B4432C; --disp: "Newsreader", Georgia, "Times New Roman", serif; --sans: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
@font-face { font-family: "Newsreader"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 200 800; font-style: italic; font-display: swap; src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 400 900; font-display: swap; src: url("fonts/general-sans-600.woff2") format("woff2"); }
body.ad main.appdev { display: block; padding: 0; text-align: left; flex: none; }
/* Header: normal top-left logo, scrolls with the page */
body.ad .nav { position: absolute; top: 0; left: 0; right: 0; z-index: 60; background: transparent; border: 0; }
body.ad .nav .brand .wordmark { color: #1C4B3A; }
body.ad .nav .brand .wordmark .sub { color: #1C4B3A; font-weight: 700; letter-spacing: .18em; font-size: .86em; }
body.ad .nav .brand .wordmark .slash { margin: 0 .35em; opacity: .8; }
/* Intro */
.ad-intro { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 150px 24px 40px; }
.ad-intro h1 { margin: 0; font: 500 clamp(42px, 7vw, 92px)/1.02 var(--disp); letter-spacing: -.01em; color: #1C4B3A; }
.ad-intro h1 em { font-style: italic; color: #B4432C; }
.ad-intro h1::after { display: none; }
.ad-intro p { margin: 22px 0 0; max-width: 30em; font: 600 clamp(17px, 1.6vw, 21px)/1.5 var(--sans); color: #55595d; }
/* Showcase */
.showcase { position: relative; height: 560vh; }
.stage { --ph: clamp(400px, 64vh, 560px); --pw: calc(var(--ph) * .49); --cw: calc(var(--ph) * .64); position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; background: #fff; color: var(--char); transition: background-color .6s ease, color .6s ease; }
.stage::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none;
  background: radial-gradient(ellipse 38% 46% at 50% 46%, rgba(232,144,13,.30), rgba(232,144,13,0) 70%), radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.showcase[data-stage="2"] .stage, .showcase[data-stage="3"] .stage { background: #0F2F33; color: #FDF4E0; }
.showcase[data-stage="2"] .stage::before, .showcase[data-stage="3"] .stage::before { opacity: 1; }
.phone-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); z-index: 3; }
.phone { position: relative; width: calc(var(--ph) * .49); height: var(--ph); padding: calc(var(--ph) * .018); border-radius: calc(var(--ph) * .085); background: linear-gradient(145deg, #3a3f44, #111315 55%, #2a2e32); box-shadow: 0 calc(var(--ph) * .06) calc(var(--ph) * .12) rgba(20,30,40,.38), inset 0 0 0 calc(var(--ph) * .004) rgba(255,255,255,.25); font-size: calc(var(--ph) / 44); }
.showcase[data-stage="2"] .phone, .showcase[data-stage="3"] .phone { box-shadow: 0 0 calc(var(--ph) * .22) rgba(232,144,13,.34), 0 calc(var(--ph) * .06) calc(var(--ph) * .12) rgba(0,0,0,.6), inset 0 0 0 calc(var(--ph) * .004) rgba(255,255,255,.3); }
.phone::before { content: ""; position: absolute; left: 50%; top: 2.1%; width: 26%; height: 2.6%; margin-left: -13%; border-radius: 99px; background: #050607; z-index: 6; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--ph) * .068); overflow: hidden; background: #fff; isolation: isolate; }
.layer { position: absolute; inset: 0; padding: 4.4em 1.5em 1.5em; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .5s ease, transform .6s ease, visibility 0s linear .5s; font-family: var(--sans); font-weight: 600; }
.showcase[data-stage="1"] .l1, .showcase[data-stage="2"] .l2, .showcase[data-stage="3"] .l3 { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.layer h4 { margin: 0 0 .9em; font: 500 2em/1.05 var(--disp); }
.l1 { background: #F3F1E9; color: #1D2620; } .l2, .l3 { background: #0A2226; color: #FDF4E0; }
.row { display: flex; align-items: center; gap: .8em; padding: .85em; margin-bottom: .7em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .5em rgba(36,39,41,.1); }
.row i { flex: none; width: 2.4em; height: 2.4em; border-radius: .7em; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 1em; }
.row b { display: block; font-size: 1.05em; } .row small { display: block; margin-top: .15em; font-size: .85em; color: #6a6f73; font-weight: 500; }
.chip { margin-left: auto; padding: .25em .7em; border-radius: 99px; background: #e4ece7; color: #1C4B3A; font-size: .78em; }
.panel { position: absolute; left: .8em; right: .8em; bottom: .8em; padding: 1.1em; border-radius: 1.3em; background: #1C4B3A; color: #fff; transform: translateY(115%); transition: transform .7s cubic-bezier(.2,.8,.2,1) .15s; }
.showcase[data-stage="2"] .panel { transform: none; }
.panel b { font: 500 1.4em var(--disp); } .panel small { display: block; margin: .3em 0 .9em; color: #c9ccd0; font-size: .85em; font-weight: 500; }
.bar { height: .7em; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; } .bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: #F3F1E9; }
.showcase[data-stage="2"] .bar span { animation: fill 2.2s ease-out .5s forwards; }
@keyframes fill { to { width: 68%; } }
.steps { list-style: none; margin: 0 0 7em; padding: 0; } .steps li { display: flex; align-items: center; gap: .7em; padding: .55em 0; font-size: 1em; border-bottom: .08em solid #eceff2; }
.steps li::before { content: ""; width: 1.3em; height: 1.3em; border-radius: 50%; background: #1C4B3A; box-shadow: inset 0 0 0 .3em #fff, 0 0 0 .12em #1C4B3A; } .steps li.todo::before { background: #fff; box-shadow: 0 0 0 .12em #c8ccd0; }
.tag { display: inline-block; margin-bottom: .8em; padding: .25em .7em; border-radius: 99px; background: rgba(240,167,51,.18); color: #F0A733; font-size: .8em; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; margin-bottom: 1em; }
.kpi { padding: .9em; border-radius: 1em; background: rgba(253,244,224,.08); } .kpi b { display: block; font: 600 2em/1 var(--disp); color: #F0A733; } .kpi small { display: block; margin-top: .3em; color: #b9bdc2; font-size: .8em; font-weight: 500; }
.chart { width: 100%; height: 9em; margin-top: .4em; } .chart path { stroke-dasharray: 400; stroke-dashoffset: 400; } .showcase[data-stage="3"] .chart path { animation: draw 1.8s ease-out .4s forwards; } @keyframes draw { to { stroke-dashoffset: 0; } }
/* Cards around the phone: wide rounded cards whose inner edge tucks behind the phone */
.card { position: absolute; z-index: 1; display: flex; align-items: center; gap: 16px; width: var(--cw); min-height: 96px; padding: 22px 26px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(20,30,40,.05), 0 6px 14px rgba(20,30,40,.05), 0 18px 40px rgba(20,30,40,.09), 0 0 0 1px rgba(20,30,40,.035); transition: opacity .5s ease; opacity: .22; font-family: var(--sans); }
.card.on { opacity: 1; }
.showcase[data-stage="3"] .card, .showcase[data-stage="3"] .card.on { opacity: .09; }
.card .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-style: normal; } .card .ic svg { width: 21px; height: 21px; }
.card b { display: block; font-size: clamp(14px, 1.2vw, 17px); color: #242729; } .card span { display: block; margin-top: 3px; font-size: clamp(12.5px, 1vw, 15px); line-height: 1.35; color: #6a6f73; font-weight: 500; }
.cl1 { left: calc(50% - var(--pw)/2 - var(--cw) + 40px); top: 9%; } .cl2 { left: calc(50% - var(--pw)/2 - var(--cw) + 90px); top: 25%; } .cl3 { left: calc(50% - var(--pw)/2 - var(--cw) + 30px); top: 41%; } .cl4 { left: calc(50% - var(--pw)/2 - var(--cw) + 75px); top: 57%; } .cl5 { left: calc(50% - var(--pw)/2 - var(--cw) + 45px); top: 73%; }
.cr1 { left: calc(50% + var(--pw)/2 - 80px); top: 13%; } .cr2 { left: calc(50% + var(--pw)/2 - 35px); top: 29%; } .cr3 { left: calc(50% + var(--pw)/2 - 90px); top: 45%; } .cr4 { left: calc(50% + var(--pw)/2 - 50px); top: 61%; } .cr5 { left: calc(50% + var(--pw)/2 - 70px); top: 77%; }
/* Photo of a hand holding a phone; the screen opening is transparent and our screen content sits behind it */
.phone-wrap { width: calc(var(--ph) * 1.544); transform: translate(-47.6%, -34.4%) !important; top: 46% !important; }
.hand-photo { display: block; width: 100%; height: auto; position: relative; z-index: 2; pointer-events: none; user-select: none; }
.screen-holder { position: absolute; z-index: 1; left: 32.3%; top: 14.0%; width: 30.9%; height: 41%; font-size: calc(var(--ph) / 44); }
.screen-holder .screen { border-radius: calc(var(--ph) * .068); }
.phone { display: none; }
.showcase[data-stage="2"] .hand-photo, .showcase[data-stage="3"] .hand-photo { filter: brightness(.55) saturate(.9) contrast(1.1); }
.caption { display: none; }
/* Selector */
.selector { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 8; display: flex; padding: 5px; border-radius: 999px; background: #1C4B3A; box-shadow: 0 12px 30px rgba(20,30,40,.3); }
.selector::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 999px; background: #F3F1E9; transition: transform .45s cubic-bezier(.3,.8,.3,1); transform: translateX(calc(var(--i, 0) * 100%)); }
.sel { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 150px; padding: 11px 14px; border: 0; border-radius: 999px; background: none; color: #e7e1d3; font: 600 13.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: color .3s; }
.sel svg { width: 15px; height: 15px; flex: none; }
.sel.act { color: #172416; } .sel:focus-visible { outline: 3px solid #7FC8F2; outline-offset: 2px; }
/* Exit grid */
.ad-next { background: #fff; padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 48px) clamp(80px, 10vw, 130px); }
.ad-next h2 { margin: 0 auto 36px; max-width: 900px; text-align: center; font: 500 clamp(30px, 4.6vw, 56px)/1.05 var(--disp); color: var(--char); }
.cats { width: min(1000px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { padding: 22px 18px; border-radius: 16px; background: #F3F1E9; box-shadow: 0 8px 22px rgba(36,39,41,.08); font-family: var(--sans); }
.cat .ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 12px; background: #1C4B3A; color: #F3F1E9; } .cat .ic svg { width: 22px; height: 22px; }
.cat b { display: block; font-size: 17px; color: #242729; } .cat span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: #5f6469; font-weight: 500; }
@media (max-width: 1000px) { .cats { grid-template-columns: 1fr 1fr; } .card { width: min(210px, 22vw); } }
@media (max-width: 800px) {
  .card { display: none; }
  .stage { --ph: clamp(360px, 56vh, 480px); }
  .phone-wrap { top: 41% !important; }
  .caption { display: block; position: absolute; z-index: 4; left: 0; right: 0; bottom: 92px; padding: 0 22px; text-align: center; font-family: var(--sans); }
  .caption b { display: block; font: 700 21px/1.1 var(--disp); } .caption span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; opacity: .8; font-weight: 500; }
  .cap { display: none; } .showcase[data-stage="1"] .cap1, .showcase[data-stage="2"] .cap2, .showcase[data-stage="3"] .cap3 { display: block; }
  .selector { bottom: 16px; width: calc(100% - 24px); max-width: 420px; } .sel { flex: 1; min-width: 0; padding: 11px 6px; font-size: 12px; gap: 5px; } .sel svg { width: 13px; height: 13px; }
  .cats { grid-template-columns: 1fr; }
  .ad-intro { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) { .stage, .stage::before, .layer, .panel, .card, .selector::before, body.ad .nav .brand { transition: none !important; } .bar span, .chart path { animation: none !important; width: 68%; stroke-dashoffset: 0; } .chart path { width: auto; } }
@media (max-width: 800px) { body.ad .to-top { bottom: 84px; right: 12px; width: 38px; height: 38px; } }

.showcase[data-stage="2"] .card, .showcase[data-stage="2"] .card.on, .showcase[data-stage="3"] .card, .showcase[data-stage="3"] .card.on { opacity: .07; }

/* Apps screen + contact sheet inside the phone */
.app { display: flex; align-items: center; gap: .8em; padding: .85em; margin-bottom: .7em; border-radius: 1em; background: rgba(253,244,224,.08); }
.appic { flex: none; width: 3em; height: 3em; border-radius: .9em; display: grid; place-items: center; font: 700 1em var(--disp); font-style: normal; color: #0A2226; } .appic svg { width: 1.9em; height: 1.9em; }
.app b { display: block; font: 500 1.25em var(--disp); } .app small { display: block; margin-top: .2em; font-size: .85em; line-height: 1.35; color: #b9cecc; font-weight: 500; }
.applink { margin: 1em 0 0; font-size: .85em; color: #F0A733; font-weight: 600; }
.l3 { padding-top: 3.6em; } .l3 h4 { margin-bottom: .5em; font-size: 1.7em; }
.cf label { display: block; margin: .65em 0 .25em; font-size: .78em; color: #b9cecc; font-weight: 600; }
.cf input[type=text], .cf input[type=email], .cf textarea { width: 100%; padding: .6em .7em; border: .09em solid rgba(253,244,224,.25); border-radius: .6em; background: rgba(253,244,224,.08); color: #FDF4E0; font: 500 .95em var(--sans); outline: none; resize: none; }
.cf ::placeholder { color: rgba(253,244,224,.45); }
.cf input:focus-visible, .cf textarea:focus-visible { border-color: #E8900D; box-shadow: 0 0 0 .15em rgba(232,144,13,.35); }
.cf [aria-invalid="true"] { border-color: #ff8a73; }
.cf-err { margin: .6em 0 0; font-size: .8em; color: #ffb4a5; font-weight: 600; } .cf-err a { color: #F0A733; }
.cf-btn { width: 100%; margin-top: .9em; padding: .8em; border: 0; border-radius: .7em; background: #E8900D; color: #0A2226; font: 700 1em var(--sans); cursor: pointer; } .cf-btn[disabled] { opacity: .6; }
.cf-btn:focus-visible { outline: .15em solid #FDF4E0; outline-offset: .15em; }
.cf-done { text-align: center; padding: 3em 1em; } .cf-done svg { width: 4em; height: 4em; color: #F0A733; } .cf-done h5 { margin: .6em 0 .3em; font: 500 1.7em var(--disp); } .cf-done p { margin: 0; font-size: .95em; color: #b9cecc; font-weight: 500; }
@media (pointer: coarse) { .cf input[type=text], .cf input[type=email], .cf textarea { font-size: 16px; } }

/* ---- Four stages: Overview (two beats) / T30 / Three Circles / Get started ---- */
.showcase[data-stage="4"] .stage { background: #0F2F33; color: #FDF4E0; }
.showcase[data-stage="4"] .stage::before { opacity: 1; }
.showcase[data-stage="4"] .phone { box-shadow: 0 0 calc(var(--ph) * .22) rgba(232,144,13,.34), 0 calc(var(--ph) * .06) calc(var(--ph) * .12) rgba(0,0,0,.6), inset 0 0 0 calc(var(--ph) * .004) rgba(255,255,255,.3); }
.showcase[data-stage="4"] .hand-photo { filter: brightness(.55) saturate(.9) contrast(1.1); }
.showcase[data-stage="4"] .card, .showcase[data-stage="4"] .card.on { opacity: .07; }
.showcase[data-stage="2"] .l2, .showcase[data-stage="3"] .l3, .showcase[data-stage="4"] .l4 { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.showcase[data-stage="4"] .cap4 { display: block; }
.selector::before { width: calc((100% - 10px) / 4); }
.sel { min-width: 128px; }
/* Overview beat two: first set dims, the dimmed set comes to light */
.card { transition: opacity .7s ease; }
/* Video layers: the phone screen is filled by the clip; the info panel shows until a clip loads */
.vlayer { padding: 0; background: #0A2226; }
.vlayer .pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; background: #0A2226; }
.vlayer.has .pv { opacity: 1; }
.vlayer.has .vfall { display: none; }
.vfall { position: absolute; inset: 0; padding: 4.4em 1.5em 1.5em; }
@media (max-width: 800px) { .sel span { font-size: 11px; } .sel svg { display: none; } }
.l4 { background: #0A2226; color: #FDF4E0; padding-top: 3.6em; } .l4 h4 { margin-bottom: .5em; font-size: 1.7em; }
.l3 h4 { font-size: 2em; margin-bottom: .9em; }

.ad-intro h1 { font-size: clamp(30px, 4.4vw, 62px); line-height: 1.08; max-width: 17em; text-wrap: balance; }

/* Logos on the phone, and the softer look for dimmed frames */
.vfall { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 5.2em; }
.logo-card { background: #fff; border-radius: 1.1em; padding: 1em 1em; display: grid; place-items: center; box-shadow: 0 .4em 1.4em rgba(0,0,0,.28); }
.logo-card img { display: block; width: 100%; height: auto; }
.vdesc { margin: 1.2em .2em 0; font: 500 .95em/1.45 var(--sans); color: #e9e2d2; text-align: center; }
.vfall .applink { text-align: center; }
.card { opacity: .34; }
.card.on { opacity: 1; }
.showcase[data-stage="2"] .card, .showcase[data-stage="2"] .card.on, .showcase[data-stage="3"] .card, .showcase[data-stage="3"] .card.on, .showcase[data-stage="4"] .card, .showcase[data-stage="4"] .card.on { opacity: .07; }

/* Logo tabs: each logo sits on a small white chip so it reads on both the green bar and the cream pill */
.sel.logo { padding: 5px 10px; }
.sel.logo img { display: block; height: 22px; width: auto; max-width: 100%; box-sizing: content-box; padding: 5px 9px; background: #fff; border-radius: 10px; }
@media (max-width: 800px) { .sel.logo { padding: 5px 4px; } .sel.logo img { height: 16px; padding: 4px 6px; } }
.sel { flex: 1 1 0; min-width: 138px; }
@media (max-width: 800px) { .sel { min-width: 0; } .sel.logo { overflow: hidden; } }

/* Logo tabs: transparent logos, white on the bar and black on the cream pill */
.sel.logo { padding: 11px 10px; }
.sel.logo .lg, .sel.logo .lg-icon { display: block; height: 20px; width: auto; max-width: 100%; box-sizing: border-box; padding: 0; background: none; border-radius: 0; }
.sel.logo .lg-icon { height: 22px; margin-right: 7px; }
.sel.logo .lg-b { display: none; } .sel.logo.act .lg-w { display: none; } .sel.logo.act .lg-b { display: block; }
.sel[data-go="1"] .lg { height: 24px; }
/* Bracket over T30 and 3 Circles: marks them as the portfolio */
.apps-group { position: absolute; bottom: calc(100% + 10px); left: calc(5px + (100% - 10px) / 4 + 8px); width: calc((100% - 10px) / 2 - 16px); height: 9px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; color: #1C4B3A; opacity: .75; pointer-events: none; transition: color .5s ease; }
.apps-label { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -5px); white-space: nowrap; font: 600 12px/1 var(--sans); letter-spacing: .04em; color: inherit; }
.showcase:not([data-stage="1"]) .apps-group { color: #e7e1d3; }
@media (max-width: 800px) {
  .sel.logo { padding: 11px 4px; } .sel.logo .lg, .sel.logo .lg-icon { height: 15px; } .sel[data-go="1"] .lg { height: 18px; } .sel.logo .lg-icon { height: 17px; margin-right: 4px; }
  .caption { bottom: 120px; }
  .apps-label { font-size: 11px; }
}
.sel.logo .lg, .sel.logo .lg-icon { flex: none; max-width: none; }
.sel[data-go="2"] .lg { height: 13px; }
.sel.logo .lg-icon { height: 24px; }
@media (max-width: 800px) { .sel[data-go="2"] .lg { height: 9px; } .sel.logo .lg-icon { height: 15px; margin-right: 4px; } .sel[data-go="1"] .lg { height: 16px; } }
.sel.logo .lg-icon { height: 28px; }
@media (max-width: 800px) { .sel.logo .lg-icon { height: 18px; } }

/* ---- Headline: Clash Display, higher on the page, with "world-class" written in pencil ---- */
@font-face { font-family: "Clash Display"; font-weight: 400 900; font-style: normal; font-display: swap; src: url("fonts/clash-display-700.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); }
.ad-intro { min-height: 0; justify-content: flex-start; padding: clamp(96px, 15vh, 132px) 24px 28px; }
.ad-intro h1 { font: 700 clamp(30px, 4.3vw, 60px)/1.1 "Clash Display", var(--sans); letter-spacing: -.01em; color: #1C4B3A; max-width: 17em; text-wrap: balance; }
.ad-intro p { margin-top: 18px; }
.pencil { position: relative; display: inline-block; font: 700 1.32em/.85 "Caveat", cursive; letter-spacing: 0; color: #3f464b; transform: rotate(-2.5deg); padding: 0 .08em; filter: url(#pencil); }
.pencil::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: -.12em; height: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C30 3 58 11 90 6 S150 3 198 8' fill='none' stroke='%233f464b' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M6 12 C50 8 110 12 170 9' fill='none' stroke='%233f464b' stroke-width='1.4' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); animation: pencilDraw .9s .5s ease-out forwards; }
@keyframes pencilDraw { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .pencil::after { animation: none; clip-path: none; } }
/* ---- Tab labels: white; the selected tab goes dark ---- */
.sel { color: #fff; }
.sel.act { color: #111; }
/* ---- Backgrounds behind the phone: T30 topographic texture, 3 Circles honeycomb ---- */
.stage::before { z-index: 0; }
.bgfx { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; background-position: center; background-repeat: no-repeat; background-size: cover; }
.bgfx.t30 { background-image: url("scene/t30-topo.png"); -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 48%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 85% at 50% 48%, #000 30%, transparent 100%); }
.bgfx.hex { background-image: url("scene/hex-bg.png"); -webkit-mask-image: radial-gradient(ellipse 85% 90% at 50% 48%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 85% 90% at 50% 48%, #000 35%, transparent 100%); }
.showcase[data-stage="2"] .bgfx.t30 { opacity: .5; }
.showcase[data-stage="3"] .bgfx.hex { opacity: 1; }
.ad-intro h1 { word-spacing: .14em; }
/* ---- Headline: standard app-style sans (Inter); coloured pencil for "world-class" ---- */
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); }
.ad-intro h1 { font: 700 clamp(30px, 4.2vw, 58px)/1.1 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.025em; word-spacing: 0; }
.pencil { color: #D2461F; }
.pencil::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C30 3 58 11 90 6 S150 3 198 8' fill='none' stroke='%23D2461F' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M6 12 C50 8 110 12 170 9' fill='none' stroke='%23D2461F' stroke-width='1.4' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E"); }
/* ---- No feature frames behind the phone once we leave Overview ---- */
.showcase[data-stage="2"] .card, .showcase[data-stage="2"] .card.on, .showcase[data-stage="3"] .card, .showcase[data-stage="3"] .card.on, .showcase[data-stage="4"] .card, .showcase[data-stage="4"] .card.on { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
/* ---- 3 Circles stage: white field with a colourful honeycomb ---- */
.bgfx.hex { background-image: url("scene/hex-color.png"); -webkit-mask-image: radial-gradient(ellipse 95% 100% at 50% 50%, #000 55%, rgba(0,0,0,.55) 100%); mask-image: radial-gradient(ellipse 95% 100% at 50% 50%, #000 55%, rgba(0,0,0,.55) 100%); }
.showcase[data-stage="3"] .stage { background: #fff; color: #1D2620; }
.showcase[data-stage="3"] .stage::before { opacity: 0; }
.showcase[data-stage="3"] .hand-photo { filter: none; }
.showcase[data-stage="3"] .apps-group { color: #1C4B3A; }
/* ---- "world-class" is written out letter by letter, like a pencil writing in real time ---- */
.pencil .pl { display: inline-block; clip-path: inset(-30% 100% -30% -6%); animation: penWrite var(--pw, .2s) linear forwards; animation-delay: var(--pd, 0s); }
@keyframes penWrite { to { clip-path: inset(-30% -6% -30% -6%); } }
.pencil::after { animation-delay: var(--ul, 2s); }
@media (prefers-reduced-motion: reduce) { .pencil .pl { animation: none; clip-path: none; } }
/* ---- New hand photo (high-res, transparent screen opening; screen centre at 70.7% / 42.1% of the image) ---- */
.phone-wrap { width: calc(var(--ph) * 1.244); transform: translate(-70.72%, -42.05%) !important; top: 47% !important; }
.screen-holder { left: 52.6%; top: 2.95%; width: 36.26%; height: 78.2%; font-size: calc(var(--ph) / 44 * .93); }
.screen-holder .screen { border-radius: calc(var(--ph) * .05); }
.hand-photo { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 80%, transparent 100%); }
/* ---- Overview frames: stronger contrast between lit and dimmed ---- */
.card { opacity: .13; transform: scale(.97); filter: saturate(.6); transition: opacity .7s ease, transform .7s ease, filter .7s ease, box-shadow .7s ease; }
.card.on { opacity: 1; transform: scale(1.02); filter: none; box-shadow: 0 2px 4px rgba(20,30,40,.06), 0 10px 24px rgba(20,30,40,.10), 0 26px 56px rgba(20,30,40,.16), 0 0 0 1px rgba(20,30,40,.05); }
.showcase[data-stage="2"] .card, .showcase[data-stage="3"] .card, .showcase[data-stage="4"] .card { transform: scale(.97); }
/* pencil word: never clip the strokes, during or after the write-on */
.pencil { padding: 0 .14em; }
.pencil .pl { padding: .2em .06em; margin: -.2em -.06em; clip-path: inset(-50% 100% -50% -12%); }
@keyframes penWrite { to { clip-path: inset(-50% -50% -50% -50%); } }
@media (prefers-reduced-motion: reduce) { .pencil .pl { animation: none; clip-path: none; } }

/* ---- Sound button on the phone videos ---- */
.snd { position: absolute; right: .85em; bottom: .85em; z-index: 6; width: max(2.7em, 30px); height: max(2.7em, 30px); padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(10,34,38,.66); color: #FDF4E0; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s ease, background .2s ease; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 0 0 1px rgba(253,244,224,.18); }
.vlayer.has .snd { opacity: 1; pointer-events: auto; }
.snd:hover, .snd:focus-visible { background: rgba(10,34,38,.9); outline: none; box-shadow: 0 0 0 2px #E8900D; }
.snd svg { width: 58%; height: 58%; } .snd .i-on { display: none; } .snd.on .i-on { display: block; } .snd.on .i-off { display: none; }
.l3 .pv { object-fit: contain; }
/* ---- 3 Circles stage: graffiti logo on the honeycomb wall, shimmering tiles ---- */
.grf { position: absolute; z-index: 1; pointer-events: none; user-select: none; opacity: 0; mix-blend-mode: multiply; filter: blur(5px); transition: opacity .9s ease .15s, filter 1.1s ease .15s; }
.showcase[data-stage="3"] .grf { opacity: .96; filter: none; }
.grf-icon { left: 7%; top: 12%; width: calc(var(--ph) * .5); transform: rotate(-8deg); }
.grf-text { left: 62%; top: 26%; width: calc(var(--ph) * .88); transform: rotate(5deg); }
.bgfx.glint { background-image: url("scene/hex-glint-1.png"); -webkit-mask-image: radial-gradient(ellipse 95% 100% at 50% 50%, #000 55%, rgba(0,0,0,.55) 100%); mask-image: radial-gradient(ellipse 95% 100% at 50% 50%, #000 55%, rgba(0,0,0,.55) 100%); }
.bgfx.glint.g2 { background-image: url("scene/hex-glint-2.png"); } .bgfx.glint.g3 { background-image: url("scene/hex-glint-3.png"); }
.showcase[data-stage="3"] .bgfx.glint { animation: glint 6s ease-in-out infinite; }
.showcase[data-stage="3"] .bgfx.glint.g2 { animation-duration: 7.2s; animation-delay: 1.8s; } .showcase[data-stage="3"] .bgfx.glint.g3 { animation-duration: 5.4s; animation-delay: 3.4s; }
@keyframes glint { 0%, 100% { opacity: 0; } 38% { opacity: 1; } 52% { opacity: .35; } 66% { opacity: .85; } 80% { opacity: 0; } }
.sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.showcase[data-stage="3"] .sparks { opacity: 1; }
.sparks i { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.2 9.8L24 12l-9.8 2.2L12 24l-2.2-9.8L0 12l9.8-2.2z' fill='%23fff3c4'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(232,170,40,.95)); transform: scale(0) rotate(0deg); opacity: 0; animation: twinkle 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%, 70%, 100% { transform: scale(0) rotate(0deg); opacity: 0; } 82% { transform: scale(1) rotate(45deg); opacity: 1; } 92% { transform: scale(.45) rotate(90deg); opacity: .6; } }
@media (max-width: 800px) {
  .grf-icon { left: 4%; top: 3%; width: calc(var(--ph) * .26); } .grf-text { left: 33%; top: 5%; width: calc(var(--ph) * .62); transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) { .showcase[data-stage="3"] .bgfx.glint { animation: none; opacity: .5; } .sparks i { animation: none; transform: scale(.7); opacity: .8; } .grf { transition: none; filter: none; } }
.grf-icon { left: 13%; top: 13%; width: calc(var(--ph) * .6); }
.grf-text { left: 57%; top: 24%; width: calc(var(--ph) * .98); }
@media (max-width: 800px) { .grf-icon { left: 3%; top: 3%; width: calc(var(--ph) * .26); } .grf-text { left: 31%; top: 6%; width: calc(var(--ph) * .56); } }
.grf-text { left: 60%; width: calc(var(--ph) * .94); } @media (max-width: 800px) { .grf-text { left: 31%; width: calc(var(--ph) * .56); } }
/* honeycomb now matches the 3 Circles website: hairline cells with tinted edges, in more colours */
.bgfx.hex { -webkit-mask-image: radial-gradient(ellipse 110% 110% at 50% 50%, #000 62%, rgba(0,0,0,.7) 100%); mask-image: radial-gradient(ellipse 110% 110% at 50% 50%, #000 62%, rgba(0,0,0,.7) 100%); }
/* honeycomb: the website's pale hairline pattern only, strongest toward the right and top, fading out toward the lower left */
.bgfx.hex { -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,0) 6%, rgba(0,0,0,.5) 34%, #000 62%); mask-image: linear-gradient(115deg, rgba(0,0,0,0) 6%, rgba(0,0,0,.5) 34%, #000 62%); }
.bgfx.glint { -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,0) 6%, rgba(0,0,0,.5) 34%, #000 62%); mask-image: linear-gradient(115deg, rgba(0,0,0,0) 6%, rgba(0,0,0,.5) 34%, #000 62%); }
.grf-icon { left: 12%; top: 14%; width: calc(var(--ph) * .62); }

/* ---- Overview phone: "The process" sprayed on a brick wall ---- */
@font-face { font-family: "Rubik Spray Paint"; font-weight: 400; font-display: swap; src: url("fonts/rubik-spray-paint-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Permanent Marker"; font-weight: 400; font-display: swap; src: url("fonts/permanent-marker-latin-400-normal.woff2") format("woff2"); }
.l1 { background: linear-gradient(180deg, rgba(24,8,6,.52), rgba(24,8,6,.38) 45%, rgba(24,8,6,.55)), #6a2c22 url("scene/brick.jpg") center / cover no-repeat; background-blend-mode: normal; color: #fff; padding: 4.2em 1.2em 1em; }
.l1 .tag { margin: 0 0 .55em; font: 400 2.55em/.95 "Rubik Spray Paint", "Permanent Marker", sans-serif; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 0 .22em rgba(127,200,242,.9), .055em .055em 0 #7FC8F2, .11em .11em .18em rgba(0,0,0,.35); }
.proc { list-style: none; margin: 0; padding: 0; }
.proc li { display: flex; align-items: center; gap: .6em; margin: 0 0 .62em; }
.proc .n { flex: none; display: grid; place-items: center; width: 1.95em; height: 1.95em; border-radius: 50%; font: 400 1.35em/1 "Permanent Marker", sans-serif; color: var(--c); border: .13em solid var(--c); text-shadow: 0 0 .25em rgba(0,0,0,.5); box-shadow: 0 0 .5em rgba(0,0,0,.28), inset 0 0 .5em rgba(0,0,0,.28); transform: rotate(-6deg); }
.proc b { display: block; font: 400 1.62em/1 "Rubik Spray Paint", "Permanent Marker", sans-serif; letter-spacing: .02em; text-transform: uppercase; color: var(--c); text-shadow: 0 0 .3em color-mix(in srgb, var(--c) 60%, transparent), .07em .07em 0 #000, -.04em -.04em 0 rgba(0,0,0,.8), .04em -.04em 0 rgba(0,0,0,.8), -.04em .04em 0 rgba(0,0,0,.8); }
.proc small { display: block; margin-top: .25em; font: 400 .88em/1.15 "Permanent Marker", sans-serif; color: #fff; text-shadow: 0 .08em .18em #000, 0 0 .5em rgba(0,0,0,.85); }
/* ---- Headline: "world-class" sprayed on, with drips ---- */
.pencil { font: 400 1.18em/.9 "Rubik Spray Paint", "Permanent Marker", sans-serif; letter-spacing: .015em; color: #F0562A; transform: rotate(-3deg); padding: 0 .12em; text-shadow: 0 0 .2em rgba(240,86,42,.55), .05em .05em 0 #7FC8F2, .1em .1em .14em rgba(0,0,0,.18); }
.pencil .pl { clip-path: none; opacity: 0; animation: sprayIn var(--pw, .2s) ease-out forwards; animation-delay: var(--pd, 0s); padding: 0; margin: 0; }
@keyframes sprayIn { from { opacity: 0; filter: blur(9px); transform: scale(1.3); } to { opacity: 1; filter: blur(0); transform: none; } }
.pencil::after { left: 6%; right: 6%; bottom: -.4em; height: .5em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cg stroke='%23F0562A' stroke-linecap='round' fill='none'%3E%3Cpath d='M14 0v22' stroke-width='3.4'/%3E%3Cpath d='M41 0v34' stroke-width='3'/%3E%3Cpath d='M66 0v15' stroke-width='3.4'/%3E%3Cpath d='M88 0v27' stroke-width='3'/%3E%3C/g%3E%3Cg fill='%23F0562A'%3E%3Ccircle cx='14' cy='23' r='3'/%3E%3Ccircle cx='41' cy='35' r='2.8'/%3E%3Ccircle cx='66' cy='16' r='3'/%3E%3Ccircle cx='88' cy='28' r='2.8'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; clip-path: inset(0 0 100% 0); animation: dripDown .9s var(--ul, 2s) ease-in forwards; }
@keyframes dripDown { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .pencil .pl { animation: none; opacity: 1; } .pencil::after { animation: none; clip-path: none; } }
.proc li { margin-bottom: 1.25em; } .proc b { font-size: 1.78em; } .proc small { font-size: .95em; } .l1 .tag { margin-bottom: .8em; }

/* ---- Get started: white graffiti promise, tilted up to the right ---- */
.l4 .promise { position: absolute; left: .7em; right: .7em; bottom: 3.1em; margin: 0; z-index: 1; pointer-events: none; text-align: center; text-transform: uppercase; font: 400 1.9em/1.04 "Rubik Spray Paint", "Permanent Marker", sans-serif; letter-spacing: .02em; color: #fff; transform: rotate(-9deg); transform-origin: 50% 60%; text-shadow: 0 0 .24em rgba(255,255,255,.6), .05em .06em .14em rgba(0,0,0,.55); }

/* ---- Bubble-graffiti lettering (replaces the earlier spray font versions) ---- */
.bub-wrap { display: inline-block; vertical-align: -.34em; margin: 0 .08em; line-height: 1; }
.bub { display: block; height: 1.5em; width: auto; max-width: none; transform: rotate(-2.5deg); clip-path: inset(-25% 100% -35% -3%); animation: bubPaint 1.1s .5s cubic-bezier(.3,.7,.2,1) forwards; }
@keyframes bubPaint { to { clip-path: inset(-25% -4% -35% -3%); } }
@media (prefers-reduced-motion: reduce) { .bub { animation: none; clip-path: none; } }
.l4 .promise { position: absolute; left: 50%; right: auto; bottom: 1.6em; width: 112%; max-width: none; height: auto; margin: 0; padding: 0; transform: translateX(-50%) rotate(-8deg); transform-origin: 50% 55%; filter: none; text-shadow: none; z-index: 1; pointer-events: none; }
.l4 .promise { width: 101%; bottom: 2em; }
.bub { height: 1.7em; } .bub-wrap { vertical-align: -.4em; }

/* ---- T30 stage: sprayed logo on the right of the phone ---- */
.grf-t30 { right: 5%; top: 20%; width: calc(var(--ph) * .95); transform: rotate(5deg); mix-blend-mode: normal; }
.showcase[data-stage="2"] .grf-t30 { opacity: .97; filter: none; }
@media (max-width: 800px) { .grf-t30 { right: 2%; top: 3%; width: calc(var(--ph) * .5); } }
/* ---- What we build: graffiti brick cards that pop on hover, with icons drawn on ---- */
.cats { width: min(1100px, 100%); gap: 18px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 20px 18px 20px; border-radius: 20px; overflow: visible; color: #fff;
  background: linear-gradient(180deg, rgba(10,4,3,.12) 0%, rgba(10,4,3,.2) 45%, rgba(10,4,3,.72) 100%), var(--w) center / cover no-repeat; box-shadow: 0 10px 24px rgba(20,10,8,.25), inset 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .38s cubic-bezier(.2,.9,.25,1.2), box-shadow .38s ease, filter .38s ease; will-change: transform; cursor: default; }
.cat:hover, .cat:focus-within { transform: translateY(-16px) scale(1.06) rotate(-1.6deg); z-index: 3; filter: brightness(1.1) saturate(1.1); box-shadow: 0 34px 50px rgba(20,10,8,.38), 0 6px 12px rgba(20,10,8,.3), inset 0 0 0 1px rgba(255,255,255,.14); }
.cat:nth-child(even):hover { transform: translateY(-16px) scale(1.06) rotate(1.6deg); }
.cat-ic { position: absolute; left: 16px; top: 14px; width: 84px; height: 84px; overflow: visible; fill: none; stroke: var(--c); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(3px 3px 0 #000); }
.cat-ic path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cats.in .cat-ic path { animation: drawIcon 1.15s ease forwards; animation-delay: calc(var(--n) * .28s); }
.cats.in .cat:hover .cat-ic path { animation: drawIcon2 .9s ease forwards; animation-delay: 0s; }
@keyframes drawIcon { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes drawIcon2 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cat .cat-title { display: block; width: 100%; height: auto; margin: 0 0 8px; transition: transform .38s cubic-bezier(.2,.9,.25,1.3); transform-origin: left center; }
.cat:hover .cat-title { transform: scale(1.06) rotate(-1deg); }
.cat span { margin: 0; font: 600 14.5px/1.4 var(--sans); color: #fff; text-shadow: 0 1px 2px #000, 0 0 10px rgba(0,0,0,.85); }
@media (prefers-reduced-motion: reduce) { .cat-ic path { stroke-dashoffset: 0; animation: none !important; } .cat { transition: none; } }

/* =====================  MOBILE POLISH  ===================== */
/* videos: the poster shows straight away, the clip fades in over it; the old text fallback is no longer needed */
.vlayer .pv { opacity: 1; }
.vfall { display: none; }
.bub { clip-path: none; animation: bubPop .7s .35s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes bubPop { from { opacity: 0; transform: translateY(8px) scale(.9) rotate(-2.5deg); } to { opacity: 1; transform: rotate(-2.5deg); } }
@media (prefers-reduced-motion: reduce) { .bub { animation: none; } }
/* stable sticky scene on phones: svh does not change as the browser bars slide away */
@supports (height: 100svh) {
  .showcase { height: 560svh; }
  .stage { height: 100svh; }
  @media (max-width: 800px) { .stage { --ph: clamp(360px, 56svh, 480px); } }
}
@media (max-width: 800px), (pointer: coarse) {
  .bgfx.glint, .sparks { display: none; }
  .grf { mix-blend-mode: normal; }
  .snd { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,34,38,.85); }
  .card, .card.on { will-change: auto; filter: none; transition: opacity .6s ease; }
  .cat { will-change: auto; }
}
@media (max-width: 800px) {
  /* headline */
  .ad-intro { padding: 92px 18px 18px; }
  .ad-intro h1 { font-size: clamp(26px, 7.6vw, 34px); line-height: 1.12; letter-spacing: -.02em; max-width: 15em; }
  .ad-intro p { font-size: 15.5px; margin-top: 12px; max-width: 22em; }
  .bub { height: 1.4em; } .bub-wrap { vertical-align: -.32em; margin: .05em .05em; }
  /* the feature frames come back behind the hand */
  .card { display: flex; --cw: 62vw; width: 62vw; min-height: 64px; padding: 11px 13px; gap: 9px; border-radius: 15px; }
  .card .ic { width: 30px; height: 30px; } .card .ic svg { width: 15px; height: 15px; }
  .card b { font-size: 12.5px; } .card span { font-size: 11px; margin-top: 2px; }
  .stage { --cw: 62vw; }
  /* get started form fits the shorter screen */
  .l4 { padding-top: 3em; } .l4 h4 { font-size: 1.4em; margin-bottom: .3em; }
  .cf label { margin: .4em 0 .12em; font-size: .72em; }
  .cf input[type=text], .cf input[type=email], .cf textarea { padding: .45em .6em; font-size: .86em; }
  .cf textarea { height: 3.4em; min-height: 3.4em; }
  .cf-btn { margin-top: .55em; padding: .6em; }
  .l4 .promise { width: 78%; bottom: .9em; }
  /* tidy the captions and the bracket */
  .caption { bottom: 124px; } .caption b { font-size: 19px; } .caption span { font-size: 13px; }
  .apps-label { font-size: 10.5px; }
  .selector { bottom: max(14px, env(safe-area-inset-bottom)); }
  /* what we build */
  .ad-next { padding: 56px 16px 72px; } .ad-next h2 { font-size: 34px; margin-bottom: 22px; }
  .cats { gap: 16px; width: min(420px, 100%); } .cat { min-height: 300px; }
  .cat:hover, .cat:focus-within { transform: none; filter: none; }
  .cat:active { transform: translateY(-6px) scale(1.02); }
  body.ad .to-top { bottom: 92px; }
}
@media (max-width: 800px) {
  .card.cr5 { display: none; }
  .caption { padding-top: 14px; }
  .caption::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; bottom: -120px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 34%); }
  .showcase[data-stage="2"] .caption::before, .showcase[data-stage="4"] .caption::before { background: linear-gradient(to bottom, rgba(15,47,51,0), #0F2F33 34%); }
}

/* "world-class" is sprayed on one letter at a time: W, O, R, L, D, -, C, L, A, S, S */
.bub-word { display: inline-flex; align-items: flex-end; transform: rotate(-2.5deg); }
.bl { position: relative; display: block; height: 1.7em; }
.bl img { display: block; height: 100%; width: auto; max-width: none; opacity: 0; transform: scale(1.28); transform-origin: 50% 60%; animation: sprayLetter .36s var(--d, 0s) cubic-bezier(.2,.8,.3,1) forwards; }
.bl::before { content: ""; position: absolute; left: 50%; top: 42%; width: 1.6em; height: 1.6em; margin: -.8em 0 0 -.8em; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.4);
  background: radial-gradient(closest-side, rgba(255,128,76,.8), rgba(255,128,76,.3) 55%, rgba(255,128,76,0) 72%); animation: sprayMist .6s var(--d, 0s) ease-out forwards; }
@keyframes sprayLetter { 0% { opacity: 0; transform: scale(1.28); } 45% { opacity: .8; } 100% { opacity: 1; transform: none; } }
@keyframes sprayMist { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.8); } }
@media (max-width: 800px) { .bl { height: 1.4em; } }
@media (prefers-reduced-motion: reduce) { .bl img { animation: none; opacity: 1; transform: none; } .bl::before { display: none; } }
/* each sprayed logo belongs to its own stage only: T30 on the T30 stage, the hexagon on the 3 Circles stage */
.showcase:not([data-stage="2"]) .grf.grf-t30 { opacity: 0; }
.showcase:not([data-stage="3"]) .grf.grf-icon { opacity: 0; }
/* ---- phones: smaller phone, captions clear of it, and the frames fully visible beside the hand ---- */
@media (max-width: 800px) {
  .stage { --ph: clamp(320px, 50vh, 440px); }
  @supports (height: 100svh) { .stage { --ph: clamp(320px, 50svh, 440px); } }
  .phone-wrap { top: 40% !important; }
  .card { width: 40vw; --cw: 40vw; min-height: 52px; padding: 8px 10px; gap: 7px; border-radius: 13px; }
  .card .ic { width: 26px; height: 26px; } .card .ic svg { width: 13px; height: 13px; }
  .card b { font-size: 11.5px; line-height: 1.15; }
  .card span { margin-top: 1px; font-size: 9.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cl1, .cl2, .cl3, .cl4 { left: 2vw !important; }
  .cr1, .cr2, .cr3, .cr4 { left: auto !important; right: 2vw; flex-direction: row-reverse; text-align: right; }
  .cl1 { top: 7%; } .cl2 { top: 21%; } .cl3 { top: 35%; } .cl4 { top: 49%; }
  .cr1 { top: 11%; } .cr2 { top: 25%; } .cr3 { top: 39%; } .cr4 { top: 53%; }
  .caption { bottom: 132px; padding-top: 18px; }
}
@media (max-width: 800px) {
  .cl1 { top: 5%; } .cl2 { top: 16%; } .cl3 { top: 27%; } .cl4 { top: 38%; }
  .cr1 { top: 9%; } .cr2 { top: 22%; } .cr3 { top: 36%; } .cr4 { top: 50%; }
}
/* phones: the hexagon graffiti peeks out from behind the phone's top-left corner */
@media (max-width: 800px) {
  .grf-icon { left: calc(50% - var(--ph) * .54); top: calc(40% - var(--ph) * .76); width: calc(var(--ph) * .44); transform: rotate(-8deg); }
}

@media (max-width: 800px) { .caption { padding-top: 0; } .caption::before { top: -34px; } }
/* T30 and 3 Circles stages carry no description text, only the phone */
.cap2, .cap3, .showcase[data-stage="2"] .cap2, .showcase[data-stage="3"] .cap3 { display: none !important; }
.showcase[data-stage="2"] .caption::before, .showcase[data-stage="3"] .caption::before { display: none; }
/* Overview phone: the five steps fill the whole screen; the brick sits back behind a darker veil */
.l1 { display: flex; flex-direction: column; padding: 3.6em 1.1em 1.5em; background: linear-gradient(180deg, rgba(18,6,5,.66), rgba(18,6,5,.58) 50%, rgba(18,6,5,.7)), #5a2820 url("scene/brick.jpg") center / cover no-repeat; }
.l1 .tag { font-size: 3em; margin: 0 0 .35em; flex: none; }
.proc { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; padding: 0 0 .2em; }
.proc li { margin: 0; gap: .7em; }
.proc .n { width: 2.35em; height: 2.35em; font-size: 1.55em; }
.proc b { font-size: 2.15em; }
.proc small { font-size: 1.12em; margin-top: .3em; }
/* phones: a roomier Get started form and a bigger sprayed promise */
@media (max-width: 800px) {
  .l4 { padding: 2.9em .95em .8em; font-size: 1.22em; }
  .l4 h4 { font-size: 1.25em; margin: 0 0 .35em; line-height: 1.05; }
  .cf label { font-size: .8em; margin: .5em 0 .18em; }
  .cf input[type=text], .cf input[type=email], .cf textarea { padding: .62em .7em; font-size: 1em; border-radius: .6em; }
  .cf textarea { height: 3.9em; min-height: 3.9em; }
  .cf-btn { margin-top: .7em; padding: .72em; font-size: 1.05em; }
  .l4 .promise { width: 104%; bottom: .5em; }
}
@media (max-width: 800px) { .l4 { font-size: 1.36em; padding-top: 2.7em; } .l4 .promise { width: 100%; } }
/* ---- Get started: a white stage, with the surrounding text back to dark ---- */
.showcase[data-stage="4"] .stage { background: #fff; color: #1D2620; }
.showcase[data-stage="4"] .stage::before { opacity: 0; }
.showcase[data-stage="4"] .hand-photo { filter: none; }
.showcase[data-stage="4"] .phone { box-shadow: 0 calc(var(--ph) * .06) calc(var(--ph) * .12) rgba(20,30,40,.38), inset 0 0 0 calc(var(--ph) * .004) rgba(255,255,255,.25); }
.showcase[data-stage="4"] .apps-group { color: #1C4B3A; }
.showcase[data-stage="4"] .caption b { color: #1D2620; }
.showcase[data-stage="4"] .caption span { color: #55595d; opacity: 1; }
.showcase[data-stage="4"] .caption::before { background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 34%); }
/* "What we build." uses the same type as the main headline */
.ad-next h2 { font: 700 clamp(30px, 4.2vw, 58px)/1.1 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.025em; color: #1C4B3A; }
@media (max-width: 800px) { .ad-next h2 { font-size: clamp(28px, 7.6vw, 34px); line-height: 1.12; letter-spacing: -.02em; } }

/* ---- "world-class": spray-paint reveal. A hand with a can sweeps across; the letters appear behind it. ---- */
.bub-wrap { position: relative; }
.bl img { animation: none; opacity: 1; transform: none; } .bl::before { display: none; }
.bub-word { --p: 0; -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p) * 100% - 4%), transparent calc(var(--p) * 100% + 2%)); mask-image: linear-gradient(100deg, #000 calc(var(--p) * 100% - 4%), transparent calc(var(--p) * 100% + 2%)); }
.bub-word.spray-done { -webkit-mask-image: none; mask-image: none; }
.spray-fx { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 2; }
.spray-mist { position: absolute; display: block; pointer-events: none; }
.spray-hand { position: absolute; left: 0; top: 0; height: 2.5em; width: auto; max-width: none; opacity: 0; will-change: transform, opacity; transform-origin: 43% 5%; filter: drop-shadow(0 .06em .08em rgba(0,0,0,.28)); }
@media (max-width: 800px) { .spray-hand { height: 2.1em; } }
@media (prefers-reduced-motion: reduce) { .bub-word { -webkit-mask-image: none; mask-image: none; } .spray-fx { display: none; } }

/* ---- "World Class": condensed slanted spray lettering painted on by a hand with a can (canvas) ---- */
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); }
.wc { position: relative; display: inline-block; width: 6.6em; height: 1.02em; margin: 0 .2em; vertical-align: baseline; }
.wc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; font: 400 1em/1 "Anton", Impact, sans-serif; }
.wc-cv { position: absolute; left: 0; top: 0; display: block; pointer-events: none; }
.spray-fx, .spray-mist { display: none; }
.wc .spray-hand { position: absolute; left: 0; top: 0; height: 2.7em; width: auto; max-width: none; opacity: 0; z-index: 2; pointer-events: none; will-change: transform, opacity; transform-origin: 47% 3%; filter: drop-shadow(0 .05em .07em rgba(0,0,0,.3)); }
@media (max-width: 800px) { .wc .spray-hand { height: 2.3em; } }
@media (prefers-reduced-motion: reduce) { .wc .spray-hand { display: none; } }

/* "world-class": the original bubble-graffiti lettering, larger, tilted up to the right, riding over the neighbouring words */
.wcg { position: relative; display: inline-block; width: 6.4em; height: 1em; margin: 0 .1em; vertical-align: baseline; z-index: 2; }
.wcg img { position: absolute; left: 50%; top: 50%; display: block; height: 2.35em; width: auto; max-width: none; transform: translate(-50%, -50%) rotate(-6.5deg); pointer-events: none; user-select: none; }
@media (max-width: 800px) { .wcg { width: 5.2em; } .wcg img { height: 1.95em; } }
.wcg { width: 7.4em; } .wcg img { height: 2.1em; }
@media (max-width: 800px) { .wcg { width: 6em; } .wcg img { height: 1.75em; } }
.wcg img { height: 2.35em; top: 62%; }
@media (max-width: 800px) { .wcg { width: 6.4em; } .wcg img { height: 1.95em; top: 62%; } }
.wcg { width: 8.4em; } .wcg img { top: 66%; left: 52%; }
@media (max-width: 800px) { .wcg { width: 6.9em; } .wcg img { top: 66%; left: 52%; } }
@media (max-width: 800px) { .wcg img { left: 58%; } }
@media (max-width: 800px) { .wcg { width: 6.2em; } .wcg img { height: 1.72em; left: 53%; } }
