/* WinWin homepage draft v3. White and blue with tiny WinWin marks, yellow accent, never black. */
@font-face { font-family: "Sukhumvit"; src: url("/assets/sukhumvit-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sukhumvit"; src: url("/assets/sukhumvit-semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Sukhumvit"; src: url("/assets/sukhumvit-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #00245D;
  --navy-2: #062F70;
  --blue: #0A3C8C;
  --blue-2: #1B5BC4;
  --sky: #EAF1FB;
  --sky-2: #D9E6F7;
  --white: #FFFFFF;
  --yellow: #F0CB35;
  --ink: #0B1F45;
  --muted: #5A6B88;
  --line: #D3DEEE;
  --font: "Sukhumvit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --soft: cubic-bezier(.33, 1, .68, 1);
  --gutter: max(20px, calc(4 * var(--vw, 1vw)));
  --pat-light: url("/assets/pattern-light.svg");
  --pat-dark: url("/assets/pattern-dark.svg");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white) var(--pat-light); background-size: 200px 180px; color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.5; overflow-x: hidden; }
.blue-screen { background-color: var(--navy); background-image: var(--pat-dark); background-size: 200px 180px; color: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1600px; margin: 0 auto; }

.arrow { display: inline-block; width: 18px; height: 12px; position: relative; flex: none; }
.arrow::before { content: ""; position: absolute; left: 0; right: 2px; top: 5px; height: 2px; background: currentColor; }
.arrow::after { content: ""; position: absolute; right: 1px; top: 1px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.arrow.left { transform: scaleX(-1); }
.arrow.big { width: clamp(28px, calc(4 * var(--vw, 1vw)), 56px); height: clamp(18px, calc(2.6 * var(--vw, 1vw)), 34px); }
.arrow.big::before { top: 46%; height: 3px; }
.arrow.big::after { width: 40%; height: 0; padding-bottom: 40%; top: 18%; border-width: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 17px; white-space: nowrap; }
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(6px); }
.section-title { font-size: clamp(36px, calc(4.4 * var(--vw, 1vw)), 72px); color: var(--navy); letter-spacing: -.035em; }
.btn-yellow { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; padding: 16px 30px; border-radius: 10px; font-size: 17px; border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(240, 203, 53, .45); }

/* ---------- floating nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 18px; background: rgba(255, 255, 255, .74); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(0, 36, 93, .1); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 36, 93, .08); transition: background .4s, box-shadow .4s, padding .4s var(--ease), top .4s var(--ease); }
.nav.scrolled { top: 10px; padding-top: 5px; padding-bottom: 5px; box-shadow: 0 14px 40px rgba(0, 36, 93, .14); }
.nav.on-dark { background: rgba(0, 36, 93, .62); border-color: rgba(255, 255, 255, .14); }
.nav.on-dark .nav-links > a, .nav.on-dark .nav-drop > a { color: var(--white); }
.nav-logo { display: flex; align-items: center; padding-right: 10px; }
.nav-logo img { height: 20px; width: auto; }
.nav-links { position: relative; display: flex; align-items: center; }
.nav-links > a, .nav-drop > a { position: relative; z-index: 1; display: block; padding: 9px 14px; font-size: 15px; font-weight: 600; color: var(--navy); border-radius: 9px; transition: color .3s; white-space: nowrap; }
.nav-links a.active::after, .nav-drop > a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); transform: translateX(-50%); }
.nav-glow { position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0; border-radius: 9px; background: var(--sky); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.nav.on-dark .nav-glow { background: rgba(255, 255, 255, .14); }
.nav-cta { padding: 10px 20px; border-radius: 9px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 15px; transition: transform .3s var(--ease), box-shadow .3s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(240, 203, 53, .45); }
.nav-burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
.nav-burger span { display: block; height: 2px; background: var(--navy); margin: 0 10px; }
.nav.on-dark .nav-burger span { background: var(--white); }
.nav-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 14px); left: 50%; width: min(620px, calc(90 * var(--vw, 1vw))); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 26px 28px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(16px); border: 1px solid rgba(0, 36, 93, .1); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 36, 93, .16); opacity: 0; transform: translate(-50%, -8px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.drop-col { display: flex; flex-direction: column; gap: 8px; }
.drop-head { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.drop-col a { font-size: 18px; font-weight: 600; color: var(--navy); transition: transform .3s var(--ease), color .2s; }
.drop-col a:hover { transform: translateX(5px); color: var(--blue-2); }

/* ---------- page wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 80; background: var(--navy) var(--pat-dark); background-size: 200px 180px; display: grid; place-items: center; transform: translateY(100%); pointer-events: none; }
.wipe img { width: min(300px, calc(50 * var(--vw, 1vw))); opacity: 0; transition: opacity .3s; }
.wipe::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--yellow); }
.wipe.in { transform: translateY(0); transition: transform .55s var(--ease); }
.wipe.in img { opacity: 1; transition-delay: .2s; }
.wipe.out { transform: translateY(-100%); transition: transform .6s var(--ease); }

/* ---------- stage: headline becomes the first scene of the reel ---------- */
.stage { position: relative; height: calc(430 * var(--vh, 1vh)); }
.stage-sticky { position: sticky; top: 0; height: calc(100 * var(--vh, 1vh)); overflow: hidden; }
.hero-title { position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(110px, calc(17 * var(--vh, 1vh)), 170px); display: flex; flex-direction: column; color: var(--navy); margin: 0; font-weight: 700; }
.hero-title .mask { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .rise { display: block; font-size: clamp(46px, calc(8.6 * var(--vw, 1vw)), 156px); line-height: .96; letter-spacing: -.045em; }
.hero-title em { color: var(--yellow); }
.hero-title.base em { color: #E8B923; }
.hero-title.on-reel { color: var(--white); transform: translateY(var(--ty, 0)); opacity: var(--to, 1); }
.reel { position: absolute; inset: 0; clip-path: inset(var(--ct, 64%) var(--cx, 4%) var(--cb, 3%) var(--cx, 4%) round var(--cr, 24px)); transform: scale(var(--s, 1)); transform-origin: 50% 50%; will-change: clip-path, transform; }
.reel-bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 10%, #1B5BC4 0%, #0A3C8C 38%, #00245D 80%); }
.reel-bg::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-dark); background-size: 200px 180px; }
.reel-bg::after { content: ""; position: absolute; inset: -10%; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; animation: gridDrift 30s linear infinite; }
@keyframes gridDrift { to { transform: translate(64px, 64px); } }
.scenes { position: absolute; inset: 0; opacity: var(--so, 0); }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .7s; }
.scene.is-on { opacity: 1; }
.reel-label, .reel-pause { opacity: var(--so, 0); }
.reel-label { position: absolute; left: var(--gutter); bottom: clamp(24px, calc(5 * var(--vh, 1vh)), 48px); color: var(--white); font-size: clamp(34px, calc(5.6 * var(--vw, 1vw)), 92px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; overflow: hidden; }
.reel-label span { display: block; transition: transform .6s var(--ease), opacity .4s; }
.reel-label span.swap { transform: translateY(100%); opacity: 0; transition: none; }
.reel-note { position: absolute; right: var(--gutter); bottom: clamp(84px, calc(11 * var(--vh, 1vh)), 110px); color: rgba(255,255,255,.5); font-size: 13px; }
.reel-pause { position: absolute; right: var(--gutter); bottom: clamp(24px, calc(5 * var(--vh, 1vh)), 48px); width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); display: flex; gap: 5px; justify-content: center; align-items: center; cursor: pointer; }
.reel-pause span { width: 4px; height: 16px; background: var(--white); }
.reel-pause.paused span:first-child { width: 0; height: 0; background: none; border-left: 14px solid var(--white); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.reel-pause.paused span:last-child { display: none; }
.reel.paused .scene * { animation-play-state: paused !important; }

.js .rise { transform: translateY(105%); }
.loaded .rise { transform: none; transition: transform 1.1s var(--ease); }
.loaded .mask:nth-child(2) .rise { transition-delay: .08s; }
.loaded .mask:nth-child(3) .rise { transition-delay: .16s; }
.hero-title.swap .rise { transform: translateY(105%); transition: transform .5s var(--ease); }
.js .reel { --ct: 100%; }
.loaded .reel { transition: clip-path 1.2s .35s var(--ease); }
.loaded .reel.live { transition: none; }

/* reel scenes */
.browser { width: min(calc(62 * var(--vw, 1vw)), 960px); aspect-ratio: 16 / 10; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 20, 60, .45); }
.is-on .browser { animation: floatIn 1.2s var(--ease) both; }
@keyframes floatIn { from { transform: translateY(60px) scale(.95); opacity: .4; } }
.browser-bar { height: 34px; background: var(--sky); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sky-2); }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--muted); background: var(--white); padding: 3px 14px; border-radius: 6px; }
.browser-view { height: calc(100% - 34px); overflow: hidden; }
.browser-view img { width: 100%; height: 170%; object-fit: cover; object-position: top; }
.is-on .browser-view img { animation: siteScroll 3.6s .6s var(--ease) both; }
@keyframes siteScroll { to { transform: translateY(-40%); } }
.cursor { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(240, 203, 53, .3); left: 60%; top: 60%; }
.is-on .cursor { animation: cursorMove 3.6s var(--ease) infinite; }
@keyframes cursorMove { 0% { left: 62%; top: 66%; } 45% { left: 44%; top: 40%; } 100% { left: 62%; top: 66%; } }
.crm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: min(calc(66 * var(--vw, 1vw)), 980px); }
.crm-col { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px; display: grid; gap: 12px; align-content: start; min-height: calc(46 * var(--vh, 1vh)); }
.crm-col > span { color: var(--white); font-weight: 600; font-size: 15px; }
.crm-card { background: var(--white); border-radius: 10px; padding: 14px; display: grid; gap: 8px; }
.crm-card b { height: 10px; width: 60%; background: var(--navy); border-radius: 3px; }
.crm-card i { height: 8px; width: 85%; background: var(--sky-2); border-radius: 3px; }
.crm-card.won { border-left: 5px solid var(--yellow); }
.is-on .crm-card.move1 { animation: moveRight 1.4s .5s var(--ease) both; }
.is-on .crm-card.move2 { animation: moveRight 1.4s 1.5s var(--ease) both; }
@keyframes moveRight { 0% { transform: none; } 30% { transform: translateY(-8px) rotate(-2deg); box-shadow: 0 20px 40px rgba(0,0,0,.25); } 100% { transform: translateX(calc(100% + 50px)); } }
.app-window { width: min(calc(56 * var(--vw, 1vw)), 880px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; box-shadow: 0 40px 80px rgba(0, 20, 60, .45); background: var(--white); }
.app-window img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.app-card { position: absolute; width: min(calc(24 * var(--vw, 1vw)), 360px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--white); box-shadow: 0 30px 60px rgba(0, 20, 60, .5); border-top: 4px solid var(--yellow); }
.app-card img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.app-card.a1 { right: 12%; top: 18%; }
.app-card.a2 { left: 12%; bottom: 20%; }
.is-on .app-card.a1 { animation: slideL 1s .4s var(--ease) both; }
.is-on .app-card.a2 { animation: slideR 1s .7s var(--ease) both; }
@keyframes slideL { from { transform: translateX(80px); opacity: 0; } }
@keyframes slideR { from { transform: translateX(-80px); opacity: 0; } }
.phones { display: flex; gap: clamp(16px, calc(3 * var(--vw, 1vw)), 48px); align-items: center; }
.phone { width: clamp(140px, calc(14 * var(--vw, 1vw)), 240px); aspect-ratio: 9 / 18; border: 8px solid var(--white); border-radius: 30px; overflow: hidden; background: var(--sky); box-shadow: 0 40px 70px rgba(0, 20, 60, .5); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.p2 { transform: translateY(-30px); }
.is-on .phone { animation: phoneUp 1s var(--ease) both; }
.is-on .phone.p2 { animation-delay: .15s; }
.is-on .phone.p3 { animation-delay: .3s; }
@keyframes phoneUp { from { translate: 0 120px; opacity: 0; } }
.viewfinder { position: relative; width: min(calc(60 * var(--vw, 1vw)), 920px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; }
.is-on .viewfinder img { animation: zoomSlow 4s linear both; }
@keyframes zoomSlow { from { transform: scale(1.12); } }
.vf { position: absolute; width: 40px; height: 40px; border-color: var(--white); border-style: solid; border-width: 0; }
.vf.c1 { left: 20px; top: 20px; border-top-width: 3px; border-left-width: 3px; }
.vf.c2 { right: 20px; top: 20px; border-top-width: 3px; border-right-width: 3px; }
.vf.c3 { left: 20px; bottom: 20px; border-bottom-width: 3px; border-left-width: 3px; }
.vf.c4 { right: 20px; bottom: 20px; border-bottom-width: 3px; border-right-width: 3px; }
.rec { position: absolute; left: 70px; top: 26px; color: var(--white); font-weight: 700; font-size: 14px; padding-left: 18px; }
.rec::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #E5484D; animation: blink 1s steps(1) infinite; }
.focus { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; border: 2px solid var(--yellow); transform: translate(-50%, -50%); }
.is-on .focus { animation: focusIn 1.2s .3s var(--ease) both; }
@keyframes focusIn { from { width: 220px; height: 220px; opacity: 0; } }
.search { width: min(calc(56 * var(--vw, 1vw)), 800px); display: grid; gap: 16px; }
.search-bar { background: var(--white); border-radius: 12px; padding: 20px 26px; font-size: clamp(16px, calc(1.6 * var(--vw, 1vw)), 22px); color: var(--ink); box-shadow: 0 30px 60px rgba(0, 20, 60, .45); display: flex; align-items: center; min-height: 66px; }
.caret { width: 2px; height: 1.2em; background: var(--blue-2); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer { background: rgba(255,255,255,.96); border-radius: 12px; padding: 22px 26px; display: grid; gap: 10px; border-left: 5px solid var(--yellow); opacity: 0; transform: translateY(16px); }
.is-on .answer { animation: fadeUp .7s 2.2s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.answer-tag { font-size: 13px; font-weight: 600; color: var(--blue-2); }
.line { display: block; height: 10px; background: var(--sky-2); border-radius: 3px; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; }
.answer-hit { font-weight: 700; font-size: clamp(18px, calc(1.8 * var(--vw, 1vw)), 26px); color: var(--navy); background: rgba(240, 203, 53, .35); justify-self: start; padding: 2px 8px; border-radius: 4px; }
.print-stack { position: relative; width: min(calc(44 * var(--vw, 1vw)), 620px); aspect-ratio: 4 / 3; }
.print-card { position: absolute; inset: 0; border: 10px solid var(--white); box-shadow: 0 40px 70px rgba(0, 20, 60, .5); overflow: hidden; background: var(--white); }
.print-card img { width: 100%; height: 100%; object-fit: cover; }
.print-card.c1 { transform: rotate(-5deg) translate(-8%, 4%); }
.print-card.c2 { transform: rotate(4deg) translate(10%, -6%); }
.is-on .print-card.c2 { animation: drop 1.1s var(--ease) both; }
@keyframes drop { from { transform: rotate(14deg) translate(30%, -60%); opacity: 0; } }
.brand-board { display: grid; grid-template-columns: repeat(4, clamp(70px, calc(8 * var(--vw, 1vw)), 130px)); gap: 16px; align-items: center; justify-items: center; }
.swatch { width: 100%; aspect-ratio: 1; border-radius: 14px; }
.s1 { background: var(--navy); border: 2px solid rgba(255,255,255,.3); } .s2 { background: var(--yellow); } .s3 { background: var(--white); } .s4 { background: var(--blue-2); }
.is-on .swatch { animation: pop .7s var(--ease) both; }
.is-on .s2 { animation-delay: .1s; } .is-on .s3 { animation-delay: .2s; } .is-on .s4 { animation-delay: .3s; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.type-spec { color: var(--white); font-size: clamp(60px, calc(7 * var(--vw, 1vw)), 120px); font-weight: 700; line-height: 1; }
.brand-logo { grid-column: 2 / 5; width: 100%; }
.is-on .type-spec, .is-on .brand-logo { animation: fadeUp2 .9s .5s var(--ease) both; }
@keyframes fadeUp2 { from { transform: translateY(20px); opacity: 0; } }
.devices { display: grid; grid-template-columns: repeat(4, clamp(120px, calc(13 * var(--vw, 1vw)), 200px)); gap: 18px; }
.device { position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 22px 18px 18px; display: grid; gap: 14px; justify-items: center; color: var(--white); font-weight: 600; font-size: 15px; }
.dv-screen { width: 70%; aspect-ratio: 4 / 3; border: 3px solid var(--white); border-radius: 6px; border-bottom-width: 8px; }
.dv-screen.wide { aspect-ratio: 16 / 10; width: 80%; }
.dv-router { display: flex; gap: 6px; align-items: end; height: 54px; }
.dv-router i { width: 10px; background: var(--white); border-radius: 3px; }
.dv-router i:nth-child(1) { height: 30%; } .dv-router i:nth-child(2) { height: 65%; } .dv-router i:nth-child(3) { height: 100%; }
.dv-printer { width: 64%; height: 54px; border: 3px solid var(--white); border-radius: 6px; border-top-width: 14px; }
.ok { position: absolute; right: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); transform: scale(0); }
.ok::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 10px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); }
.is-on .ok { animation: okIn .5s var(--ease) both; }
.is-on .device:nth-child(1) .ok { animation-delay: .6s; } .is-on .device:nth-child(2) .ok { animation-delay: 1s; }
.is-on .device:nth-child(3) .ok { animation-delay: 1.4s; } .is-on .device:nth-child(4) .ok { animation-delay: 1.8s; }
@keyframes okIn { to { transform: scale(1); } }

/* ---------- about: glitch heading + directory ---------- */
.about { padding-top: clamp(80px, calc(14 * var(--vh, 1vh)), 160px); padding-bottom: clamp(60px, calc(10 * var(--vh, 1vh)), 120px); }
.glitch { font-size: clamp(42px, calc(6.6 * var(--vw, 1vw)), 112px); color: var(--navy); letter-spacing: -.035em; line-height: 1; min-height: 2.05em; }
.page-head .glitch { min-height: 1.05em; }
.glitch .ch { display: inline-block; }
.glitch .ch.g0 { opacity: 0; }
.glitch .ch.g1 { opacity: .22; }
.glitch .ch.g2 { opacity: .55; transform: translateX(.04em); }
.glitch .ch.gy { color: var(--yellow); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, calc(6 * var(--vw, 1vw)), 96px); align-items: center; margin-top: clamp(28px, calc(5 * var(--vh, 1vh)), 56px); }
.about-text { display: grid; gap: 20px; justify-items: start; }
.about-copy { font-size: clamp(20px, calc(1.9 * var(--vw, 1vw)), 28px); line-height: 1.45; max-width: 34ch; }
.about-copy.soft { color: var(--muted); font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); }
.directory { position: relative; width: 100%; max-width: 560px; aspect-ratio: 500 / 440; justify-self: center; }
.dir-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dir-lines path { fill: none; stroke: var(--sky-2); stroke-width: 2; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.4s var(--ease), stroke .3s, stroke-width .3s; }
.directory.in .dir-lines path { stroke-dashoffset: 0; }
.dir-lines path.hot { stroke: var(--yellow); stroke-width: 4; }
.dir-center { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 36, 93, .14); display: grid; place-items: center; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .8s var(--ease), opacity .6s, box-shadow .3s; }
.dir-center img { width: 66%; }
.directory.in .dir-center { transform: translate(-50%, -50%); opacity: 1; }
.dir-center:hover { box-shadow: 0 0 0 8px rgba(240, 203, 53, .35), 0 16px 40px rgba(0, 36, 93, .14); }
.dir-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(.6); opacity: 0; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: clamp(14px, calc(1.15 * var(--vw, 1vw)), 17px); white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 36, 93, .08); transition: transform .5s var(--ease), opacity .6s, background .3s, color .3s; }
.directory.in .dir-node { transform: translate(-50%, -50%); opacity: 1; }
.directory.in .dir-node:nth-of-type(2) { transition-delay: .5s, .5s, 0s, 0s; } .directory.in .dir-node:nth-of-type(3) { transition-delay: .58s, .58s, 0s, 0s; }
.directory.in .dir-node:nth-of-type(4) { transition-delay: .66s, .66s, 0s, 0s; } .directory.in .dir-node:nth-of-type(5) { transition-delay: .74s, .74s, 0s, 0s; }
.directory.in .dir-node:nth-of-type(6) { transition-delay: .82s, .82s, 0s, 0s; } .directory.in .dir-node:nth-of-type(7) { transition-delay: .9s, .9s, 0s, 0s; }
.directory .dir-node:hover, .directory .dir-node:focus-visible { background: var(--navy); color: var(--white); transform: translate(-50%, -50%) scale(1.08); transition-delay: 0s; }
.pulse { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--yellow); opacity: 0; pointer-events: none; }
.directory.in .pulse { animation: travel 3s 1.6s var(--soft) infinite; }
.directory.in .pulse.p2 { animation-name: travel2; animation-delay: 2.4s; }
.directory.in .pulse.p3 { animation-name: travel3; animation-delay: 3.2s; }
@keyframes travel { 0% { opacity: 0; transform: translate(-168px, -92px); } 15% { opacity: 1; } 50% { opacity: 1; transform: translate(0, 0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(168px, 92px); } }
@keyframes travel2 { 0% { opacity: 0; transform: translate(0, -164px); } 15% { opacity: 1; } 50% { opacity: 1; transform: translate(0, 0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-168px, 92px); } }
@keyframes travel3 { 0% { opacity: 0; transform: translate(168px, -92px); } 15% { opacity: 1; } 50% { opacity: 1; transform: translate(0, 0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(0, 164px); } }

/* ---------- services: drag-the-divider slider on a blue screen ---------- */
.services { position: relative; margin-top: clamp(120px, calc(18 * var(--vh, 1vh)), 220px); }
.svc { position: relative; display: flex; min-height: clamp(520px, calc(78 * var(--vh, 1vh)), 760px); --d: 50%; }
.svc-side { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.svc-side.left { width: var(--d); }
.svc-side.right { width: calc(100% - var(--d)); background: rgba(255, 255, 255, .045); }
.svc-inner { width: min(520px, 80%); }
.svc-side h3 { font-size: clamp(52px, calc(7 * var(--vw, 1vw)), 124px); letter-spacing: -.05em; color: var(--white); }
.svc-side.right h3 { color: #9FC0F2; }
.svc-side > .svc-inner > p { margin-top: 10px; font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); color: rgba(255,255,255,.7); }
.svc-side ul { list-style: none; margin: clamp(22px, calc(4 * var(--vh, 1vh)), 40px) 0 0; padding: 0; display: grid; gap: 2px; opacity: var(--lo, 1); transform: translateY(calc((1 - var(--lo, 1)) * 14px)); }
.svc-side li a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-size: clamp(19px, calc(1.7 * var(--vw, 1vw)), 26px); font-weight: 600; color: var(--white); transition: color .25s, transform .45s var(--soft); }
.svc-side li a::before { content: ""; width: 0; height: 3px; background: var(--yellow); border-radius: 2px; transition: width .45s var(--soft); }
.svc-side li a:hover, .svc-side li a:focus-visible { color: var(--yellow); }
.svc-side li a:hover::before, .svc-side li a:focus-visible::before { width: 22px; }
.svc-divider { position: absolute; top: 0; bottom: 0; left: var(--d); width: 2px; margin-left: -1px; background: linear-gradient(transparent, rgba(255,255,255,.5) 18%, rgba(255,255,255,.5) 82%, transparent); pointer-events: none; }
.svc-handle { position: absolute; left: 50%; top: auto; bottom: 9%; transform: translate(-50%, 0); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: var(--navy); white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.svc-handle b { font-size: 15px; }
.svc-handle .arrow { width: 14px; }
.svc-handle .arrow.left { animation: nudgeL 1.8s var(--soft) infinite; }
.svc-handle .arrow:not(.left) { animation: nudgeR 1.8s var(--soft) infinite; }
@keyframes nudgeL { 50% { transform: scaleX(-1) translateX(4px); } }
@keyframes nudgeR { 50% { transform: translateX(4px); } }

/* ---------- portfolio: one pinned box, projects scroll inside (Ripple) ---------- */
.pf { position: relative; height: calc(calc(100 * var(--vh, 1vh)) + 3 * calc(85 * var(--vh, 1vh)) + calc(30 * var(--vh, 1vh))); }
.pf-sticky { position: sticky; top: 0; height: calc(100 * var(--vh, 1vh)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: clamp(78px, calc(11 * var(--vh, 1vh)), 110px) var(--gutter) clamp(14px, calc(3 * var(--vh, 1vh)), 30px); gap: clamp(12px, calc(2.4 * var(--vh, 1vh)), 26px); }
.pf-title { text-align: center; font-size: clamp(40px, calc(6 * var(--vw, 1vw)), 96px); letter-spacing: .06em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); line-height: 1; }
.pf-stage { perspective: 1800px; min-height: 0; }
.pf-box { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: var(--navy-2); transform-origin: 50% 0; cursor: none; }
.js .pf-box { opacity: 0; transform: rotateX(-72deg) translateY(-30px); }
.pf-box.in { opacity: 1; transform: none; transition: transform 1.2s var(--soft), opacity .6s; }
.pf-slide { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; clip-path: inset(var(--rv, 100%) 0 0 0); }
.pf-slide:first-of-type { --rv: 0%; }
.pf-slide > * { transform: translateY(var(--py, 0)); }
.sl-remax { background: linear-gradient(140deg, #EAF1FB 0%, #CFDDF3 100%); }
.sl-tcca { background: radial-gradient(120% 120% at 20% 0%, #1B5BC4, #00245D 70%); }
.sl-wiki { background: linear-gradient(140deg, #F3F6FB, #DCE7F7); }
.sl-ads { background: radial-gradient(120% 120% at 80% 0%, #0A3C8C, #00245D 70%); }
.sl-remax::before, .sl-wiki::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-light); background-size: 200px 180px; }
.sl-tcca::before, .sl-ads::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-dark); background-size: 200px 180px; }
.pf-browser { position: relative; width: 58%; aspect-ratio: 16 / 10; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 20, 60, .3); }
.pf-browser.big { width: 64%; }
.pf-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: var(--sky); }
.pf-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-2); }
.pf-browser > img { width: 100%; height: calc(100% - 26px); object-fit: cover; object-position: top left; }
.pf-float { position: absolute; width: 24%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px rgba(0, 20, 60, .3); border-top: 4px solid var(--yellow); }
.pf-float img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pf-float.f1 { right: 8%; top: 10%; } .pf-float.f2 { left: 8%; bottom: 10%; }
.pf-phone { position: absolute; right: 14%; bottom: 8%; width: 15%; aspect-ratio: 9 / 18; border: 7px solid var(--white); border-radius: 26px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pf-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.sl-tcca .pf-browser { transform: translateX(-8%) translateY(var(--py, 0)); }
.pf-phones { display: flex; gap: calc(3 * var(--vw, 1vw)); align-items: center; }
.pf-ph { width: clamp(120px, calc(12 * var(--vw, 1vw)), 210px); aspect-ratio: 9 / 18; border: 7px solid var(--white); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pf-ph.up { transform: translateY(-24px); }
.pf-ph img { width: 100%; height: 100%; object-fit: cover; }
.wiki-mock { display: grid; grid-template-columns: 18% 1fr; background: var(--sky); height: calc(100% - 26px); }
.wm-side { background: #0A2F6E; display: grid; align-content: start; gap: 12px; padding: 22px 16px; }
.wm-side i { height: 9px; background: rgba(255,255,255,.3); border-radius: 3px; }
.wm-side i:first-child { background: var(--yellow); width: 60%; }
.wm-main { padding: 22px; display: grid; grid-template-rows: auto auto 1fr; gap: 14px; }
.wm-title { height: 18px; width: 40%; background: var(--navy); border-radius: 4px; }
.wm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wm-cards i { height: 52px; background: var(--white); border-top: 3px solid var(--blue-2); border-radius: 6px; }
.wm-graph { position: relative; background: var(--white); border-radius: 6px; }
.wm-graph b { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-2); animation: pulseDot 2.4s var(--soft) infinite alternate; }
.wm-graph b:nth-child(1) { left: 20%; top: 30%; } .wm-graph b:nth-child(2) { left: 45%; top: 55%; background: var(--navy); width: 18px; height: 18px; animation-delay: .3s; }
.wm-graph b:nth-child(3) { left: 70%; top: 25%; animation-delay: .6s; } .wm-graph b:nth-child(4) { left: 30%; top: 70%; animation-delay: .9s; }
.wm-graph b:nth-child(5) { left: 62%; top: 72%; background: var(--yellow); animation-delay: 1.2s; } .wm-graph b:nth-child(6) { left: 82%; top: 50%; animation-delay: 1.5s; }
@keyframes pulseDot { to { transform: scale(1.5); } }
.pf-dots { position: absolute; right: clamp(16px, calc(2.4 * var(--vw, 1vw)), 36px); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 3; }
.pf-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--white); transition: background .3s, transform .3s; box-shadow: 0 0 0 1px rgba(0,36,93,.25); }
.pf-dots i.on { background: var(--white); transform: scale(1.15); }
.pf-cursor { position: absolute; left: 0; top: 0; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; display: grid; place-items: center; pointer-events: none; z-index: 4; opacity: 0; transform: translate(var(--mx, 50%), var(--my, 50%)) scale(.6); transition: opacity .3s, transform .2s ease-out; }
.pf-cursor::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(0, 36, 93, .55); box-shadow: inset 0 0 0 26px rgba(255,255,255,.0); }
.pf-cursor span { width: 92px; height: 92px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.pf-box:hover .pf-cursor { opacity: 1; transform: translate(var(--mx, 50%), var(--my, 50%)) scale(1); }
.pf-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; max-width: 1240px; width: 100%; margin: 0 auto; }
.pf-info h3 { font-size: clamp(16px, calc(1.6 * var(--vw, 1vw)), 24px); font-weight: 600; letter-spacing: .3em; line-height: 1.5; text-transform: uppercase; text-align: right; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.4); }
.pf-info p { padding-left: 24px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 42ch; }
.pf-info h3, .pf-info p { transition: opacity .35s, transform .45s var(--soft); }
.pf-info.swap h3, .pf-info.swap p { opacity: 0; transform: translateY(8px); }
.btn-line { justify-self: end; display: inline-flex; align-items: center; gap: 14px; padding: 14px 28px; border: 1.5px solid rgba(255,255,255,.85); border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.btn-line:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* ---------- tools: Chrome-style tabs ---------- */
.tools { padding-block: clamp(80px, calc(14 * var(--vh, 1vh)), 160px); }
.tools-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, calc(4 * var(--vh, 1vh)), 40px); }
.chrome { border-radius: 14px; overflow: hidden; background: #DEE6F2; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 36, 93, .14); }
.ch-strip { display: flex; align-items: flex-end; height: 46px; padding: 0 8px; background: #DEE6F2; }
.ch-tabs { position: relative; flex: 1; height: 38px; }
.ch-tab { position: absolute; top: 0; left: 0; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 14px; border-radius: 10px 10px 0 0; color: var(--navy); font-size: 13.5px; font-weight: 600; cursor: default; user-select: none; transition: transform .25s var(--soft), width .25s var(--soft), opacity .2s; }
.ch-tab::after { content: ""; position: absolute; right: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(0, 36, 93, .2); }
.ch-tab.active::after, .ch-tab.before-active::after { display: none; }
.ch-tab:hover:not(.active) { background: rgba(255,255,255,.45); }
.ch-tab.active { background: var(--white); z-index: 2; }
.ch-tab.active::before { content: ""; position: absolute; left: -10px; right: -10px; bottom: 0; height: 10px; background: radial-gradient(circle at 0 0, transparent 9.5px, var(--white) 10px) left bottom / 10px 10px no-repeat, radial-gradient(circle at 100% 0, transparent 9.5px, var(--white) 10px) right bottom / 10px 10px no-repeat; }
.ch-tab.dragging { transition: none; z-index: 3; box-shadow: 0 6px 18px rgba(0,36,93,.15); }
.ch-tab.closing { opacity: 0; }
.ch-fav { width: 16px; height: 16px; border-radius: 4px; flex: none; background: var(--c, var(--navy)); display: grid; place-items: center; }
.ch-fav::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--yellow); }
.ch-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.ch-x { width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; position: relative; cursor: pointer; flex: none; }
.ch-x::before, .ch-x::after { content: ""; position: absolute; left: 5px; right: 5px; top: 9px; height: 1.6px; background: var(--muted); transform: rotate(45deg); }
.ch-x::after { transform: rotate(-45deg); }
.ch-x:hover { background: rgba(0, 36, 93, .1); }
.ch-new { width: 30px; height: 30px; margin: 0 4px 6px; border: 0; border-radius: 50%; background: transparent; position: relative; cursor: pointer; flex: none; }
.ch-new span::before, .ch-new span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--navy); }
.ch-new span::after { transform: rotate(90deg); }
.ch-new:hover { background: rgba(255,255,255,.6); }
.ch-toolbar { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: var(--white); border-bottom: 1px solid var(--line); }
.ch-btn { width: 28px; height: 28px; border-radius: 50%; position: relative; flex: none; opacity: .55; }
.ch-btn.back::before, .ch-btn.fwd::before { content: ""; position: absolute; left: 10px; top: 10px; width: 7px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
.ch-btn.fwd::before { left: 8px; transform: rotate(-135deg); }
.ch-btn.reload::before { content: ""; position: absolute; left: 7px; top: 7px; width: 10px; height: 10px; border: 2px solid var(--navy); border-top-color: transparent; border-radius: 50%; }
.ch-omni { flex: 1; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #EEF2F8; color: var(--ink); font-size: 14px; overflow: hidden; white-space: nowrap; }
.ch-lock { width: 10px; height: 8px; border-radius: 2px; background: var(--muted); position: relative; margin-top: 3px; flex: none; }
.ch-lock::before { content: ""; position: absolute; left: 2px; top: -5px; width: 6px; height: 6px; border: 1.6px solid var(--muted); border-bottom: 0; border-radius: 4px 4px 0 0; }
.ch-ext { width: 30px; margin-left: 6px; }
.ch-view { background: var(--white); min-height: 440px; }
.tool { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, calc(3 * var(--vw, 1vw)), 44px); padding: clamp(22px, calc(3 * var(--vw, 1vw)), 40px); align-items: center; min-height: 440px; animation: panelIn .45s var(--soft); }
.tool[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.tool-ctrl { display: grid; gap: 10px; align-content: start; }
.tool-ctrl label { font-weight: 600; color: var(--navy); font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tool-ctrl label b { color: var(--blue-2); }
.tool-ctrl input:not([type]), .tool-ctrl input[type="text"] { font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); width: 100%; }
.tool-ctrl input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 91, 196, .15); }
.tool-ctrl input[type="range"] { width: 100%; accent-color: var(--navy); }
.tool-ctrl .check { justify-content: flex-start; font-weight: 500; }
.tool-go { justify-self: start; border: 0; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; padding: 13px 22px; cursor: pointer; transition: background .3s, transform .2s; margin-top: 6px; }
.tool-go:hover:not(:disabled) { background: var(--blue-2); }
.tool-go:active { transform: scale(.97); }
.tool-go:disabled { opacity: .4; cursor: default; }
.tool-note { color: var(--muted); font-size: 14px; }
.tool-lead { font-size: 20px; color: var(--navy); font-weight: 600; }
.tool-out { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; min-height: 340px; border-radius: 16px; background: linear-gradient(150deg, var(--sky), #DCE8F8); padding: 24px; overflow: hidden; }
.tool-out::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-light); background-size: 200px 180px; }
.tool-out > * { position: relative; }
.swatches { display: flex; gap: 10px; }
.sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.sw.is-on { box-shadow: 0 0 0 2px var(--yellow); }
.qr-card { position: relative; background: var(--white); padding: 18px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 36, 93, .14); }
.qr-card img:not(.qr-mark), .qr-card canvas { width: 220px; height: 220px; }
.qr-mark { position: absolute; left: 50%; top: 50%; width: 50px; transform: translate(-50%, -50%); background: var(--white); padding: 6px; border-radius: 8px; }
.dropzone { position: relative; display: grid !important; justify-items: center; gap: 4px; text-align: center; padding: 30px 20px; border: 2px dashed var(--sky-2); border-radius: 14px; background: var(--sky); cursor: pointer; transition: border-color .3s, background .3s; }
.dropzone:hover, .dropzone.over { border-color: var(--blue-2); background: #E1EBF9; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone b { font-size: 18px; }
.dropzone span { font-weight: 400; color: var(--muted); font-size: 14px; }
.pdf-pages { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; max-height: 320px; overflow: auto; }
.pdf-empty { display: flex; gap: 12px; }
.pdf-empty span { width: 90px; aspect-ratio: 8.5 / 11; background: var(--white); border-radius: 6px; box-shadow: 0 10px 24px rgba(0,36,93,.1); }
.pdf-empty span:nth-child(2) { transform: translateY(-10px); }
.pdf-page { display: grid; gap: 6px; justify-items: center; }
.pdf-page canvas { width: 120px; height: auto; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,36,93,.14); background: var(--white); }
.pdf-page a { font-size: 13px; font-weight: 700; color: var(--blue-2); }
.dial { position: relative; width: min(320px, 90%); display: grid; justify-items: center; }
.dial svg { width: 100%; }
.d-bg, .d-fg { fill: none; stroke-width: 14; stroke-linecap: round; }
.d-bg { stroke: rgba(0, 36, 93, .1); }
.d-fg { stroke: var(--navy); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset .6s var(--soft); }
.dial b { margin-top: -46px; font-size: clamp(38px, calc(4 * var(--vw, 1vw)), 58px); color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1; }
.dial span { color: var(--muted); font-size: 14px; }
.spd-stats { display: flex; gap: 14px; }
.spd-stats div { background: var(--white); border-radius: 12px; padding: 12px 18px; display: grid; min-width: 120px; box-shadow: 0 8px 20px rgba(0,36,93,.08); }
.spd-stats span { font-size: 13px; color: var(--muted); }
.spd-stats b { color: var(--navy); font-size: 20px; }
.cmp-out { display: grid; gap: 14px; justify-items: center; }
.cmp-sizes { display: flex; gap: 12px; }
.cmp-sizes div { background: var(--navy); color: var(--white); border-radius: 12px; padding: 12px 18px; display: grid; min-width: 110px; }
.cmp-sizes span { font-size: 13px; opacity: .7; }
.cmp-sizes b { color: var(--yellow); font-size: 20px; }
#cmp-prev, #cv-prev { max-height: 220px; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,36,93,.15); }
.fmt { display: flex; gap: 8px; }
.fmt button { flex: 1; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-weight: 700; cursor: pointer; }
.fmt button.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.nt { grid-column: 1 / -1; display: grid; justify-items: center; gap: 18px; }
.nt-mark { width: 120px; }
.nt-q { color: var(--navy); font-weight: 600; font-size: 20px; }
.nt-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; width: min(760px, 100%); }
.nt-tile { display: grid; justify-items: center; gap: 10px; padding: 18px 10px; border-radius: 14px; border: 0; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .3s, transform .3s var(--soft); }
.nt-tile:hover { background: var(--sky-2); transform: translateY(-3px); }
.nt-tile .ch-fav { width: 40px; height: 40px; border-radius: 12px; }
.nt-tile .ch-fav::after { width: 14px; height: 14px; border-radius: 4px; }

/* ---------- blog: real post cards, velocity motion ---------- */
.blog { position: relative; padding-block: clamp(40px, calc(8 * var(--vh, 1vh)), 100px) clamp(60px, calc(10 * var(--vh, 1vh)), 120px); overflow: hidden; }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, calc(4 * var(--vh, 1vh)), 44px); }
.slider-btns { display: flex; gap: 10px; align-items: center; }
.slider-btns .text-link { margin-right: 12px; }
.sbtn { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s; }
.sbtn:hover { background: var(--navy); color: var(--white); }
.sbtn:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--navy); }
.blog-flow { position: absolute; left: 0; right: 0; top: 46%; height: 52%; pointer-events: none; z-index: 0; }
.blog-flow svg { position: absolute; left: 0; top: 0; width: 300%; height: 100%; transform: translateX(var(--fx, 0px)) scaleY(var(--fs, 1)); transform-origin: 0 50%; }
.fl { fill: none; stroke-linecap: round; }
.fl.f1 { stroke: rgba(27, 91, 196, .16); stroke-width: 26; }
.fl.f2 { stroke: rgba(240, 203, 53, .35); stroke-width: 6; }
.fl.f3 { stroke: rgba(0, 36, 93, .08); stroke-width: 60; }
.track { position: relative; z-index: 1; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 6px var(--gutter) 30px; scrollbar-width: none; cursor: grab; outline-offset: -3px; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; }
.track.dragging .post { pointer-events: none; }
.post { flex: 0 0 clamp(290px, calc(30 * var(--vw, 1vw)), 480px); scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; user-select: none; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 36, 93, .06); transform: skewX(var(--sk, 0deg)) translateY(var(--ly, 0px)); transition: box-shadow .8s var(--soft); }
.post:hover { box-shadow: 0 24px 50px rgba(0, 36, 93, .14); }
.post-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.post-img img { width: 112%; max-width: none; height: 100%; object-fit: cover; transform: translateX(var(--ix, -5%)) scale(1.02); transition: opacity .8s var(--soft); }
.post:hover .post-img img { opacity: .86; }
.post-cat { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92); color: var(--navy); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.post-body { padding: 20px 22px 22px; display: grid; gap: 9px; flex: 1; align-content: start; }
.post-meta { color: var(--muted); font-size: 14px; }
.post h3 { font-size: clamp(20px, calc(1.6 * var(--vw, 1vw)), 26px); color: var(--navy); line-height: 1.15; }
.post p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.post-author { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.post-author > i { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.read { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--soft), transform .6s var(--soft); }
.post:hover .read, .post:focus-visible .read { opacity: 1; transform: none; }

/* ---------- contact: CTA + WinWin coin ---------- */
.cta { position: relative; padding-block: clamp(80px, calc(14 * var(--vh, 1vh)), 160px); background: linear-gradient(180deg, rgba(234, 241, 251, 0) 0%, var(--sky) 100%); overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, calc(5 * var(--vw, 1vw)), 80px); align-items: center; }
.cta-text { display: grid; justify-items: start; gap: 22px; }
.play-cta { display: inline-flex; align-items: center; gap: clamp(16px, calc(2 * var(--vw, 1vw)), 32px); color: var(--navy); }
.play-big { font-size: clamp(44px, calc(6.6 * var(--vw, 1vw)), 118px); font-weight: 700; letter-spacing: -.045em; line-height: .98; max-width: 13ch; transition: color .4s; }
.play-cta .arrow { transition: transform .5s var(--soft); }
.play-cta:hover .arrow { transform: translateX(14px); }
.play-cta:hover .play-big { color: var(--blue); }
.play-sub { font-size: clamp(18px, calc(1.6 * var(--vw, 1vw)), 24px); color: var(--muted); }
.coin-zone { position: relative; display: grid; justify-items: center; gap: 18px; perspective: 900px; padding-top: 40px; }
.coin { width: clamp(170px, calc(17 * var(--vw, 1vw)), 240px); aspect-ratio: 1; border: 0; padding: 0; background: transparent; cursor: pointer; transform-style: preserve-3d; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .4s var(--soft); animation: coinIdle 4s ease-in-out infinite; }
.coin.flying { animation: none; transition: none; }
@keyframes coinIdle { 50% { translate: 0 -10px; } }
.coin-body { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; }
.coin-face, .coin-layer { position: absolute; inset: 0; border-radius: 50%; }
.coin-face { display: grid; place-items: center; align-content: center; gap: 4px; background: radial-gradient(circle at 32% 28%, #FFF3B8 0%, #F0CB35 34%, #D9A400 70%, #A67C00 100%); box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), inset 0 0 0 12px rgba(166,124,0,.35), inset 0 -10px 30px rgba(120,80,0,.35); backface-visibility: hidden; }
.coin-face img { width: 62%; filter: drop-shadow(0 2px 0 rgba(255,255,255,.4)); }
.coin-face em { font-weight: 700; letter-spacing: .3em; font-size: clamp(12px, calc(1.1 * var(--vw, 1vw)), 15px); color: var(--navy); margin-left: .3em; }
.coin-face.front { transform: translateZ(9px); }
.coin-face.back { transform: rotateX(180deg) translateZ(9px); }
.coin-layer { background: linear-gradient(90deg, #A67C00, #E8B923 50%, #A67C00); }
.coin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 62%); transform: translateZ(10px); background-size: 250% 100%; animation: coinShine 3.5s ease-in-out infinite; pointer-events: none; }
@keyframes coinShine { 0%, 40% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.coin-shadow { width: 46%; height: 16px; border-radius: 50%; background: radial-gradient(rgba(0, 36, 93, .28), transparent 70%); transition: transform .3s, opacity .3s; }
.coin-msg { color: var(--navy); font-weight: 600; text-align: center; min-height: 1.5em; font-size: 17px; }

/* ---------- WinWin moment ---------- */
.jackpot { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(27, 91, 196, .96), rgba(0, 36, 93, .98) 60%); }
.jackpot[hidden] { display: none; }
.jackpot::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-dark); background-size: 200px 180px; }
.jackpot.show { animation: flash .6s ease-out; }
@keyframes flash { 0% { background: #FFF6CF; } }
.jackpot.leaving { opacity: 0; transition: opacity .5s; }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.jp-x { position: absolute; right: 24px; top: 24px; z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); cursor: pointer; }
.jp-x::before, .jp-x::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--white); transform: rotate(45deg); }
.jp-x::after { transform: rotate(-45deg); }
.jp-inner { position: relative; z-index: 3; display: grid; justify-items: center; gap: 16px; text-align: center; padding: 24px; }
.jp-mark { position: relative; width: clamp(180px, calc(26 * var(--vw, 1vw)), 340px); overflow: hidden; }
.jp-mark img { width: 100%; animation: markIn 1.2s var(--ease) both, markFloat 3s 1.2s ease-in-out infinite; }
.jp-mark::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); transform: translateX(-120%); animation: shine 1.8s .9s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes markIn { 0% { transform: scale(.2) rotateY(540deg); opacity: 0; } 60% { transform: scale(1.15) rotateY(0); opacity: 1; } 100% { transform: scale(1); } }
@keyframes markFloat { 50% { transform: translateY(-8px); } }
@keyframes shine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }
.jp-title { font-size: clamp(64px, calc(12 * var(--vw, 1vw)), 200px); color: var(--white); letter-spacing: -.04em; line-height: .9; animation: slam .9s .3s var(--ease) both; }
.jp-title span { background: linear-gradient(100deg, #F0CB35 30%, #FFF3B8 50%, #F0CB35 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldShine 2.2s linear infinite; }
@keyframes slam { 0% { transform: scale(2.4); opacity: 0; letter-spacing: .3em; } 100% { transform: none; opacity: 1; } }
@keyframes goldShine { to { background-position: -250% 0; } }
.jp-sub { color: rgba(255,255,255,.85); font-size: clamp(18px, calc(1.8 * var(--vw, 1vw)), 26px); animation: fadeUp2 .7s .9s var(--ease) both; }
.jp-cta { animation: fadeUp2 .7s 1.1s var(--ease) both; }
.shake { animation: shake .5s; }
@keyframes shake { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }

/* ---------- footer ---------- */
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 40px; }
.footer-logo { height: 22px; width: auto; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.footer nav a { opacity: .8; font-weight: 600; font-size: 16px; }
.footer nav a:hover { opacity: 1; color: var(--yellow); }
.footer-small { width: 100%; font-size: 14px; opacity: .55; }

/* ---------- placeholder pages ---------- */
.page-head { padding-top: clamp(140px, calc(20 * var(--vh, 1vh)), 220px); padding-bottom: clamp(32px, calc(6 * var(--vh, 1vh)), 64px); }
.page-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.flow { display: grid; padding-bottom: 100px; }
.flow-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, calc(4 * var(--vw, 1vw)), 64px); align-items: center; padding-block: clamp(40px, calc(7 * var(--vh, 1vh)), 80px); border-top: 1px solid var(--line); }
.flow-num { font-weight: 700; color: var(--blue-2); font-size: 20px; align-self: start; }
.flow-row h2 { font-size: clamp(36px, calc(4 * var(--vw, 1vw)), 64px); color: var(--navy); }
.flow-row p { margin: 14px 0 22px; color: var(--muted); max-width: 40ch; }
.flow-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--sky); }
.flow-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--soft); }
.flow-row:hover .flow-img img { transform: scale(1.05); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 100px; }
.g-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--sky); }
.g-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1s var(--soft); }
.g-card:hover .g-img img { transform: scale(1.04); }
.g-card h3 { margin-top: 14px; font-size: 24px; color: var(--navy); }
.tool-card { background: var(--sky); border-radius: 14px; padding: 28px; min-height: 180px; transition: background .4s, color .4s; }
.tool-card p { margin-top: 8px; color: var(--muted); }
.tool-card:hover { background: var(--navy); }
.tool-card:hover h3, .tool-card:hover p { color: var(--white); }
.about-page { padding-bottom: 100px; }
.big-statement { font-size: clamp(30px, calc(3.6 * var(--vw, 1vw)), 56px); font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; max-width: 24ch; margin-bottom: 64px; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.avatar { aspect-ratio: 4 / 5; border-radius: 12px; background: linear-gradient(160deg, var(--sky), var(--sky-2)); }
.person h3 { margin-top: 12px; font-size: 22px; color: var(--navy); }
.blog-page { padding-bottom: 100px; }
.featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 56px; }
.featured-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--soft); }
.featured:hover img { transform: scale(1.04); }
.featured h2 { font-size: clamp(30px, calc(3 * var(--vw, 1vw)), 48px); color: var(--navy); }
.featured p { margin: 12px 0 20px; color: var(--muted); }
.arch-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); position: relative; }
.arch-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.arch-row:hover::after { transform: scaleX(1); }
.arch-row h3 { font-size: clamp(22px, calc(2 * var(--vw, 1vw)), 30px); color: var(--navy); }
.arch-row span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.brief { padding-bottom: 100px; display: grid; gap: 28px; max-width: 900px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-weight: 600; color: var(--navy); margin-bottom: 14px; font-size: 20px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-weight: 600; color: var(--navy); transition: background .2s, color .2s; }
.chips input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields label { display: grid; gap: 8px; font-weight: 600; color: var(--navy); font-size: 16px; }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields textarea { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.fields input:focus, .fields textarea:focus { border-color: var(--navy); outline: none; }
.brief .btn-yellow { justify-self: start; }
.form-note { color: var(--blue-2); font-weight: 600; min-height: 1.5em; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--soft), transform 1.1s var(--soft); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .svc-divider { display: none; }
  .nav { left: 12px; right: 12px; transform: none; justify-content: space-between; padding: 7px 7px 7px 16px; }
  .nav-links, .nav > .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.open { flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 8px 0; }
  .nav.open .nav-links > a, .nav.open .nav-drop > a { padding: 12px 6px; font-size: 18px; }
  .nav.open > .nav-cta { display: block; width: 100%; text-align: center; }
  .nav-glow, .drop { display: none; }
  .about-grid, .featured { grid-template-columns: 1fr; }
  .svc { flex-direction: column; min-height: 0; }
  .svc-side.left, .svc-side.right { width: 100%; padding-block: 56px; }
  .svc-side ul { opacity: 1; transform: none; }
  .svc-divider { display: none; }
  .pf-info { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .pf-info h3 { text-align: left; border-right: 0; padding-right: 0; }
  .pf-info p { display: none; }
  .pf-browser, .pf-browser.big { width: 84%; }
  .pf-float, .pf-phone { display: none; }
  .tool { grid-template-columns: 1fr; }
  .nt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-grid { grid-template-columns: 1fr; }
  .ch-omni { font-size: 12px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .flow-row { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .browser, .app-window, .search, .viewfinder, .crm { width: calc(86 * var(--vw, 1vw)); }
  .app-card { display: none; }
  .print-stack { width: calc(70 * var(--vw, 1vw)); }
  .devices { grid-template-columns: repeat(2, calc(38 * var(--vw, 1vw))); }
  .brand-board { grid-template-columns: repeat(4, calc(18 * var(--vw, 1vw))); }
  .crm-col { min-height: calc(30 * var(--vh, 1vh)); }
}
@media (max-width: 600px) {
  .grid3 { grid-template-columns: 1fr; }
  .phones .phone.p3 { display: none; }
  .row-head, .tools-head { flex-wrap: wrap; }
  .slider-btns .text-link { display: none; }
  .reel-label { font-size: 30px; }
  .post { flex-basis: calc(82 * var(--vw, 1vw)); }
  .pf-title { font-size: 36px; }
  .btn-line { padding: 12px 18px; }
  .ch-tab { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rise, .js .reveal, .js .pf-box { opacity: 1; transform: none; }
  .pixels { display: none; }
}

/* ---------- v5: light services split (v2 look) with v4 motion ---------- */
.services { position: relative; margin-top: clamp(40px, calc(8 * var(--vh, 1vh)), 100px); padding-block: clamp(40px, calc(8 * var(--vh, 1vh)), 100px); overflow: hidden; background: transparent; color: var(--ink); }
.svc-glow { position: absolute; top: 50%; left: var(--gx, 50%); width: calc(70 * var(--vw, 1vw)); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(27, 91, 196, .14), rgba(27, 91, 196, 0) 62%); transform: translate(-50%, -50%); transition: left 1.2s var(--soft); pointer-events: none; }
.svc { min-height: clamp(460px, calc(66 * var(--vh, 1vh)), 640px); }
.svc-side.right { background: none; }
.svc-side h3 { color: var(--navy); }
.svc-side.right h3 { color: var(--blue); }
.svc-side > .svc-inner > p { color: var(--muted); }
.svc-side li a { color: var(--navy); }
.svc-side li a:hover, .svc-side li a:focus-visible { color: #E5B620; }
.svc-side li a::before { background: var(--yellow); }
.svc-divider { top: 12%; bottom: 12%; width: 1px; margin-left: 0; background: var(--line); }
.pf { margin-top: clamp(150px, calc(20 * var(--vh, 1vh)), 220px); }

/* ---------- v5: physics playground back at the bottom ---------- */
.cta { padding-bottom: 0; }
.playground { margin-top: clamp(36px, calc(6 * var(--vh, 1vh)), 64px); }
.playground { position: relative; height: clamp(320px, calc(46 * var(--vh, 1vh)), 460px); margin-top: clamp(20px, calc(4 * var(--vh, 1vh)), 40px); touch-action: pan-y; }
.toy { position: absolute; left: 0; top: 0; display: grid; place-items: center; font-weight: 700; user-select: none; will-change: transform; cursor: grab; }
.toy:active { cursor: grabbing; }
.toy.circle { border-radius: 50%; }
.toy.pill { border-radius: 999px; padding: 0 22px; font-size: clamp(15px, calc(1.4 * var(--vw, 1vw)), 20px); }
.toy.square { border-radius: 14px; }
.toy.navy { background: var(--navy); color: var(--white); }
.toy.blue { background: var(--blue-2); color: var(--white); }
.toy.yellow { background: var(--yellow); color: var(--navy); }
.toy.white { background: var(--white); color: var(--navy); border: 2px solid var(--sky-2); }
.toy.contact { font-size: clamp(16px, calc(1.5 * var(--vw, 1vw)), 21px); cursor: pointer; box-shadow: 0 10px 30px rgba(240, 203, 53, .5); }

/* =================== v6 =================== */
/* nav: bigger, hides on scroll down, returns on scroll up */
.nav { top: 16px; gap: 8px; padding: 9px 9px 9px 22px; transition: background .4s, box-shadow .4s, padding .4s var(--ease), top .4s var(--ease), transform .5s var(--ease); }
.nav.scrolled { top: 12px; padding-top: 8px; padding-bottom: 8px; }
.nav.hidden { transform: translate(-50%, calc(-100% - 30px)); }
.nav-logo img { height: 24px; }
.nav-links > a, .nav-drop > a { padding: 11px 16px; font-size: 16px; }
.nav-cta { padding: 12px 24px; font-size: 16px; }
.nav-sound { width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; flex: none; }
.nav-sound:hover { background: var(--sky); }
.nav.on-dark .nav-sound:hover { background: rgba(255,255,255,.14); }
.nav-sound i { width: 3px; height: 5px; border-radius: 2px; background: var(--navy); transition: height .3s; }
.nav.on-dark .nav-sound i { background: var(--white); }
.nav-sound.on i { animation: eq 1.1s ease-in-out infinite; }
.nav-sound.on i:nth-child(2) { animation-delay: .2s; } .nav-sound.on i:nth-child(3) { animation-delay: .45s; } .nav-sound.on i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 50% { height: 16px; } }

/* reel: plays inside the box from the first screen */
.scenes { opacity: 1; transform: translateY(var(--sy, 0px)) scale(var(--ss, 1)); transform-origin: 50% 50%; }
.reel-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 36, 93, .9), rgba(0, 36, 93, .72)); opacity: var(--scrim, 0); pointer-events: none; }
.reel-label, .reel-pause { opacity: 1; }

/* about: tighter, human headings, possibilities field */
.about { padding-top: clamp(56px, calc(9 * var(--vh, 1vh)), 110px); padding-bottom: clamp(40px, calc(7 * var(--vh, 1vh)), 90px); }
.about .glitch { font-size: clamp(38px, calc(5.2 * var(--vw, 1vw)), 88px); min-height: 1.1em; }
.about-grid { margin-top: clamp(20px, calc(3.5 * var(--vh, 1vh)), 40px); gap: clamp(28px, calc(4 * var(--vw, 1vw)), 64px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.possible { position: relative; height: clamp(320px, calc(46 * var(--vh, 1vh)), 460px); border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, var(--sky) 55%, #D3E1F5 100%); border: 1px solid var(--line); }
.possible::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-light); background-size: 200px 180px; }
#possible-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.possible-chips { position: absolute; inset: 0; }
.pchip { position: absolute; left: 0; top: 0; padding: 8px 15px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 36, 93, .12); will-change: transform, opacity; }
.pchip.y { background: var(--yellow); }
.pchip.n { background: var(--navy); color: var(--white); }
.possible-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: grid; justify-items: center; gap: 6px; padding: 16px 22px; border-radius: 18px; background: var(--white); box-shadow: 0 16px 40px rgba(0, 36, 93, .16); }
.possible-core img { width: 62px; }
.possible-core span { font-weight: 700; color: var(--navy); font-size: 14px; }
.possible-cap { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: var(--muted); font-size: 14px; font-weight: 600; }

/* services: v2 size and motion, both sides move */
.services { margin-top: 0; padding-block: clamp(60px, calc(12 * var(--vh, 1vh)), 140px); }
.svc-grid { position: relative; display: grid; grid-template-columns: minmax(0, var(--lw, 1fr)) 1px minmax(0, var(--rw, 1fr)); gap: clamp(28px, calc(5 * var(--vw, 1vw)), 80px); align-items: start; min-height: clamp(420px, calc(56 * var(--vh, 1vh)), 560px); transition: grid-template-columns 1.1s var(--soft); }
.svc-line { align-self: stretch; background: var(--line); }
.svc-col { display: flex; justify-content: center; padding-block: 12px; outline-offset: 8px; transition: opacity .8s var(--soft); }
.svc-block { width: 520px; max-width: none; flex: none; }
.svc-col h3 { font-size: clamp(56px, calc(8 * var(--vw, 1vw)), 140px); letter-spacing: -.05em; color: var(--navy); transition: transform 1s var(--soft); transform-origin: left bottom; }
.svc-col[data-side="right"] h3 { color: var(--blue); }
.svc-col p { margin-top: 10px; font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); color: var(--muted); }
.svc-col ul { list-style: none; margin: clamp(22px, calc(4 * var(--vh, 1vh)), 40px) 0 0; padding: 0; display: grid; gap: 4px; }
.svc-col li a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-size: clamp(19px, calc(1.7 * var(--vw, 1vw)), 26px); font-weight: 600; color: var(--navy); transition: color .25s, transform .45s var(--soft); }
.svc-col li a::before { content: ""; width: 0; height: 3px; background: var(--yellow); border-radius: 2px; transition: width .45s var(--soft); }
.svc-col li a:hover, .svc-col li a:focus-visible { color: #E5B620; }
.svc-col li a:hover::before, .svc-col li a:focus-visible::before { width: 22px; }
@media (hover: hover) {
  .svc-col li { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--soft), transform .8s var(--soft); }
  .svc-col.open li { opacity: 1; transform: none; }
  .svc-col.open li:nth-child(2) { transition-delay: .06s; } .svc-col.open li:nth-child(3) { transition-delay: .12s; }
  .svc-col.open li:nth-child(4) { transition-delay: .18s; } .svc-col.open li:nth-child(5) { transition-delay: .24s; }
  .svc-grid.has-open .svc-col:not(.open) { opacity: .62; }
  .svc-grid.has-open .svc-col:not(.open) h3 { transform: scale(.86); }
}

/* portfolio: generated images in the pinned box, WinWin-style info row */
.pf-slide { background: var(--navy-2); }
.pf-slide img { width: 100%; height: 100%; object-fit: cover; }
.pf-info { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: none; }
.pf-info h3 { margin-top: 4px; font-size: clamp(24px, calc(2.4 * var(--vw, 1vw)), 40px); font-weight: 700; letter-spacing: -.02em; text-transform: none; text-align: left; border: 0; padding: 0; line-height: 1.1; }
.pf-info p { padding-left: 0; margin-top: 6px; }
.pf-count { font-weight: 700; color: var(--yellow); font-size: 14px; letter-spacing: .14em; }
.pf-text { transition: opacity .35s, transform .45s var(--soft); }
.pf-info.swap .pf-text { opacity: 0; transform: translateY(8px); }
.pf-btn { display: inline-flex; align-items: center; gap: 12px; flex: none; }

/* WinWin Tools: rotating showcase */
.wt { padding-block: clamp(80px, calc(14 * var(--vh, 1vh)), 160px); }
.wt-head { display: grid; gap: 12px; margin-bottom: clamp(24px, calc(4 * var(--vh, 1vh)), 44px); max-width: 760px; }
.wt-intro { color: var(--muted); font-size: clamp(17px, calc(1.4 * var(--vw, 1vw)), 21px); }
.wt-main { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, calc(4 * var(--vw, 1vw)), 64px); align-items: stretch; }
.wt-side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.wt-list { display: grid; }
.wt-tab { position: relative; display: flex; justify-content: space-between; align-items: center; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 15px 0; font-weight: 600; font-size: 18px; color: var(--muted); cursor: pointer; transition: color .3s; }
.wt-tab:last-child { border-bottom: 1px solid var(--line); }
.wt-tab:hover { color: var(--navy); }
.wt-tab.on { color: var(--navy); }
.wt-tab::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: var(--pg, 0%); background: var(--yellow); }
.wt-tab .ch-fav { width: 22px; height: 22px; border-radius: 7px; }
.wt-copy h3 { font-size: clamp(30px, calc(3 * var(--vw, 1vw)), 48px); color: var(--navy); letter-spacing: -.03em; transition: opacity .35s, transform .45s var(--soft); }
.wt-copy p { margin-top: 10px; font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); line-height: 1.45; max-width: 32ch; transition: opacity .35s .05s, transform .45s .05s var(--soft); }
.wt-copy.swap h3, .wt-copy.swap p { opacity: 0; transform: translateY(10px); }
.wt-stage { position: relative; min-height: clamp(380px, calc(54 * var(--vh, 1vh)), 540px); border-radius: 24px; background: var(--navy) var(--pat-dark); background-size: 200px 180px; overflow: hidden; }
.wt-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 20%, rgba(27, 91, 196, .55), transparent 70%); }
.demo { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .6s; pointer-events: none; }
.demo.is-on { opacity: 1; }
.d-win { position: relative; width: min(76%, 500px); background: var(--white); border-radius: 18px; padding: 26px; box-shadow: 0 40px 80px rgba(0, 0, 0, .3); display: grid; gap: 18px; justify-items: center; }
.d-field { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--ink); min-height: 48px; }
.d-qr { position: relative; width: 168px; height: 168px; display: grid; grid-template-columns: repeat(21, 1fr); }
.d-qr i { background: var(--navy); transform: scale(0); }
.is-on .d-qr i { animation: qrPop .25s var(--soft) forwards; }
@keyframes qrPop { to { transform: scale(1); } }
.d-qr img { position: absolute; left: 50%; top: 50%; width: 44px; transform: translate(-50%, -50%) scale(0); background: var(--white); padding: 4px; border-radius: 6px; }
.is-on .d-qr img { animation: qrMark .5s 2.4s var(--soft) forwards; }
@keyframes qrMark { to { transform: translate(-50%, -50%) scale(1); } }
.d-btn { background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 15px; }
.is-on .d-btn { animation: dPress .4s 3.4s both; }
@keyframes dPress { 50% { transform: scale(.92); background: var(--blue-2); } }
.d-drop { width: 100%; height: 190px; border: 2px dashed var(--sky-2); border-radius: 14px; display: grid; place-items: center; color: var(--muted); font-weight: 600; position: relative; }
.is-on .d-drop span { animation: fadeOut .3s 1.7s forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.d-file { position: absolute; width: 92px; height: 118px; background: var(--white); border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 36, 93, .2); display: grid; align-content: start; gap: 7px; padding: 12px; }
.d-file b { color: var(--white); font-size: 12px; padding: 2px 7px; border-radius: 4px; justify-self: start; background: #C24A2A; }
.d-file i { height: 6px; background: var(--sky-2); border-radius: 3px; }
.d-file.pdf { left: 50%; top: 30px; margin-left: -46px; }
.is-on .d-file.pdf { animation: pdfIn 1.4s .3s var(--soft) both, fadeOut .3s 1.9s forwards; }
@keyframes pdfIn { from { transform: translate(190px, -120px) rotate(10deg); } }
.d-pages { position: absolute; left: 0; right: 0; top: 60px; display: flex; justify-content: center; gap: 16px; }
.d-pages span { width: 74px; height: 96px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 22px rgba(0, 36, 93, .14); position: relative; opacity: 0; transform: translateY(20px); }
.d-pages em { position: absolute; left: 8px; bottom: 8px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.is-on .d-pages span { animation: pageIn .6s var(--soft) forwards; }
.is-on .d-pages span:nth-child(1) { animation-delay: 2.1s; } .is-on .d-pages span:nth-child(2) { animation-delay: 2.3s; } .is-on .d-pages span:nth-child(3) { animation-delay: 2.5s; }
@keyframes pageIn { to { opacity: 1; transform: none; } }
.d-dial { position: relative; width: 280px; display: grid; justify-items: center; }
.d-dial svg { width: 100%; }
.dd-bg, .dd-fg { fill: none; stroke-width: 14; stroke-linecap: round; }
.dd-bg { stroke: var(--sky-2); }
.dd-fg { stroke: var(--navy); stroke-dasharray: 252; stroke-dashoffset: 252; }
.is-on .dd-fg { animation: dial 2.2s .5s var(--soft) forwards; }
@keyframes dial { to { stroke-dashoffset: 95; } }
.d-dial b { margin-top: -50px; font-size: 54px; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.d-dial span { color: var(--muted); font-size: 14px; }
.d-stats { display: flex; gap: 12px; opacity: 0; }
.is-on .d-stats { animation: pageIn .5s 2.6s forwards; }
.d-stats span { background: var(--sky); border-radius: 10px; padding: 8px 14px; font-size: 14px; color: var(--muted); }
.d-stats b { color: var(--navy); }
.d-photo { width: 260px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.d-photo img { width: 100%; height: 100%; object-fit: cover; }
.is-on .d-photo { animation: squeeze .9s 1.2s var(--soft); }
@keyframes squeeze { 40% { transform: scale(.82, .9); } }
.d-sizes { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 20px; color: var(--navy); }
.d-before { position: relative; }
.d-before::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: #C24A2A; transform: scaleX(0); transform-origin: left; }
.is-on .d-before::after { animation: strike .4s 1.7s forwards; }
@keyframes strike { to { transform: scaleX(1); } }
.d-after { opacity: 0; }
.is-on .d-after { animation: pageIn .5s 1.9s forwards; }
.d-badge { background: var(--yellow); color: var(--navy); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 14px; opacity: 0; transform: scale(.6); }
.is-on .d-badge { animation: badge .5s 2.3s var(--soft) forwards; }
@keyframes badge { to { opacity: 1; transform: none; } }
.d-file.img { position: relative; width: 120px; height: 150px; }
.d-file.img .d-ext { background: var(--blue-2); font-size: 14px; }
.d-file.img.flip { animation: flipY .7s var(--soft); }
@keyframes flipY { 50% { transform: rotateY(90deg); } }
.d-chips { display: flex; gap: 10px; }
.d-chips span { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.is-on .d-chips .pick { animation: pick .3s 1.5s forwards; }
@keyframes pick { to { background: var(--navy); color: var(--white); border-color: var(--navy); } }
.d-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; pointer-events: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-7 2-3 7z' fill='%23F0CB35' stroke='%2300245D' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.gift { position: relative; margin-top: clamp(28px, calc(5 * var(--vh, 1vh)), 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 32px; padding: clamp(26px, calc(3 * var(--vw, 1vw)), 44px); border-radius: 24px; background: var(--yellow); color: var(--navy); overflow: hidden; }
.gift-ribbon { position: absolute; top: 0; bottom: 0; right: 26%; width: 30px; background: rgba(0, 36, 93, .12); }
.gift-ribbon::before { content: ""; position: absolute; left: -2000px; right: -2000px; top: 50%; height: 30px; margin-top: -15px; background: rgba(0, 36, 93, .12); }
.gift::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); background-size: 260% 100%; background-position: 160% 0; transition: background-position 1.2s var(--soft); pointer-events: none; }
.gift:hover::after { background-position: -60% 0; }
.gift > span { position: relative; z-index: 1; }
.gift-small { grid-column: 1; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.gift-big { grid-column: 1; font-size: clamp(24px, calc(2.6 * var(--vw, 1vw)), 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; max-width: 24ch; }
.gift-go { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: var(--white); padding: 16px 26px; border-radius: 12px; font-weight: 700; transition: transform .4s var(--soft); }
.gift:hover .gift-go { transform: translateX(6px); }

/* blog: calmer motion, cards keep their shape */
.post { transform: translateX(var(--lag, 0px)) translateY(var(--ly, 0px)) scale(var(--sc, 1)); }
.blog-flow svg { transform: translateX(var(--fx, 0px)); }

/* contact: Humaan size with the build-the-W puzzle */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-block: clamp(70px, calc(11 * var(--vh, 1vh)), 120px) clamp(28px, calc(5 * var(--vh, 1vh)), 48px); background: none; overflow: visible; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.cta-left { display: grid; gap: clamp(40px, calc(8 * var(--vh, 1vh)), 90px); justify-items: start; }
.cta .play-big { font-size: clamp(40px, calc(4.6 * var(--vw, 1vw)), 80px); max-width: 12ch; }
.cta-info { display: flex; gap: clamp(28px, calc(4 * var(--vw, 1vw)), 64px); flex-wrap: wrap; }
.cta-info div { display: grid; gap: 6px; font-size: 17px; align-content: start; }
.cta-info b { color: var(--navy); font-size: 18px; }
.cta-info a { display: inline-flex; gap: 8px; align-items: center; color: var(--navy); font-weight: 600; }
.cta-info span { color: var(--muted); }
.puzzle { position: relative; height: clamp(280px, calc(38 * var(--vh, 1vh)), 380px); --pw: min(80%, 430px); }
.pz-outline { position: absolute; left: 50%; top: 14%; width: var(--pw); transform: translateX(-50%); overflow: visible; transition: opacity .6s; }
.pz-outline path { fill: rgba(0, 36, 93, .03); stroke: var(--sky-2); stroke-width: 3; stroke-dasharray: 10 8; }
.pz-piece { position: absolute; left: 50%; top: 14%; width: var(--pw); transform: translate(-50%, 0) translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg)); overflow: visible; pointer-events: none; transition: transform .55s var(--soft), filter .4s; }
.pz-piece path { pointer-events: visiblePainted; cursor: grab; }
.pz-piece.drag { transition: none; filter: drop-shadow(0 12px 18px rgba(0, 36, 93, .25)); }
.pz-piece.drag path { cursor: grabbing; }
.pz-piece.placed path { cursor: default; }
.puzzle.done .pz-outline { opacity: 0; }
.puzzle.done .pz-piece { filter: drop-shadow(0 0 16px rgba(240, 203, 53, .7)); }
.pz-hint { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: var(--muted); font-weight: 600; font-size: 15px; }

@media (max-width: 1080px) {
  .nav.hidden { transform: translateY(calc(-100% - 30px)); }
  .about-grid { grid-template-columns: 1fr; }
  .about .glitch { min-height: 2.1em; }
  .svc-grid { grid-template-columns: 1fr !important; min-height: 0; }
  .svc-line { height: 1px; }
  .svc-block { width: 100%; }
  .wt-main { grid-template-columns: 1fr; }
  .gift { grid-template-columns: 1fr; }
  .gift-go { grid-column: 1; grid-row: auto; justify-self: start; }
  .cta { grid-template-columns: 1fr; }
  .pf-info p { display: block; }
}
@media (max-width: 600px) {
  .pf-info { flex-wrap: wrap; }
  .pf-info p { display: none; }
  .d-win { width: 88%; padding: 18px; }
  .d-dial { width: 220px; }
}

/* v6 fixes */
.nav-logo { flex: none; }
.nav-logo img { height: 24px; width: auto; max-width: none; }
.possible-core { padding: 18px 26px; }
.possible-core img { width: 74px; }
.puzzle { height: clamp(320px, calc(44 * var(--vh, 1vh)), 420px); --pw: min(78%, 400px); }
.pz-outline, .pz-piece { top: 8%; }
.pz-hint { bottom: -6px; }

/* =================== v7 =================== */
/* plain white or blue, no W pattern */
:root { --pat-light: none; --pat-dark: none; }
body { background-image: none; }

/* nav: wider and larger */
.nav { width: min(1240px, calc(100% - 40px)); justify-content: space-between; gap: 12px; padding: 12px 12px 12px 28px; border-radius: 16px; }
.nav.scrolled { padding-top: 10px; padding-bottom: 10px; }
.nav-logo img { height: 28px; }
.nav-links { flex: 1; justify-content: center; gap: 6px; }
.nav-links > a, .nav-drop > a { padding: 12px 20px; font-size: 17px; border-radius: 10px; }
.nav-glow { border-radius: 10px; }
.nav-cta { padding: 14px 30px; font-size: 17px; border-radius: 10px; }
.nav-sound { width: 46px; height: 46px; }

/* services: coloured boxes (v1 look) with the v6 motion */
.svc-glow { display: none; }
.svc-grid { gap: 16px; min-height: clamp(460px, calc(60 * var(--vh, 1vh)), 600px); }
.svc-line { display: none; }
.svc-grid { grid-template-columns: minmax(0, var(--lw, 1fr)) minmax(0, var(--rw, 1fr)); }
.svc-col { overflow: hidden; padding: clamp(32px, calc(3.2 * var(--vw, 1vw)), 52px); align-items: center; }
.svc-col[data-side="left"] { background: var(--navy); }
.svc-col[data-side="right"] { background: var(--sky); }
.svc-block { width: min(520px, 100%); }
.svc-col h3 { font-size: clamp(48px, calc(6.4 * var(--vw, 1vw)), 110px); }
.svc-col[data-side="left"] h3 { color: var(--white); }
.svc-col[data-side="left"] p { color: rgba(255, 255, 255, .72); }
.svc-col[data-side="left"] li a { color: var(--white); }
.svc-col[data-side="left"] li a:hover, .svc-col[data-side="left"] li a:focus-visible { color: var(--yellow); }
@media (hover: hover) {
  .svc-grid.has-open .svc-col:not(.open) { opacity: .7; }
  .svc-grid.has-open .svc-col:not(.open) h3 { transform: scale(.78); }
}

/* portfolio title: solid, on brand */
.pf-title { color: var(--white); -webkit-text-stroke: 0; text-transform: none; letter-spacing: -.035em; font-size: clamp(40px, calc(5 * var(--vw, 1vw)), 84px); }
.pf-title em { color: var(--yellow); }

/* tools: part of the page, no box, no clicking */
.wt-stage { background: none; border-radius: 0; overflow: visible; min-height: clamp(380px, calc(50 * var(--vh, 1vh)), 500px); }
.wt-stage::before { display: none; }
.d-win { box-shadow: 0 30px 70px rgba(0, 36, 93, .14); border: 1px solid var(--line); }
.is-on .d-win { animation: winFloat 6s ease-in-out infinite; }
@keyframes winFloat { 50% { transform: translateY(-8px); } }
.wt-side { justify-content: center; gap: 22px; }
.wt-progress { display: flex; gap: 8px; }
.wt-progress i { position: relative; flex: 1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.wt-progress i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(var(--pg, 0)); }
.wt-copy p { font-size: clamp(16px, calc(1.3 * var(--vw, 1vw)), 19px); color: var(--muted); max-width: 30ch; }

/* blog sits over the contact section, which slides out from behind it */
.blog { position: relative; z-index: 2; background: var(--white); border-radius: 0 0 44px 44px; box-shadow: 0 34px 60px rgba(0, 36, 93, .08); padding-bottom: clamp(56px, calc(9 * var(--vh, 1vh)), 100px); }
.cta { position: relative; z-index: 1; max-width: none; margin-top: -120px; padding-top: calc(120px + clamp(56px, calc(8 * var(--vh, 1vh)), 96px)); background: var(--sky); transform: translateY(var(--cy, 0px)); border-bottom: 0; }
.footer { position: relative; z-index: 1; }
.cta .play-big { color: var(--navy); }

/* puzzle: starts whole, breaks on arrival */
.puzzle.crack { animation: crack .45s; }
@keyframes crack { 20% { transform: translate(-4px, 2px) rotate(-.6deg); } 45% { transform: translate(4px, -2px) rotate(.6deg); } 70% { transform: translate(-2px, 1px); } }
.pz-piece.flying { transition: transform 1s cubic-bezier(.2, .9, .3, 1.15); }
.pz-hint { opacity: 0; transition: opacity .6s .6s; }
.puzzle.broken .pz-hint, .puzzle.done .pz-hint { opacity: 1; }
.puzzle:not(.broken):not(.done) .pz-outline { opacity: 0; }

@media (max-width: 1080px) {
  .nav { width: auto; padding: 8px 8px 8px 18px; }
  .svc-grid { gap: 12px; }
  .cta { padding-left: max(20px, calc(4 * var(--vw, 1vw))); padding-right: max(20px, calc(4 * var(--vw, 1vw))); }
}

/* =================== v8 =================== */
/* contact tucked further behind the blog, with more room once revealed */
.cta { margin-top: -220px; padding-top: calc(220px + clamp(120px, calc(20 * var(--vh, 1vh)), 220px)); align-items: end; }
/* the W falls to a floor line, Humaan style */
.puzzle { height: clamp(380px, calc(52 * var(--vh, 1vh)), 500px); border-bottom: 2px solid var(--navy); --pw: min(74%, 380px); }
.pz-outline, .pz-piece { top: 6%; }
.pz-piece.phys { transition: none; }
.pz-hint { bottom: auto; top: calc(6% + 160px); }
@media (max-width: 1080px) { .puzzle { height: 360px; } .pz-hint { top: calc(6% + 120px); } }
.cta { align-items: stretch; }
.cta-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }

/* =================== v9: how we work, shown in four steps =================== */
.hw { position: relative; display: grid; gap: 14px; }
.hw-scene { position: relative; width: 100%; aspect-ratio: 600 / 380; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #F5F8FD 0%, var(--sky) 100%); border: 1px solid var(--line); container-type: inline-size; }
.hw-scene > * { position: absolute; transition: transform .9s var(--soft), opacity .6s, left .9s var(--soft), top .9s var(--soft); }
/* storefront */
.hw-shop { left: 33%; top: 18%; width: 34%; height: 52%; background: var(--navy); border-radius: 10px 10px 4px 4px; transform-origin: 0 0; box-shadow: 0 20px 40px rgba(0, 36, 93, .18); }
.hw-awn { position: absolute; left: -6%; right: -6%; top: 14%; height: 16%; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 12%, #FFE27A 12% 24%); }
.hw-sign { position: absolute; left: 0; right: 0; top: 2%; text-align: center; color: var(--white); font-weight: 700; font-size: clamp(9px, 2.6cqi, 15px); }
.hw-win { position: absolute; left: 10%; top: 42%; width: 44%; height: 34%; border-radius: 4px; background: linear-gradient(135deg, #9FC0F2, #DCE8F8); }
.hw-door { position: absolute; right: 10%; top: 42%; width: 24%; height: 58%; border-radius: 4px 4px 0 0; background: var(--blue-2); }
.hw-ww { left: 70%; top: 44%; width: 11%; aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 36, 93, .2); opacity: 0; transform: translateX(40px); }
.hw-ww img { width: 70%; }
.hw-bubble { left: 58%; top: 18%; max-width: 38%; padding: 8px 12px; border-radius: 12px 12px 12px 2px; background: var(--white); color: var(--navy); font-weight: 600; font-size: clamp(10px, 2.4cqi, 14px); box-shadow: 0 10px 24px rgba(0, 36, 93, .12); opacity: 0; transform: translateY(8px); }
/* the flow of a job */
.hw-line { left: 6%; right: 6%; width: 88%; top: 56%; height: 8%; overflow: visible; opacity: 0; }
.hw-line path { fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 480; stroke-dashoffset: 480; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 1.6s var(--soft); }
.hw-node { top: 54%; width: 19%; transform: translate(-50%, 8px); opacity: 0; display: grid; place-items: center; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--white); border: 1.5px solid var(--line); color: var(--navy); font-size: clamp(9px, 2.2cqi, 13px); line-height: 1.2; box-shadow: 0 8px 18px rgba(0, 36, 93, .08); }
.hw-node.n1 { left: 13%; } .hw-node.n2 { left: 38%; } .hw-node.n3 { left: 62%; } .hw-node.n4 { left: 87%; }
.hw-gap { left: 50%; top: 40%; transform: translate(-50%, 0) scale(.8); opacity: 0; font-weight: 700; font-size: clamp(9px, 2.2cqi, 13px); }
.hw-gap span { display: block; padding: 5px 10px; border-radius: 999px; white-space: nowrap; transition: opacity .4s; }
.hw-gap .hw-x { background: #FDE8E6; color: #B23A2A; border: 1.5px dashed #E07A6C; }
.hw-gap .hw-ok { position: absolute; inset: 0; background: var(--yellow); color: var(--navy); opacity: 0; text-align: center; }
.hw-tool { top: 80%; width: 19%; transform: translate(-50%, -24px); opacity: 0; text-align: center; padding: 8px 6px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; font-size: clamp(9px, 2.2cqi, 13px); }
.hw-tool.t1 { left: 13%; } .hw-tool.t2 { left: 38%; } .hw-tool.t3 { left: 62%; }
.hw-pulse { top: 60%; left: 9%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(240, 203, 53, .3); opacity: 0; transition: none; }
.hw-toast { right: 5%; top: 6%; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--white); color: var(--navy); font-weight: 700; font-size: clamp(10px, 2.4cqi, 14px); box-shadow: 0 14px 30px rgba(0, 36, 93, .16); opacity: 0; transform: translateY(-12px); }
.hw-toast span { width: 10px; height: 10px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 4px rgba(43, 182, 115, .2); }
/* step 1: we turn up */
.hw.hs1 .hw-ww, .hw.hs2 .hw-ww, .hw.hs3 .hw-ww, .hw.hs4 .hw-ww { opacity: 1; transform: none; }
.hw.hs1 .hw-bubble.b1 { opacity: 1; transform: none; transition-delay: .5s; }
/* step 2: map the job */
.hw.hs2 .hw-shop, .hw.hs3 .hw-shop, .hw.hs4 .hw-shop { left: 5%; top: 6%; transform: scale(.52); }
.hw.hs2 .hw-ww, .hw.hs3 .hw-ww, .hw.hs4 .hw-ww { left: 23%; top: 14%; transform: scale(.75); }
.hw.hs2 .hw-bubble.b2 { left: 32%; top: 8%; opacity: 1; transform: none; transition-delay: .4s; }
.hw.hs2 .hw-line, .hw.hs3 .hw-line, .hw.hs4 .hw-line { opacity: 1; }
.hw.hs2 .hw-line path, .hw.hs3 .hw-line path, .hw.hs4 .hw-line path { stroke-dashoffset: 0; }
.hw.hs2 .hw-node, .hw.hs3 .hw-node, .hw.hs4 .hw-node { opacity: 1; transform: translate(-50%, 0); }
.hw.hs2 .n2 { transition-delay: .2s; } .hw.hs2 .n3 { transition-delay: .4s; } .hw.hs2 .n4 { transition-delay: .6s; }
.hw.hs2 .hw-gap, .hw.hs3 .hw-gap, .hw.hs4 .hw-gap { opacity: 1; transform: translate(-50%, 0) scale(1); transition-delay: 1s; }
/* step 3: build the missing pieces */
.hw.hs3 .hw-tool, .hw.hs4 .hw-tool { opacity: 1; transform: translate(-50%, 0); }
.hw.hs3 .t2 { transition-delay: .25s; } .hw.hs3 .t3 { transition-delay: .5s; }
.hw.hs3 .hw-gap .hw-ok, .hw.hs4 .hw-gap .hw-ok { opacity: 1; transition-delay: .9s; }
.hw.hs3 .hw-gap .hw-x, .hw.hs4 .hw-gap .hw-x { opacity: 0; transition-delay: .9s; }
/* step 4: it all works together */
.hw.hs4 .hw-node { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(240, 203, 53, .35); }
.hw.hs4 .hw-pulse { animation: hwRun 2.4s var(--soft) infinite; }
.hw.hs4 .hw-pulse.p2 { animation-delay: .8s; } .hw.hs4 .hw-pulse.p3 { animation-delay: 1.6s; }
@keyframes hwRun { 0% { left: 9%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 91%; opacity: 0; } }
.hw.hs4 .hw-toast { opacity: 1; transform: none; transition-delay: 1s; }
/* step list */
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: hw; }
.hw-steps li { position: relative; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.3; transition: color .4s; }
.hw-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--line); }
.hw-steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 2px; background: var(--yellow); }
.hw-steps li.on { color: var(--navy); }
.hw-steps li.on::after { animation: hwBar var(--step, 4s) linear forwards; }
.hw-steps li.done::after { width: 100%; }
@keyframes hwBar { to { width: 100%; } }
@media (max-width: 600px) { .hw-steps { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .hw.hs4 .hw-pulse { animation: none; } }

/* =================== v10 =================== */
/* services: fill the screen like the portfolio box, lists always showing */
.services { padding: 12px; margin-top: 0; background: var(--white); }
.services .svc-grid { max-width: none; padding: 0; gap: 12px; min-height: calc(calc(100 * var(--vh, 1vh)) - 24px); }
.svc-col { border-radius: 24px; padding: clamp(40px, calc(5 * var(--vw, 1vw)), 96px); }
.svc-col h3 { font-size: clamp(56px, calc(7.6 * var(--vw, 1vw)), 136px); }
.svc-block { width: min(600px, 100%); transition: opacity .8s var(--soft); }
.svc-col li a { font-size: clamp(20px, calc(1.8 * var(--vw, 1vw)), 28px); }
@media (hover: hover) {
  .svc-col li { opacity: .5; transform: none; }
  .svc-col.open li { opacity: 1; }
  .svc-grid.has-open .svc-col:not(.open) { opacity: 1; }
  .svc-grid.has-open .svc-col:not(.open) .svc-block { opacity: .6; }
}
/* portfolio follows straight on, no big gap */
.pf { margin-top: 0; }
.pixels { display: none; }

/* sections alternate: white, colour, white, colour */
.blog { background: var(--sky); }
.cta { background: var(--white); }

/* contact game: bigger, pieces easy to grab */
.cta { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.puzzle { height: clamp(460px, calc(64 * var(--vh, 1vh)), 640px); --pw: min(88%, 560px); }
.pz-hint { top: calc(6% + 220px); }
.pz-hit { pointer-events: all; cursor: grab; touch-action: none; }
.pz-piece.drag .pz-hit { cursor: grabbing; }

/* one services page */
.sv-group { padding-block: clamp(56px, calc(10 * var(--vh, 1vh)), 110px); }
.sv-marketing { background: var(--navy); color: var(--white); }
.sv-technology { background: var(--sky); }
.sv-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, calc(4 * var(--vh, 1vh)), 44px); }
.sv-head h2 { font-size: clamp(48px, calc(6 * var(--vw, 1vw)), 104px); letter-spacing: -.045em; color: inherit; }
.sv-technology .sv-head h2 { color: var(--blue); }
.sv-head p { font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); opacity: .75; }
.sv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.sv-item { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); scroll-margin-top: 120px; transition: box-shadow .6s, transform .6s var(--soft); }
.sv-technology .sv-item { background: var(--white); border-color: var(--line); }
.sv-item h3 { font-size: clamp(22px, calc(1.9 * var(--vw, 1vw)), 30px); color: inherit; }
.sv-technology .sv-item h3 { color: var(--navy); }
.sv-item p { opacity: .8; }
.sv-marketing .sv-item .text-link { color: var(--yellow); }
.sv-item.flash { box-shadow: 0 0 0 3px var(--yellow); transform: translateY(-4px); }
@media (max-width: 1080px) {
  .services .svc-grid { min-height: 0; }
  .puzzle { height: 420px; }
  .pz-hint { top: calc(6% + 150px); }
}
.services .svc-grid { align-items: stretch; }

/* =================== v11 =================== */
/* contact game: the whole section is the play area, pieces land on one floor line across the full width */
.cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding-bottom: clamp(240px, calc(30 * var(--vh, 1vh)), 300px); }
.cta-left { position: relative; z-index: 1; gap: clamp(40px, calc(7 * var(--vh, 1vh)), 80px); }
.pz-side { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: clamp(22px, calc(4 * var(--vh, 1vh)), 44px); --pw: min(100%, 520px); text-align: center; }
.pz-title.glitch { font-size: clamp(30px, calc(3.1 * var(--vw, 1vw)), 50px); letter-spacing: -.035em; line-height: 1.05; color: var(--navy); min-height: 2.1em; max-width: 15ch; }
.pz-title a { color: inherit; }
.pz-title .hl { background: linear-gradient(var(--yellow), var(--yellow)) 0 94% / 100% .13em no-repeat; }
.pz-target { position: relative; width: var(--pw); aspect-ratio: 540 / 195; }
.pz-target .pz-outline { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: none; overflow: visible; transition: opacity .6s, filter .6s; }
.cta:not(.pz-broken) .pz-outline { opacity: 0; }
.pz-outline path.pz-o { transition: fill .4s, stroke .4s; }
.pz-hint { position: static; inset: auto; opacity: 1; color: var(--muted); font-size: 16px; font-weight: 600; min-height: 1.5em; transition: opacity .5s; }
.cta:not(.pz-broken) .pz-hint, .cta.pz-done .pz-hint { opacity: 0; }

.puzzle { position: absolute; left: var(--gutter); right: var(--gutter); top: 220px; bottom: clamp(28px, calc(5 * var(--vh, 1vh)), 48px); height: auto; z-index: 2; pointer-events: none; border-bottom: 2px solid var(--navy); outline: none; }
.puzzle:focus-visible { box-shadow: inset 0 0 0 3px var(--yellow); }
.pz-piece { left: var(--ox, 0px); top: var(--oy, 0px); width: var(--ow, 300px); transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg)); }
.puzzle.done .pz-piece { filter: drop-shadow(0 0 14px rgba(240, 203, 53, .75)); }
.pz-fx { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }

/* finished: the W turns solid where it stands, pulses, a light passes over it, then the glow stays */
.cta.pz-won .pz-piece { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.cta.pz-won .pz-outline path.pz-o { fill: var(--f); stroke: transparent; }
.cta.pz-won .pz-outline { opacity: 1; filter: drop-shadow(0 0 16px rgba(240, 203, 53, .7)); animation: pzPulse 1s var(--ease) both, pzGlow 3.4s 1.2s ease-in-out infinite; }
@keyframes pzPulse { 0% { scale: 1; } 26% { scale: 1.08; } 100% { scale: 1; } }
@keyframes pzGlow { 50% { filter: drop-shadow(0 0 30px rgba(240, 203, 53, .95)); } }
.pz-shine { opacity: 0; }
.cta.pz-won .pz-shine { animation: pzShine 1.2s .2s ease-in-out both; }
@keyframes pzShine { 0% { opacity: 1; transform: translateX(0) skewX(-18deg); } 100% { opacity: 1; transform: translateX(860px) skewX(-18deg); } }
.pz-ring { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; border: 2px solid var(--yellow); border-radius: 50%; translate: -50% -50%; scale: 0; opacity: 0; pointer-events: none; }
.cta.pz-won .pz-ring { animation: pzRing 1.4s .05s var(--ease) both; }
.cta.pz-won .pz-ring.r2 { animation-delay: .32s; }
@keyframes pzRing { 0% { scale: .2; opacity: .9; } 100% { scale: 3; opacity: 0; } }
.puzzle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.cta.pz-won .puzzle::after { animation: pzFloor 1.8s .15s var(--ease) both; }
@keyframes pzFloor { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cta.pz-won .pz-outline, .cta.pz-won .pz-shine, .cta.pz-won .pz-ring, .cta.pz-won .puzzle::after { animation: none; } }

@media (max-width: 1080px) {
  .cta { grid-template-columns: 1fr; padding-bottom: 220px; }
  .pz-side { --pw: min(100%, 420px); justify-items: start; text-align: left; }
  .puzzle { left: max(20px, calc(4 * var(--vw, 1vw))); right: max(20px, calc(4 * var(--vw, 1vw))); }
}

/* =================== v12 =================== */
/* contact: one heading on the left, game on the right, details live in the footer */
.cta .play-big { font-size: clamp(40px, calc(4.2 * var(--vw, 1vw)), 74px); max-width: none; }
.play-big .nw { white-space: nowrap; }
.play-big .arrow.big { margin-left: .35em; vertical-align: middle; }
@media (max-width: 600px) { .play-big .nw { white-space: normal; } }

/* finished game: the whole section breathes a faint yellow glow */
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 220px; bottom: 0; pointer-events: none; opacity: 0; background: radial-gradient(55% 65% at 72% 42%, rgba(240, 203, 53, .16), rgba(240, 203, 53, 0) 72%), radial-gradient(60% 70% at 22% 58%, rgba(240, 203, 53, .07), rgba(240, 203, 53, 0) 70%), linear-gradient(180deg, rgba(240, 203, 53, .03), rgba(240, 203, 53, .06)); background-size: 140% 140%; background-position: 50% 50%; transition: opacity 1.4s; }
.cta.pz-won::before { opacity: 1; animation: ctaGlow 6s 1.4s ease-in-out infinite; }
@keyframes ctaGlow { 0%, 100% { opacity: 1; background-position: 50% 50%; } 50% { opacity: .55; background-position: 30% 60%; } }
.cta.pz-ready .pz-target { cursor: pointer; transition: transform .5s var(--soft); }
.cta.pz-ready .pz-target:hover { transform: scale(1.04); }
.cta.pz-ready .pz-target:focus-visible { outline-offset: 12px; border-radius: 12px; }
.cta.pz-ready .pz-hint { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cta.pz-won::before { animation: none; } }

/* warp overlay */
.warp { position: fixed; inset: 0; z-index: 95; }
.warp[hidden] { display: none; }
.warp canvas { display: block; width: 100%; height: 100%; }

/* Contact stays visible when the bar hides */
.float-cta { position: fixed; z-index: 51; top: 14px; right: 16px; display: block; padding: 14px 30px; font-size: 17px; line-height: 1.5; font-weight: 700; border-radius: 10px; background: var(--yellow); color: var(--navy); box-shadow: 0 10px 26px rgba(0, 36, 93, .16); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), box-shadow .3s; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta.show:hover { box-shadow: 0 10px 26px rgba(240, 203, 53, .5); }
@media (max-width: 1080px) { .float-cta { padding: 10px 18px; font-size: 15px; } }

/* footer */
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: clamp(56px, calc(9 * var(--vh, 1vh)), 96px) 44px; }
.footer-brand { display: grid; gap: 28px; align-content: start; justify-items: start; }
.footer .footer-logo { height: 30px; }
.footer-cta { padding: 14px 28px; font-size: 16px; }
.footer .footer-col { display: grid; gap: 10px; align-content: start; margin: 0; font-size: 16px; }
.footer-col b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.footer-col a, .footer-col span { opacity: .85; font-weight: 600; font-size: 16px; }
.footer-col span { font-weight: 400; }
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 30px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.footer-bottom span { opacity: .6; }
.footer-bottom .footer-small { width: auto; opacity: .45; }
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =================== v13 =================== */
/* more room: bigger gaps between and inside sections */
.about { padding-top: clamp(110px, calc(17 * var(--vh, 1vh)), 210px); padding-bottom: clamp(100px, calc(15 * var(--vh, 1vh)), 190px); }
.about-grid { margin-top: clamp(48px, calc(8 * var(--vh, 1vh)), 96px); gap: clamp(48px, calc(8 * var(--vw, 1vw)), 140px); }
.about-text { gap: 28px; }
.services { padding-block: clamp(100px, calc(16 * var(--vh, 1vh)), 200px); }
.pf-sticky { padding-top: clamp(96px, calc(14 * var(--vh, 1vh)), 150px); padding-bottom: clamp(40px, calc(6 * var(--vh, 1vh)), 70px); gap: clamp(24px, calc(4.5 * var(--vh, 1vh)), 52px); }
.wt { padding-block: clamp(130px, calc(20 * var(--vh, 1vh)), 250px); }
.wt-head { margin-bottom: clamp(44px, calc(7 * var(--vh, 1vh)), 84px); }
.blog { padding-top: clamp(110px, calc(17 * var(--vh, 1vh)), 210px); padding-bottom: clamp(110px, calc(16 * var(--vh, 1vh)), 190px); }
.row-head { margin-bottom: clamp(44px, calc(7 * var(--vh, 1vh)), 84px); }
.cta { padding-top: calc(220px + clamp(140px, calc(22 * var(--vh, 1vh)), 250px)); }
.page-head { padding-bottom: clamp(56px, calc(9 * var(--vh, 1vh)), 110px); }
.sv-group { padding-block: clamp(100px, calc(16 * var(--vh, 1vh)), 190px); }
.sv-head { margin-bottom: clamp(44px, calc(7 * var(--vh, 1vh)), 80px); }
.sv-list { gap: 20px; }

/* contact game: a shallower floor so the footer sits closer */
.cta { padding-bottom: clamp(150px, calc(19 * var(--vh, 1vh)), 190px); }
.puzzle { bottom: 18px; }
@media (max-width: 1080px) { .cta { padding-bottom: 160px; } }

/* =================== v14 =================== */
/* WinWin Tools: Max's animations, read top to bottom */
.wt-show { display: grid; gap: clamp(22px, calc(3.4 * var(--vh, 1vh)), 36px); }
.wt-progress { max-width: 560px; }
.wt-copy { display: grid; gap: 10px; max-width: 820px; }
.wt-count { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--muted); transition: opacity .35s; }
.wt-copy h3 { font-size: clamp(34px, calc(3.4 * var(--vw, 1vw)), 56px); }
.wt-copy p { margin-top: 0; font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); color: var(--muted); max-width: 46ch; }
.wt-motion { --ink: #00245D; --sub: #647A99; --hair: #D7E0ED; --ghost: #DCE5EF; --paper: #FFFFFF; --gold: #F0CB35; --gold-ink: #B0920A; width: 100%; aspect-ratio: 2 / 1; max-height: calc(66 * var(--vh, 1vh)); display: flex; justify-content: center; transition: opacity .38s, transform .5s var(--soft); }
.wt-motion svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wt-motion svg text { font-family: var(--font); }
.wt-show.swap .wt-count, .wt-show.swap .wt-copy h3, .wt-show.swap .wt-copy p { opacity: 0; transform: translateY(10px); }
.wt-show.swap .wt-motion { opacity: 0; transform: translateY(14px); }
.wt-all { justify-self: start; }

/* contact: shorter, no floor line, pieces rest right on the footer */
.cta { padding-top: calc(220px + clamp(100px, calc(15 * var(--vh, 1vh)), 170px)); padding-bottom: clamp(120px, calc(15 * var(--vh, 1vh)), 150px); }
.puzzle { border-bottom: 0; bottom: 0; }
.puzzle::after { display: none; }
@media (max-width: 1080px) { .cta { padding-bottom: 140px; } }

/* page reloaded by the logo warp: stay covered until the warp finishes */
html.warp-in body::after { content: ""; position: fixed; inset: 0; z-index: 96; background: #00245D; }
.wt-motion { aspect-ratio: 1200 / 515; width: min(100%, calc(118 * var(--vh, 1vh))); max-height: none; justify-self: start; margin-left: -2%; }
.wt-show { gap: clamp(18px, calc(2.6 * var(--vh, 1vh)), 30px); }

/* =================== v15 =================== */
/* contact: the changing line on the left, the logo game alone on the right, both bigger */
.cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-bottom: clamp(170px, calc(21 * var(--vh, 1vh)), 220px); }
.cta-left { justify-content: center; }
.cta .play-big.glitch { display: block; font-size: clamp(44px, calc(4.8 * var(--vw, 1vw)), 88px); line-height: 1.02; letter-spacing: -.04em; min-height: 2.1em; max-width: none; color: var(--navy); }
.cta .play-cta:hover .play-big { color: var(--blue); }
.play-big .hl { background: linear-gradient(var(--yellow), var(--yellow)) 0 94% / 100% .1em no-repeat; }
.pz-side { --pw: min(100%, 700px); gap: 0; }
.pz-hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1080px) { .cta { grid-template-columns: 1fr; padding-bottom: 170px; gap: 48px; } .pz-side { --pw: min(100%, 480px); justify-items: start; } }
.cta .play-big.glitch { text-wrap: balance; }

/* v16: centered editorial tools, using the Motion 05 artwork. */
.wt { text-align: center; padding-block: clamp(64px, 8vh, 100px); }
.wt-head { justify-items: center; max-width: 760px; margin: 0 auto 28px; gap: 12px; }
.wt-intro { max-width: 54ch; margin-inline: auto; text-wrap: balance; }
.wt-show { justify-items: center; gap: 16px; }
.wt-progress { width: min(100%, 360px); margin-inline: auto; }
.wt-copy { width: 100%; max-width: 760px; justify-items: center; gap: 8px; }
.wt-copy h3 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; }
.wt-copy p { max-width: 46ch; min-height: 2.9em; margin: 0 auto; font-size: clamp(17px, 1.4vw, 20px); text-wrap: balance; }
.wt-motion { width: min(100%, 600px); height: clamp(260px, 39vh, 420px); aspect-ratio: auto; max-height: none; justify-self: center; margin: 0; position: relative; }
.wt-motion canvas { display: block; width: 100%; height: 100%; }
.wt-all { justify-self: center; margin-top: 4px; }
@media (max-width: 600px) {
  .wt { padding-block: 64px; }
  .wt-head { margin-bottom: 28px; }
  .wt-motion { height: 280px; }
  .wt-copy p { min-height: 4.35em; }
}

/* v17: less copy height, more artwork. */
.wt { padding-block: clamp(40px, 5vh, 64px); }
.wt-head { margin-bottom: 18px; }
.wt-head .section-title { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; }
.wt-show { gap: 8px; }
.wt-copy { max-width: 900px; gap: 6px; }
.wt-copy h3 { font-size: clamp(24px, 2.1vw, 30px); }
.wt-copy p { font-size: 16px; line-height: 1.4; max-width: 70ch; min-height: 2.8em; }
.wt-motion { width: min(100%, 760px); height: clamp(320px, 43vh, 440px); }
.wt-all { margin-top: 0; }
@media (max-width: 600px) {
 .wt { padding-block: 40px; }
 .wt-head { margin-bottom: 16px; }
 .wt-copy p { min-height: 4.2em; }
 .wt-motion { height: 300px; }
}

/* v18: artwork left, explanation and action right. */
.wt-show { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 8px 36px; max-width: 1080px; margin-inline: auto; }
.wt-motion { width: 100%; height: clamp(320px, 42vh, 420px); }
.wt-copy { text-align: left; justify-items: start; max-width: 400px; justify-self: start; gap: 14px; }
.wt-copy p { min-height: 4.2em; margin: 0; max-width: 38ch; text-wrap: pretty; }
#wt-open { margin-top: 4px; font-size: 16px; }
.wt-all { grid-column: 1 / -1; }
@media (max-width: 700px) {
 .wt-show { grid-template-columns: 1fr; gap: 12px; }
 .wt-motion { height: 280px; width: 100%; }
 .wt-copy { max-width: 420px; width: 100%; justify-self: center; }
 .wt-copy p { min-height: 4.2em; }
 .wt-all { margin-top: 16px; }
}
#wt-open { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-weight: 600; text-decoration: none; line-height: 1.3; } #wt-open:hover { background: #e4bd23; } #wt-open:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

/* =================== v20 =================== */
/* about: the 3D scene fills the panel */
.hw-3d { background: linear-gradient(160deg, #F7FAFE 0%, var(--sky) 100%); }
.hw-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }

/* portfolio: a much taller box that still fits on one screen */
.pf-sticky { padding-top: clamp(62px, calc(8.5 * var(--vh, 1vh)), 92px); padding-bottom: clamp(14px, calc(2.4 * var(--vh, 1vh)), 26px); gap: clamp(10px, calc(1.8 * var(--vh, 1vh)), 18px); }
.pf-title { font-size: clamp(30px, calc(3.4 * var(--vw, 1vw)), 58px); }
.pf-info h3 { font-size: clamp(20px, calc(1.9 * var(--vw, 1vw)), 32px); }

/* blog: no snapping, so a swipe can carry on past several cards */
.track { scroll-snap-type: none; }
.track.dragging { scroll-snap-type: none; }

/* contact: after the game, a small prompt under the line */
.pz-prompt { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 16px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .5s, transform .6s var(--soft); }
.cta.pz-ready .pz-prompt { opacity: 1; transform: none; pointer-events: auto; animation: promptNudge 1.8s 1s ease-in-out infinite; }
.pz-prompt .arrow { transition: transform .4s var(--soft); }
.play-cta:hover .pz-prompt .arrow { transform: translateX(6px); }
@keyframes promptNudge { 0%, 100% { transform: none; } 50% { transform: translateY(-4px); } }
.cta .play-cta { flex-direction: column; align-items: flex-start; }
@media (prefers-reduced-motion: reduce) { .cta.pz-ready .pz-prompt { animation: none; } }

/* Contact buttons: liquid rises inside on hover */
.nav-cta, .footer-cta { position: relative; overflow: hidden; isolation: isolate; }
.nav-cta::before, .nav-cta::after, .footer-cta::before, .footer-cta::after { content: ""; position: absolute; left: 50%; top: 175%; width: 260%; aspect-ratio: 1; border-radius: 42%; z-index: -1; pointer-events: none; transform: translateX(-50%) rotate(0deg); transition: top .8s var(--soft); animation: liquidSpin 7s linear infinite; }
.nav-cta::before, .footer-cta::before { background: #E2B416; }
.nav-cta::after, .footer-cta::after { background: rgba(255, 236, 158, .8); border-radius: 39%; animation-duration: 4.6s; animation-direction: reverse; }
.nav-cta:hover::before, .footer-cta:hover::before, .nav-cta:focus-visible::before, .footer-cta:focus-visible::before { top: 26%; }
.nav-cta:hover::after, .footer-cta:hover::after, .nav-cta:focus-visible::after, .footer-cta:focus-visible::after { top: 46%; }
@keyframes liquidSpin { to { transform: translateX(-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nav-cta::before, .nav-cta::after, .footer-cta::before, .footer-cta::after { animation: none; } }

/* =================== v21 =================== */
/* contact: centred between the blog and the footer, footer slides with it */
.cta { padding-top: calc(220px + clamp(150px, calc(20 * var(--vh, 1vh)), 220px)); padding-bottom: clamp(150px, calc(20 * var(--vh, 1vh)), 220px); }
@media (max-width: 1080px) { .cta { padding-top: calc(220px + 120px); padding-bottom: 170px; } }
.footer { transform: translateY(var(--cy, 0px)); }
.pz-prompt { display: none; }

/* small cue under the finished logo */
.pz-cue { margin-top: 18px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .6s .2s, transform .7s .2s var(--soft); }
.cta.pz-ready .pz-cue { opacity: 1; transform: none; animation: cueBreathe 2.6s 1.2s ease-in-out infinite; }
@keyframes cueBreathe { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .cta.pz-ready .pz-cue { animation: none; } }

/* dashed outline drawn just inside the logo shape */
.pz-outline path.pz-o { stroke-width: 4; }

/* faster page change */
.wipe.in { transition: transform .3s var(--ease); }
.wipe.in img { transition-delay: .06s; }
.wipe.out { transition: transform .34s var(--ease); }

/* about: livelier button */
.about-btn { position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 8px 8px 8px 26px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 17px; overflow: hidden; isolation: isolate; box-shadow: 0 12px 28px rgba(0, 36, 93, .22); transition: color .4s, box-shadow .4s, transform .4s var(--soft); }
.about-btn .ab-dot { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy); transition: transform .5s var(--soft), background .4s; }
.about-btn .ab-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(240, 203, 53, .6); animation: abPing 2.4s ease-out infinite; }
@keyframes abPing { 0% { box-shadow: 0 0 0 0 rgba(240, 203, 53, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(240, 203, 53, 0); } }
.about-btn .arrow { transition: transform .5s var(--soft); }
.about-btn::before { content: ""; position: absolute; left: 50%; top: 190%; width: 160%; aspect-ratio: 1; border-radius: 42%; background: var(--yellow); z-index: -1; transform: translateX(-50%) rotate(0deg); transition: top .7s var(--soft); animation: liquidSpin 6s linear infinite; }
.about-btn:hover, .about-btn:focus-visible { color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(240, 203, 53, .45); }
.about-btn:hover::before, .about-btn:focus-visible::before { top: -40%; }
.about-btn:hover .ab-dot, .about-btn:focus-visible .ab-dot { background: var(--navy); color: var(--yellow); transform: translateX(4px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .about-btn .ab-dot::after, .about-btn::before { animation: none; } }
.cta { padding-top: calc(220px + clamp(170px, calc(22 * var(--vh, 1vh)), 240px)); padding-bottom: clamp(140px, calc(18 * var(--vh, 1vh)), 200px); }

/* =================== v22 =================== */
/* about: the 3D scene sits on the page itself, no box and no step bar under it */
.hw-scene.hw-3d { background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; width: 110%; margin-left: -10%; aspect-ratio: 600 / 420; }
.hw { gap: 0; }
@media (max-width: 1080px) { .hw-scene.hw-3d { width: 100%; margin-left: 0; } }
.hw-scene.hw-3d { margin-left: 0; left: -10%; }
@media (max-width: 1080px) { .hw-scene.hw-3d { left: 0; } }
.about { overflow-x: clip; }

/* =================== v23 =================== */
/* closing line stays put, with a button that is always there */
.cta-left { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(26px, calc(4 * var(--vh, 1vh)), 40px); }
.cta-btn { font-size: 18px; padding: 9px 9px 9px 28px; }
.cta-btn .ab-dot { width: 50px; height: 50px; }

/* =================== v24 =================== */
/* outline: solid pale fill so overlapping parts don't stack darker; built logo ignores the masks */
.pz-outline path.pz-o { fill: #F3F6FB; }
.cta.pz-won .pz-outline path.pz-o { mask: none; }

/* =================== v25 =================== */
/* closing line: turns yellow on hover and an arrow slides in after the first line */
.cta .play-big.glitch { text-wrap: wrap; transition: color .35s; }
.cta .play-cta:hover .play-big, .cta .play-cta:focus-visible .play-big { color: var(--yellow); }
.pz-arrow { margin-left: .28em; vertical-align: .08em; color: var(--yellow); opacity: 0; transform: translateX(-14px); transition: opacity .35s, transform .45s var(--soft); }
.pz-arrow::before { height: 4px; top: 45%; }
.pz-arrow::after { border-width: 4px; }
.cta .play-cta:hover .pz-arrow, .cta .play-cta:focus-visible .pz-arrow { opacity: 1; transform: none; }

/* ===== v26 (2026-10-30) ===== */
/* Portfolio: no hover circle, bigger project text, content sits a little higher while pinned */
.pf-cursor { display: none; }
.pf-sticky { padding-top: clamp(78px, calc(10 * var(--vh, 1vh)), 104px); padding-bottom: clamp(36px, calc(6.4 * var(--vh, 1vh)), 68px); }
.pf-info h3 { font-size: clamp(26px, calc(2.5 * var(--vw, 1vw)), 42px); }
.pf-info p { font-size: clamp(16px, calc(1.25 * var(--vw, 1vw)), 20px); max-width: 46ch; }
.pf-count { font-size: 15px; }

/* Game: one dashed outline round the whole logo; pieces only fill in once it is built */
.pz-outline path.pz-sil { fill: #F3F6FB; stroke: var(--sky-2); stroke-width: 4; stroke-dasharray: 10 8; stroke-linejoin: round; transition: opacity .4s; }
.cta:not(.pz-won) .pz-outline path.pz-o { fill: transparent; stroke: none; }
.cta.pz-won .pz-outline path.pz-sil { opacity: 0; }

/* Game title: custom arrow, always visible, shoots right on hover */
.cta .pz-arrow { display: inline-block; width: .82em; height: .52em; margin-left: .24em; vertical-align: .04em; color: var(--yellow); opacity: 1; transform: none; transition: transform .55s cubic-bezier(.2, 1.6, .35, 1); }
.cta .pz-arrow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cta .pz-arrow path { fill: currentColor; }
.cta .play-cta:hover .pz-arrow, .cta .play-cta:focus-visible .pz-arrow { opacity: 1; transform: translateX(.38em); }
@media (prefers-reduced-motion: reduce) { .cta .pz-arrow { transition: none; } }

/* Our Work page template (v26) */
.work-list { display: grid; gap: clamp(64px, calc(9 * var(--vh, 1vh)), 120px); padding-bottom: clamp(80px, calc(12 * var(--vh, 1vh)), 140px); }
.work-item { display: grid; gap: clamp(18px, calc(2.6 * var(--vh, 1vh)), 28px); }
.work-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px 48px; align-items: end; }
.work-service { grid-column: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.work-service::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.work-meta h2 { grid-column: 1; font-size: clamp(30px, calc(3.2 * var(--vw, 1vw)), 52px); color: var(--navy); letter-spacing: -.03em; line-height: 1.05; }
.work-meta p { grid-column: 2; grid-row: 1 / span 2; align-self: end; color: var(--muted); font-size: clamp(16px, calc(1.25 * var(--vw, 1vw)), 19px); line-height: 1.55; max-width: 52ch; }
.work-meta .text-link { grid-column: 2; }
.work-img { border-radius: 24px; overflow: hidden; aspect-ratio: 2000 / 1116; background: var(--navy); }
.work-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--soft); }
.work-item:hover .work-img img { transform: scale(1.02); }
@media (max-width: 760px) {
  .work-meta { grid-template-columns: 1fr; }
  .work-meta p, .work-meta .text-link { grid-column: 1; grid-row: auto; }
  .work-img { border-radius: 16px; }
}

/* tool button: keep a gap before the arrow after the label is swapped */
#wt-open .arrow { margin-left: 10px; }

/* Contact: a small 3D object for the need you point at, in the space beside the form */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 900px) minmax(0, 1fr); gap: clamp(24px, calc(4 * var(--vw, 1vw)), 64px); align-items: start; }
.contact-wrap .brief { grid-column: 1; grid-row: 1; }
.needs-3d { grid-column: 2; grid-row: 1; position: sticky; top: calc(16 * var(--vh, 1vh)); height: clamp(300px, calc(46 * var(--vh, 1vh)), 520px); pointer-events: none; opacity: 0; transition: opacity .35s; }
.needs-3d.on { opacity: 1; }
.needs-3d canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 980px) { .contact-wrap { grid-template-columns: 1fr; } .needs-3d { display: none; } }

/* Showreel video: fills the reel and takes over from the placeholder scenes */
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--sy, 0px)) scale(var(--ss, 1)); transform-origin: 50% 50%; }
.reel.has-video .scenes, .reel.has-video .reel-label, .reel.has-video .reel-note { display: none; }

/* Portfolio images: wide, tablet and phone versions via <picture>; the Our Work page uses the 3:2 version */
.pf-slide picture { display: block; width: 100%; height: 100%; }
.work-img { aspect-ratio: 3 / 2; }

/* ================= v27: inner pages ================= */
:root { interpolate-size: allow-keywords; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.inline-link { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.text-link.soft { color: var(--blue-2); }

/* shared closing call to action */
.end-cta { padding-top: 20px; padding-bottom: clamp(80px, calc(12 * var(--vh, 1vh)), 140px); }
.end-box { position: relative; overflow: hidden; display: grid; gap: 18px; justify-items: start; padding: clamp(40px, calc(6 * var(--vw, 1vw)), 88px); border-radius: 28px; background: var(--sky) var(--pat-light); background-size: 200px 180px; }
.end-box::after { content: ""; position: absolute; right: -30px; bottom: 26px; width: min(46%, 440px); aspect-ratio: 540 / 195; background: url("/assets/mark.svg") center / contain no-repeat; opacity: .14; transform: rotate(-8deg); pointer-events: none; }
.end-box h2 { position: relative; font-size: clamp(36px, calc(4.4 * var(--vw, 1vw)), 72px); color: var(--navy); letter-spacing: -.035em; max-width: 16ch; }
.end-box p { position: relative; font-size: 19px; color: var(--muted); max-width: 46ch; }
.end-box.blue-screen h2 { color: var(--white); }
.end-box.blue-screen p { color: rgba(255, 255, 255, .75); }
.end-box .btn-yellow { position: relative; margin-top: 10px; display: inline-flex; align-items: center; gap: 12px; }

/* ---------- services ---------- */
.sv-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: calc(92 * var(--vh, 1vh)); padding-top: clamp(120px, calc(16 * var(--vh, 1vh)), 180px); padding-bottom: 40px; }
.sv-title, .ab-title { font-size: clamp(44px, calc(6 * var(--vw, 1vw)), 104px); min-height: 2.1em; }
.sv-lede, .ab-lede { margin-top: 22px; font-size: clamp(18px, calc(1.5 * var(--vw, 1vw)), 22px); color: var(--muted); max-width: 36ch; }
.sv-jumps { display: grid; gap: 12px; margin-top: 36px; max-width: 540px; }
.sv-jump { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 36, 93, .06); transition: transform .4s var(--ease), background .4s, border-color .4s; }
.sv-jump-name { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; transition: color .4s; }
.sv-jump-sub { grid-row: 2; font-size: 15px; color: var(--muted); transition: color .4s; }
.sv-jump .arrow { grid-column: 2; grid-row: 1 / 3; color: var(--navy); transition: transform .3s var(--ease), color .4s; }
.sv-jump:hover, .sv-jump:focus-visible { background: var(--navy); border-color: var(--navy); transform: translateX(6px); }
.sv-jump:hover .sv-jump-name, .sv-jump:focus-visible .sv-jump-name { color: var(--white); }
.sv-jump:hover .sv-jump-sub, .sv-jump:focus-visible .sv-jump-sub { color: rgba(255, 255, 255, .72); }
.sv-jump:hover .arrow, .sv-jump:focus-visible .arrow { color: var(--yellow); transform: translateX(6px); }
.sv-ring { position: relative; height: clamp(380px, calc(64 * var(--vh, 1vh)), 680px); cursor: pointer; }
.sv-ring::before { content: ""; position: absolute; inset: 10% 0 4%; background: radial-gradient(ellipse 50% 42% at 50% 62%, var(--sky) 0%, rgba(234, 241, 251, 0) 100%); pointer-events: none; }
.sv-ring canvas { position: relative; display: block; width: 100%; height: 100%; }
.sv-ring-label { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 36, 93, .25); pointer-events: none; }
.sv-ring-label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-right: 10px; vertical-align: 1px; }
.sv-ring-label.pop { animation: svLabel .5s var(--ease); }
@keyframes svLabel { from { opacity: .15; transform: translateX(-50%) translateY(8px); } }
.sv-ring.flat { display: none; }

.sv-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(40px, calc(6 * var(--vh, 1vh)), 80px); }
.sv-stat { display: grid; gap: 6px; align-content: start; padding: 28px; border-radius: 20px; background: var(--sky); }
.sv-stat b { font-size: clamp(48px, calc(5 * var(--vw, 1vw)), 84px); color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.sv-stat span { font-weight: 600; color: var(--navy); font-size: 18px; line-height: 1.3; }
.sv-stat small { color: var(--muted); font-size: 13px; }
.sv-stat:nth-child(2) { background: var(--navy) var(--pat-dark); background-size: 200px 180px; }
.sv-stat:nth-child(2) b { color: var(--yellow); }
.sv-stat:nth-child(2) span { color: var(--white); }
.sv-stat:nth-child(2) small { color: rgba(255, 255, 255, .6); }

.sv-ex { padding-bottom: clamp(40px, calc(8 * var(--vh, 1vh)), 100px); }
.sv-ex-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, calc(5 * var(--vw, 1vw)), 96px); align-items: start; }
.sv-group-head { padding-top: clamp(40px, calc(8 * var(--vh, 1vh)), 90px); scroll-margin-top: 100px; }
.sv-group-tag { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
#svc-technology .sv-group-tag { background: var(--navy); color: var(--white); }
.sv-group-head h2 { margin-top: 16px; font-size: clamp(36px, calc(4 * var(--vw, 1vw)), 64px); color: var(--navy); letter-spacing: -.035em; }
.sv-ch { display: flex; flex-direction: column; justify-content: center; min-height: clamp(440px, calc(64 * var(--vh, 1vh)), 700px); padding: clamp(40px, calc(7 * var(--vh, 1vh)), 80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; opacity: .3; transition: opacity .6s var(--soft); }
.sv-ch.on { opacity: 1; }
.sv-num { font-size: 15px; font-weight: 700; color: var(--blue-2); letter-spacing: .1em; }
.sv-ch h3 { margin-top: 10px; font-size: clamp(34px, calc(3.6 * var(--vw, 1vw)), 60px); color: var(--navy); letter-spacing: -.035em; }
.sv-problem { position: relative; margin-top: 20px; padding-left: 20px; font-size: clamp(20px, calc(1.7 * var(--vw, 1vw)), 26px); font-weight: 600; color: var(--ink); line-height: 1.3; max-width: 30ch; }
.sv-problem::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--yellow); }
.sv-desc { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.sv-inc { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 54ch; }
.sv-inc li { padding: 8px 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 15px; }
.sv-proofline { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; font-size: 16px; color: var(--navy); max-width: 52ch; }
.sv-proofline b, .wk-result b { flex: none; font-size: 32px; letter-spacing: -.03em; line-height: 1; background: linear-gradient(transparent 62%, rgba(240, 203, 53, .65) 62%); }
.sv-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.sv-links .text-link { white-space: normal; }
.sv-ex-stage { position: sticky; top: calc(14 * var(--vh, 1vh)); height: calc(72 * var(--vh, 1vh)); margin-top: clamp(40px, calc(8 * var(--vh, 1vh)), 90px); }
.sv-stage-card { position: relative; height: 100%; overflow: hidden; border-radius: 28px; background: var(--sky) var(--pat-light); background-size: 200px 180px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .8s var(--soft), box-shadow .8s; }
.sv-stage-card.tech { background-color: var(--navy); background-image: var(--pat-dark); box-shadow: none; }
.sv-stage-big { position: absolute; right: 3%; top: 2%; font-size: clamp(140px, calc(18 * var(--vw, 1vw)), 320px); font-weight: 700; color: rgba(0, 36, 93, .07); letter-spacing: -.06em; line-height: 1; transition: color .8s; }
.sv-stage-card.tech .sv-stage-big { color: rgba(255, 255, 255, .07); }
.sv-stage-3d { position: absolute; inset: 9% 4% 20%; }
.sv-stage-3d canvas { display: block; width: 100%; height: 100%; }
.sv-stage-meta { position: absolute; left: 30px; bottom: 28px; display: grid; gap: 6px; }
.sv-stage-group { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); transition: color .8s; }
.sv-stage-num { display: none; }
.sv-stage-name { font-size: clamp(22px, calc(2 * var(--vw, 1vw)), 32px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; transition: color .8s; }
.sv-stage-card.tech .sv-stage-group { color: var(--yellow); }
.sv-stage-card.tech .sv-stage-name { color: var(--white); }
.sv-stage-card.swap .sv-stage-meta { animation: svMeta .6s var(--ease); }
.sv-stage-card.swap .sv-stage-big { animation: svBig .8s var(--ease); }
@keyframes svMeta { from { opacity: 0; transform: translateY(12px); } }
@keyframes svBig { from { opacity: 0; transform: translateY(40px); } }
.sv-stage-dots { position: absolute; right: 28px; bottom: 34px; display: flex; gap: 6px; }
.sv-stage-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 36, 93, .18); cursor: pointer; transition: width .4s var(--ease), background .4s; }
.sv-stage-dots button.done { background: rgba(0, 36, 93, .42); }
.sv-stage-dots button.on { width: 26px; background: var(--navy); }
.sv-stage-card.tech .sv-stage-dots button { background: rgba(255, 255, 255, .25); }
.sv-stage-card.tech .sv-stage-dots button.done { background: rgba(255, 255, 255, .5); }
.sv-stage-card.tech .sv-stage-dots button.on { background: var(--yellow); }

/* pinned Marketing | Technology switch while the services list is on screen */
.sv-switch { position: fixed; z-index: 40; left: 50%; bottom: 22px; display: flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 12px 34px rgba(0, 36, 93, .18), inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; overflow: hidden; }
.sv-switch.show { transform: translate(-50%, 0); opacity: 1; }
.sv-switch a { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--navy); transition: color .4s; }
.sv-switch .sv-switch-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy); transition: transform .5s var(--ease); }
.sv-switch[data-g="technology"] .sv-switch-pill { transform: translateX(100%); }
.sv-switch[data-g="marketing"] a[data-g="marketing"], .sv-switch[data-g="technology"] a[data-g="technology"] { color: var(--white); }
.sv-switch .sv-switch-fill { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.sv-switch a { flex: 1; text-align: center; min-width: 120px; }

.sv-process { padding-block: clamp(60px, calc(10 * var(--vh, 1vh)), 120px); }
.sv-process-head p { margin-top: 10px; color: var(--muted); font-size: 19px; }
.sv-steps { position: relative; list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sv-steps::before, .sv-steps::after { content: ""; position: absolute; left: 23px; right: 0; top: 22px; height: 2px; background: var(--line); }
.sv-steps::after { background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--soft) .3s; }
.sv-steps.in::after { transform: scaleX(1); }
.sv-steps li { position: relative; padding-top: 70px; }
.sv-step-n { position: absolute; z-index: 1; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 2px solid var(--line); color: var(--navy); font-weight: 700; font-size: 15px; transition: background .4s, border-color .4s, color .4s; }
.sv-steps.in .sv-step-n { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sv-steps.in li:nth-child(1) .sv-step-n { transition-delay: .3s; }
.sv-steps.in li:nth-child(2) .sv-step-n { transition-delay: .8s; }
.sv-steps.in li:nth-child(3) .sv-step-n { transition-delay: 1.3s; }
.sv-steps.in li:nth-child(4) .sv-step-n { transition-delay: 1.8s; background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.sv-steps h3 { font-size: 28px; color: var(--navy); letter-spacing: -.02em; }
.sv-steps p { margin-top: 10px; color: var(--muted); font-size: 17px; }

.sv-stack { overflow: hidden; padding: 30px 0 clamp(60px, calc(10 * var(--vh, 1vh)), 110px); }
.sv-stack-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.sv-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sv-track { display: flex; gap: 12px; padding-right: 12px; width: max-content; animation: svMarq 42s linear infinite; }
.sv-track span { padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; color: var(--navy); font-size: 18px; white-space: nowrap; }
@keyframes svMarq { to { transform: translateX(-50%); } }

.faq-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; padding-block: clamp(40px, calc(8 * var(--vh, 1vh)), 100px); }
.faq-head { position: sticky; top: calc(18 * var(--vh, 1vh)); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(19px, calc(1.6 * var(--vw, 1vw)), 24px); font-weight: 700; color: var(--navy); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--navy), var(--navy)) center / 16px 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 2px 16px no-repeat; transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-2); }
.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--soft), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a p { padding-bottom: 24px; color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---------- our work ---------- */
.wk-hero { padding-top: clamp(140px, calc(20 * var(--vh, 1vh)), 220px); padding-bottom: 34px; }
.wk-lede { margin-top: 18px; color: var(--muted); font-size: clamp(18px, calc(1.4 * var(--vw, 1vw)), 21px); max-width: 52ch; }
.wk-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.wk-filter { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 16px; color: var(--navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.wk-filter sup { margin-left: 5px; font-size: 11px; opacity: .6; }
.wk-filter:hover { border-color: var(--navy); }
.wk-filter.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, calc(3 * var(--vw, 1vw)), 48px) clamp(18px, calc(2.4 * var(--vw, 1vw)), 36px); align-items: start; padding-bottom: clamp(60px, calc(10 * var(--vh, 1vh)), 120px); transition: opacity .28s; }
.wk-grid.fading { opacity: 0; }
.wk-card { display: flex; flex-direction: column; gap: 20px; }
.wk-card[hidden] { display: none; }
.wk-grid:not(.filtered) .wk-card:nth-child(even):not(.wk-wide) { margin-top: 96px; }
.wk-img { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 3 / 2; background: var(--sky); }
.wk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--soft); }
.wk-card:hover .wk-img img { transform: scale(1.045); }
.wk-body { display: grid; gap: 10px; justify-items: start; }
.wk-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wk-tags li { padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.wk-card h2 { width: fit-content; font-size: clamp(28px, calc(2.6 * var(--vw, 1vw)), 42px); color: var(--navy); letter-spacing: -.03em; background: linear-gradient(var(--yellow), var(--yellow)) 0 94% / 0 6px no-repeat; transition: background-size .5s var(--ease); }
.wk-card:hover h2 { background-size: 100% 6px; }
.wk-card p { color: var(--muted); font-size: 17px; max-width: 54ch; }
.wk-card .wk-result { display: flex; align-items: baseline; gap: 10px; color: var(--navy); font-weight: 600; }
.wk-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(24px, calc(4 * var(--vw, 1vw)), 64px); }
.wk-wide .wk-img { flex: 1.4; aspect-ratio: 16 / 9; }
.wk-wide .wk-body { flex: 1; }
.wk-band { padding-block: clamp(56px, calc(9 * var(--vh, 1vh)), 100px); }
.wk-band-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.wk-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wk-nums div { display: grid; gap: 8px; align-content: start; }
.wk-nums b { font-size: clamp(44px, calc(4.6 * var(--vw, 1vw)), 76px); color: var(--yellow); letter-spacing: -.04em; line-height: 1; }
.wk-nums span { color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.35; }
.wk-inds p { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.wk-inds ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wk-inds li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; font-size: 15px; }
.wk-band + .end-cta { padding-top: clamp(60px, calc(10 * var(--vh, 1vh)), 110px); }

/* ---------- tools ---------- */
.tl-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tl-card { position: relative; display: grid; gap: 10px; align-content: start; min-height: 250px; padding: 30px; border-radius: 20px; background: var(--sky); transition: background .4s, transform .4s var(--ease), box-shadow .4s; }
.tl-card h3 { font-size: 26px; color: var(--navy); transition: color .4s; }
.tl-card p { color: var(--muted); transition: color .4s; }
.tl-card .text-link { margin-top: 6px; transition: color .4s; }
.tl-ico { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 14px; background: var(--white); transition: background .4s, transform .5s var(--ease); }
.tl-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tl-card:hover { background: var(--navy); transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 36, 93, .2); }
.tl-card:hover h3, .tl-card:hover .text-link { color: var(--white); }
.tl-card:hover p { color: rgba(255, 255, 255, .72); }
.tl-card:hover .tl-ico { background: var(--yellow); transform: rotate(-6deg) scale(1.06); }
.tl-all { padding-block: clamp(60px, calc(10 * var(--vh, 1vh)), 110px); }
.tl-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.tl-group h3 { margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); }
.tl-group a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 18px; color: var(--navy); transition: padding .3s var(--ease), color .3s; }
.tl-group a:hover { padding-left: 8px; color: var(--blue-2); }

/* ---------- about ---------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; min-height: calc(88 * var(--vh, 1vh)); padding-top: clamp(120px, calc(16 * var(--vh, 1vh)), 180px); padding-bottom: 30px; }
.ab-mark { position: relative; height: clamp(300px, calc(56 * var(--vh, 1vh)), 600px); }
.ab-mark::before { content: ""; position: absolute; inset: 6% 0; background: radial-gradient(ellipse 50% 46% at 50% 54%, var(--sky) 0%, rgba(234, 241, 251, 0) 100%); pointer-events: none; }
.ab-mark canvas { position: relative; display: block; width: 100%; height: 100%; }
.ab-mark.flat { background: url("/assets/mark.svg") center / 72% auto no-repeat; }
.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(60px, calc(10 * var(--vh, 1vh)), 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-stat { display: grid; gap: 8px; align-content: start; padding: 32px 24px 32px 0; }
.ab-stat + .ab-stat { padding-left: 24px; border-left: 1px solid var(--line); }
.ab-stat b { font-size: clamp(44px, calc(4.4 * var(--vw, 1vw)), 72px); color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.ab-stat span { color: var(--muted); font-size: 16px; max-width: 24ch; }
.ab-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, calc(6 * var(--vw, 1vw)), 110px); align-items: start; padding-bottom: clamp(60px, calc(10 * var(--vh, 1vh)), 130px); }
.ab-story-head { position: sticky; top: calc(18 * var(--vh, 1vh)); }
.ab-story-head p { margin-top: 18px; color: var(--muted); font-size: 19px; max-width: 34ch; }
.ab-timeline { --p: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 46px; }
.ab-timeline::before, .ab-timeline::after { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.ab-timeline::after { background: var(--yellow); transform-origin: top; transform: scaleY(var(--p)); }
.ab-timeline li { position: relative; display: grid; gap: 8px; padding-bottom: clamp(40px, calc(7 * var(--vh, 1vh)), 72px); opacity: .32; transition: opacity .6s; }
.ab-timeline li:last-child { padding-bottom: 0; }
.ab-timeline li.on { opacity: 1; }
.ab-timeline li::before { content: ""; position: absolute; z-index: 1; left: -46px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); transition: background .4s, border-color .4s, box-shadow .4s; }
.ab-timeline li.on::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(240, 203, 53, .25); }
.ab-timeline time { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); }
.ab-timeline h3 { font-size: clamp(26px, calc(2.4 * var(--vw, 1vw)), 38px); color: var(--navy); letter-spacing: -.03em; }
.ab-timeline p { margin-top: 8px; color: var(--muted); font-size: 18px; max-width: 48ch; }
.ab-values { padding-block: clamp(70px, calc(12 * var(--vh, 1vh)), 140px); }
.ab-values-title { margin-bottom: 36px; font-size: clamp(36px, calc(4.4 * var(--vw, 1vw)), 72px); letter-spacing: -.035em; color: var(--white); }
.ab-vlist { border-top: 1px solid rgba(255, 255, 255, .2); }
.ab-v { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ab-v::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: rgba(255, 255, 255, .05); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); pointer-events: none; }
.ab-v:hover::before, .ab-v:focus-visible::before { transform: scaleY(1); }
.ab-v-n { position: relative; color: var(--yellow); font-weight: 700; font-size: 15px; letter-spacing: .1em; }
.ab-v h3 { position: relative; font-size: clamp(36px, calc(5 * var(--vw, 1vw)), 84px); letter-spacing: -.04em; color: var(--white); transition: transform .5s var(--ease), color .4s; }
.ab-v p { position: relative; color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 42ch; opacity: 0; transform: translateX(-16px); transition: opacity .5s, transform .5s var(--ease); }
.ab-v:hover h3, .ab-v:focus-visible h3 { color: var(--yellow); transform: translateX(14px); }
.ab-v:hover p, .ab-v:focus-visible p { opacity: 1; transform: none; }
@media (hover: none) { .ab-v p { opacity: 1; transform: none; } }
.ab-team { padding-block: clamp(70px, calc(12 * var(--vh, 1vh)), 140px); }
.ab-team-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.ab-team-head p { color: var(--muted); max-width: 42ch; font-size: 18px; }
.ab-people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ab-person { display: grid; gap: 8px; align-content: start; }
.ab-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 8px; border-radius: 20px; background: var(--navy); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter .7s, transform 1.1s var(--soft); }
.ab-photo::after { content: ""; position: absolute; inset: 0; background: var(--blue-2); mix-blend-mode: color; transition: opacity .7s; pointer-events: none; }
.ab-photo::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 6px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ab-person:hover .ab-photo img { filter: none; transform: scale(1.04); }
.ab-person:hover .ab-photo::after { opacity: 0; }
.ab-person:hover .ab-photo::before { transform: scaleX(1); }
.ab-role { justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.ab-person h3 { font-size: 22px; color: var(--navy); }
.ab-person p { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.ab-close { display: grid; gap: 30px; padding-bottom: clamp(80px, calc(12 * var(--vh, 1vh)), 140px); }
.ab-close .big-statement { margin-bottom: 0; }
.big-statement em { background: linear-gradient(transparent 62%, rgba(240, 203, 53, .7) 62%); }
.ab-close-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ab-close-links .btn-yellow { display: inline-flex; align-items: center; gap: 12px; }

/* ---------- playbook, AI page, cards that are not out yet ---------- */
.pb-meta { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); }
.pb-soon { margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
div.arch-row::after { display: none; }
div.arch-row h3 { color: var(--muted); }
.post.soon { cursor: default; }
.post.soon .read { opacity: .55; }
.ai-page { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: clamp(80px, calc(12 * var(--vh, 1vh)), 140px); }
.ai-col { padding: 32px; border-radius: 20px; background: var(--sky); }
.ai-col h2 { margin-bottom: 14px; font-size: 26px; color: var(--navy); }
.ai-col ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.ai-col li::marker { color: var(--blue-2); }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 900px) minmax(0, 1fr); gap: clamp(24px, calc(4 * var(--vw, 1vw)), 64px); align-items: start; }
.contact-wrap .brief { grid-column: 1; grid-row: 1; padding-bottom: 60px; }
.needs-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(14 * var(--vh, 1vh)); pointer-events: none; }
.needs-side .needs-3d { position: relative; top: auto; grid-column: auto; grid-row: auto; height: clamp(320px, calc(52 * var(--vh, 1vh)), 580px); }
.needs-caption { min-height: 1.5em; text-align: center; font-weight: 700; font-size: 18px; color: var(--navy); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.needs-caption.on { opacity: 1; transform: none; }
.chips legend small, .fields label small { font-weight: 400; font-size: 15px; color: var(--muted); }
.chips legend small { margin-left: 8px; }
.brief .btn-yellow { display: inline-flex; align-items: center; gap: 12px; }
.ct-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(80px, calc(12 * var(--vh, 1vh)), 130px); }
.ct-way { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 18px; background: var(--sky); transition: background .3s, transform .3s var(--ease); }
.ct-way span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); transition: color .3s; }
.ct-way b { font-size: 19px; color: var(--navy); line-height: 1.35; transition: color .3s; overflow-wrap: anywhere; }
a.ct-way:hover { background: var(--navy); transform: translateY(-3px); }
a.ct-way:hover b { color: var(--white); }
a.ct-way:hover span { color: var(--yellow); }
.footer-small { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-small a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

/* ---------- v27 responsive ---------- */
@media (max-width: 1100px) {
  .ab-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tl-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-v { grid-template-columns: 50px minmax(0, 1fr); }
  .ab-v p { grid-column: 2; opacity: 1; transform: none; }
  .wk-band-in { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .sv-hero, .ab-hero { grid-template-columns: 1fr; min-height: 0; }
  .sv-ring { height: 360px; }
  .ab-mark { height: 300px; order: -1; margin-bottom: -20px; }
  .sv-ex-grid { grid-template-columns: 1fr; }
  .sv-ex-stage { display: none; }
  .sv-ch { opacity: 1; min-height: 0; }
  .faq-sec, .ab-story { grid-template-columns: 1fr; }
  .faq-head, .ab-story-head { position: static; }
  .ai-page { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .needs-side { display: none; }
}
@media (max-width: 760px) {
  .sv-title, .ab-title { min-height: 0; }
  .sv-proof, .tl-feat, .wk-nums { grid-template-columns: 1fr; }
  .sv-steps { grid-template-columns: 1fr; gap: 0; }
  .sv-steps::before, .sv-steps::after { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .sv-steps::after { transform: scaleY(0); transform-origin: top; }
  .sv-steps.in::after { transform: scaleY(1); }
  .sv-steps li { padding: 4px 0 34px 70px; }
  .wk-grid { grid-template-columns: 1fr; }
  .wk-grid:not(.filtered) .wk-card:nth-child(even):not(.wk-wide) { margin-top: 0; }
  .wk-wide { flex-direction: column; align-items: stretch; }
  .wk-wide .wk-img { aspect-ratio: 3 / 2; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .ab-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ab-people { grid-template-columns: 1fr 1fr; }
  .tl-groups, .ct-ways { grid-template-columns: 1fr; }
  .end-box::after { width: 70%; opacity: .08; }
  .sv-switch a { min-width: 0; padding: 9px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-track { animation: none; flex-wrap: wrap; width: auto; }
  .sv-ch, .ab-timeline li { opacity: 1; }
}
.end-box.blue-screen { background-color: var(--navy); background-image: var(--pat-dark); }
.end-box.blue-screen::after { opacity: .2; }
/* a soft pool of light behind the stage object so navy objects still read on the navy card */
.sv-stage-card::before { content: ""; position: absolute; inset: 12% 8% 22%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); pointer-events: none; transition: background .8s; }
.sv-stage-card.tech::before { background: radial-gradient(closest-side, rgba(60, 120, 220, .55), rgba(27, 91, 196, 0)); }
.wk-hero .glitch, .ab-hero .glitch.ab-title { min-height: 1.05em; }
@media (min-width: 761px) { .ab-hero .glitch.ab-title, .sv-hero .glitch.sv-title { min-height: 2.1em; } }
/* scripts still loading after 2.5s (see the head script): show everything rather than leave it hidden */
.slow .reveal, .slow .pf-box { opacity: 1; transform: none; }
/* v27: the open phone menu stacks under the logo row (the links had flex: 1, so they sat beside the logo instead of wrapping) */
@media (max-width: 1080px) {
  .nav.open { flex-wrap: wrap; row-gap: 4px; }
  .nav.open .nav-logo { order: 0; flex: 1 1 auto; }
  .nav.open .nav-sound { order: 1; }
  .nav.open .nav-burger { order: 2; }
  .nav.open .nav-links { order: 3; flex: 0 0 100%; width: 100%; border-top: 1px solid var(--line); margin-top: 6px; }
  .nav.open > .nav-cta { order: 4; flex: 0 0 100%; margin-bottom: 4px; }
  .nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-burger span { transition: transform .3s var(--ease); }
}
@media (max-width: 1080px) { .nav.open .nav-links a.active::after { left: auto; right: 8px; top: 50%; bottom: auto; transform: translateY(-50%); width: 6px; height: 6px; } }
.sv-ch-img { display: none; }
@media (max-width: 980px) { .sv-ch-img { display: block; width: 100%; height: auto; margin-bottom: 20px; border-radius: 20px; } }

/* ================= v28 ================= */
/* G1: one underline everywhere, the solid yellow line under "WinWin" in the homepage call to action */
.wk-result b, .big-statement em { background: linear-gradient(var(--yellow), var(--yellow)) 0 94% / 100% .1em no-repeat; }
.wk-result b { padding-bottom: .06em; }

/* G3: Start a project and Send use the homepage About us button, hover and all */
button.about-btn { border: 0; cursor: pointer; font-family: inherit; line-height: 1.5; }
.about-btn.on-dark { background: var(--white); color: var(--navy); box-shadow: 0 12px 28px rgba(0, 0, 0, .22); }
.about-btn.on-dark:hover, .about-btn.on-dark:focus-visible { box-shadow: 0 16px 34px rgba(240, 203, 53, .4); }
.about-btn:disabled { cursor: progress; }
.about-btn:disabled::before { top: -40%; }

/* closing boxes: copy on the left, the full WinWin logo on the right (no faint W watermark) */
.end-box.has-logo { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; column-gap: clamp(32px, calc(5 * var(--vw, 1vw)), 88px); }
.end-box.has-logo::after { display: none; }
.end-copy { position: relative; display: grid; gap: 18px; justify-items: start; }
.end-copy .about-btn { margin-top: 10px; }
.end-logo { position: relative; width: 100%; max-width: 470px; height: auto; justify-self: center; }
@media (max-width: 760px) {
  .end-box.has-logo { grid-template-columns: 1fr; row-gap: 40px; }
  .end-logo { max-width: 240px; justify-self: start; }
}

/* homepage: the Playbook slider shows its arrows only when there is more than one screen of posts */
.sbtn[hidden] { display: none; }
.post-author > b { font-weight: inherit; }

/* ---------- services ---------- */
@media (min-width: 981px) { .sv-hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } }
.sv-ring { height: clamp(440px, calc(76 * var(--vh, 1vh)), 800px); }
.sv-ring-label.glitch { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--navy); font-size: clamp(22px, calc(2.1 * var(--vw, 1vw)), 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; min-height: 0; white-space: nowrap; text-align: center; }
.sv-ring-label::before { display: none; }
.sv-ch { min-height: clamp(400px, calc(58 * var(--vh, 1vh)), 640px); }
.sv-ch h3 { margin-top: 0; }
.sv-desc { margin-top: 18px; }
.sv-stage-3d { inset: 2% 0 15%; }
.sv-stage-card::before { inset: 4% 2% 14%; }
/* platforms banner: the real logos in WinWin navy, sliding the same way */
.sv-track { gap: 0; padding-right: 0; animation-duration: 48s; }
.sv-track span { padding: 0; border: 0; border-radius: 0; background: none; font-size: inherit; }
.sv-set { display: flex; align-items: center; gap: clamp(40px, calc(4.6 * var(--vw, 1vw)), 76px); padding-right: clamp(40px, calc(4.6 * var(--vw, 1vw)), 76px); }
.sv-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; font-size: 19px; white-space: nowrap; letter-spacing: -.01em; }
.sv-logo svg { width: 30px; height: 30px; flex: none; fill: var(--navy); }
.sv-marquee { padding-block: 10px; }
@media (prefers-reduced-motion: reduce) { .sv-set[aria-hidden] { display: none; } .sv-set { flex-wrap: wrap; row-gap: 22px; padding-inline: var(--gutter); } }

/* ---------- our work: one clean two-column grid ---------- */
.wk-grid { row-gap: clamp(48px, calc(8 * var(--vh, 1vh)), 88px); }
.wk-grid:not(.filtered) .wk-card:nth-child(even):not(.wk-wide) { margin-top: 0; }
.wk-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(18px, calc(2.4 * var(--vw, 1vw)), 36px); align-items: center; }
.wk-wide .wk-img { aspect-ratio: 3 / 2; }
.wk-wide .wk-body { padding-left: clamp(0px, calc(2 * var(--vw, 1vw)), 32px); }
.wk-card .wk-result + .wk-result { margin-top: -2px; }
@media (max-width: 760px) { .wk-wide { grid-template-columns: 1fr; row-gap: 20px; } .wk-wide .wk-body { padding-left: 0; } }

/* ---------- tools: grouped under each service's render ---------- */
.tl-ex { padding-bottom: clamp(40px, calc(8 * var(--vh, 1vh)), 100px); }
.tl-ex-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, calc(5 * var(--vw, 1vw)), 88px); align-items: start; }
.tl-grp { padding: clamp(36px, calc(6 * var(--vh, 1vh)), 64px) 0; border-top: 1px solid var(--line); opacity: .4; transition: opacity .6s var(--soft); }
.tl-grp:first-child { padding-top: 8px; border-top: 0; }
.tl-grp.on { opacity: 1; }
.tl-grp h2 { margin-bottom: 22px; font-size: clamp(28px, calc(2.8 * var(--vw, 1vw)), 46px); color: var(--navy); letter-spacing: -.035em; }
.tl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tl-card { min-height: 0; gap: 8px; padding: 22px 22px 20px; border-radius: 18px; }
.tl-card h3 { font-size: 20px; letter-spacing: -.015em; }
.tl-card p { font-size: 15.5px; line-height: 1.45; }
.tl-card .text-link { margin-top: 4px; font-size: 15px; }
.tl-grp-img { display: none; }
.tl-stage { position: sticky; top: calc(14 * var(--vh, 1vh)); height: calc(72 * var(--vh, 1vh)); margin-top: 8px; }
.tl-stage-card { position: relative; height: 100%; overflow: hidden; border-radius: 28px; background: var(--sky); box-shadow: inset 0 0 0 1px var(--line); }
.tl-stage-card::before { content: ""; position: absolute; inset: 6% 4% 18%; background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); pointer-events: none; }
.tl-stage-3d { position: absolute; inset: 3% 0 17%; }
.tl-stage-3d canvas { display: block; width: 100%; height: 100%; }
.tl-stage-img { display: none; position: absolute; left: 50%; top: 8%; width: min(78%, 460px); height: auto; transform: translateX(-50%); border-radius: 20px; }
.tl-stage-card.flat .tl-stage-img { display: block; }
.tl-stage-card.flat.plain .tl-stage-img { display: none; }
.tl-stage-meta { position: absolute; left: 30px; right: 30px; bottom: 28px; display: grid; gap: 6px; }
.tl-stage-count { order: -1; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); }
.tl-stage-name.glitch { font-size: clamp(24px, calc(2.2 * var(--vw, 1vw)), 36px); min-height: 0; color: var(--navy); letter-spacing: -.025em; line-height: 1.1; }
@media (max-width: 980px) {
  .tl-ex-grid { grid-template-columns: 1fr; }
  .tl-stage { display: none; }
  .tl-grp { opacity: 1; }
  .tl-grp-img { display: block; width: 100%; max-width: 440px; height: auto; margin-bottom: 18px; border-radius: 20px; }
}
@media (max-width: 600px) { .tl-cards { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
/* what we stand on: tabs, one value at a time, its own 3D object on a gold ring */
.ab-values { position: relative; overflow: hidden; padding-block: clamp(80px, calc(13 * var(--vh, 1vh)), 150px); }
.ab-values::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(27, 91, 196, .55), rgba(27, 91, 196, 0)); pointer-events: none; }
.abv-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, calc(4 * var(--vw, 1vw)), 72px); align-items: center; min-height: clamp(440px, calc(62 * var(--vh, 1vh)), 640px); }
.ab-values .ab-values-title { margin-bottom: 26px; font-size: clamp(22px, calc(1.8 * var(--vw, 1vw)), 28px); letter-spacing: -.01em; color: rgba(255, 255, 255, .72); }
.abv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, calc(5 * var(--vh, 1vh)), 52px); }
.abv-tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: rgba(255, 255, 255, .75); font-weight: 700; font-size: 15px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.abv-tabs button:hover { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.abv-tabs button.on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.abv-name.glitch { color: var(--white); font-size: clamp(56px, calc(7.2 * var(--vw, 1vw)), 124px); min-height: 1.05em; letter-spacing: -.045em; line-height: 1; }
.abv-line { margin-top: 18px; max-width: 30ch; font-size: clamp(19px, calc(1.6 * var(--vw, 1vw)), 24px); line-height: 1.4; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(10px); }
.abv-line.in { opacity: 1; transform: none; transition: opacity .6s .22s, transform .7s .22s var(--soft); }
.abv-bar { margin-top: 32px; width: min(240px, 60%); height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.abv-bar i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.abv-3d { position: relative; height: clamp(380px, calc(60 * var(--vh, 1vh)), 620px); }
.abv-3d::before { content: ""; position: absolute; inset: 6% 2% 8%; background: radial-gradient(closest-side, rgba(96, 150, 232, .55), rgba(27, 91, 196, 0)); pointer-events: none; }
.abv-3d::after { content: ""; position: absolute; left: 50%; bottom: 13%; width: 64%; height: 15%; border-radius: 50%; border: 1.5px solid rgba(240, 203, 53, .55); box-shadow: 0 0 34px rgba(240, 203, 53, .22), inset 0 0 26px rgba(240, 203, 53, .16); transform: translateX(-50%); animation: abvRing 5.2s ease-in-out infinite; pointer-events: none; }
@keyframes abvRing { 50% { width: 70%; border-color: rgba(240, 203, 53, .8); } }
.abv-3d canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.ab-values.flat .abv-3d { display: none; }
.ab-values.flat .abv-grid { grid-template-columns: 1fr; min-height: 0; }
@media (max-width: 980px) {
  .abv-grid { grid-template-columns: 1fr; min-height: 0; }
  .abv-3d { order: -1; height: 300px; margin-bottom: -10px; }
}
@media (prefers-reduced-motion: reduce) { .abv-3d::after { animation: none; } }
/* team: real colours, a WinWin blue duotone on hover */
.ab-photo { background: var(--sky); }
.ab-photo img { filter: none; transition: filter .6s, transform 1.1s var(--soft); }
.ab-photo::after { background: linear-gradient(170deg, #2E6FD8 0%, #00245D 100%); mix-blend-mode: color; opacity: 0; transition: opacity .6s; }
.ab-person:hover .ab-photo img { filter: grayscale(1) contrast(1.1) brightness(1.04); transform: scale(1.04); }
.ab-person:hover .ab-photo::after { opacity: 1; }

/* ---------- contact ---------- */
.contact-wrap { grid-template-columns: minmax(0, 780px) minmax(0, 1fr); }
.needs-side .needs-3d { height: clamp(400px, calc(64 * var(--vh, 1vh)), 720px); }
.needs-caption { font-size: clamp(20px, calc(1.7 * var(--vw, 1vw)), 26px); letter-spacing: -.01em; }
/* need chips: navy rises in and the text turns white on hover */
.chips span { position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--soft), border-color .35s; }
.chips span::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .42s var(--soft); }
.chips label:hover span, .chips input:checked + span { color: var(--white); border-color: var(--navy); }
.chips label:hover span::before, .chips input:checked + span::before { transform: scaleY(1); }
/* every label sits the same distance above its field */
.fields .fld { display: flex; flex-direction: column; gap: 10px; }
.fields .fld-l { line-height: 1.25; }
.fields input, .fields textarea { width: 100%; margin: 0; }
.fields textarea { display: block; resize: vertical; min-height: 128px; }
.fields [aria-invalid="true"] { border-color: #C2412D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.brief .about-btn { justify-self: start; }
.form-note.err { color: #B23A2A; }
.form-note a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.brief-done { grid-column: 1; grid-row: 1; display: grid; gap: 14px; justify-items: start; align-content: start; padding: clamp(32px, calc(4 * var(--vw, 1vw)), 56px); margin-bottom: 60px; border-radius: 24px; background: var(--sky); outline: none; animation: doneIn .7s var(--soft) both; }
.brief-done[hidden] { display: none; }
.brief-done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.brief-done-title { font-size: clamp(28px, calc(3 * var(--vw, 1vw)), 44px); font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; }
.brief-done-sub { color: var(--muted); font-size: 18px; max-width: 46ch; }
@keyframes doneIn { from { opacity: 0; transform: translateY(14px); } }

/* v28: the ring fades out at its edges rather than cutting objects off */
.sv-ring canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
/* v28: the logo game's pieces can fly near the edge; their boxes must not widen the page */
.cta { overflow-x: clip; }
.brief[hidden] { display: none; }
.contact-wrap.sent .needs-side { visibility: hidden; }

/* ---------- v28 build: real URLs, Playbook category and tag pages, footer social icons ---------- */
/* production: a page reached from another page starts under the wipe, then main.js slides it away */
html.wipe-on .wipe { transform: translateY(0); }
html.wipe-on .wipe img { opacity: 1; }
.pb-back { margin-top: 22px; }
.pb-back[hidden] { display: none; }
.footer-col .footer-social { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.footer-social svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.footer-col .footer-social span { opacity: 1; font-weight: inherit; }

/* ---------- v29 phone pass (Deano's feedback, 1 Nov 2026) ---------- */
/* phones: the headline sits in the page (no pinned stage) and the showreel is a cover; Watch plays it fullscreen */
.reel-cover { display: none; }
@media (max-width: 760px) {
  .stage { height: auto; }
  .stage-sticky { position: relative; height: auto; overflow: visible; padding-top: 112px; }
  .hero-title { position: relative; left: auto; right: auto; top: auto; margin: 0 var(--gutter); transform: none !important; visibility: visible !important; }
  /* a little bigger: "We build brands" fills the width of the screen */
  .hero-title .rise { font-size: min(calc((100 * var(--vw, 1vw) - 2 * var(--gutter)) * .148), 64px); }
  .reel { display: none; }
  .reel-cover { display: block; position: relative; margin: 36px var(--gutter) 0; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--navy); }
  .reel-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
  .reel-cover-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(30px, calc(9 * var(--vw, 1vw)), 44px); background: var(--navy); }
  .reel-cover-mark { width: 72%; height: auto; }
  .reel-watch { display: inline-flex; align-items: center; gap: 12px; }
  .reel-watch-play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

  /* our work: the short description is back, and the button always sits under the text in the same place
     (main.js sizes .pf-text to the longest project) */
  .pf-info { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 14px; }
  .pf-text { width: 100%; }
  .pf-info p { display: block; font-size: 15px; line-height: 1.45; max-width: none; margin-top: 8px; }
}

/* ---------- v30 phone titles (Jaiden, 1 Nov): bigger headings on phones ----------
   Sizes follow the screen width (360 to 760) the same way the home headline does, so a 360 phone gets
   proportionally the same look as a 430 one. Page titles match the home headline; section titles sit one step below. */
@media (max-width: 760px) {
  h1.glitch, .cta .play-big.glitch { font-size: min(calc((100 * var(--vw, 1vw) - 2 * var(--gutter)) * .148), 64px); }
  .section-title, .wt-head .section-title, .about .glitch, .pf-title, .sv-group-head h2, .end-box h2, .flow-row h2 { font-size: min(calc((100 * var(--vw, 1vw) - 2 * var(--gutter)) * .126), 54px); line-height: 1.04; }
  .wk-card h2, .tl-grp h2, .featured h2, .work-meta h2 { font-size: min(calc((100 * var(--vw, 1vw) - 2 * var(--gutter)) * .1), 42px); }
  .ai-col h2 { font-size: min(calc((100 * var(--vw, 1vw) - 2 * var(--gutter)) * .09), 36px); }
  .ab-values .ab-values-title { font-size: 26px; }
}
/* the home heading rotates four lines; the first takes three lines at these sizes, so keep that room and the text below still */
@media (max-width: 500px) { .about .glitch { min-height: 3.12em; } }

/* v30: fullscreen can make the window wide enough for the desktop layout (a small desktop window, an Android phone in
   landscape), which hides the phone-only cover. While the reel is fullscreen (html.reel-fs, set by main.js) the cover stays
   drawn, pinned out of the page flow so the layout behind does not move; fullscreen draws the video over everything. */
@media (min-width: 761px) {
  html.reel-fs .reel-cover { display: block; position: fixed; left: 0; top: 0; width: 1px; height: 1px; margin: 0; overflow: hidden; }
}
.reel-full:fullscreen { object-fit: contain; }
.reel-full:-webkit-full-screen { object-fit: contain; }

/* v31 (Deano's edits, 2026-11-05). Desktop and phone unless a block says otherwise. */
/* Services: the ring spins on its own and by hand; vertical swipes still scroll the page */
.sv-ring { cursor: grab; touch-action: pan-y; }
.sv-ring:active { cursor: grabbing; }
/* About: no progress bar under the values, and less room before the team */
.abv-bar { display: none; }
.ab-values { padding-bottom: clamp(48px, calc(8 * var(--vh, 1vh)), 96px); }
/* About: the closing box is the same end box as Services and Our Work (heading, the two links, the logo on desktop) */
.end-box .end-links { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; }

@media (max-width: 760px) {
  /* Home: tighter steps between the hero, "We learn how your business works.", the render and the Marketing card */
  .about { padding-top: 56px; padding-bottom: 24px; }
  .about-grid { margin-top: 24px; }
  .services { padding-top: 16px; }
  .svc-col ul { margin-top: 14px; }
  /* Home: "Click me" sits in the middle, under the WiN */
  .pz-side .pz-cue { justify-self: center; text-align: center; width: var(--pw); }
  /* Home: less room above the WinWin Playbook title */
  .blog { padding-top: 56px; }

  /* Services: the ring keeps its size but loses the empty band above and below it (the camera narrows to match, see
     pages.js), and its name sits closer to it */
  .sv-ring { height: 300px; }
  .sv-ring-label.glitch { bottom: 4%; }
  .sv-hero { padding-bottom: 12px; }
  .sv-stack { padding-top: 16px; }
  /* Services: less room above "How a project runs" and "Questions we get a lot"; the timeline stops at the last line */
  .sv-ex { padding-bottom: 24px; }
  .sv-process { padding-top: 40px; padding-bottom: 32px; }
  .sv-steps li:last-child { padding-bottom: 0; }
  .faq-sec { padding-top: 32px; }

  /* Every closing box: no logo on phones (the footer's logo is on the same screen), and the footer comes up */
  .end-logo { display: none; }
  .end-box.has-logo { row-gap: 18px; }
  .end-cta { padding-bottom: 24px; }

  /* About: the four values fit on one line */
  .abv-tabs { flex-wrap: nowrap; gap: 6px; }
  .abv-tabs button { flex: none; padding: 8px min(14px, calc(2.8 * var(--vw, 1vw))); font-size: min(15px, calc(3.4 * var(--vw, 1vw))); white-space: nowrap; }
  .ab-values { padding-bottom: 56px; }

  /* Contact: less room under the intro and under the Send button */
  main[data-page="contact"] .page-head { padding-bottom: 28px; }
  .contact-wrap .brief { padding-bottom: 12px; }
}
