/* MaxxERP — TĀVRA design language: ivory, jewel accents, serif display, arches. */
:root {
  --ivory: #f5eee2;
  --ivory-2: #ece2d2;
  --paper: #fffaf2;
  --ink: #221c1f;
  --ink-soft: #5b5157;
  --line: rgba(34, 28, 31, .14);
  --plum: #1f5f8b;
  --plum-deep: #123f5e;
  --wine: #6a1730;
  --emerald: #0f6b4f;
  --marigold: #e3a321;
  --rose: #d9a8a0;
  --rose-soft: #ecd5cd;
  --sage-soft: #dbe2d4;
  --gold: #b08d48;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { color: var(--plum); font-style: italic; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
::selection { background: var(--plum); color: var(--ivory); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; background: var(--ink); color: var(--ivory); padding: 8px 14px; z-index: 300; }
.skip:focus { top: 8px; }

.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1rem; font-weight: 500; }
.h-hero { font-size: clamp(2.7rem, 7.4vw, 6.6rem); }
.h-xxl { font-size: clamp(3rem, 10vw, 9rem); }
.h-xl { font-size: clamp(2.4rem, 6vw, 5rem); }
.h-lg { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.h-statement { font-size: clamp(2rem, 5.4vw, 4.8rem); max-width: 18ch; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 46ch; }
.small { font-size: .84rem; color: var(--ink-soft); }
.link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: .92rem; white-space: nowrap; }
.link .arr { display: inline-block; transition: transform .3s var(--ease); }
.link:hover .arr { transform: translateX(4px); }

/* buttons */
.btn { --bg: var(--ink); --fg: var(--ivory); position: relative; display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.6em; border: 1px solid var(--bg); background: var(--bg); color: var(--fg); text-decoration: none; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 99px; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--plum); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { border-color: var(--plum); color: #fff; }
.btn .arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px) rotate(0deg); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--ivory); border-color: rgba(245, 238, 226, .5); }
.btn--sm { padding: .7em 1.2em; font-size: .74rem; }
.btn--block { width: 100%; justify-content: center; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; border-radius: 50%; font-size: 1.05rem; transition: background .3s, color .3s, border-color .3s; }
.icon-btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- progress, cursor, page fade ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--plum), var(--marigold)); transform-origin: 0 50%; transform: scaleX(0); }
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; display: none; }
.cursor span { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--plum); display: grid; place-items: center; color: #fff; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; mix-blend-mode: multiply; }
.cursor.is-hover span { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(31, 95, 139, .18); }
.cursor.is-label span { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--plum); mix-blend-mode: normal; }
.cursor.is-hidden span { opacity: 0; }
@media (hover: hover) and (pointer: fine) { html.js:not(.reduced) .cursor { display: block; } }
.page-fade { position: fixed; inset: 0; background: var(--ivory); z-index: 250; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
html.is-leaving .page-fade { opacity: 1; }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 500; background: var(--plum-deep); color: var(--ivory); display: grid; place-items: center; transition: transform 1s var(--ease-in-out); }
.intro-inner { text-align: center; }
.intro-word { font-family: var(--serif); font-size: clamp(3.4rem, 13vw, 10rem); line-height: 1; margin: 0; overflow: hidden; font-style: italic; }
.intro-word span { display: inline-block; transform: translateY(110%); animation: introUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + .1s); }
.intro-sub { font-size: .8rem; letter-spacing: .4em; text-transform: uppercase; opacity: 0; margin-top: 1.2rem; animation: introFade .8s .7s forwards; }
.intro-bar { display: block; width: min(240px, 60vw); height: 2px; margin: 1.6rem auto 0; background: rgba(245, 238, 226, .2); overflow: hidden; }
.intro-bar span { display: block; height: 100%; background: var(--marigold); transform: scaleX(0); transform-origin: 0 50%; animation: introBar 1.5s .2s var(--ease-in-out) forwards; }
.intro-skip { position: absolute; right: var(--gutter); bottom: 32px; background: none; border: 1px solid rgba(245, 238, 226, .4); color: var(--ivory); padding: .6em 1.2em; border-radius: 99px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.intro.is-done { transform: translateY(-100%); }
html.intro-seen .intro, html.reduced .intro, html:not(.js) .intro { display: none; }
@keyframes introUp { to { transform: none; } }
@keyframes introFade { to { opacity: .8; } }
@keyframes introBar { to { transform: scaleX(1); } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.site-header.is-scrolled { background: rgba(245, 238, 226, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.logo { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.logo em { color: var(--plum); }
.logo--light { color: var(--ivory); }
.logo--light em { color: var(--marigold); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav > a, .nav-drop > button { position: relative; text-decoration: none; font-size: .86rem; background: none; border: 0; padding: 6px 0; }
.nav > a::after, .nav-drop > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav-drop > button:hover::after, .nav-drop > button[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.caret { display: inline-block; font-size: .7em; transition: transform .3s; }
.nav-drop { position: relative; }
.nav-drop > button[aria-expanded="true"] .caret { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 18px); left: 50%; width: min(640px, 90vw); transform: translateX(-50%); background: var(--paper); padding: 22px; border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(34, 28, 31, .35); }
.mega:not([hidden]) { animation: megaIn .4s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translate(-50%, -8px); } }
.mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega li a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; transition: background .25s; }
.mega li a:hover { background: var(--ivory); }
.mega .num { font-size: .72rem; color: var(--ink-soft); padding-top: 3px; }
.mega .txt strong { display: block; font-weight: 500; font-size: .95rem; }
.mega .txt small { display: block; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; margin-top: 2px; }
.mega .arr { transition: transform .3s var(--ease); align-self: center; }
.mega li a:hover .arr { transform: translateX(4px); }
.mega-cta { display: block; margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--plum); color: #fff; text-decoration: none; font-size: .9rem; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); position: relative; }
.burger > span:not(.visually-hidden) { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger > span:nth-child(1) { top: 19px; }
.burger > span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] > span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] > span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--ivory); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: grid; align-content: start; gap: 36px; overflow: auto; clip-path: circle(0 at calc(100% - 48px) 38px); transition: clip-path .8s var(--ease-in-out); }
.menu.is-open { clip-path: circle(150% at calc(100% - 48px) 38px); }
.menu-main a { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15; text-decoration: none; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
.menu.is-open .menu-main a { opacity: 1; transform: none; }
.menu.is-open .menu-main a:nth-child(2) { transition-delay: .06s; } .menu.is-open .menu-main a:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu-main a:nth-child(4) { transition-delay: .18s; } .menu.is-open .menu-main a:nth-child(5) { transition-delay: .24s; }
.menu-side { display: grid; gap: 8px; }
.menu-side a { text-decoration: none; }
.menu-contact { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.menu-contact a { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: var(--ink); color: var(--ivory); text-decoration: none; font-size: .84rem; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); transition: transform .4s var(--ease), opacity .4s; }
.wa-float .dot { width: 9px; height: 9px; border-radius: 50%; background: #43c46b; box-shadow: 0 0 0 0 rgba(67, 196, 107, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(67, 196, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(67, 196, 107, 0); } }
.wa-float.is-tucked { transform: translateY(140%); opacity: 0; }

/* ---------- reveal system (only when JS is running) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 0); transition: clip-path 1.4s var(--ease-in-out); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 0); }
html.js [data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s)); }
html.js [data-split]:not(.is-in) .w > span { transform: translateY(110%); }
[data-fill] .fw { transition: opacity .2s linear, color .2s; }
html.js:not(.reduced) [data-fill] .fw { opacity: .16; }
html.js:not(.reduced) [data-fill] .fw.on { opacity: 1; }
html.reduced [data-reveal], html.reduced [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.reduced [data-split] .w > span { transform: none !important; }

/* ---------- layout ---------- */
.section { padding: clamp(80px, 11vw, 160px) var(--gutter); position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head > p, .section-head > a { max-width: 42ch; color: var(--ink-soft); margin: 0; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: calc(var(--header-h) + 40px) var(--gutter) 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, rgba(227, 163, 33, .22), transparent 65%); pointer-events: none; }
.hero .h-hero { margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: 2rem; }
.rotator { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.rotator em { display: inline-block; transition: transform .6s var(--ease), opacity .6s; }
.rotator em.is-out { transform: translateY(-105%); opacity: 0; }
.rotator em.is-in-start { transform: translateY(105%); opacity: 0; transition: none; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero-arch { position: absolute; inset: 6% 12% 0; background: linear-gradient(180deg, var(--rose-soft), var(--ivory-2)); border-radius: 50% 50% 0 0 / 34% 34% 0 0; }
.hero-card { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20, 50, 70, .5); will-change: transform; }
.hero-card img { width: 100%; }
.v-main { width: 58%; left: 21%; top: 18%; border-radius: 28px; }
.v-a { width: 30%; left: 0; top: 8%; }
.v-b { width: 32%; right: 0; top: 4%; }
.v-c { width: 30%; right: 4%; bottom: 2%; }
.hero-chip { position: absolute; padding: 10px 16px; background: var(--paper); border-radius: 99px; font-size: .8rem; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .4); white-space: nowrap; will-change: transform; }
.hero-chip strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--plum); margin-right: 4px; }
.hero-chip.c1 { left: 4%; bottom: 18%; }
.hero-chip.c2 { left: 30%; bottom: 0; }
html.js .hero-card, html.js .hero-chip { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease), translate 1.2s var(--ease); }
html.js .hero.is-live .hero-card, html.js .hero.is-live .hero-chip { opacity: 1; translate: 0 0; }
.hero.is-live .v-a { transition-delay: .15s; } .hero.is-live .v-b { transition-delay: .25s; } .hero.is-live .v-c { transition-delay: .35s; }
.hero.is-live .c1 { transition-delay: .5s; } .hero.is-live .c2 { transition-delay: .6s; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 24px; display: flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; color: var(--ink-soft); text-decoration: none; }
.mouse { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.mouse span { position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.8s infinite var(--ease); }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.8rem); white-space: nowrap; }
.marquee-track i { color: var(--marigold); font-style: normal; }
html:not(.js) .marquee-track, html.reduced .marquee-track { flex-wrap: wrap; width: auto; }
.clients-next { margin-top: 28px; text-align: right; color: var(--ink-soft); }

/* ---------- industries (pinned horizontal scroll) ---------- */
.industries { position: relative; background: var(--sage-soft); }
.hscroll-sticky { padding: clamp(80px, 9vw, 120px) 0 60px; overflow: hidden; }
.hscroll-sticky .section-head { padding: 0 var(--gutter); margin-bottom: clamp(28px, 4vw, 48px); }
.hscroll-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); }
.hscroll-viewport::-webkit-scrollbar { display: none; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; will-change: transform; }
.ind-card { width: clamp(270px, 30vw, 400px); flex: none; background: var(--paper); border-radius: 26px; overflow: hidden; scroll-snap-align: start; transition: transform .6s var(--ease); }
.ind-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.ind-card:hover img { transform: scale(1.06); }
.ind-body { padding: 22px 24px 26px; }
.ind-body .num { font-size: .74rem; letter-spacing: .14em; color: var(--ink-soft); }
.ind-body h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.ind-body p { color: var(--ink-soft); font-size: .94rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .74rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; }
.hscroll-progress { display: flex; align-items: center; gap: 12px; padding: 28px var(--gutter) 0; font-size: .8rem; letter-spacing: .12em; color: var(--ink-soft); }
.hscroll-progress .bar { flex: 1; max-width: 240px; height: 2px; background: var(--line); overflow: hidden; }
.hscroll-progress .bar span { display: block; height: 100%; background: var(--plum); transform-origin: 0 50%; transform: scaleX(0); }
.industries.is-pinned .hscroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 8px) 32px; }
.industries.is-pinned .hscroll-viewport { overflow: visible; scroll-snap-type: none; }

/* ---------- MaxxERP band ---------- */
.maxxerp { background: var(--plum-deep); color: var(--ivory); overflow: hidden; }
.maxxerp .eyebrow, .maxxerp .small { color: rgba(245, 238, 226, .65); }
.maxxerp h2 em { color: var(--marigold); }
.band { margin: 0 calc(var(--gutter) * -1) clamp(48px, 7vw, 96px); overflow: hidden; }
.band .marquee-track { gap: 0; }
.band .marquee-track { font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); white-space: nowrap; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(245, 238, 226, .45); }
.band i { font-style: normal; color: var(--marigold); -webkit-text-stroke: 0; padding: 0 .3em; }
.maxxerp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.erp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 32px 0; }
.erp-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; color: var(--marigold); }
.erp-stats span { font-size: .84rem; color: rgba(245, 238, 226, .75); }
.maxxerp .btn { margin-top: 12px; }
.maxxerp .btn::before { background: var(--marigold); }

/* ---------- about & stats ---------- */
.about .h-statement { margin-bottom: clamp(40px, 6vw, 80px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-grid .h-md { margin-bottom: 1rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 28px; }
.stats--row { grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px 48px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; color: var(--plum); font-variant-numeric: tabular-nums; }
.stat span { font-size: .84rem; color: var(--ink-soft); }

/* ---------- services split ---------- */
.services { background: var(--paper); }
.svc-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.svc-nav a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; text-decoration: none; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); color: rgba(34, 28, 31, .35); border-bottom: 1px solid var(--line); transition: color .4s, padding .5s var(--ease); }
.svc-nav a .num { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; }
.svc-nav a.is-active { color: var(--ink); padding-left: 14px; }
.svc-nav a.is-active .num { color: var(--plum); }
.svc-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: var(--ivory-2); }
.svc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.svc-stage img.is-active { opacity: 1; transform: none; }
.svc-counter { position: absolute; left: 16px; bottom: 14px; background: var(--paper); padding: 4px 12px; border-radius: 99px; font-size: .78rem; letter-spacing: .1em; }
.svc-panel { padding: clamp(28px, 4vw, 44px); border-radius: 26px; background: var(--ivory); margin-bottom: 24px; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; transition: transform .6s var(--ease), box-shadow .6s; }
.svc-panel.is-active { box-shadow: 0 30px 70px -40px rgba(20, 50, 70, .45); }
.svc-panel-img { display: none; border-radius: 18px; margin-bottom: 20px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.svc-panel .h-md { margin-bottom: .8rem; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 28px; }
.svc-cols p:not(.eyebrow) { color: var(--ink-soft); font-size: .94rem; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); perspective: 1200px; }
.plan { position: relative; padding: 32px 28px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; }
.plan:hover { box-shadow: 0 40px 70px -40px rgba(20, 50, 70, .5); }
.plan h3 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.plan .ticks { flex: 1; }
.plan .btn { align-self: flex-start; }
.plan--rec { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.plan--rec .eyebrow, .plan--rec .small { color: rgba(245, 238, 226, .7); }
.plan--rec .ticks li::before { border-color: var(--marigold); }
.plan--rec .btn { --bg: var(--ivory); --fg: var(--ink); }
.plan--rec .btn::before { background: var(--marigold); }
.badge { align-self: flex-start; margin-bottom: -6px; background: var(--marigold); color: var(--ink); padding: 4px 12px; border-radius: 99px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- process ---------- */
.process { background: var(--rose-soft); }
.process-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: calc(var(--header-h) + 24px); }
.process-head p { color: var(--ink-soft); max-width: 38ch; margin-top: 1rem; }
.steps { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); padding-left: 72px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; position: relative; }
.step-num { position: absolute; left: -72px; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line); font-size: .8rem; letter-spacing: .08em; transition: background .5s, color .5s, transform .6s var(--ease); z-index: 1; }
.step.is-on .step-num { background: var(--plum); color: #fff; transform: scale(1.12); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .6rem; }
.step p { color: var(--ink-soft); max-width: 48ch; }
.steps-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.steps-line span { display: block; width: 100%; height: 100%; background: var(--plum); transform-origin: 50% 0; transform: scaleY(0); }
html:not(.js) .steps-line span, html.reduced .steps-line span { transform: none; }

/* ---------- comparison ---------- */
.table-wrap { overflow-x: auto; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: .95rem; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.compare tbody th { text-align: left; font-weight: 400; }
.compare .us { background: rgba(31, 95, 139, .06); }
.compare thead .us { color: var(--plum); font-weight: 600; }
.m-yes { color: var(--emerald); font-weight: 700; } .m-no { color: #b0434a; } .m-var { color: var(--gold); font-weight: 700; }
.compare td span[aria-hidden] { display: inline-block; font-size: 1.15rem; }
html.js .compare tbody tr { opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + .2s); }
html.js .table-wrap.is-in tbody tr { opacity: 1; transform: none; }
html.js .table-wrap .us span[aria-hidden] { transform: scale(0); transition: transform .6s cubic-bezier(.3, 1.8, .5, 1); transition-delay: calc(var(--i, 0) * 80ms + .5s); }
html.js .table-wrap.is-in .us span[aria-hidden] { transform: scale(1); }
.legend { margin-top: 16px; font-size: .84rem; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- testimonials ---------- */
.testimonials { overflow: hidden; }
.t-score { display: flex; align-items: center; gap: 16px; max-width: 34ch; }
.t-score strong { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 5rem); color: var(--plum); line-height: 1; }
.t-score span { color: var(--ink-soft); font-size: .9rem; }
.t-stage { position: relative; height: clamp(420px, 44vw, 460px); outline: none; touch-action: pan-y; user-select: none; cursor: grab; }
.t-stage:active { cursor: grabbing; }
.t-card { position: absolute; left: 50%; top: 0; width: min(620px, 82vw); margin: 0; padding: clamp(28px, 4vw, 48px); background: var(--paper); border-radius: 28px; border: 1px solid var(--line); transform-origin: 50% 100%; transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s; }
.t-card[data-pos="0"] { transform: translateX(-50%); z-index: 3; box-shadow: 0 40px 80px -50px rgba(20, 50, 70, .55); }
.t-card[data-pos="-1"] { transform: translateX(-128%) scale(.86) rotate(-3deg); opacity: .45; z-index: 2; }
.t-card[data-pos="1"] { transform: translateX(28%) scale(.86) rotate(3deg); opacity: .45; z-index: 2; }
.t-card[data-pos="2"], .t-card[data-pos="-2"] { transform: translateX(-50%) scale(.7); opacity: 0; z-index: 1; }
.t-quote { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--marigold); display: block; height: 40px; }
.t-card blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; font-size: .9rem; letter-spacing: .06em; }
.t-card figcaption strong { display: block; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; }
.t-card figcaption small { color: var(--ink-soft); font-size: .84rem; }
.t-controls { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 24px; }
.dots { display: flex; gap: 8px; margin-right: 12px; }
.dots button { width: 30px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.dots button::before { content: ""; position: absolute; inset: -12px 0; }
.dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--plum); transform-origin: 0 50%; animation: dotFill var(--dur, 6s) linear forwards; }
.dots.is-paused button[aria-current="true"]::after { animation: none; transform: none; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- CTA band ---------- */
.cta-band { margin: 0 var(--gutter); padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 80px); border-radius: 36px; background: var(--ink); color: var(--ivory); text-align: center; display: grid; justify-items: center; gap: 20px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(31, 95, 139, .9), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 em { color: var(--marigold); }
.cta-band p { color: rgba(245, 238, 226, .75); max-width: 50ch; margin: 0; }
.cta-band .actions { justify-content: center; }
.cta-band .btn { --bg: var(--ivory); --fg: var(--ink); }
.cta-band .btn--ghost { --bg: transparent; --fg: var(--ivory); border-color: rgba(245, 238, 226, .5); }
.cta-band .or { font-size: .9rem; color: rgba(245, 238, 226, .7); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head p { color: var(--ink-soft); margin-top: 1rem; max-width: 36ch; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; }
.faq-item button { width: 100%; display: grid; grid-template-columns: 2.6em 1fr auto; gap: 8px; align-items: center; padding: 22px 0; background: none; border: 0; text-align: left; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.faq-item .num { font-family: var(--sans); font-size: .74rem; color: var(--ink-soft); letter-spacing: .12em; }
.plus { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .4s, transform .5s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item.is-open .plus { background: var(--plum); color: #fff; border-color: var(--plum); transform: rotate(180deg); }
.faq-item.is-open .plus::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s .55s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 22px 2.6em; color: var(--ink-soft); max-width: 60ch; margin: 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s var(--ease), visibility 0s; }

/* ---------- contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy .lede { margin: 1.2rem 0 2rem; }
.contact .stats--row { margin: 0 0 28px; }
.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.talk { display: grid; gap: 4px; }
.talk a { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.talk a:hover { background-size: 100% 1px; }
.contact-form { background: var(--ivory); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: .85em 1em; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(31, 95, 139, .12); }
.field input[aria-invalid="true"] { border-color: #b0434a; }
.field textarea { resize: vertical; }
.field--inline { grid-auto-flow: column; align-items: center; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: inline-block; padding: .55em 1em; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: .86rem; letter-spacing: 0; text-transform: none; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip-opt input:checked + span { background: var(--plum); color: #fff; border-color: var(--plum); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 2px; }
.chip-opt:active span { transform: scale(.96); }
.form-error { color: #b0434a; font-size: .9rem; margin: 0; }
.note { font-size: .8rem; color: var(--ink-soft); margin: 0; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-deep); color: var(--ivory); padding: clamp(80px, 10vw, 140px) var(--gutter) 28px; overflow: hidden; }
.site-footer .eyebrow { color: rgba(245, 238, 226, .6); }
.site-footer h2 em { color: var(--marigold); }
.footer-cta { display: grid; gap: 20px; justify-items: start; padding-bottom: clamp(56px, 8vw, 100px); border-bottom: 1px solid rgba(245, 238, 226, .15); }
.footer-cta p { color: rgba(245, 238, 226, .75); max-width: 44ch; margin: 0; }
.site-footer .btn::before { background: var(--marigold); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 56px 0; font-size: .92rem; }
.footer-cols h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 238, 226, .55); margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; padding: 3px 0; color: rgba(245, 238, 226, .9); width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.footer-cols a:hover { background-size: 100% 1px; }
.footer-cols p { color: rgba(245, 238, 226, .72); }
.giant { font-family: var(--serif); font-size: clamp(3.4rem, 15.5vw, 17rem); line-height: .85; margin: 0; letter-spacing: .01em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(245, 238, 226, .3); white-space: nowrap; }
.giant .g { display: inline-block; transition: transform 1.2s var(--ease), color 1.2s; transition-delay: calc(var(--i) * 70ms); }
html.js .giant:not(.is-in) .g { transform: translateY(60%); }
.giant.is-in .g:hover { color: var(--marigold); -webkit-text-stroke-color: transparent; transition-delay: 0s; transition-duration: .3s; }
.copyright { font-size: .8rem; color: rgba(245, 238, 226, .5); margin: 24px 0 0; text-align: center; }

/* ---------- projects page ---------- */
.page-hero, .svc-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) var(--gutter) clamp(40px, 6vw, 80px); }
.page-hero .h-hero { margin-bottom: clamp(24px, 4vw, 48px); }
.page-hero-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.work { padding-top: clamp(24px, 4vw, 48px); }
.filters { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-bottom: 32px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .6em 1.2em; border: 1px solid var(--line); background: transparent; border-radius: 99px; font-size: .86rem; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.field--inline select { width: auto; padding: .55em 2.2em .55em .9em; border-radius: 99px; }
.filters .count { margin-left: auto; font-size: .86rem; color: var(--ink-soft); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px); }
.project-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project[hidden] { display: none; }
.project a { display: block; position: relative; text-decoration: none; }
.project-media { display: block; overflow: hidden; border-radius: 22px; background: var(--ivory-2); }
.project-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.project a:hover .project-media img { transform: scale(1.06); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 2px 6px; }
.project-name { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
.project-num { font-size: .78rem; color: var(--ink-soft); letter-spacing: .1em; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.project-tags span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--ivory-2); }
.project-go { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 1.1rem; transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease); }
.project a:hover .project-go, .project a:focus-visible .project-go { transform: scale(1) rotate(0); }

/* ---------- service pages ---------- */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.svc-hero .h-hero { margin-bottom: 1.4rem; }
.svc-hero .lede { margin-bottom: 2rem; }
.svc-hero-art { margin: 0; border-radius: 50% 50% 28px 28px / 32% 32% 28px 28px; overflow: hidden; }
.highlights { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 20px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.highlights strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--plum); }
.highlights span { font-size: .82rem; color: var(--ink-soft); }
.included { background: var(--paper); }
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); perspective: 1200px; }
.inc-card { padding: 28px; border-radius: 24px; background: var(--ivory); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .5s var(--ease), background .4s, color .4s; }
.inc-card:hover { background: var(--plum); color: var(--ivory); }
.inc-card:hover p, .inc-card:hover .num { color: rgba(245, 238, 226, .78); }
.inc-card .num { font-size: .74rem; letter-spacing: .14em; color: var(--ink-soft); }
.inc-card h3 { font-size: 1.45rem; margin: 18px 0 10px; }
.inc-card p { color: var(--ink-soft); font-size: .94rem; margin: 0; transition: color .4s; }
.why-svc { background: var(--sage-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.why-card { padding: 26px; border-top: 2px solid var(--plum); background: var(--paper); border-radius: 0 0 22px 22px; }
.why-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.others-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.other { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.other img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.other:hover img { transform: scale(1.06); }
.other-body { padding: 16px 18px 6px; display: grid; gap: 6px; flex: 1; }
.other-body strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.other-body span { font-size: .84rem; color: var(--ink-soft); }
.other > .arr { padding: 0 18px 16px; }
.page-service .process { background: var(--rose-soft); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .others-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero, .svc-hero, .maxxerp-grid, .about-grid, .svc-split, .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 110px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .svc-aside, .process-head, .faq-head { position: static; }
  .svc-stage { display: none; }
  .svc-nav { display: none; }
  .svc-panel { min-height: 0; }
  .svc-panel-img { display: block; }
  .plan-grid, .inc-grid, .project-grid--3 { grid-template-columns: 1fr; }
  .stats--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .header-cta { display: none; }
  .t-card[data-pos="-1"], .t-card[data-pos="1"] { opacity: 0; }
  .t-stage { height: 520px; }
}
@media (max-width: 560px) {
  .row2, .svc-cols { grid-template-columns: 1fr; }
  .others-grid, .why-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .wa-float { right: 12px; bottom: 12px; padding: 10px 14px; font-size: .78rem; }
  .cta-band { margin: 0 12px; border-radius: 26px; }
  .t-stage { height: 600px; }
  .filters .count { margin-left: 0; }
  .stat strong { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* pinned industries: keep header + cards inside one viewport */
.industries.is-pinned .section-head { margin-bottom: clamp(16px, 2.4vh, 32px); }
.industries.is-pinned .h-lg { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.industries.is-pinned .ind-card { width: clamp(280px, 26vw, 360px); }
.industries.is-pinned .ind-card img { aspect-ratio: 16 / 9; }
.industries.is-pinned .ind-body { padding: 16px 20px 20px; }
.industries.is-pinned .ind-body h3 { font-size: 1.45rem; margin: 4px 0 6px; }
.industries.is-pinned .ind-body p { font-size: .88rem; margin-bottom: .7em; }
.industries.is-pinned .hscroll-progress { padding-top: 18px; }

/* =========================================================
   Round 2: logo, client logos, MaxxERP mark, stacking services,
   sketch story, portfolio cards
   ========================================================= */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.logo--light img { height: 38px; }
.site-footer .logo { margin-bottom: 18px; }

/* client logos: two rows drifting in opposite directions */
.logo-wall { display: grid; gap: 14px; }
.marquee--logos { border: 0; padding: 4px 0; }
.marquee--logos .marquee-track { gap: 14px; }
.logo-tile { flex: none; display: flex; align-items: center; justify-content: center; width: 168px; height: 92px; padding: 14px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.logo-tile img { display: block; max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; transition: transform .6s var(--ease); }
.logo-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 40px -24px rgba(20, 50, 70, .45); }
.logo-tile:hover img { transform: scale(1.06); }
.logo-tile--dark, .pc-logo--dark { background: var(--ink); border-color: var(--ink); }
html:not(.js) .marquee--logos .marquee-track, html.reduced .marquee--logos .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }

/* MaxxERP mark */
.erp-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 14px 20px; border: 1px solid rgba(245, 238, 226, .18); border-radius: 18px; background: rgba(245, 238, 226, .04); transition: background .4s, border-color .4s; }
.erp-logo:hover { background: rgba(245, 238, 226, .1); border-color: rgba(245, 238, 226, .35); }

.erp-logo img { height: 44px; width: auto; }
.band .marquee-track { align-items: center; }
.band-mark { display: inline-block; height: .6em; width: auto; margin: 0 .35em; vertical-align: middle; }

/* services: sticky stacking cards */
.svc-stack { display: grid; gap: 28px; }
.svc-card { position: sticky; top: calc(var(--header-h) + 18px + var(--i) * 14px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 48px); align-items: center; min-height: min(600px, calc(100vh - var(--header-h) - 70px)); padding: clamp(26px, 3.4vw, 48px); border-radius: 34px; background: var(--tone); color: var(--ivory); overflow: hidden; transform-origin: 50% 0; box-shadow: 0 -20px 60px -40px rgba(0, 0, 0, .5); will-change: transform; }
.svc-card::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%); pointer-events: none; }
.svc-card-body { position: relative; }
.svc-card-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.svc-num { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--marigold); }
.svc-of { font-size: .8rem; letter-spacing: .14em; opacity: .7; }
.svc-card h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 14px; color: var(--ivory); }
.svc-short { font-size: clamp(1rem, 1.3vw, 1.12rem); opacity: .85; max-width: 44ch; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.svc-pills li { padding: .45em 1em; border: 1px solid rgba(245, 238, 226, .3); border-radius: 99px; font-size: .82rem; background: rgba(255, 255, 255, .06); }
.svc-ideal { font-size: .9rem; opacity: .8; max-width: 52ch; }
.svc-ideal span { display: inline-block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--marigold); margin-right: 6px; }
.svc-card .btn--light::before { background: var(--marigold); }
.link--light { color: var(--ivory); }
.svc-card-art { margin: 0; position: relative; border-radius: 28px 28px 50% 50% / 28px 28px 30% 30%; overflow: hidden; aspect-ratio: 1; max-height: 480px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.svc-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card-art img { transform: scale(1.05); }

/* sketch story */
.story { position: relative; background: linear-gradient(180deg, var(--ivory), #f1e7d8); }
.story-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: calc(var(--header-h) + 10px) var(--gutter) 24px; }
.story-copy .h-lg { margin-bottom: 22px; }
.story-steps { display: grid; gap: 6px; }
.story-steps li { padding: 12px 0 12px 18px; border-left: 2px solid var(--line); opacity: .35; transition: opacity .5s, border-color .5s; }
.story-steps li.is-on { opacity: 1; border-color: var(--plum); }
.story-steps .num { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.story-steps h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 4px 0; }
.story-steps p { font-size: .9rem; color: var(--ink-soft); margin: 0; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.story-steps li.is-on p { max-height: 7em; }
.story-progress { margin-top: 20px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 320px; }
.story-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--plum), var(--marigold)); transform-origin: 0 50%; transform: scaleX(0); }
.story-stage svg { width: 100%; height: auto; max-height: calc(100vh - var(--header-h) - 40px); display: block; filter: drop-shadow(0 30px 60px rgba(20, 50, 70, .16)); border-radius: 28px; }
.story [data-fx="pop"], .story [data-fx="slide"], .story [data-fx="grow"], .story [data-fx="confetti"] { transform-box: fill-box; transform-origin: center; }
.story [data-fx="grow"] { transform-origin: 50% 100%; }
html.reduced .story { height: auto !important; }
html.reduced .story-sticky { position: static; height: auto; }
html.reduced .story-steps li { opacity: 1; }
html.reduced .story-steps p { max-height: none; }

/* portfolio */
.h-mega { position: relative; font-family: var(--serif); font-size: clamp(3.2rem, 11vw, 10rem); line-height: .92; letter-spacing: -.03em; text-align: center; max-width: 12ch; margin: 0 auto clamp(28px, 4vw, 56px); }
.h-mega em { color: var(--plum); }
.sticker { position: absolute; left: 50%; top: 52%; width: clamp(120px, 14vw, 190px); transform: translate(-50%, -50%) rotate(-12deg); display: grid; place-items: center; font-family: var(--sans); font-size: clamp(.8rem, 1.2vw, 1rem); font-weight: 600; letter-spacing: .04em; color: var(--ink); pointer-events: none; animation: stickerFloat 5s ease-in-out infinite; }
.sticker svg { grid-area: 1 / 1; width: 100%; fill: var(--marigold); filter: drop-shadow(0 8px 0 rgba(34, 28, 31, .15)); animation: blob 7s ease-in-out infinite; }
.sticker span { grid-area: 1 / 1; transform: rotate(4deg); }
@keyframes stickerFloat { 50% { transform: translate(-50%, -58%) rotate(-6deg); } }
@keyframes blob { 50% { transform: scale(1.06, .94) rotate(3deg); } }
.page-hero--work { text-align: center; }
.page-hero--work .page-hero-row { justify-content: center; text-align: left; }
.work--portfolio { position: relative; background: #fbf3e3; margin-top: 30px; }
.work--portfolio::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 30px; background: radial-gradient(circle at 50% 100%, #fbf3e3 70%, transparent 71%) 0 0 / 56px 30px repeat-x; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(18px, 2.6vw, 36px); }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard[hidden] { display: none; }
.pc-link { display: grid; gap: 14px; text-decoration: none; justify-items: start; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.pc-stage { position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; border-radius: 30px; background: var(--tone); overflow: hidden; padding: 70px 9% 0; isolation: isolate; }
.pc-stage::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .35), transparent 60%); z-index: -1; }
.pc-logo { position: absolute; left: 18px; top: 16px; z-index: 2; display: flex; align-items: center; justify-content: center; height: 46px; min-width: 64px; max-width: 46%; padding: 6px 12px; background: #fff; border-radius: 14px; box-shadow: 0 6px 0 rgba(34, 28, 31, .1); overflow: hidden; }
.pc-logo img { display: block; max-height: 34px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.pc-logo strong { font-family: var(--serif); font-weight: 400; font-size: .95rem; white-space: nowrap; }
.pc-num { position: absolute; right: 22px; top: 22px; font-size: .78rem; letter-spacing: .14em; color: rgba(34, 28, 31, .55); }
.pc-browser { display: block; height: 100%; background: #fff; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(34, 28, 31, .45); transform: translateY(14px); transition: transform .7s var(--ease); }
.pc-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #f1ece6; }
.pc-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9a8a0; flex: none; }
.pc-bar i:nth-child(2) { background: var(--marigold); }
.pc-bar i:nth-child(3) { background: #9fb096; }
.pc-bar span { margin-left: 8px; font-size: .68rem; color: #8a7d84; background: #fff; padding: 2px 10px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-shot { display: block; height: calc(100% - 26px); overflow: hidden; }
.pc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 4.5s cubic-bezier(.45, 0, .2, 1); }
.pc-link:hover .pc-shot img, .pc-link:focus-visible .pc-shot img { object-position: 50% 100%; }
.pc-link:hover .pc-browser { transform: translateY(0); }
.pc-art { display: block; height: 100%; border-radius: 14px 14px 0 0; overflow: hidden; transform: translateY(14px); transition: transform .7s var(--ease); box-shadow: 0 30px 60px -20px rgba(34, 28, 31, .35); }
.pc-art img { width: 100%; height: 100%; object-fit: cover; }
.pc-link:hover .pc-art { transform: translateY(0) scale(1.02); }
.pc-meta { display: grid; gap: 6px; }
.pc-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-tags span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: rgba(34, 28, 31, .06); }
.pc-btn { display: inline-flex; align-items: center; gap: 8px; padding: .75em 1.4em; border-radius: 99px; background: var(--marigold); color: var(--ink); font-weight: 600; font-size: .92rem; border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .2s, box-shadow .2s, background .3s; }
.pc-link:hover .pc-btn { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); background: #f0b73c; }
html.js .pcard[data-reveal] { transform: translateY(60px) rotate(1.5deg); }
html.js .pcard[data-reveal]:nth-child(even) { transform: translateY(60px) rotate(-1.5deg); }
html.js .pcard[data-reveal].is-in { transform: none; }

@media (max-width: 900px) {
  .svc-card { grid-template-columns: 1fr; min-height: 0; }
  .svc-card-art { max-width: 360px; order: -1; aspect-ratio: 16 / 10; border-radius: 22px; }
  .story-sticky { grid-template-columns: 1fr; align-content: center; gap: 14px; }
  .story-copy .h-lg { font-size: 1.9rem; margin-bottom: 10px; }
  .story-steps li:not(.is-on) { display: none; }
  .pgrid, .pgrid--3 { grid-template-columns: 1fr; }
  .logo img { height: 26px; }
  .logo-tile { width: 132px; height: 76px; }
  .logo-tile img { max-height: 48px; }
}

/* =========================================================
   Round 3: hero wall of real work, real-work showcases
   ========================================================= */
/* hero */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden; }
.hero-visual { aspect-ratio: auto; height: min(78vh, 760px); perspective: 1600px; }
.hero-wall { position: absolute; inset: -14% -30% -14% -6%; mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 55%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 55%, transparent 100%); }
.wall-plane { --rx: 22deg; --ry: -16deg; --rz: 8deg; --s: 1; position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)) scale(var(--s)); transform-style: preserve-3d; transition: transform .25s linear; }
.wall-col { overflow: hidden; }
.wall-track { display: grid; gap: 18px; animation: wallUp 46s linear infinite; }
.wall-col--2 .wall-track { animation-direction: reverse; animation-duration: 54s; }
.wall-col--3 .wall-track { animation-duration: 40s; }
.hero-wall:hover .wall-track { animation-play-state: paused; }
@keyframes wallUp { to { transform: translateY(calc(-50% - 9px)); } }
.wall-card { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -28px rgba(20, 50, 70, .55); }
.wall-card .sc-browser { border-radius: 0; box-shadow: none; }
.wall-card .sc-browser img { aspect-ratio: 16 / 12; }
.wall-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
html.js .hero-wall { opacity: 0; transform: scale(.92) translateY(40px); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
html.js .hero.is-live .hero-wall { opacity: 1; transform: none; }
html.reduced .wall-track { animation: none; }
.hero-chip { z-index: 3; display: inline-flex; align-items: center; gap: 6px; }
.hero-chip.c1 { left: 2%; top: 16%; bottom: auto; }
.hero-chip.c2 { right: 2%; left: auto; top: 46%; bottom: auto; }
.hero-chip.c3 { left: 10%; bottom: 8%; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #43c46b; box-shadow: 0 0 0 4px rgba(67, 196, 107, .2); }
html.js .hero.is-live .hero-chip { animation: chipBob 5s ease-in-out infinite; }
html.js .hero.is-live .hero-chip.c2 { animation-delay: -1.6s; }
html.js .hero.is-live .hero-chip.c3 { animation-delay: -3.2s; }
@keyframes chipBob { 50% { transform: translateY(-8px); } }
html.js .hero.is-live .hero-chip.c1 { transition-delay: .9s; }
html.js .hero.is-live .hero-chip.c2 { transition-delay: 1.1s; }
html.js .hero.is-live .hero-chip.c3 { transition-delay: 1.3s; }

/* shared browser frame */
.sc-browser { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.sc-bar { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; background: #f1ece6; }
.sc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9a8a0; flex: none; }
.sc-bar i:nth-child(2) { background: var(--marigold); }
.sc-bar i:nth-child(3) { background: #9fb096; }
.sc-bar span { margin-left: 6px; font-size: .62rem; color: #8a7d84; background: #fff; padding: 1px 8px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-browser img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 0; }
.sc-logo { display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.sc-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* service showcases (inside the coloured service cards) */
.svc-card-art { aspect-ratio: auto; height: min(440px, 52vh); border-radius: 26px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.sc { position: relative; width: 100%; height: 100%; }
.sc-web .sc-browser { position: absolute; width: 68%; transition: transform .8s var(--ease); }
.sc-web .b1 { left: 4%; top: 8%; transform: rotate(-6deg); }
.sc-web .b2 { right: 4%; top: 14%; transform: rotate(5deg); }
.sc-web .b3 { left: 16%; bottom: 6%; transform: rotate(-1deg); z-index: 2; }
.svc-card:hover .sc-web .b1 { transform: rotate(-9deg) translate(-12px, -8px); }
.svc-card:hover .sc-web .b2 { transform: rotate(8deg) translate(12px, -8px); }
.svc-card:hover .sc-web .b3 { transform: translateY(-8px); }
.sc-shoots { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr .8fr; gap: 10px; padding: 14px; }
.sc-shoots figure { margin: 0; overflow: hidden; border-radius: 14px; }
.sc-shoots img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sc-shoots .p1 { grid-row: span 2; }
.sc-shoots .p4 { grid-column: span 2; }
.svc-card:hover .sc-shoots img { transform: scale(1.06); }
.sc-rec { position: absolute; right: 24px; top: 22px; font-size: .7rem; letter-spacing: .14em; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); padding: 4px 10px; border-radius: 99px; animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { color: #ff5a5a; } }
.sc-phone { position: absolute; left: 50%; top: 50%; width: min(62%, 260px); aspect-ratio: 9 / 18; transform: translate(-50%, -50%) rotate(-4deg); background: #fff; border: 8px solid #141014; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); display: flex; flex-direction: column; transition: transform .8s var(--ease); }
.svc-card:hover .sc-phone { transform: translate(-50%, -52%) rotate(0); }
.sc-ig-head, .sc-wa-head, .sc-ad-head { display: flex; align-items: center; gap: 8px; padding: 10px; color: var(--ink); font-size: .74rem; line-height: 1.2; }
.sc-ig-head .sc-logo, .sc-wa-head .sc-logo, .sc-ad-head .sc-logo { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #eee; padding: 4px; flex: none; }
.sc-ig-head small, .sc-wa-head small, .sc-ad-head small { display: block; color: #8a7d84; font-size: .66rem; }
.sc-ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.sc-ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sc-heart { position: absolute; right: 12%; top: 18%; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #e2435a; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); animation: heartPop 2.4s ease-in-out infinite; }
@keyframes heartPop { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } }
.sc-ads { padding: 18px; }
.sc-ad { position: absolute; left: 8%; top: 7%; width: 58%; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); transform: rotate(-3deg); transition: transform .8s var(--ease); }
.sc-ad > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.sc-ad-cta { display: flex; justify-content: space-between; padding: 10px 12px; font-size: .74rem; font-weight: 600; color: var(--ink); background: #f3f3f3; }
.sc-serp { position: absolute; right: 5%; bottom: 9%; width: 62%; display: grid; gap: 4px; padding: 16px 18px; background: #fff; border-radius: 16px; color: var(--ink); font-size: .74rem; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); transform: rotate(2deg); transition: transform .8s var(--ease); }
.sc-serp small { color: #4b5563; }
.sc-serp b { color: #1a0dab; font-size: .92rem; font-weight: 500; line-height: 1.3; }
.sc-serp span { color: #4d5156; }
.svc-card:hover .sc-ad { transform: rotate(-5deg) translateY(-8px); }
.svc-card:hover .sc-serp { transform: rotate(0) translateY(-6px); }
.sc-brand { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.sc-brand .sc-logo { border-radius: 16px; padding: 14px; transition: transform .6s var(--ease); }
.svc-card:hover .sc-brand .sc-logo:nth-child(odd) { transform: translateY(-6px); }
.sc-phone--wa { background: #efe7dc; }
.sc-wa-head { background: #075e54; color: #fff; }
.sc-wa-head small { color: rgba(255, 255, 255, .75); }
.sc-wa-body { display: flex; flex-direction: column; gap: 8px; padding: 10px; font-size: .72rem; line-height: 1.35; color: #111; }
.msg { max-width: 82%; padding: 7px 9px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg.out { align-self: flex-end; background: #dcf8c6; display: grid; gap: 6px; }
.msg.out img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.msg.out small { justify-self: end; color: #34b7f1; font-size: .62rem; }
.sc-wa-btn { text-align: center; color: #00a884; font-weight: 600; border-top: 1px solid rgba(0, 0, 0, .08); padding-top: 6px; }
html.js .svc-card .msg { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
html.js .svc-card.is-near .msg { opacity: 1; transform: none; }
html.js .svc-card.is-near .msg:nth-child(2) { transition-delay: .6s; }
html.js .svc-card.is-near .msg:nth-child(3) { transition-delay: 1.4s; }

/* service page hero showcase */
.svc-hero-art { height: min(520px, 60vh); border-radius: 30px; background: var(--plum); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* industries with real imagery */
.ind-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.industries.is-pinned .ind-media { aspect-ratio: 16 / 9; }
.ind-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ind-media img.ind-shot { object-position: 50% 0; }
.ind-card:hover .ind-media img { transform: scale(1.06); }

/* text-only project covers (no screenshot available) */
.pc-type { display: grid; align-content: center; gap: 10px; height: 100%; padding: 0 6% 18%; }
.pc-type-name { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); }
.pc-type-sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(34, 28, 31, .6); }

/* "other services" cards without images */
.other { padding-top: 8px; }

@media (max-width: 900px) {
  .hero-visual { height: 420px; }
  .hero-wall { inset: -10% -40% -10% -20%; }
  .svc-card-art { height: 320px; max-width: none; }
  .svc-hero-art { height: 380px; }
}

/* =========================================================
   Theme: digital (dark, immersive). Overrides the editorial base.
   ========================================================= */
:root {
  --bg: #080b10; --bg-2: #0c1118; --bg-3: #101722;
  --text: #f4efe9; --muted: rgba(244, 239, 233, .64); --faint: rgba(244, 239, 233, .38);
  --stroke: rgba(255, 255, 255, .09); --panel: rgba(255, 255, 255, .035); --panel-2: rgba(255, 255, 255, .06);
  --violet: #4db8ff; --pink: #22c3bb; --amber: #ffb547;
  --grad: linear-gradient(100deg, #4db8ff 0%, #22c3bb 48%, #ffb547 100%);
  --display: "Syne", system-ui, sans-serif;
  --line: var(--stroke); --ink-soft: var(--muted); --ivory-2: rgba(255, 255, 255, .06); --paper: #0e141d;
}
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline-color: var(--pink); }
h1, h2, h3, .h-statement, .logo, .marquee-track span, .giant { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
h1 em, h2 em, h3 em, .h-mega em, .h-statement em { font-style: normal; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.h-hero { font-size: clamp(2.8rem, 6.6vw, 6.4rem); line-height: .98; }
.eyebrow { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--pink); flex: none; }
.lede, .section-head > p, .section-head > a { color: var(--muted); }
.small { color: var(--faint); }
p { color: inherit; }

/* ambient layers */
.fx-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(1200px 800px at 80% -10%, rgba(77, 184, 255, .14), transparent 60%), var(--bg); }
.aurora { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.aurora.a1 { background: #38a7f0; left: -20vmax; top: -18vmax; }
.aurora.a2 { background: #18b0a8; right: -24vmax; top: 10vmax; animation-duration: 32s; animation-delay: -8s; opacity: .22; }
.aurora.a3 { background: #ff9d2e; left: 20vmax; bottom: -32vmax; animation-duration: 38s; animation-delay: -16s; opacity: .14; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vmax, 6vmax) scale(1.15); } 100% { transform: translate(-6vmax, 10vmax) scale(.95); } }
.grain { position: fixed; inset: -50%; z-index: 200; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.spotlight { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(77, 184, 255, .12), transparent 60%); transition: opacity .4s; }
main, .site-footer { position: relative; z-index: 1; }
html.reduced .aurora, html.reduced .grain { animation: none; }

/* header + menus */
.site-header.is-scrolled { background: rgba(8, 11, 16, .72); box-shadow: 0 1px 0 var(--stroke); }
.nav > a, .nav-drop > button { color: var(--text); }
.mega { background: rgba(14, 20, 29, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--stroke); }
.mega li a:hover { background: var(--panel-2); }
.mega .txt small { color: var(--muted); }
.mega-cta { background: var(--grad); }
.burger { background: var(--panel); border-color: var(--stroke); }
.burger > span:not(.visually-hidden) { background: var(--text); }
.menu { background: var(--bg); }
.cursor span { background: #fff; mix-blend-mode: difference; }
.cursor.is-hover span { background: rgba(255, 255, 255, .9); }
.cursor.is-label span { background: var(--grad); color: #fff; mix-blend-mode: normal; }
.page-fade { background: var(--bg); }
.wa-float { background: rgba(14, 20, 29, .85); border: 1px solid var(--stroke); backdrop-filter: blur(10px); }
.progress span { background: var(--grad); box-shadow: 0 0 12px var(--pink); }

/* buttons */
.btn { background: var(--grad); background-size: 200% 100%; background-position: 0 0; border: 0; color: #fff; box-shadow: 0 10px 30px -12px rgba(34, 195, 187, .7); transition: background-position .6s var(--ease), box-shadow .4s, transform .3s; }
.btn::before { background: rgba(255, 255, 255, .14); }
.btn:hover { color: #fff; background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(34, 195, 187, .9); }
.btn--ghost, .btn--ghost-light { background: var(--panel); color: var(--text); border: 1px solid var(--stroke); box-shadow: none; }
.btn--ghost:hover, .btn--ghost-light:hover { border-color: rgba(255, 255, 255, .3); }
.btn--light { background: #fff; color: #080b10; box-shadow: 0 10px 30px -14px rgba(255, 255, 255, .5); }
.btn--light:hover { color: #080b10; }
.btn--light::before { background: rgba(77, 184, 255, .14); }
.icon-btn { border-color: var(--stroke); color: var(--text); }
.icon-btn:hover { background: #fff; color: #080b10; }
.link { color: var(--text); }
.chip { color: var(--text); border-color: var(--stroke); }
.chip[aria-pressed="true"] { background: #fff; color: #080b10; border-color: #fff; }

/* hero */
.hero::before { background: radial-gradient(circle, rgba(34, 195, 187, .18), transparent 65%); }
.hero-chip { background: rgba(14, 20, 29, .78); border: 1px solid var(--stroke); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-chip strong { font-family: var(--display); color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.wall-card { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }
.scroll-cue { color: var(--muted); }

/* section surfaces */
.services, .contact, .included { background: transparent; }
.industries { background: var(--bg-2); }
.process, .page-service .process { background: var(--bg-2); }
.why-svc { background: var(--bg-2); }
.maxxerp { background: linear-gradient(180deg, var(--bg-3), var(--bg)); }
.story { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.story-steps li { border-color: var(--stroke); }
.story-steps li.is-on { border-color: var(--pink); }
.story-steps .num { color: var(--pink); }
.story-steps p { color: var(--muted); }
.story-stage svg { filter: drop-shadow(0 40px 80px rgba(77, 184, 255, .25)); }
.work--portfolio { background: var(--bg-2); }
.work--portfolio::before { background: radial-gradient(circle at 50% 100%, var(--bg-2) 70%, transparent 71%) 0 0 / 56px 30px repeat-x; }
.band .marquee-track { -webkit-text-stroke-color: rgba(255, 255, 255, .28); }
.band i { color: var(--pink); text-shadow: 0 0 24px var(--pink); }
.marquee { border-color: var(--stroke); }

/* glass cards */
.ind-card, .plan, .contact-form, .table-wrap, .why-card, .inc-card, .other, .t-card, .svc-panel { background: var(--panel); border: 1px solid var(--stroke); color: var(--text); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ind-card { position: relative; }
.ind-body p, .why-card p, .inc-card p, .other-body span, .t-card figcaption small, .plan .small { color: var(--muted); }
.tags li, .pc-tags span, .project-tags span { border-color: var(--stroke); background: var(--panel-2); color: var(--muted); }
.plan:hover, .inc-card:hover, .other:hover, .ind-card:hover { border-color: rgba(255, 255, 255, .2); box-shadow: 0 30px 80px -40px rgba(77, 184, 255, .6); }
.plan--rec { background: linear-gradient(160deg, rgba(77, 184, 255, .35), rgba(34, 195, 187, .25)); border-color: rgba(255, 255, 255, .2); }
.badge { background: var(--grad); color: #fff; }
.ticks li::before { border-color: var(--pink); }
.inc-card:hover { background: linear-gradient(160deg, rgba(77, 184, 255, .3), rgba(34, 195, 187, .2)); color: var(--text); }
.why-card { border-top: 2px solid transparent; border-image: var(--grad) 1; border-radius: 0; }
.step-num { background: var(--bg-3); border-color: var(--stroke); color: var(--text); }
.step.is-on .step-num { background: var(--grad); color: #fff; box-shadow: 0 0 24px rgba(34, 195, 187, .6); }
.steps-line { background: var(--stroke); }
.steps-line span { background: var(--grad); box-shadow: 0 0 12px var(--pink); }
.step p, .process-head p, .faq-head p { color: var(--muted); }
.compare th, .compare td { border-color: var(--stroke); }
.compare .us { background: rgba(77, 184, 255, .1); }
.compare thead .us { color: #fff; }
.m-yes { color: #5ee6a0; } .m-var { color: var(--amber); } .m-no { color: #ff6b81; }
.t-quote { color: var(--pink); }
.t-card blockquote { color: var(--text); }
.avatar { background: var(--grad); }
.dots button { background: var(--stroke); }
.dots button[aria-current="true"]::after { background: var(--grad); }
.t-score strong, .stat strong, .erp-stats strong, .highlights strong, .svc-num { font-family: var(--display); color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.stat span, .highlights span, .t-score span { color: var(--muted); }
.cta-band { background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 40px 120px -50px rgba(34, 195, 187, .6); }
.cta-band::before { background: radial-gradient(circle, rgba(77, 184, 255, .5), transparent 65%); }
.cta-band .btn { background: var(--grad); color: #fff; }
.faq, .faq-item { border-color: var(--stroke); }
.faq-item button { color: var(--text); font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
.faq-a p { color: var(--muted); }
.plus { border-color: var(--stroke); }
.faq-item.is-open .plus { background: var(--grad); border-color: transparent; }
.checks li::before { color: #5ee6a0; }
.talk a { color: var(--text); }
.field { color: var(--muted); }
.field input, .field select, .field textarea { background: rgba(255, 255, 255, .04); border-color: var(--stroke); color: var(--text); }
.field select option { background: var(--bg-2); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(34, 195, 187, .15); }
.chip-opt span { background: rgba(255, 255, 255, .04); border-color: var(--stroke); color: var(--text); }
.chip-opt input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.note { color: var(--faint); }
.svc-card { border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, .9); }
.logo-tile { background: rgba(255, 255, 255, .94); border-color: transparent; }
.logo-tile--dark { background: #161e28; }
.pc-name { color: var(--text); }
.pc-btn { border-color: #fff; box-shadow: 0 5px 0 #fff; color: #080b10; }
.pc-link:hover .pc-btn { box-shadow: 0 2px 0 #fff; }
.h-mega { line-height: .95; }
.sticker { color: #080b10; }
.sticker svg { fill: var(--amber); filter: drop-shadow(0 0 30px rgba(255, 181, 71, .6)); }
.crumbs { color: var(--muted); }
.svc-hero-art { background: linear-gradient(160deg, #0f2a45, #0f3a44); }
.erp-logo { background: rgba(255, 255, 255, .04); }
.site-footer { background: #06080c; border-top: 1px solid var(--stroke); }
.footer-cta { border-color: var(--stroke); }
.copyright { color: var(--faint); }
.intro { background: var(--bg); }
.intro-word { font-family: var(--display); font-style: normal; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.intro-bar span { background: var(--grad); }
.page-hero--work .lede { color: var(--muted); }
.legend { color: var(--muted); }
.scramble { font-variant-numeric: tabular-nums; }

/* phone/tablet: restate after the later hero overrides */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 8px; }
  .hero-wall { inset: -6% -30% -6% -30%; }
  .hero-chip.c2 { display: none; }
}

/* =========================================================
   Performance pass: same look, cheaper paint
   ========================================================= */
/* background glow: pre-softened gradients, no blur filter, no blend mode, gentle compositor-only drift */
.aurora { filter: none; mix-blend-mode: normal; opacity: 1; will-change: transform; animation-duration: 40s; }
.aurora.a1 { background: radial-gradient(circle, rgba(56, 167, 240, .34), transparent 62%); }
.aurora.a2 { background: radial-gradient(circle, rgba(24, 176, 168, .24), transparent 62%); animation-duration: 48s; opacity: 1; }
.aurora.a3 { background: radial-gradient(circle, rgba(255, 157, 46, .16), transparent 62%); animation-duration: 56s; opacity: 1; }
/* grain: static, sits behind content instead of over everything */
.grain { inset: 0; z-index: 0; opacity: .05; animation: none; }
/* spotlight: one small element moved with transform instead of repainting the screen */
.spotlight { inset: auto; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; background: radial-gradient(circle, rgba(77, 184, 255, .13), transparent 60%); transform: translate3d(var(--sx, 50vw), var(--sy, 30vh), 0); will-change: transform; }
/* glass without live backdrop blur (the expensive part) */
.ind-card, .plan, .contact-form, .table-wrap, .why-card, .inc-card, .other, .t-card, .svc-panel, .hero-chip, .wa-float { backdrop-filter: none; -webkit-backdrop-filter: none; }
.ind-card, .plan, .contact-form, .table-wrap, .inc-card, .other, .t-card { background: rgba(17, 24, 33, .72); }
.hero-chip, .wa-float { background: rgba(17, 24, 33, .92); }
.site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 11, 16, .94); }
.mega { backdrop-filter: none; -webkit-backdrop-filter: none; background: #101722; }
/* hero wall: fade with overlays instead of a mask on moving content */
.hero-wall { mask-image: none; -webkit-mask-image: none; }
.hero-visual::after { content: ""; position: absolute; inset: -14% -30% -14% -6%; pointer-events: none; z-index: 2; background: radial-gradient(ellipse 72% 68% at 50% 50%, transparent 52%, var(--bg) 92%); }
.wall-plane { transition: none; will-change: transform; }
.wall-track { will-change: transform; }
.hero:not(.is-onscreen) .wall-track { animation-play-state: paused; }
.wall-card { box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8); }
/* story: no CSS filter on the animated SVG */
.story-stage svg { filter: none; box-shadow: 0 40px 100px -40px rgba(77, 184, 255, .35); }
/* services stack: transform-only */
.svc-card { will-change: transform, opacity; }
.svc-dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; border-radius: inherit; z-index: 3; will-change: opacity; }
/* fewer always-on animations */
.wa-float .dot { animation: none; }
.logo-tile { transition: transform .4s var(--ease); }

/* type-led hero (no image wall) */
.hero--type { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 100svh; padding-bottom: 120px; }
.hero--type .hero-copy { display: grid; justify-items: center; position: relative; z-index: 1; }
.hero--type .h-hero { font-size: clamp(3.2rem, 10.5vw, 10rem); line-height: .92; max-width: 12ch; margin-bottom: 1.6rem; }
.hero--type .rotator { display: block; padding-bottom: .12em; }
.hero--type .lede { max-width: 56ch; margin: 0 auto 2.2rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero--type .actions { justify-content: center; }
.hero--type .eyebrow { justify-content: center; }
.hero--type::before { width: min(1100px, 120vw); height: min(1100px, 120vw); left: 50%; top: 50%; right: auto; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(77, 184, 255, .22), rgba(34, 195, 187, .08) 40%, transparent 65%); animation: heroGlow 9s ease-in-out infinite; will-change: transform; }
@keyframes heroGlow { 50% { transform: translate(-50%, -50%) scale(1.12); } }
.hero--type .scroll-cue { left: 50%; transform: translateX(-50%); }
html.reduced .hero--type::before { animation: none; }
@media (max-width: 900px) { .hero--type { min-height: 92svh; } }

/* services stack, lean: sticky only, no per-frame transforms, no looping animations inside */
.svc-card { will-change: auto; box-shadow: none; transform: none !important; border: 1px solid rgba(255, 255, 255, .14); }
.svc-card::before { display: none; }
.svc-card-art, .sc-browser, .sc-phone, .sc-ad, .sc-serp, .wall-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.sc-heart, .sc-rec { animation: none; }
.sc-heart { box-shadow: none; }
.svc-card-art img, .sc img { content-visibility: auto; }
.svc-card:hover .sc-web .b1, .svc-card:hover .sc-web .b2, .svc-card:hover .sc-web .b3, .svc-card:hover .sc-phone, .svc-card:hover .sc-ad, .svc-card:hover .sc-serp, .svc-card:hover .sc-shoots img, .svc-card:hover .svc-card-art img { transform: none; }
.sc-web .b1 { transform: rotate(-6deg); } .sc-web .b2 { transform: rotate(5deg); } .sc-web .b3 { transform: rotate(-1deg); }
.sc-phone { transform: translate(-50%, -50%) rotate(-4deg) !important; }
.sc-ad { transform: rotate(-3deg) !important; } .sc-serp { transform: rotate(2deg) !important; }

/* =========================================================
   Theme: light digital (final layer)
   ========================================================= */
:root {
  --bg: #f5f8fb; --bg-2: #ebf1f6; --bg-3: #ffffff;
  --text: #15111b; --muted: rgba(21, 17, 27, .66); --faint: rgba(21, 17, 27, .44);
  --stroke: rgba(21, 17, 27, .1); --panel: #ffffff; --panel-2: rgba(21, 17, 27, .05);
  --paper: #ffffff; --line: var(--stroke); --ink-soft: var(--muted);
  --card-shadow: 0 1px 0 rgba(21, 17, 27, .04), 0 18px 40px -26px rgba(30, 60, 90, .35);
}
.fx-bg { background: radial-gradient(1200px 800px at 85% -10%, rgba(77, 184, 255, .12), transparent 60%), radial-gradient(900px 700px at -10% 30%, rgba(34, 195, 187, .08), transparent 60%), var(--bg); }
.aurora.a1 { background: radial-gradient(circle, rgba(77, 184, 255, .18), transparent 62%); }
.aurora.a2 { background: radial-gradient(circle, rgba(34, 195, 187, .14), transparent 62%); }
.aurora.a3 { background: radial-gradient(circle, rgba(255, 181, 71, .14), transparent 62%); }
.grain { opacity: .03; }
.spotlight { background: radial-gradient(circle, rgba(77, 184, 255, .09), transparent 60%); }

/* header, menus, cursor */
.site-header.is-scrolled { background: rgba(245, 248, 251, .94); box-shadow: 0 1px 0 var(--stroke); }
.mega { background: #fff; box-shadow: 0 30px 80px -30px rgba(30, 60, 90, .35); }
.burger { background: #fff; }
.wa-float { background: #15111b; color: #fff; border-color: transparent; }
.intro-sub { color: var(--muted); }
.intro-skip { color: var(--text); border-color: var(--stroke); }

/* buttons */
.btn--ghost, .btn--ghost-light { background: #fff; color: var(--text); border: 1px solid var(--stroke); }
.btn--light { background: #fff; color: var(--text); border: 1px solid var(--stroke); box-shadow: var(--card-shadow); }
.btn--light:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.icon-btn:hover { background: var(--text); color: #fff; }

/* cards */
.ind-card, .plan, .contact-form, .table-wrap, .why-card, .inc-card, .other, .t-card, .svc-panel { background: #fff; border-color: var(--stroke); box-shadow: var(--card-shadow); }
.plan:hover, .inc-card:hover, .other:hover, .ind-card:hover { border-color: rgba(77, 184, 255, .35); box-shadow: 0 30px 70px -36px rgba(77, 184, 255, .45); }
.plan--rec { background: linear-gradient(160deg, #e6f4ff, #e3f8f6); border-color: rgba(77, 184, 255, .35); }
.inc-card:hover { background: linear-gradient(160deg, #e6f4ff, #e3f8f6); }
.logo-tile { background: #fff; border: 1px solid var(--stroke); }
.logo-tile--dark { background: #15111b; }
.compare thead .us { color: var(--text); }
.compare .us { background: rgba(77, 184, 255, .07); }
.m-yes { color: #11a36b; } .m-var { color: #c98200; } .m-no { color: #d6455d; }
.field input, .field select, .field textarea { background: #fff; color: var(--text); }
.field select option { background: #fff; color: var(--text); }
.chip-opt span { background: #fff; color: var(--text); }
.step-num { background: #fff; }
.pc-btn { border-color: var(--text); box-shadow: 0 5px 0 var(--text); color: var(--text); }
.pc-link:hover .pc-btn { box-shadow: 0 2px 0 var(--text); }
.story-stage svg { box-shadow: 0 40px 100px -50px rgba(30, 60, 90, .4); }
.svc-card-art, .sc-browser, .sc-phone, .sc-ad, .sc-serp { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }

/* sections that stay dark for contrast */
.maxxerp { background: #0e141d; color: #f4efe9; }
.maxxerp p { color: rgba(244, 239, 233, .8); }
.cta-band { background: linear-gradient(#15111b, #15111b) padding-box, var(--grad) border-box; color: #f4efe9; }
.cta-band p, .cta-band .or { color: rgba(244, 239, 233, .75); }
.cta-band .btn--ghost { background: transparent; color: #f4efe9; border-color: rgba(255, 255, 255, .3); }
.site-footer { background: #0c1118; color: #f4efe9; border-top: 0; }
.site-footer .btn--ghost-light { background: transparent; color: #f4efe9; border-color: rgba(255, 255, 255, .3); }
.site-footer .eyebrow { color: rgba(244, 239, 233, .6); }
.footer-cta { border-color: rgba(255, 255, 255, .12); }
.copyright { color: rgba(244, 239, 233, .45); }

/* services: plain scrolling cards (no sticky stacking) */
.svc-card { position: relative; top: auto; min-height: 0; }
.svc-stack { gap: clamp(20px, 3vw, 36px); }

/* projects page: light theme */
.h-mega { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.pc-name, .pc-type-name { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
.pc-stage { border: 1px solid var(--stroke); box-shadow: var(--card-shadow); background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,0) 60%), var(--tone); transition: transform .5s var(--ease), box-shadow .5s; }
.pc-link:hover .pc-stage { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(77, 184, 255, .5); }
.pc-stage::after { background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .6), transparent 60%); }
.pc-logo { border: 1px solid var(--stroke); box-shadow: 0 6px 16px -10px rgba(30, 60, 90, .35); }
.pc-browser, .pc-art { box-shadow: 0 24px 50px -24px rgba(30, 60, 90, .45), 0 0 0 1px rgba(21, 17, 27, .06); }
.pc-btn { background: var(--grad); color: #fff; border: 2px solid var(--text); box-shadow: 0 5px 0 var(--text); }
.pc-link:hover .pc-btn { background: var(--grad); background-position: 100% 0; color: #fff; box-shadow: 0 2px 0 var(--text); }
.pc-type-sub { color: var(--muted); }
.pc-num { color: var(--faint); }
.field--inline select { background: #fff; }
.sticker { color: var(--text); }

/* service pages: light theme */
.svc-hero-art { background: linear-gradient(160deg, #e6f4ff, #e3f8f6); border: 1px solid var(--stroke); box-shadow: var(--card-shadow); }
.svc-hero-art .sc-browser, .svc-hero-art .sc-phone, .svc-hero-art .sc-ad, .svc-hero-art .sc-serp { box-shadow: 0 24px 50px -24px rgba(30, 60, 90, .45), 0 0 0 1px rgba(21, 17, 27, .06); }
.svc-hero-art .sc-logo { border: 1px solid var(--stroke); }
.svc-hero-art .sc-heart { box-shadow: 0 10px 24px -12px rgba(30, 60, 90, .4); }
.why-card { border: 1px solid var(--stroke); border-image: none; border-radius: 22px; position: relative; overflow: hidden; padding-top: 30px; }
.why-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.why-card h3 { font-family: var(--display); }
.other { position: relative; overflow: hidden; padding: 0; border-radius: 22px; }
.other::before { content: ""; display: block; height: 6px; background: var(--tone); }
.other-body { padding: 20px 20px 8px; }
.other-body strong { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; color: var(--text); }
.other > .arr { padding: 0 20px 18px; color: var(--faint); transition: transform .4s var(--ease), color .3s; }
.other:hover > .arr { transform: translateX(6px); color: var(--text); }
.inc-card h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.inc-card .num { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; font-weight: 700; }
.highlights { border-color: var(--stroke); }
.crumbs a { color: var(--text); }

/* =========================================================
   Gen Z layer: sketch-to-real hero, tapes, stickers, smooth scroll
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.hand { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; }

/* hero sketch */
.hero--sketch { position: relative; overflow: hidden; }
.hero--sketch::before { opacity: .55; }
.hero-sketch { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sk-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-ink { clip-path: circle(0px at -200px -200px); }
.pd { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .hero.is-live .pd { animation: pencilDraw 1.3s cubic-bezier(.6, .1, .3, 1) forwards; animation-delay: var(--d, 0s); }
html:not(.js) .pd, html.reduced .pd { stroke-dashoffset: 0; animation: none; }
@keyframes pencilDraw { to { stroke-dashoffset: 0; } }
.sk-lens { position: absolute; left: 0; top: 0; width: 340px; height: 340px; margin: -170px 0 0 -170px; transform: translate3d(-999px, -999px, 0) scale(0); will-change: transform; }
.sk-lens svg { width: 100%; height: 100%; overflow: visible; }
.sk-lens::after { content: "✎"; position: absolute; right: 8%; bottom: 6%; font-size: 22px; color: #4a3f48; transform: rotate(-10deg); }
.sk-hint { position: absolute; right: 9%; bottom: 13%; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 1rem; color: var(--muted); transform: rotate(-5deg); transition: opacity .5s; animation: hintBob 3s ease-in-out infinite; }
.sk-hint.is-gone { opacity: 0; }
@keyframes hintBob { 50% { transform: rotate(-5deg) translateY(-6px); } }
.hero--sketch .hero-copy { z-index: 2; }
.rot-wrap { position: relative; display: table; margin: 0 auto; }
.hero--type .rot-wrap .rotator { display: inline-block; }
.scribble { position: absolute; left: -7%; top: -8%; width: 114%; height: 122%; overflow: visible; pointer-events: none; }
.scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.scribble.draw path { animation: pencilDraw .9s cubic-bezier(.6, .1, .3, 1) .15s forwards; }
html.reduced .scribble path { stroke-dashoffset: 0; animation: none; }
.hero--type .actions { position: relative; }
.cta-note { position: absolute; right: calc(100% - 26px); top: -54px; width: 150px; pointer-events: none; display: grid; }
.cta-note svg { grid-area: 1 / 1; width: 120px; height: 70px; margin-left: 30px; overflow: visible; }
.cta-note svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .hero.is-live .cta-note svg path { animation: pencilDraw .8s cubic-bezier(.6, .1, .3, 1) 1.6s forwards; }
.cta-note .hand { grid-area: 1 / 1; align-self: start; font-size: 1.05rem; color: var(--text); transform: translate(-30px, -14px) rotate(-8deg); opacity: 0; transition: opacity .5s 1.5s; }
html.js .hero.is-live .cta-note .hand { opacity: 1; }
html.reduced .cta-note svg path { stroke-dashoffset: 0; }
@media (max-width: 900px) {
  .hero-sketch { opacity: .45; }
  .sk-hint, .cta-note { display: none; }
}

/* crossing tapes */
.tapes { position: relative; height: clamp(150px, 15vw, 220px); overflow: hidden; margin: -30px 0 10px; z-index: 2; }
.tape { position: absolute; left: -6%; right: -6%; top: 50%; padding: 14px 0; overflow: hidden; }
.tape--a { transform: translateY(-75%) rotate(-3deg); background: var(--grad); color: #fff; box-shadow: 0 18px 40px -20px rgba(34, 195, 187, .7); z-index: 2; }
.tape--b { transform: translateY(-10%) rotate(2.4deg); background: #15111b; color: #f4efe9; }
.tape .marquee-track { gap: 28px; }
.tape .marquee-track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2.3vw, 1.9rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.tape .marquee-track i { font-style: normal; color: inherit; opacity: .85; }
.tape--b .marquee-track i { color: #c6f432; }
html.reduced .tape .marquee-track, html:not(.js) .tape .marquee-track { flex-wrap: nowrap; }

/* stickers */
.section-head > div, .faq-head { position: relative; }
.sticker-tag { position: absolute; right: -10px; top: -20px; z-index: 3; display: inline-block; padding: .5em 1em; border-radius: 99px; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; color: #15111b; border: 2px solid #15111b; box-shadow: 0 4px 0 #15111b; transform: rotate(var(--rot)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.sticker-tag--amber { background: #ffb547; }
.sticker-tag--lime { background: #c6f432; }
.sticker-tag--pink { background: #8fe3dd; }
.sticker-tag--violet { background: #b3e0ff; }
.faq-head .sticker-tag { right: auto; left: 60%; top: -30px; }
html.js [data-reveal="pop"] { opacity: 0; transform: scale(.2) rotate(calc(var(--rot) - 40deg)); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; transition-delay: .45s; }
html.js [data-reveal="pop"].is-in { opacity: 1; transform: rotate(var(--rot)); }
.sticker-tag:hover { transform: rotate(calc(var(--rot) * -1)) scale(1.06) !important; }
@media (max-width: 900px) { .sticker-tag { right: 0; top: -30px; font-size: .74rem; } }

/* hero sketch: clean layout */
.hero--sketch .h-hero { font-size: clamp(2.8rem, 6.2vw, 6.6rem); line-height: .98; max-width: 11ch; }
.hero--sketch .hero-copy { max-width: min(860px, 56vw); }
.hero--sketch .rotator { line-height: 1.08; padding: 0 .06em .16em; margin-bottom: -.08em; }
.hero--sketch .scribble { left: 4%; top: auto; bottom: -.12em; width: 92%; height: .32em; }
.hero--sketch .scribble path { stroke-width: 4; }
.sk-pencil { opacity: .7; }
.sk-hint { right: 6%; bottom: 8%; font-size: .9rem; }
@media (max-width: 1100px) { .hero--sketch .hero-copy { max-width: 92vw; } .hero-sketch { opacity: .35; } .sk-hint { display: none; } }

/* =========================================================
   Edition layer: Shopify-Editions-style type, opener, index, chapters
   Fonts: Inter + Imperial Script (same as reference, OFL);
          Inter Tight stands in for PP Neue Montreal, Instrument Serif for HW Cigars (both licensed).
   ========================================================= */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-normal.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Imperial Script"; src: url("assets/fonts/imperial-script-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --display: "Inter Tight", "Inter", Helvetica, Arial, sans-serif;
  --accent-serif: "Instrument Serif", Georgia, serif;
  --script: "Imperial Script", cursive;
}
body { font-family: var(--sans); }
h1, h2, h3, .h-statement, .h-mega, .logo, .marquee-track span, .tape .marquee-track span, .faq-item button, .pc-name, .other-body strong, .inc-card h3, .why-card h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
h1 em, h2 em, h3 em, .h-mega em, .h-statement em { font-family: var(--accent-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; padding-right: .04em; }
.h-hero { letter-spacing: -.055em; }

/* ---------- opener ---------- */
.opener { position: relative; height: 200vh; background: transparent; }
.opener-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0b0a0d; color: #f4efe9; display: grid; place-items: center; will-change: clip-path; }
.opener-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.opener-lines path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pencilDraw 1.8s cubic-bezier(.6, .1, .3, 1) forwards; animation-delay: var(--d); }
html.reduced .opener-lines path { animation: none; stroke-dashoffset: 0; }
.opener-title { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; }
.ot-big { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 9vw, 8.5rem); line-height: .9; letter-spacing: -.06em; }
.ot-big i { font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: 0; font-size: 1.15em; line-height: .5; padding: 0 .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ot-small { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 239, 233, .6); }
.ot-cue { margin-top: 18px; animation: hintBob 2.4s ease-in-out infinite; }
html.js .opener-title > * { opacity: 0; transform: translateY(20px); animation: openerIn 1s cubic-bezier(.2, .7, .2, 1) forwards; }
html.js .opener-title > :nth-child(1) { animation-delay: .6s; }
html.js .opener-title > :nth-child(2) { animation-delay: .8s; }
html.js .opener-title > :nth-child(3) { animation-delay: 1.4s; }
@keyframes openerIn { to { opacity: 1; transform: none; } }
html.reduced .opener { height: 100vh; }
.page-home .site-header { transition: transform .5s var(--ease), background .4s, box-shadow .4s, color .3s; }
.page-home .site-header.on-dark:not(.is-scrolled) .nav > a, .page-home .site-header.on-dark:not(.is-scrolled) .nav-drop > button { color: #f4efe9; }
.page-home .site-header.on-dark:not(.is-scrolled) .logo img { filter: invert(1); }
.page-home .site-header.on-dark:not(.is-scrolled) .burger { background: transparent; border-color: rgba(255, 255, 255, .3); }
.page-home .site-header.on-dark:not(.is-scrolled) .burger > span:not(.visually-hidden) { background: #fff; }

/* ---------- chapter index ---------- */
.ch-index { position: fixed; left: 22px; bottom: 26px; z-index: 60; display: none; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: -.02em; line-height: 1.2; opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .5s var(--ease); }
.ch-index.is-on { opacity: 1; transform: none; }
.ch-index ol { display: grid; gap: 1px; }
.ch-index a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; width: 150px; text-decoration: none; color: var(--faint); transition: color .3s; }
.ch-index a::after { content: ""; grid-column: 2; grid-row: 1; height: 0; border-bottom: 1px dotted currentColor; opacity: 0; transition: opacity .3s; }
.ch-index a .rn { grid-column: 3; font-family: var(--accent-serif); font-weight: 400; font-size: .86rem; }
.ch-index a .lb { grid-column: 1; }
.ch-index a:hover { color: var(--text); }
.ch-index a.is-active { color: var(--text); }
.ch-index a.is-active::after { opacity: .6; }
.ch-index.on-dark a { color: rgba(244, 239, 233, .45); }
.ch-index.on-dark a.is-active, .ch-index.on-dark a:hover { color: #f4efe9; }
@media (min-width: 1500px) { .has-index .ch-index { display: block; } }

/* ---------- services as pinned chapters ---------- */
.chapters { position: relative; }
.ch-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: calc(var(--header-h) + 8px) var(--gutter) 24px; }
.ch-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.ch-head .h-lg { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.ch-rail { display: flex; gap: 6px; flex-wrap: wrap; }
.ch-rail li { position: relative; padding: 8px 12px 10px; font-size: .78rem; font-weight: 600; color: var(--faint); border-radius: 99px; transition: color .3s, background .3s; white-space: nowrap; }
.ch-rail li span { font-family: var(--accent-serif); font-weight: 400; margin-right: 6px; }
.ch-rail li.is-active { color: var(--text); background: #fff; box-shadow: var(--card-shadow); }
.ch-rail li.is-done { color: var(--muted); }
.ch-stage { position: relative; min-height: 0; }
.ch-scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3.4vw, 52px); border-radius: 32px; background: var(--tone); color: #f4efe9; overflow: hidden; clip-path: inset(100% 0 0 0 round 32px); transition: clip-path .95s cubic-bezier(.76, 0, .24, 1); }
.ch-scene.is-active, .ch-scene.is-done { clip-path: inset(0 0 0 0 round 32px); }
.ch-scene.is-done .ch-copy, .ch-scene.is-done .ch-art { transform: translateY(-4%) scale(.98); opacity: .5; }
.ch-copy, .ch-art { transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity .8s; }
.ch-num { display: block; font-family: var(--accent-serif); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: #ffcf7a; margin-bottom: 6px; }
.ch-title { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: .95; letter-spacing: -.05em; margin-bottom: 16px; color: #fff; }
.cw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.cw > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.25s + var(--k) * 70ms); }
.ch-scene.is-active .cw > span, .ch-scene.is-done .cw > span { transform: none; }
.ch-short { font-size: clamp(1rem, 1.3vw, 1.12rem); color: rgba(244, 239, 233, .82); max-width: 44ch; }
.ch-scene .svc-pills li { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(.45s + var(--p, 0) * 50ms); }
.ch-scene.is-active .svc-pills li, .ch-scene.is-done .svc-pills li { opacity: 1; transform: none; }
.ch-art { margin: 0; height: 100%; max-height: 520px; align-self: center; }
.ch-scene .msg { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.ch-scene.is-active .msg { opacity: 1; transform: none; }
.ch-scene.is-active .msg:nth-child(2) { transition-delay: .8s; }
.ch-scene.is-active .msg:nth-child(3) { transition-delay: 1.6s; }
.ch-scene .btn--light::before { background: #ffcf7a; }
@media (max-width: 900px), (max-height: 620px) {
  .chapters { height: auto !important; }
  .ch-sticky { position: relative; height: auto; padding-top: clamp(80px, 11vw, 160px); }
  .ch-stage { display: grid; gap: 20px; }
  .ch-scene { position: relative; inset: auto; clip-path: none; grid-template-columns: 1fr; }
  .ch-scene .cw > span, .ch-scene .svc-pills li, .ch-scene .msg { transform: none; opacity: 1; }
  .ch-rail { display: none; }
  .ch-art { height: 320px; order: -1; }
}
html.reduced .chapters { height: auto !important; }
html.reduced .ch-sticky { position: relative; height: auto; }
html.reduced .ch-stage { display: grid; gap: 20px; }
html.reduced .ch-scene { position: relative; clip-path: none; }

/* ---------- torn paper edge into dark sections ---------- */
.torn-top { position: relative; }
.torn-top::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px; background: var(--torn, #0e141d); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0,24 L0,14 L22,9 L40,15 L63,6 L88,12 L104,4 L131,13 L152,8 L176,16 L199,7 L221,12 L247,3 L268,11 L290,6 L318,15 L336,9 L362,13 L384,5 L409,12 L433,7 L455,16 L479,8 L502,13 L527,4 L549,11 L571,7 L597,15 L620,9 L643,12 L668,3 L690,10 L715,6 L737,14 L760,8 L784,12 L808,5 L831,13 L853,9 L879,16 L902,7 L925,12 L948,4 L972,11 L996,7 L1019,15 L1043,9 L1066,12 L1090,5 L1113,13 L1137,8 L1160,14 L1183,6 L1200,11 L1200,24 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0,24 L0,14 L22,9 L40,15 L63,6 L88,12 L104,4 L131,13 L152,8 L176,16 L199,7 L221,12 L247,3 L268,11 L290,6 L318,15 L336,9 L362,13 L384,5 L409,12 L433,7 L455,16 L479,8 L502,13 L527,4 L549,11 L571,7 L597,15 L620,9 L643,12 L668,3 L690,10 L715,6 L737,14 L760,8 L784,12 L808,5 L831,13 L853,9 L879,16 L902,7 L925,12 L948,4 L972,11 L996,7 L1019,15 L1043,9 L1066,12 L1090,5 L1113,13 L1137,8 L1160,14 L1183,6 L1200,11 L1200,24 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.site-footer.torn-top { --torn: #0c1118; }

/* index column + word clip room */
@media (min-width: 1500px) { .has-index main, .has-index .site-footer { padding-left: 190px; } .has-index .opener { margin-left: -190px; } }
.cw { padding-bottom: .14em; margin-bottom: -.1em; }
.ch-title { line-height: 1; }

/* no serif accents: highlighted words use the same bold sans */
:root { --accent-serif: var(--display); }
h1 em, h2 em, h3 em, .h-mega em, .h-statement em { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -.045em; padding-right: 0; }
.ch-num, .ch-rail li span, .ch-index a .rn { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }

/* phone mockups: upright, sized by height so they always fit their card */
.sc-phone { left: 50%; top: 50%; width: auto; height: 94%; max-height: 500px; aspect-ratio: 9 / 18.5; transform: translate(-50%, -50%) !important; border-width: 7px; border-radius: 30px; }
.svc-card:hover .sc-phone, .ch-scene:hover .sc-phone { transform: translate(-50%, -50%) !important; }

/* WhatsApp, closer to the real app */
.sc-phone--wa { background: #efeae2; display: flex; flex-direction: column; }
.wa-status { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 2px; background: #008069; color: #fff; font-size: .62rem; }
.wa-status i { width: 22px; height: 8px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .8); }
.sc-wa-head { background: #008069; color: #fff; padding: 6px 10px 10px; gap: 6px; }
.sc-wa-head b { font-size: .78rem; }
.wa-back { font-size: 1.3rem; line-height: 1; margin-right: 2px; opacity: .9; }
.sc-wa-head .sc-logo { width: 30px; height: 30px; padding: 3px; border: 0; }
.sc-wa-body { flex: 1; overflow: hidden; gap: 6px; padding: 8px 9px; background-color: #efeae2; background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1.5px); background-size: 14px 14px; font-size: .7rem; }
.wa-day { align-self: center; font-size: .6rem; color: #54656f; background: #fff; padding: 2px 8px; border-radius: 6px; box-shadow: 0 1px .5px rgba(0, 0, 0, .1); }
.msg { position: relative; max-width: 84%; padding: 6px 8px 14px; border-radius: 8px; line-height: 1.32; color: #111b21; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.msg > small { position: absolute; right: 7px; bottom: 3px; font-size: .55rem; color: #667781; }
.msg.in { border-top-left-radius: 0; }
.msg.out { background: #d9fdd3; border-top-right-radius: 0; padding: 4px 4px 16px; gap: 5px; }
.msg.out > span:not(.sc-wa-btn) { padding: 0 4px; }
.msg.out img { aspect-ratio: 16 / 9; border-radius: 6px; display: block; }
.msg.out em { font-style: normal; color: #53bdeb; }
.sc-wa-btn { margin: 0 -4px; padding: 6px 0 0; color: #008069; font-weight: 600; border-top: 1px solid rgba(0, 0, 0, .08); text-align: center; }
.wa-input { display: flex; align-items: center; gap: 6px; padding: 6px 8px 9px; background: #efeae2; }
.wa-input span { flex: 1; background: #fff; border-radius: 99px; padding: 6px 10px; font-size: .66rem; color: #8696a0; }
.wa-input i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: #00a884; display: grid; place-items: center; font-size: .7rem; }

/* =========================================================
   Creative layer: doodles, rolling hovers, bento, notes, chat FAQ,
   pick note, paper plane, spinning badge
   ========================================================= */

/* 1. doodle underlines under highlighted words */
h2 em { position: relative; display: inline-block; }
.doodle { position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .3em; overflow: visible; pointer-events: none; }
.doodle path { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.doodle--amber path { stroke: #ffb547; }
.doodle--pink path { stroke: #22c3bb; }
.doodle--violet path { stroke: #4db8ff; }
.is-in .doodle path, html.reduced .doodle path { animation: pencilDraw .9s cubic-bezier(.6, .1, .3, 1) .55s forwards; }
html.reduced .doodle path { animation: none; stroke-dashoffset: 0; }

/* 2. rolling text on hover */
.roll { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: 1.3; height: 1.3em; }
.roll > span { display: inline-block; text-shadow: 0 1.3em currentColor; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a:hover > .roll > span, button:hover > .roll > span, a:focus-visible > .roll > span { transform: translateY(-1.3em); }
.nav > a::after, .nav-drop > button::after { display: none; }

/* 3. bento numbers */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.bento-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--stroke); border-radius: 22px; box-shadow: var(--card-shadow); min-height: 116px; }
.bento-card strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.05em; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.bento-card span { font-size: .82rem; color: var(--muted); }
.b-ring svg { width: 74px; height: 74px; flex: none; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e8f3fb; stroke-width: 12; }
.ring-fg { fill: none; stroke: #4db8ff; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1) .3s; }
.bento.is-in .ring-fg, html.reduced .ring-fg { stroke-dashoffset: 4; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; width: 74px; height: 64px; flex: none; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #22c3bb, #4db8ff); transform-origin: bottom; transform: scaleY(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.3s + var(--k) * 90ms); }
.bento.is-in .mini-bars i, html.reduced .mini-bars i { transform: none; }
.year-dots { display: grid; grid-template-columns: repeat(5, 12px); gap: 5px; width: 74px; flex: none; }
.year-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ffb547; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(.3s + var(--k) * 120ms); }
.year-dots i.next { background: transparent; border: 2px dashed #ffb547; }
.bento.is-in .year-dots i, html.reduced .year-dots i { transform: none; }
.b-clock svg { width: 64px; height: 64px; flex: none; }
.b-clock circle:first-child { fill: #f1f8ff; stroke: #15111b; stroke-width: 2; }
.b-clock line { stroke: #15111b; stroke-width: 3; stroke-linecap: round; transform-origin: 30px 30px; }
.b-clock .h-min { stroke: #22c3bb; animation: spin 6s linear infinite; }
.b-clock .h-hour { animation: spin 72s linear infinite; }
.b-clock .h-pin { fill: #15111b; }
@keyframes spin { to { transform: rotate(360deg); } }
html.reduced .b-clock line { animation: none; }

/* 4. testimonials as sticky notes */
.t-card { background: #fff6cf; border: 0; border-radius: 6px 6px 18px 6px; box-shadow: 0 22px 40px -26px rgba(60, 40, 10, .45), 0 2px 0 rgba(0, 0, 0, .04); }
.t-card:nth-child(2) { background: #ffe1ec; }
.t-card:nth-child(3) { background: #e3f4e7; }
.t-card:nth-child(4) { background: #e6e4ff; }
.t-card::before { content: ""; position: absolute; left: 50%; top: -14px; width: 110px; height: 28px; margin-left: -55px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .05); transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .05); }
.t-card[data-pos="0"] { transform: translateX(-50%) rotate(-1.2deg); }
.t-card[data-pos="-1"] { transform: translateX(-128%) scale(.86) rotate(-5deg); }
.t-card[data-pos="1"] { transform: translateX(28%) scale(.86) rotate(4deg); }
.t-card blockquote { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
.t-quote { color: #22c3bb; }

/* 5. FAQ as a chat */
.faq-a p { position: relative; margin: 0 0 20px 2.6em; padding: 12px 16px; max-width: 56ch; background: var(--grad); color: #fff; border-radius: 18px 18px 18px 4px; box-shadow: 0 14px 30px -20px rgba(77, 184, 255, .8); }
.faq-a > div { position: relative; }
.faq-item.is-open .faq-a p { animation: bubbleIn .5s cubic-bezier(.3, 1.4, .5, 1) .55s both; }
.faq-item.is-open .faq-a > div::before { content: ""; position: absolute; left: 2.6em; top: 0; width: 54px; height: 30px; border-radius: 16px; background: #fff radial-gradient(circle, #4db8ff 3px, transparent 3.5px) 10px 50% / 14px 100% repeat-x; box-shadow: var(--card-shadow); animation: typing .55s steps(1) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(.94); transform-origin: 0 0; } to { opacity: 1; transform: none; } }
@keyframes typing { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
html.reduced .faq-item.is-open .faq-a > div::before { display: none; }

/* 6. "our pick" note */
.plan--rec { position: relative; overflow: visible; }
.pick-note { position: absolute; right: -18px; top: -56px; display: grid; justify-items: start; pointer-events: none; }
.pick-note .hand { font-size: 1.05rem; color: var(--text); transform: rotate(-6deg) translate(-40px, 0); }
.pick-note svg { width: 80px; height: 50px; margin-top: -6px; transform: scaleX(-1) rotate(-10deg); overflow: visible; }
.pick-note path { fill: none; stroke: #15111b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.plan-grid.is-in .pick-note path { animation: pencilDraw .8s cubic-bezier(.6, .1, .3, 1) .9s forwards; }
html.reduced .pick-note path { stroke-dashoffset: 0; }

/* 7. paper plane on send */
.contact-form .btn--block { overflow: visible; }
.plane { position: absolute; right: 22px; top: 50%; font-size: 1.1rem; opacity: 0; pointer-events: none; }
.btn.is-sent .plane { animation: planeFly 1.4s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes planeFly { 0% { opacity: 1; transform: translate(0, -50%) rotate(0); } 30% { transform: translate(-30px, -10%) rotate(-12deg); } 100% { opacity: 0; transform: translate(260px, -340%) rotate(18deg) scale(.6); } }

/* 8. spinning badge */
.footer-cta { position: relative; }
.spin-badge { position: absolute; right: 0; top: 50%; width: clamp(110px, 12vw, 160px); aspect-ratio: 1; margin-top: -60px; display: grid; place-items: center; color: #f4efe9; text-decoration: none; }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin-badge text { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; fill: currentColor; }
.spin-badge > span { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 1.5rem; transition: transform .5s var(--ease); }
.spin-badge:hover > span { transform: rotate(45deg) scale(1.08); }
html.reduced .spin-badge svg { animation: none; }
@media (max-width: 900px) { .spin-badge { display: none; } .bento { grid-template-columns: 1fr; } .pick-note { display: none; } }

h2:not([data-split]) .doodle path { animation: pencilDraw .9s cubic-bezier(.6, .1, .3, 1) .8s forwards; }

/* =========================================================
   Opener v2: letter rise, shimmer script, orbs, floating work collage
   ========================================================= */
.ot-big { display: grid; justify-items: center; letter-spacing: -.035em; line-height: .95; font-size: clamp(3.4rem, 8.6vw, 8.2rem); }
.ot-line { display: block; white-space: nowrap; }
.ol { display: inline-block; }
html.js .ot-big .ol { opacity: 0; transform: translateY(60%) rotate(8deg); animation: letterUp .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.7s + var(--i) * 45ms); }
@keyframes letterUp { to { opacity: 1; transform: none; } }
html.js .opener-title > :nth-child(2) { opacity: 1; transform: none; animation: none; }
.ot-big i { display: inline-block; font-size: 1.1em; line-height: .6; padding: 0 .06em 0 .02em; background: linear-gradient(100deg, #4db8ff, #22c3bb, #ffb547, #22c3bb, #4db8ff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite, letterUp .9s cubic-bezier(.2, .8, .2, 1) 1.05s both; opacity: 0; }
@keyframes shimmer { to { background-position: 300% 0; } }
.opener-orbs { position: absolute; inset: 0; pointer-events: none; }
.opener-orbs span { position: absolute; left: 50%; top: 50%; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(77, 184, 255, .38), transparent 60%); animation: orbit 18s linear infinite; will-change: transform; }
.opener-orbs span + span { background: radial-gradient(circle at 70% 70%, rgba(34, 195, 187, .3), transparent 60%); animation-duration: 24s; animation-direction: reverse; }
@keyframes orbit { from { transform: rotate(0) translateX(8vmax) rotate(0); } to { transform: rotate(360deg) translateX(8vmax) rotate(-360deg); } }
.opener-collage { position: absolute; inset: 0; pointer-events: none; }
.oc { position: absolute; margin: 0; transform: translate3d(calc(var(--mx, 0) * var(--z) * 14px), calc(var(--my, 0) * var(--z) * 14px), 0) rotate(var(--r)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.oc > * { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--t) * -1.1s); }
@keyframes bob { 50% { translate: 0 -10px; } }
html.js .oc { opacity: 0; scale: .6; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .7s, scale .9s cubic-bezier(.3, 1.5, .5, 1); transition-delay: 0s, calc(1.3s + var(--t) * .12s), calc(1.3s + var(--t) * .12s); }
html.js .opener.is-live .oc { opacity: 1; scale: 1; }
.oc-1 { left: 7%; top: 20%; width: clamp(180px, 19vw, 300px); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.oc-1 img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 0; }
.oc-bar { display: flex; gap: 4px; padding: 7px 9px; background: #f1ece6; }
.oc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9a8a0; }
.oc-bar i:nth-child(2) { background: #e3a321; } .oc-bar i:nth-child(3) { background: #9fb096; }
.oc-polaroid { padding: 8px 8px 30px; background: #fff; border-radius: 4px; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .75); }
.oc-polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.oc-polaroid figcaption { position: absolute; left: 10px; bottom: 7px; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: .72rem; color: #3a2f35; }
.oc-2 { left: 14%; bottom: 10%; width: clamp(120px, 11vw, 170px); }
.oc-3 { right: 9%; top: 16%; width: clamp(130px, 12vw, 190px); }
.oc-5 { right: 15%; bottom: 12%; width: clamp(110px, 10vw, 160px); }
.oc-chip { padding: 10px 16px; border-radius: 99px; background: #dcf8c6; color: #075e54; font-size: .82rem; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); }
.oc-chip b { color: #25d366; margin-right: 4px; }
.oc-4 { right: 6%; top: 52%; }
.oc-6 { left: 6%; top: 60%; }
.oc-chip--light { background: #fff; color: #15111b; }
html.reduced .oc, html.reduced .ot-big .ol, html.reduced .ot-big i { opacity: 1; scale: 1; animation: none; transform: rotate(var(--r, 0)); }
@media (max-width: 900px) { .oc-1, .oc-4, .oc-6 { display: none; } .oc-2 { left: 4%; bottom: 6%; } .oc-3 { right: 4%; top: 12%; } .oc-5 { right: 6%; bottom: 8%; } }

/* story v2 */
.story [data-fx="slam"] { transform-box: fill-box; transform-origin: center; }
.story-steps h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.story-steps .num { font-weight: 700; }

/* punchline opener: longer lines, so a touch smaller */
.ot-big--punch { font-size: clamp(2.6rem, 7vw, 7rem); }
.ot-big--punch i { font-size: 1.2em; }
.ot-cue { color: rgba(244, 239, 233, .85); letter-spacing: .3em; }

/* opener spotlight: the secret sits in the dark until you shine a light on it */
@property --sr { syntax: "<length>"; inherits: true; initial-value: 0px; }
.spot-wrap { position: relative; display: grid; --sx: 50%; --sy: 50%; }
.spot-wrap > .ot-big { grid-area: 1 / 1; }
.ot-dim { color: #2b2632; }
.ot-dim i { background: none; color: #332c3b; -webkit-text-fill-color: #332c3b; animation: letterUp .9s cubic-bezier(.2, .8, .2, 1) 1.05s both; }
.ot-lit { -webkit-mask-image: radial-gradient(circle var(--sr) at var(--sx) var(--sy), #000 55%, transparent 100%); mask-image: radial-gradient(circle var(--sr) at var(--sx) var(--sy), #000 55%, transparent 100%); }
.spot-glow { position: absolute; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 207, 122, .16), rgba(34, 195, 187, .06) 40%, transparent 65%); transform: translate3d(50vw, 50vh, 0); pointer-events: none; will-change: transform; }
.ot-reveal { font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.5rem); letter-spacing: -.02em; color: rgba(244, 239, 233, .9); opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ot-reveal b { color: #ffcf7a; font-weight: 700; }
.ot-reveal.is-on { opacity: 1; transform: none; }
html.reduced .ot-lit, html:not(.js) .ot-lit { -webkit-mask-image: none; mask-image: none; }
html.reduced .ot-reveal { opacity: 1; transform: none; }

/* spotlight: darker room, warmer light */
.opener .opener-orbs { opacity: .4; }
.ot-dim { color: #1d1922; }
.ot-dim i { color: #241f29; -webkit-text-fill-color: #241f29; }
.ot-lit { text-shadow: 0 0 40px rgba(255, 207, 122, .35); }
.opener-lines path { stroke: rgba(255, 255, 255, .14); }

html.js .opener-title > .ot-reveal { animation: none; opacity: 0; transform: translateY(14px); }
html.js .opener-title > .ot-reveal.is-on { opacity: 1; transform: none; }
html.js .opener-title > :nth-child(4) { animation-delay: 2s; }
html.reduced .opener-title > .ot-reveal { opacity: 1; transform: none; }

/* =========================================================
   Projects page: single tape, view toggle, list view, floating preview
   ========================================================= */
.tapes--single { height: clamp(90px, 9vw, 130px); margin: 0 0 -10px; }
.tapes--single .tape--a { transform: translateY(-50%) rotate(-2deg); }
.h-mega em { display: inline-block; position: relative; }

.view-toggle { display: inline-flex; padding: 4px; border-radius: 99px; background: #fff; border: 1px solid var(--stroke); box-shadow: var(--card-shadow); }
.view-toggle button { border: 0; background: none; padding: .55em 1.1em; border-radius: 99px; font-size: .84rem; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.view-toggle button[aria-pressed="true"] { background: var(--text); color: #fff; }

.plist { counter-reset: none; border-top: 1px solid var(--stroke); }
.plist[hidden], .pgrid[hidden] { display: none; }
.prow[hidden] { display: none; }
.prow a { position: relative; display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto 3em; align-items: center; gap: 18px; padding: clamp(14px, 2vw, 24px) 6px; border-bottom: 1px solid var(--stroke); text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate; }
.prow a::before { content: ""; position: absolute; inset: 0; background: var(--tone); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.prow-num { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--faint); }
.prow-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: -.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .5s cubic-bezier(.2, .7, .2, 1), color .3s; }
.prow-meta { font-size: .78rem; line-height: 1.4; text-align: right; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.prow-go { justify-self: end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stroke); font-size: 1.1rem; transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .3s, color .3s; }
.prow a:hover::before, .prow a:focus-visible::before { transform: scaleY(1); }
.prow a:hover .prow-name, .prow a:focus-visible .prow-name { transform: translateX(18px); }
.prow a:hover .prow-go { transform: rotate(45deg); background: var(--text); color: #fff; border-color: var(--text); }
.plist:hover .prow a:not(:hover) .prow-name { color: rgba(21, 17, 27, .28); }

.pfloat { position: fixed; left: 0; top: 0; z-index: 70; width: clamp(240px, 24vw, 380px); margin: -150px 0 0 40px; pointer-events: none; opacity: 0; scale: .7; transition: opacity .35s, scale .45s cubic-bezier(.3, 1.5, .5, 1); will-change: transform; }
.pfloat.is-on { opacity: 1; scale: 1; }
.pfloat img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(21, 17, 27, .6), 0 0 0 6px #fff; }
.pfloat-label { position: absolute; left: 14px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: #fff; font-size: .78rem; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.pfloat.is-text img { display: none; }
.pfloat.is-text { aspect-ratio: 4 / 3; border-radius: 18px; background: var(--tone); box-shadow: 0 40px 80px -30px rgba(21, 17, 27, .6), 0 0 0 6px #fff; }
.pfloat.is-text .pfloat-label { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); font-family: var(--display); font-size: 1.3rem; background: none; box-shadow: none; text-align: center; }
@media (max-width: 900px) {
  .prow a { grid-template-columns: 2.4em minmax(0, 1fr) 2.6em; }
  .prow-meta { display: none; }
  .prow-name { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .pfloat { display: none; }
}

.pfloat { margin: -140px 0 0 0; }

/* opener: problem, then the answer */
.opener { height: 280vh; }
.opener-title { display: grid; }
.ot-beat { grid-area: 1 / 1; display: grid; justify-items: center; gap: 14px; text-align: center; transition: opacity .7s, transform .9s cubic-bezier(.2, .7, .2, 1), filter .7s; }
.ot-answer { opacity: 0; transform: translateY(40px) scale(.96); pointer-events: none; }
.opener.is-answer .ot-problem { opacity: 0; transform: translateY(-40px) scale(.98); filter: blur(6px); pointer-events: none; }
.opener.is-answer .ot-answer { opacity: 1; transform: none; pointer-events: auto; }
.ot-logo { width: clamp(260px, 34vw, 520px); height: auto; filter: drop-shadow(0 0 40px rgba(255, 207, 122, .35)); transform: scale(.85); transition: transform 1.2s cubic-bezier(.3, 1.4, .5, 1) .1s; }
.opener.is-answer .ot-logo { transform: none; }
.ot-answer .ot-reveal { font-size: clamp(1.2rem, 2.4vw, 2rem); opacity: 1; transform: none; }
html.js .opener-title > .ot-beat { opacity: 1; transform: none; animation: none; }
html.js .opener-title > .ot-answer { opacity: 0; }
html.js .opener.is-answer .opener-title > .ot-answer { opacity: 1; }
html.js .ot-problem > .ot-small:first-child { opacity: 0; animation: openerIn 1s cubic-bezier(.2, .7, .2, 1) .5s forwards; }
html.js .ot-problem > .ot-cue { opacity: 0; animation: openerIn 1s cubic-bezier(.2, .7, .2, 1) 2.2s forwards, hintBob 2.4s ease-in-out 3.2s infinite; }
html.reduced .ot-answer { opacity: 1; transform: none; position: relative; grid-area: auto; margin-top: 40px; }
html.reduced .opener-title { display: block; }

/* compact project cards */
.pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px) clamp(14px, 1.8vw, 24px); }
.pc-stage { aspect-ratio: 4 / 3; padding: 58px 8% 0; border-radius: 24px; }
.pc-logo { height: 38px; top: 12px; left: 12px; padding: 4px 10px; border-radius: 12px; }
.pc-logo img { max-height: 28px; max-width: 110px; }
.pc-num { top: 16px; right: 16px; }
.pc-name { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.pc-btn { padding: .55em 1.1em; font-size: .82rem; }
.pc-type-name { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }

/* inner pages */
.page-hero--simple { text-align: left; }
.page-hero--simple .h-hero { font-size: clamp(2.8rem, 7vw, 6.4rem); max-width: 14ch; margin: 0 0 1.2rem; }
.page-hero--simple .lede { max-width: 52ch; }
.mega-all { display: block; margin-top: 10px; padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 600; background: var(--panel-2); }
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 34px 26px; }
.note-card { position: relative; margin: 0; padding: 34px 28px 26px; background: #fff6cf; border-radius: 6px 6px 18px 6px; box-shadow: 0 22px 40px -26px rgba(60, 40, 10, .45); transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.note-card:nth-child(2) { background: #ffe1ec; transform: rotate(1.2deg); }
.note-card:nth-child(3) { background: #e3f4e7; transform: rotate(-.8deg); }
.note-card:nth-child(4) { background: #e6e4ff; transform: rotate(1.6deg); }
.note-card:hover { transform: rotate(0) translateY(-6px); }
.note-card::before { content: ""; position: absolute; left: 50%; top: -14px; width: 110px; height: 28px; margin-left: -55px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .05); transform: rotate(-3deg); }
.note-card blockquote { margin: 0 0 20px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.45; letter-spacing: -.02em; }
.note-card figcaption { display: flex; align-items: center; gap: 12px; }
.note-card figcaption strong { display: block; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.note-card figcaption small { color: var(--muted); font-size: .82rem; }
.office-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: #fff; border: 1px solid var(--stroke); box-shadow: var(--card-shadow); }
.office-card p { color: var(--muted); margin: 14px 0 22px; }
.office-lines { display: grid; gap: 10px; align-content: center; }
.office-lines a { display: grid; gap: 2px; padding: 16px 20px; border-radius: 18px; background: var(--bg-2); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; transition: transform .4s var(--ease), background .3s; }
.office-lines a span { font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.office-lines a:hover { transform: translateX(6px); background: #e6f4ff; }
@media (max-width: 900px) { .office-card { grid-template-columns: 1fr; } }

/* no serif anywhere: old serif slots use the headline font */
:root { --serif: var(--display); }
.talk a { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }

html.js .opener.is-answer .opener-title > .ot-problem { opacity: 0; transform: translateY(-40px) scale(.98); filter: blur(6px); pointer-events: none; }

/* opener: serious, conventional hero */
.opener { height: 200vh; }
.opener .opener-orbs { opacity: .55; }
.opener-title--serious { display: grid; justify-items: center; gap: 22px; max-width: 1100px; padding: 0 var(--gutter); text-align: center; }
.opener-title--serious > * { opacity: 0; transform: translateY(24px); animation: openerIn .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.opener-title--serious > :nth-child(1) { animation-delay: .3s; }
.opener-title--serious > :nth-child(2) { animation-delay: .45s; }
.opener-title--serious > :nth-child(3) { animation-delay: .65s; }
.opener-title--serious > :nth-child(4) { animation-delay: .8s; }
.opener-title--serious > :nth-child(5) { animation-delay: 1s; }
html.reduced .opener-title--serious > * { opacity: 1; transform: none; animation: none; }
.ot-kicker { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 239, 233, .62); }
.ot-head { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; color: #f4efe9; max-width: 18ch; }
.ot-head em { font-style: normal; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.ot-sub { margin: 0; max-width: 54ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(244, 239, 233, .76); }
.ot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.ot-trust { display: grid; justify-items: center; gap: 12px; margin-top: 18px; }
.ot-trust > span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 239, 233, .5); }
.ot-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ot-logo-chip { display: flex; align-items: center; justify-content: center; width: 112px; height: 52px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .94); }
.ot-logo-chip img { max-width: 100%; max-height: 34px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 700px) { .ot-logo-chip { width: 92px; height: 44px; } .ot-logos .ot-logo-chip:nth-child(n+5) { display: none; } }

/* opener scrolls normally */
.opener { height: auto; }
.opener-sticky { position: relative; height: 100vh; min-height: 680px; clip-path: none !important; opacity: 1 !important; }

/* =========================================================
   Loading screen + device performance
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: #0b0a0d; color: #f4efe9; clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1); animation: loaderSafety 0s 4s forwards; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
html.loaded-seen .loader, html.reduced .loader, html:not(.js) .loader { display: none; }
@keyframes loaderSafety { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-logo-wrap { display: block; overflow: hidden; padding: 6px 0; }
.loader-logo { display: block; width: clamp(200px, 26vw, 340px); height: auto; transform: translateY(110%); animation: loaderUp .9s cubic-bezier(.2, .8, .2, 1) .1s forwards; }
.loader-bar { position: relative; display: block; width: clamp(160px, 20vw, 260px); height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.loader-bar span { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); animation: loaderBar 1.15s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
.loader-tag { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 239, 233, .55); opacity: 0; animation: openerIn .8s cubic-bezier(.2, .7, .2, 1) .55s forwards; }
@keyframes loaderUp { to { transform: none; } }
@keyframes loaderBar { to { transform: scaleX(1); } }
html.is-loading { overflow: hidden; }
html.is-loading .opener-title--serious > *, html.is-loading .opener-lines path { animation-play-state: paused; }

/* phones and tablets: keep it light */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .aurora, .opener-orbs span, .hero--type::before { animation: none; }
  .grain, .spotlight, .cursor { display: none; }
}

/* QA fixes: no sideways overflow on any device */
.ch-head .sticker-tag { position: static; display: inline-block; margin: 8px 0 0; }
.filters .field--inline { min-width: 0; max-width: 100%; }
.field--inline select { min-width: 0; max-width: 100%; }
@media (max-width: 420px) { .field--inline { grid-auto-flow: row; width: 100%; } .field--inline select { width: 100%; } }
.svc-hero > * { min-width: 0; }
.h-hero, .h-mega, .ot-head { overflow-wrap: break-word; }
@media (max-width: 340px) { .h-hero { font-size: 2.3rem; } .h-mega { font-size: 2.6rem; } .ot-head { font-size: 2.1rem; } .btn { white-space: normal; } }

/* growth scene tap game */
.story-stage svg { cursor: default; }
.story-stage svg [data-tap-layer] g, .story-stage svg [data-tap-layer] circle, .tap-toast, .tap-finale, [clip-path="url(#storyWipe)"] { transform-box: view-box; transform-origin: 600px 360px; }
.tap-toast { transform-origin: 1010px 468px; }
.tap-finale { transform-origin: 600px 360px; pointer-events: none; }
.tap-hint { pointer-events: none; }

@media (max-width: 340px) { .highlights { grid-template-columns: 1fr; } }

/* =========================================================
   Phones & tablets: the full experience, adapted to touch
   ========================================================= */
/* motion back on (transform-only layers) */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .aurora { animation: drift 40s ease-in-out infinite alternate; }
  .opener-orbs span { animation: orbit 22s linear infinite; }
  .hero--type::before { animation: heroGlow 9s ease-in-out infinite; }
}
html.reduced .aurora, html.reduced .opener-orbs span, html.reduced .hero--type::before { animation: none; }

/* hero sketch at full strength on small screens */
@media (max-width: 1100px) { .hero-sketch { opacity: .85; } }
@media (max-width: 700px) { .hero-sketch { opacity: .7; } }

/* services: pinned chapters on phones and tablets */
@media (max-width: 900px) and (min-height: 521px) {
  .chapters { height: auto; }
  .ch-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--header-h) + 4px) 14px 14px; gap: 10px; }
  .ch-head { flex-wrap: nowrap; }
  .ch-head .h-lg { font-size: clamp(1.6rem, 6.4vw, 2.4rem); }
  .ch-head .eyebrow, .ch-head .sticker-tag { display: none; }
  .ch-rail { display: flex; flex-wrap: nowrap; gap: 4px; overflow: hidden; }
  .ch-rail li { padding: 0; width: 22px; height: 4px; border-radius: 2px; background: var(--stroke); font-size: 0; }
  .ch-rail li span { display: none; }
  .ch-rail li.is-active { background: var(--text); box-shadow: none; width: 34px; }
  .ch-rail li.is-done { background: var(--muted); }
  .ch-stage { display: block; }
  .ch-scene { position: absolute; inset: 0; clip-path: inset(100% 0 0 0 round 24px); grid-template-columns: 1fr; grid-template-rows: minmax(0, 42%) auto; align-content: start; gap: 14px; padding: 16px; border-radius: 24px; }
  .ch-scene.is-active, .ch-scene.is-done { clip-path: inset(0 0 0 0 round 24px); }
  .ch-scene .cw > span { transform: translateY(105%); }
  .ch-scene.is-active .cw > span, .ch-scene.is-done .cw > span { transform: none; }
  .ch-scene .svc-pills li { opacity: 0; transform: translateY(12px); }
  .ch-scene.is-active .svc-pills li, .ch-scene.is-done .svc-pills li { opacity: 1; transform: none; }
  .ch-scene .msg { opacity: 0; }
  .ch-scene.is-active .msg { opacity: 1; }
  .ch-art { order: -1; height: 100%; max-height: none; min-height: 0; }
  .ch-num { font-size: 2rem; margin-bottom: 2px; }
  .ch-title { font-size: clamp(1.7rem, 7.4vw, 2.6rem); margin-bottom: 8px; }
  .ch-short { font-size: .95rem; margin-bottom: 10px; }
  .ch-scene .actions .link { display: none; }
}
@media (max-width: 600px) and (min-height: 521px) {
  .ch-scene .svc-pills { display: none; }
}
@media (max-width: 900px) and (max-height: 700px) and (min-height: 521px) {
  .ch-short { display: none; }
}

/* industries: pinned horizontal scroll on phones and tablets */
@media (max-width: 900px) and (min-height: 521px) {
  .industries.is-pinned .hscroll-sticky { padding-block: calc(var(--header-h) + 4px) 18px; }
  .industries.is-pinned .section-head { margin-bottom: 14px; }
  .industries.is-pinned .section-head > p { display: none; }
  .industries.is-pinned .ind-card { width: min(78vw, 360px); }
}

/* =========================================================
   Industry cards: full-bleed photography
   ========================================================= */
.ind-card { position: relative; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 0; border-radius: 26px; background: #15111b; color: #fff; box-shadow: 0 30px 60px -34px rgba(21, 17, 27, .7); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.industries.is-pinned .ind-card { aspect-ratio: 4 / 5; width: clamp(280px, 25vw, 360px); }
.ind-card .ind-media, .industries.is-pinned .ind-media { position: absolute; inset: 0; aspect-ratio: auto; display: block; }
.ind-card .ind-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.02); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 11, 16, 0) 30%, rgba(8, 11, 16, .55) 58%, rgba(8, 11, 16, .92) 100%); pointer-events: none; }
.ind-card .ind-body, .industries.is-pinned .ind-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 22px 24px; }
.ind-card .ind-body .num { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); }
.ind-card .ind-body h3, .industries.is-pinned .ind-body h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; margin: 0 0 8px; color: #fff; }
.ind-card .ind-body p, .industries.is-pinned .ind-body p { margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.ind-card .tags { gap: 6px; }
.ind-card .tags li { padding: 4px 10px; font-size: .72rem; color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .12); }
.ind-card:hover { box-shadow: 0 40px 80px -36px rgba(77, 184, 255, .6); }
.ind-card:hover .ind-media img { transform: scale(1.1); }
.ind-card:hover, .plan:hover, .inc-card:hover, .other:hover { border-color: transparent; }
@media (max-width: 900px) { .industries.is-pinned .ind-card { width: min(76vw, 340px); } .ind-card .ind-body p { font-size: .85rem; } }

.sc-shoots img { object-position: 50% 50%; }
.sc-shoots .p2 img { object-position: 50% 20%; }

/* generic brand avatar in the mock-ups */
.sc-avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .8rem; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(34, 195, 187, .5); }
.sc-wa-head .sc-avatar { box-shadow: none; }
.sc-ad > img { object-position: 50% 60%; }

/* type hero: sits under the opener, so it hugs its content instead of filling the screen */
.hero--type { min-height: 0; padding-bottom: 96px; }
.hero--type + .clients { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .hero--type { min-height: 0; } }

/* tighter rhythm between sections, sitewide */
.section { padding-block: clamp(56px, 6.5vw, 96px); }
.hero--type + .clients { padding-top: clamp(32px, 4vw, 56px); }
.cta-band { margin-block: clamp(8px, 2vw, 24px); }

/* tinted sections melt into the page: no hard edges across the background glow */
.story { background: linear-gradient(180deg, transparent, var(--bg-2) 60%); }
.process, .page-service .process, .why-svc { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.hero--type { overflow: visible; overflow-x: clip; }
.hero--type::before { pointer-events: none; }

/* one shade all the way down: the tinted bands go, the running background shows through */
.story, .process, .page-service .process, .why-svc, .industries { background: transparent; }

/* running background: a flat vector tile sliding on transform only, no blur or filters */
.fx-flow { position: absolute; left: 0; top: 0; width: calc(100% + 1200px); height: 100%; background: url(assets/flow.svg) 0 0 / 1200px 100% repeat-x; opacity: .2; transform: translate3d(0, 0, 0); animation: flowRun 46s linear infinite; }
.fx-flow--b { width: calc(100% + 1600px); background-size: 1600px 100%; opacity: .12; transform: translate3d(-1600px, 0, 0) scaleY(-1); animation: flowRunB 74s linear infinite; }
@keyframes flowRun { to { transform: translate3d(-1200px, 0, 0); } }
@keyframes flowRunB { from { transform: translate3d(-1600px, 0, 0) scaleY(-1); } to { transform: translate3d(0, 0, 0) scaleY(-1); } }
html.reduced .fx-flow { animation: none; }

/* website development: photo card */
.sc-web-shot { position: absolute; inset: 6% 5%; margin: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.sc-web-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.sc-web-chip { position: absolute; left: 9%; bottom: 10%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #fff; color: #15111b; font-size: .8rem; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.sc-web-chip i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; }

/* blank space: pull the pinned sections and the type hero in */
.hero--type { padding-top: 40px; }
.hero--type + .clients { padding-bottom: 24px; }
.story { margin-top: clamp(-96px, -8vh, -24px); }
#about, .section.about { padding-bottom: 32px; }

/* =========================================================
   Performance pass: measured with a 4x slower CPU
   ========================================================= */
/* filters on the scroll-painted story SVG re-rendered it every frame */
.story-stage svg { filter: none; }
.story-stage { contain: layout style; }
/* SVG children cannot run on the compositor: a looping transform there means layout every frame */
.b-clock .h-hour { animation: none; }
/* stacked full-screen layers: the static gradient on .fx-bg keeps the same shade */
.aurora, .spotlight, .grain { display: none !important; }
.fx-flow--b { display: none; }
.fx-flow { opacity: .34; }
/* blending against the whole page on every mouse move */
.cursor span { mix-blend-mode: normal; background: #4db8ff; }
.cursor.is-label span { background: var(--grad); }
/* looping decoration stops when it is off screen */
.is-offscreen::before, .is-offscreen *, .is-offscreen .opener-orbs span { animation-play-state: paused !important; }
/* lighter paint on the long card track */
.ind-card { box-shadow: 0 16px 28px -22px rgba(21, 17, 27, .55); transition: box-shadow .3s; }
.ind-card .ind-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
/* off-screen sections skip rendering altogether */
.plans, .process, .why, .testimonials, .faq-section, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* projects page: pill above the heading */
.live-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0 auto 18px; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--stroke); font-size: .82rem; font-weight: 600; color: var(--text); }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; }
.page-hero--work { text-align: center; }
.page-hero--work .lede { margin-inline: auto; text-align: center; }
.page-hero-row { justify-content: center; }

/* projects page: cards off screen skip rendering, simple reveal */
.pcard { content-visibility: auto; contain-intrinsic-size: auto 460px; }
html.js .pcard[data-reveal], html.js .pcard[data-reveal]:nth-child(even) { transform: translateY(24px); }
html.js .pcard[data-reveal].is-in { transform: none; }
.tape { box-shadow: none; }
/* global-studio reading rhythm on the big statements */
#about-title, #why-title { letter-spacing: -.035em; text-wrap: balance; }
.lede { text-wrap: pretty; }

/* loading screen: tagline sits right under the logo */
.loader-inner { gap: 14px; }
.loader-bar { margin-top: 10px; }

/* project cards always paint their screenshots straight away */
.pcard { content-visibility: visible; }
.pc-browser { background: #f4f1f7; }

/* =========================================================
   Process: dark stage, outlined numerals that light up in turn
   ========================================================= */
.process-grid { display: block; padding: clamp(32px, 5vw, 72px); border-radius: 32px; background: #15111b; color: #f4efe9; overflow: hidden; }
.process-head { position: static; margin-bottom: clamp(32px, 5vw, 64px); }
.process-head .h-lg { color: #fff; }
.process-head .eyebrow, .process-head p { color: rgba(244, 239, 233, .66); }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; padding: 0; }
.step { display: block; padding: 34px clamp(16px, 2vw, 32px) 8px; border-left: 1px solid rgba(255, 255, 255, .1); }
.step:first-of-type { border-left: 0; padding-left: 0; }
.step-num, .step.is-on .step-num { position: static; display: block; width: auto; height: auto; margin-bottom: 14px; padding: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; font-family: var(--display); font-size: clamp(4rem, 8vw, 7.5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; place-items: initial; }
.step-num { background: none; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .34); }
.step.is-on .step-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; }
.step h3 { color: #fff; font-size: clamp(1.25rem, 1.9vw, 1.7rem); opacity: .5; transition: opacity .5s; }
.step p { color: rgba(244, 239, 233, .68); max-width: 30ch; opacity: .5; transition: opacity .5s; font-size: .95rem; }
.step.is-on h3, .step.is-on p { opacity: 1; }
.step:nth-of-type(2) h3, .step:nth-of-type(2) p { transition-delay: .12s; }
.step:nth-of-type(3) h3, .step:nth-of-type(3) p { transition-delay: .24s; }
.step:nth-of-type(4) h3, .step:nth-of-type(4) p { transition-delay: .36s; }
.steps-line { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; background: rgba(255, 255, 255, .12); }
.steps-line span { box-shadow: none; transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 900px) {
  .process-grid { border-radius: 24px; padding: 26px 20px; }
  .steps { grid-auto-flow: row; }
  .step, .step:first-of-type { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .step-num, .step.is-on .step-num { font-size: 3.4rem; margin: 0; }
  .step p { max-width: none; }
  .steps-line { display: none; }
}
html.reduced .steps-line span { transform: none; }

/* =========================================================
   Why clients pick us: mixed-tone bento
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.why-card, .why-grid .why-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(230px, 22vw, 300px); padding: clamp(22px, 2.6vw, 36px); border: 0; border-radius: 26px; overflow: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.why-card::before { content: "✦"; left: auto; right: clamp(20px, 2.4vw, 32px); top: clamp(16px, 2vw, 26px); height: auto; background: none; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.why-card:hover { transform: translateY(-5px); }
.why-card:hover::before { transform: rotate(90deg) scale(1.15); }
.why-card h3 { margin: 0 0 8px; font-size: clamp(1.45rem, 2.5vw, 2.4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 16ch; }
.why-card p { margin: 0; font-size: .96rem; line-height: 1.5; max-width: 44ch; }
.why-grid .why-card:nth-child(1) { grid-column: span 4; background: #15111b; }
.why-grid .why-card:nth-child(1) h3 { color: #fff; }
.why-grid .why-card:nth-child(1) p { color: rgba(244, 239, 233, .72); }
.why-grid .why-card:nth-child(1)::before { color: #ffb547; }
.why-grid .why-card:nth-child(2) { grid-column: span 2; background: linear-gradient(140deg, #1f9be8, #109a92); }
.why-grid .why-card:nth-child(2) h3, .why-grid .why-card:nth-child(2) p, .why-grid .why-card:nth-child(2)::before { color: #fff; }
.why-grid .why-card:nth-child(3) { grid-column: span 2; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.why-grid .why-card:nth-child(3)::before { color: #4db8ff; }
.why-grid .why-card:nth-child(4) { grid-column: span 4; background: #ffe7bf; }
.why-grid .why-card:nth-child(4) h3 { color: #15111b; }
.why-grid .why-card:nth-child(4) p { color: #5a4a2e; }
.why-grid .why-card:nth-child(4)::before { color: #109a92; }
@media (max-width: 700px) {
  .why-grid .why-card:nth-child(n) { grid-column: span 6; min-height: 200px; }
}

/* FAQ, one column: heading always clears the first question */
@media (max-width: 1000px) {
  .faq-grid { display: block; }
  .faq-head { position: static; height: auto; min-height: 0; margin: 0 0 clamp(20px, 4vw, 32px); }
  .faq-head .h-lg { line-height: 1.08; margin: 0; padding-bottom: .12em; }
  .faq-grid > :not(.faq-head) { margin-top: 0; position: relative; }
}

/* service pages: recent projects as compact logo cards */
.rp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.rp-card { display: grid; gap: 4px; padding: 12px 12px 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); color: var(--text); text-decoration: none; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.rp-card:hover { transform: translateY(-4px); }
.rp-logo { display: grid; place-items: center; height: clamp(92px, 9vw, 124px); margin-bottom: 8px; padding: 16px; border-radius: 12px; background: var(--bg); text-align: center; }
.rp-logo--dark { background: #15111b; }
.rp-logo img { max-width: 72%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.rp-name { padding: 0 4px; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.rp-host { padding: 0 4px; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 900px) { .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .rp-grid { grid-template-columns: 1fr; } }

/* sections keep real heights so anchors and the scrollbar stay accurate */
.plans, .process, .why, .testimonials, .faq-section, .site-footer { content-visibility: visible; contain-intrinsic-size: none; }

/* projects: logo-only cards */
.pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; }
.pcard .pc-stage { display: grid; place-items: center; aspect-ratio: 16 / 10; height: auto; padding: 12px; overflow: hidden; }
.pc-mark { display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; border-radius: 14px; background: #fff; text-align: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.pc-mark--dark { background: #15111b; }
.pc-mark img { max-width: 68%; max-height: 72%; width: auto; height: auto; object-fit: contain; }
.pc-mark strong { font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.1; letter-spacing: -.03em; color: #15111b; }
.pc-link:hover .pc-mark { transform: scale(1.03); }
.pcard .pc-name { font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.pcard .pc-tags span { font-size: .62rem; padding: 3px 8px; letter-spacing: .06em; }
.pcard .pc-btn { font-size: .8rem; padding: 7px 12px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .pgrid { grid-template-columns: 1fr; } }

.cv { content-visibility: auto; }

/* in-page links clear the fixed header */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
/* not-found page */
.err-page { display: grid; justify-items: center; align-content: center; gap: 18px; min-height: 100vh; padding: 24px; text-align: center; }
.err-page img { width: 170px; height: auto; }
.err-page h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: -.03em; }
.err-page p { margin: 0; color: var(--muted); }
/* ---------- MaxxERP sections ---------- */
.page-home .site-header.on-dark:not(.is-scrolled) .logo img { filter: brightness(0) invert(1); }
.logo img { height: 44px; }
.logo--light img { height: 56px; }
.store-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.store-row img { height: 40px; width: auto; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin: 24px 0 0; }
.copyright a { color: inherit; }
.app-tile { flex: none; display: grid; gap: 8px; justify-items: center; width: 260px; padding: 14px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.app-tile img { width: 100%; height: 130px; object-fit: contain; }
.app-tile b { font-size: .9rem; letter-spacing: .02em; }
.sc-module { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.sc-module img { width: 100%; height: 100%; object-fit: cover; }
.svc-card-art, .svc-hero-art { border-radius: 22px; }
.svc-hero-art { aspect-ratio: 16 / 10; }
.plan-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan-price { margin: 14px 0 2px; font-size: .95rem; color: var(--muted); }
.plan-price strong { font-size: 1.9rem; color: inherit; }
.plan-price span { color: #0f8a5f; font-size: .8rem; }
.compare--text { min-width: 640px; }
.compare--text th, .compare--text td { text-align: left; vertical-align: top; }
.benefit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.benefit-row > div { display: grid; gap: 4px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); }
.benefit-row strong { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.use-grid { display: grid; gap: 20px; }
.use-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 26px; align-items: center; padding: 20px; border-radius: 24px; border: 1px solid var(--line); background: var(--paper); }
.use-card:nth-child(even) figure { order: 2; }
.use-card figure, .core-item figure, .why-split figure, .split-hero figure, .benefit-card figure, .app-card figure { margin: 0; overflow: hidden; border-radius: 18px; }
.use-card img, .core-item img, .why-split figure img, .split-hero figure img, .benefit-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mod-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mod-card a { display: block; overflow: hidden; border-radius: 20px; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--paper); transition: transform .3s; }
.mod-card a:hover { transform: translateY(-4px); }
.mod-card img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.mod-meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 12px 16px; }
.mod-meta small { color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 var(--gutter, 24px); }
.jump a { padding: .5em 1em; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: inherit; font-size: .88rem; }
.jump span { opacity: .6; }
.feat-group { scroll-margin-top: 90px; }
.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat-card { display: flex; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.feat-card img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.feat-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.feat-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.more-link { margin-top: 22px; }
.vert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vert-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 20px; color: inherit; text-decoration: none; border: 1px solid var(--line); background: var(--paper); transition: transform .3s; }
.vert-card a:hover { transform: translateY(-4px); }
.vert-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vert-body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.vert-body strong { font-size: 1.15rem; }
.vert-body span { color: var(--muted); font-size: .92rem; }
.vert-body em { font-style: normal; }
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(110px, 14vw, 170px) clamp(16px, 5vw, 72px) 40px; }
.key-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.key-grid li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.core-list { display: grid; gap: 22px; }
.core-item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: center; }
.core-item:nth-child(even) figure { order: 2; }
.core-item h3 { margin: 0 0 8px; font-size: 1.35rem; }
.why-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.why-stack { display: grid; gap: 12px; }
.why-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booster-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.booster-row a { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 14px 10px; border-radius: 16px; border: 1px solid var(--line); color: inherit; text-decoration: none; font-size: .85rem; }
.booster-row img { width: 54px; height: 54px; object-fit: contain; }
.apps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card figure { background: var(--paper); padding: 12px; }
.app-card img { display: block; width: 100%; height: 210px; object-fit: contain; }
.app-card h3 { margin: 6px 0 0; }
.price-list { display: grid; gap: 10px; }
.price-group { scroll-margin-top: 90px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.price-group summary { cursor: pointer; padding: 16px 20px; font-weight: 700; }
.price-group summary span { opacity: .55; font-weight: 400; margin-left: 6px; }
.table-wrap--static { border-radius: 0; border: 0; background: none; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: center; font-size: .92rem; font-weight: 400; }
.price-table thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-table tbody th, .price-table thead th:first-child { text-align: left; }
.price-table--text td { text-align: left; vertical-align: top; }
.price-table .m-yes { color: #0f8a5f; } .price-table .m-no { color: #c8324a; opacity: .7; }
.only { font-size: .68rem; padding: 2px 7px; border-radius: 99px; border: 1px solid var(--line); }
.price-notes { margin: 18px 0 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.benefit-card { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); }
.benefit-card figure { border-radius: 0; aspect-ratio: 16 / 9; }
.benefit-card > div { padding: 18px 20px; }
.benefit-card h3 { margin: 0 0 6px; }
.benefit-card p { margin: 0; color: var(--muted); }
.week-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.week-row li { display: grid; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-grid li { display: grid; gap: 4px; }
.team-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 20px; margin-bottom: 8px; }
.team-grid span { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.timeline span { font-size: 1.3rem; font-weight: 700; }
.timeline h3 { margin: 0 0 4px; font-size: 1.05rem; }
.timeline p { margin: 0; color: var(--muted); }
.prose { max-width: 780px; }
.prose--long { margin: 0 auto; }
.prose-sec { margin-bottom: 26px; }
.prose-sec h2 { font-size: 1.4rem; margin: 0 0 8px; }
.prose-sec img, .prose-lead { display: block; width: 100%; height: auto; border-radius: 16px; margin: 12px 0 18px; }
.dl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dl-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-grid a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.news-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.news-grid span { color: var(--muted); font-size: .92rem; }
.rp-logo--photo { padding: 0; overflow: hidden; }
.rp-logo--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
@media (max-width: 1100px) { .plan-grid--4, .feat-grid, .mod-grid, .vert-grid, .key-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .plan-grid--4, .feat-grid, .mod-grid, .vert-grid, .key-grid, .news-grid, .use-card, .core-item, .why-split, .split-hero, .apps-grid, .benefit-grid, .benefit-row, .week-row, .team-grid, .dl-grid, .why-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .use-card:nth-child(even) figure, .core-item:nth-child(even) figure { order: 0; }
  .logo img { height: 36px; }
}
.split-hero h1 { line-height: 1.08; margin-bottom: 18px; overflow-wrap: anywhere; }
.page-hero--simple .h-hero, .page-hero--simple .h-lg { line-height: 1.08; margin-bottom: 18px; }
.split-hero figure img { object-fit: contain; }
.plan-price span, .plan-price s { white-space: nowrap; }
.svc-hero > * { min-width: 0; }
.svc-hero-art { width: 100%; max-width: 100%; height: auto; }
.svc-hero-art .sc-module, .svc-hero-art .sc-module img { height: 100%; width: 100%; }
@media (max-width: 900px) { .svc-hero { grid-template-columns: minmax(0, 1fr); } }

/* comparison pages: the title stays on one line */
.page-hero .h-hero.h-compare { max-width: none; font-size: clamp(1.3rem, 4.1vw, 3.5rem); white-space: nowrap; }
@media (max-width: 760px) { .page-hero .h-hero.h-compare { font-size: clamp(1.3rem, 6vw, 2.4rem); } }
.cmp-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 4vw, 44px); padding-top: clamp(22px, 3vw, 36px); border-top: 1px solid var(--stroke); }
.cmp-intro h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.25rem); line-height: 1.16; letter-spacing: -.02em; }
.cmp-intro p { margin: 0; max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65; }
.cmp-intro p + p { margin-top: 14px; }
@media (max-width: 760px) { .cmp-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* one logo everywhere: blue, with no backing or filter */
.logo img, .logo--light img, .erp-logo img, .loader-logo { filter: none !important; }
.erp-logo, .erp-logo:hover { padding: 0; background: none; border: 0; }

/* buttons on the light gradient use dark text so they stay easy to read */
.btn:not(.btn--ghost):not(.btn--light):not(.btn--ghost-light) { color: #06222f; }

/* review cards: light tints that cycle, however many reviews there are */
.t-card:nth-child(4n+1), .note-card:nth-child(4n+1) { background: #fff6cf; }
.t-card:nth-child(4n+2), .note-card:nth-child(4n+2) { background: #e3f3ff; }
.t-card:nth-child(4n+3), .note-card:nth-child(4n+3) { background: #e3f4e7; }
.t-card:nth-child(4n), .note-card:nth-child(4n) { background: #e3f8f6; }
.t-stage { height: clamp(440px, 46vw, 500px); }
.footer-cols .logo--light img { height: 52px; }

/* add-on cards and pages */
.feat-card--link { display: block; padding: 0; }
.feat-card--link a { display: flex; gap: 14px; height: 100%; padding: 18px; color: inherit; text-decoration: none; }
.feat-card--link { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.feat-card--link:hover { transform: translateY(-3px); border-color: #4db8ff; box-shadow: 0 18px 40px -26px rgba(30, 60, 90, .45); }
.feat-more { display: block; margin-top: 8px; font-size: .82rem; font-weight: 600; color: #1f7fc4; }
.more-link--center { margin: 0 var(--gutter) 10px; text-align: center; }
.addon-icon { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #fff; border: 1px solid var(--stroke); }
.split-hero figure.addon-icon img { width: min(190px, 48%); height: auto; object-fit: contain; }
.addon-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 18px; padding: 0; font-weight: 600; }
.addon-facts span { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.why-card .step-num { display: block; margin-bottom: 6px; color: #1f7fc4; font-weight: 700; }

/* features page: centred heading block */
.page-features .page-hero--simple { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-features .page-hero--simple .h-hero, .page-features .page-hero--simple .lede { margin-left: auto; margin-right: auto; }
.page-features .page-hero--simple .actions { justify-content: center; }

/* features page: the icons are white, so they sit on a blue tile */
.page-features .feat-card img { box-sizing: border-box; width: 56px; height: 56px; padding: 9px; border-radius: 14px; background: linear-gradient(150deg, #2f9fe8, #1877c2); box-shadow: 0 10px 20px -12px rgba(24, 90, 140, .6); }

/* hand-drawn sketches: each stroke draws itself, then small parts keep moving */
.page-hero--sketched { position: relative; }
.sk--hero { position: absolute; right: var(--gutter); top: 54%; width: min(37vw, 620px); height: auto; transform: translateY(-50%); }
.sk path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: skDraw var(--t, .5s) ease-out var(--d, 0s) forwards; }
.sk .sk-t { opacity: 0; animation: skIn .35s ease-out var(--d, 0s) forwards; }
@keyframes skDraw { to { stroke-dashoffset: 0; } }
@keyframes skIn { to { opacity: 1; } }
.sk-swing { transform-box: view-box; transform-origin: var(--o); animation: skSwing 3.6s ease-in-out 3s infinite alternate; }
@keyframes skSwing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.sk-float { animation: skFloat 3.2s ease-in-out 3s infinite alternate; }
@keyframes skFloat { to { transform: translateY(-10px); } }
.sk-tw { transform-box: fill-box; transform-origin: center; animation: skTw 1.8s ease-in-out calc(3s + var(--k) * .6s) infinite alternate; }
@keyframes skTw { to { transform: scale(.72) rotate(14deg); opacity: .55; } }
.sk .sk-pulse { stroke-dasharray: .1 .9; stroke-dashoffset: 1; opacity: 0; animation: skPulse 2.6s linear calc(4.4s + var(--k) * .45s) infinite; }
@keyframes skPulse { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: .9; } 70% { opacity: .9; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@media (min-width: 1281px) { .page-addons .page-hero--simple .h-hero { max-width: 10ch; } }
@media (max-width: 1280px) {
  .page-addons .sk--hero, .sk--hero { position: static; display: block; width: min(100%, 520px); margin: 26px auto 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sk path { animation: none; stroke-dashoffset: 0; }
  .sk .sk-t { animation: none; opacity: 1; }
  .sk-swing, .sk-float, .sk-tw { animation: none; }
  .sk .sk-pulse { display: none; }
}

/* heroes with art: enough room, and headlines that clear the panel */
@media (min-width: 1281px) {
  .page-hero--sketched { min-height: min(calc(33vw + 170px), 740px); box-sizing: border-box; }
  .page-verticals .page-hero--simple .h-hero { max-width: 9ch; }
}

/* contact details as tidy cards */
.talk .talk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.talk .talk-row { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 13px; border: 1px solid var(--stroke); border-radius: 13px; background: #fff; color: inherit; font-size: .92rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.talk .talk-row:hover { border-color: #2f9fe8; transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(30, 60, 90, .6); }
.talk .talk-row > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.talk .talk-row small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .04em; }
.talk-ic { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e6f4ff; color: #1877c2; }
.talk-ic svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .talk .talk-grid { grid-template-columns: minmax(0, 1fr); } }

/* clickable doodles */
.sk-link { cursor: pointer; }
.sk-link text { transition: fill .2s; }
.sk-link:hover text, .sk-link:focus text { fill: #1877c2; }

/* coloured heading words: the gradient sits on the moving letters, so they arrive with the rest of the line */
[data-split] em { background: none !important; color: inherit; -webkit-text-fill-color: currentColor; }
[data-split] em .w > span { padding-bottom: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* contact cards share the same width */
.talk .talk-row { box-sizing: border-box; width: 100%; background-image: none; }

/* verticals sketch: alive after it has drawn */
.sk-bob { animation: skFloat 3s ease-in-out calc(3s + var(--k) * .3s) infinite alternate; transition: scale .3s cubic-bezier(.2, 1.5, .3, 1); }
.sk-link:hover .sk-bob, .sk-link:focus .sk-bob { scale: 1.13; }
.sk-ring { opacity: 0; animation: skRing 9s linear calc(3s + var(--k) * 1s) infinite; }
@keyframes skRing { 0% { opacity: 0; transform: scale(.82) rotate(0); } 3% { opacity: 1; transform: scale(1) rotate(10deg); } 9% { opacity: 1; transform: scale(1) rotate(50deg); } 12%, 100% { opacity: 0; transform: scale(1.1) rotate(70deg); } }
.sk-link:hover .sk-ring { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sk-bob, .sk-ring { animation: none; } }

/* comparison tables: MaxxERP is the column to look at */
.page-compare .price-table thead th:nth-child(2) { color: #1877c2; font-weight: 700; }
.page-compare .price-table tbody td:nth-child(2) { background: linear-gradient(120deg, #e6f4ff, #e3f8f6); color: #12263a; font-weight: 600; }
.page-compare .price-table tbody td:nth-child(3) { color: var(--muted); }

/* comparison pages: the hill climb */
.page-compare .page-hero { position: relative; }
.sk--cmp { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 8px); width: min(36vw, 540px); height: auto; }
.page-compare .cmp-intro { margin-top: clamp(24px, 9vw, 170px); }
.sk-rocket { animation: skRocket 2.6s ease-in-out 2s infinite alternate; }
@keyframes skRocket { to { transform: translate(8px, -7px); } }
.sk-flame { transform-box: fill-box; transform-origin: right center; animation: skFlame .28s ease-in-out infinite alternate; }
@keyframes skFlame { to { transform: scaleX(.7) scaleY(1.15); } }
.sk-car { animation: skCar 1.6s ease-in-out 2s infinite alternate; }
@keyframes skCar { to { transform: translateX(5px); } }
@media (max-width: 1100px) {
  .sk--cmp { position: static; display: block; width: min(100%, 460px); margin: 18px auto 0; }
  .page-compare .cmp-intro { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .sk-rocket, .sk-flame, .sk-car { animation: none; } }

/* module scenes in place of photos */
.svc-hero-art { background: #fff; border: 1px solid var(--stroke); box-shadow: 0 30px 60px -38px rgba(30, 60, 90, .45); }
.svc-hero-art { aspect-ratio: 16 / 11; height: auto; overflow: visible; }
.sc-sketch { display: grid; place-items: center; width: 100%; height: 100%; padding: 8px; box-sizing: border-box; background-image: radial-gradient(rgba(120, 150, 175, .22) 1.2px, transparent 1.3px); background-size: 22px 22px; border-radius: inherit; }
.sk--scene { display: block; width: 100%; height: 100%; max-height: 100%; }

.sk-steam { animation: skSteam 2.8s ease-in-out 2s infinite alternate; }
@keyframes skSteam { to { transform: translateY(-9px); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sk-steam { animation: none; } }

/* comparison pages: one clean two-column opening */
.cmp-hero { padding-bottom: clamp(16px, 3vw, 36px); }
.cmp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(18px, 2.4vw, 30px); }
.page-hero .h-hero.h-compare { margin: 0 0 18px; font-size: clamp(1.3rem, 3.5vw, 3.3rem); letter-spacing: -.03em; line-height: 1.1; }
.cmp-copy h2 { margin: 0 0 14px; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.25; letter-spacing: -.015em; color: #1877c2; }
.cmp-copy p { margin: 0; max-width: 60ch; color: var(--muted); line-height: 1.7; }
.cmp-copy p + p { margin-top: 12px; }
.sk--cmp { position: static; display: block; width: 100%; max-width: 560px; margin: 0 auto; }
@media (max-width: 900px) {
  .cmp-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-art { order: 2; }
  .page-hero .h-hero.h-compare { font-size: clamp(1.3rem, 6vw, 2.4rem); }
}

/* home page module photos */
.ch-art { background: #fff; border: 0; }
.sc-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; }

/* addons jigsaw: pieces slide in and lock; the last one keeps trying its slot */
.sk-pz { animation: skPz .8s cubic-bezier(.2, 1.25, .3, 1) calc(.5s + var(--k) * .22s) both; }
@keyframes skPz { from { opacity: 0; transform: translate(var(--x), var(--y)) rotate(5deg); } }
.sk-loose { animation: skLoose 3.4s ease-in-out 2s infinite alternate; }
@keyframes skLoose { from { transform: translate(14px, 6px) rotate(5deg); } to { transform: translate(-12px, -4px) rotate(-2deg); } }
.sk .sk-slot { stroke-dasharray: .03 .025; stroke-dashoffset: 0; opacity: 0; animation: skIn .5s ease-out 1.4s forwards; }
@media (prefers-reduced-motion: reduce) { .sk-pz, .sk-loose { animation: none; } .sk .sk-slot { animation: none; opacity: 1; } }

/* partnership: money tree, and photos as tidy thumbnails */
@media (min-width: 1281px) { .page-partnership .page-hero--simple .h-hero { max-width: 9ch; } }
.sk-coin { animation: skCoin 3s ease-in-out calc(2.4s + var(--k) * .3s) infinite alternate; }
@keyframes skCoin { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.sk .sk-drop { stroke: none; stroke-dashoffset: 0; opacity: 0; animation: skDrop 1.5s ease-in calc(2s + var(--k) * .4s) infinite; }
@keyframes skDrop { 0% { opacity: 0; transform: translate(0, -16px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, 34px); } }
.sk-fall { opacity: 0; animation: skFall 3.2s cubic-bezier(.5, 0, .9, .6) 2.6s infinite; }
@keyframes skFall { 0% { opacity: 0; transform: translateY(-70px); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(66px); } }
.sk-can { transform-box: fill-box; transform-origin: 70% 70%; animation: skCan 2.6s ease-in-out 2s infinite alternate; }
@keyframes skCan { to { transform: rotate(5deg); } }
.benefit-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px; }
.benefit-card figure { aspect-ratio: 1; border-radius: 14px; }
.benefit-card > div { padding: 4px 6px 4px 0; }
.benefit-card h3 { font-size: 1.1rem; letter-spacing: -.015em; }
.benefit-card p { font-size: .93rem; }
@media (max-width: 560px) { .benefit-card { grid-template-columns: 96px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sk-coin, .sk-can { animation: none; } .sk .sk-drop { display: none; } .sk-fall { animation: none; opacity: 1; } }

/* add-on pages: how it works diagram */
.addon-diagram { padding: 10px; border: 1px solid var(--stroke); border-radius: 20px; background: #fff radial-gradient(rgba(120, 150, 175, .2) 1.2px, transparent 1.3px) 0 0 / 22px 22px; box-shadow: 0 30px 60px -40px rgba(30, 60, 90, .45); }
.split-hero figure.addon-diagram { background-color: #fff; }
.sk--flow { display: block; width: 100%; height: auto; }

/* heroes with art: text and picture sit together, centred on wide screens */
@media (min-width: 1281px) {
  .page-hero--sketched { max-width: 1320px; margin-inline: auto; min-height: min(calc(30vw + 120px), 620px); padding-bottom: 28px; }
  .page-hero--sketched .sk--hero { width: min(37vw, 560px); top: 56%; }
  .page-pricing .page-hero--simple .h-hero { max-width: 10ch; }
}
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--stroke); max-width: 520px; }
.hero-facts li { display: grid; gap: 1px; }
.hero-facts strong { font-size: 1.32rem; letter-spacing: -.02em; color: #1877c2; line-height: 1.2; }
.hero-facts span { color: var(--muted); font-size: .86rem; }
@media (min-width: 1281px) {
  .page-pricing .page-hero--simple .h-hero, .page-addons .page-hero--simple .h-hero { font-size: min(6vw, 5.2rem); }
}

/* homepage header: larger logo */
.page-home .site-header .logo img { height: 50px; }
@media (max-width: 900px) { .page-home .site-header .logo img { height: 40px; } }

/* trade cards: the whole card opens the trade's page */
.ind-cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ind-card .ind-body .link { position: relative; z-index: 3; display: inline-block; margin-top: 12px; color: #fff; }

/* use-case rows: every picture the same size */
.use-card figure { aspect-ratio: 16 / 10; }
@media (min-width: 761px) { .use-card:nth-child(even) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }

/* plain info cards: size to their words, no empty space above the text */
.why-card, .why-grid .why-card, .why-grid .why-card:nth-child(n) { min-height: 0; justify-content: flex-start; padding: 24px 56px 24px 24px; border-radius: 20px; }
.why-card h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.2; letter-spacing: -.02em; max-width: none; }
.why-card::before { right: 20px; top: 20px; font-size: 1.15rem; }
.why-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why-stack .why-card { background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.why-stack .why-card::before { color: #22c3bb; }
.why-stack .why-card p { max-width: none; font-size: 1rem; color: var(--text, #12263a); }
@media (max-width: 760px) { .why-stack { grid-template-columns: minmax(0, 1fr); } }

/* partnership: a hand of three cards */
.pcards-sec { overflow-x: clip; }
.pcards-hint { margin: 0 0 22px; text-align: center; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; color: #1877c2; transform: rotate(-1.5deg); }
.pcards { display: flex; justify-content: center; align-items: flex-start; gap: 0; margin: 0; padding: 26px 0 34px; list-style: none; }
.pcard { --fan: none; --rx: 0deg; --ry: 0deg; --flip: 0deg; position: relative; flex: none; width: clamp(262px, 23vw, 330px); perspective: 1200px; }
.pcard-in { display: grid; height: 100%; transform-style: preserve-3d; }
.pcard-face { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: 26px; overflow: hidden; color: #fff; box-shadow: 0 34px 60px -30px rgba(18, 38, 58, .6), inset 0 0 0 6px rgba(255, 255, 255, .24); }
.pcard--0 .pcard-front { background: linear-gradient(165deg, #38a9f0, #125f9c 72%); }
.pcard--1 .pcard-front { background: linear-gradient(165deg, #1fb6ad, #0b6f69 72%); }
.pcard--2 .pcard-front { background: linear-gradient(165deg, #ffc76e, #f2a93b 72%); color: #12263a; }
.pcard-rank { display: flex; align-items: baseline; gap: 8px; margin: 2px 52px 10px 6px; }
.pcard-rank b { font-family: var(--display); font-size: clamp(1.7rem, 2.5vw, 2.3rem); line-height: 1; letter-spacing: -.03em; }
.pcard-rank small { font-size: .8rem; opacity: .9; }
.pcard-art { aspect-ratio: 16 / 11; padding: 8px; border-radius: 16px; background: #fff; overflow: hidden; }
.pcard h3 { margin: 16px 6px 2px; font-size: clamp(1.5rem, 2.1vw, 1.95rem); line-height: 1.1; letter-spacing: -.03em; color: inherit; }
.pcard-say { margin: 0 6px 8px; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: .92rem; }
.pcard-text { margin: 0 6px 6px; font-size: .9rem; line-height: 1.5; opacity: .94; }
.pcard-back { background: #12263a; padding: 26px 24px 22px; }
.pcard-lbl { margin: 0 0 8px; color: #ffc76e; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pcard-back ul { display: grid; gap: 5px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .9rem; line-height: 1.3; }
.pcard-back li { position: relative; padding-left: 22px; }
.pcard-back li::before { content: "✓"; position: absolute; left: 0; color: #4fe0d6; font-weight: 700; }
.pcard-back dl { margin: 0 0 16px; }
.pcard-back dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.pcard-back dt { color: rgba(255, 255, 255, .78); font-size: .9rem; }
.pcard-back dd { margin: 0; font-weight: 700; color: #fff; }
.pcard-back .btn { position: relative; z-index: 3; justify-content: center; width: 100%; margin-top: auto; }
.pcard-foil { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; mix-blend-mode: soft-light; transition: opacity .25s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .95), transparent 46%), linear-gradient(115deg, #4db8ff, #22c3bb 34%, #ffd28f 60%, #4db8ff 88%); }
.pcard-flip { position: absolute; right: 16px; top: 16px; z-index: 4; display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #12263a; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(18, 38, 58, .6); transition: transform .3s; }
.pcard-flip:hover { transform: rotate(50deg); }
.pcard-flip:focus-visible { outline: 3px solid #f2a93b; outline-offset: 2px; }

/* once the script is running: deal, tilt and flip */
.pcards.is-live .pcard-flip { display: grid; }
.pcards.is-live .pcard { cursor: pointer; opacity: 0; transform: translateY(170px) scale(.82); transition: transform .8s cubic-bezier(.2, 1.35, .35, 1) calc(var(--i) * .15s), opacity .35s calc(var(--i) * .15s); }
.pcards.is-live.is-dealt .pcard { opacity: 1; transform: var(--fan); }
.pcards.is-live.is-ready .pcard { transition: transform .4s cubic-bezier(.2, 1.3, .35, 1), opacity .3s; }
.pcards.is-live:not(.is-dealt) .sk * { animation-play-state: paused; }
.pcards.is-live .pcard-in { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip))); transition: transform .16s ease-out; }
.pcards.is-live .pcard.is-flipping .pcard-in { transition: transform .8s cubic-bezier(.3, 1.2, .4, 1); }
.pcards.is-live .pcard-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: visibility 0s .3s; }
.pcards.is-live .pcard-back { transform: rotateY(180deg); visibility: hidden; }
.pcards.is-live .pcard.is-flipped { --flip: 180deg; z-index: 5; }
.pcards.is-live .pcard.is-flipped .pcard-back { visibility: visible; }
.pcards.is-live .pcard.is-flipped .pcard-front { visibility: hidden; }
.pcards:not(.is-live) { flex-direction: column; align-items: center; gap: 18px; }
.pcards:not(.is-live) .pcard-in { gap: 12px; }
.pcards:not(.is-live) .pcard-face { grid-area: auto; }
@media (hover: hover) { .pcard:hover .pcard-foil { opacity: .85; } }

@media (min-width: 980px) {
  .pcards.is-live { padding-top: 40px; }
  .pcards.is-live .pcard { margin-inline: -9px; transform-origin: 50% 110%; }
  .pcards.is-live .pcard--0 { --fan: rotate(-7deg) translateY(14px); }
  .pcards.is-live .pcard--1 { --fan: translateY(-10px); z-index: 1; }
  .pcards.is-live .pcard--2 { --fan: rotate(7deg) translateY(14px); }
  .pcards.is-live.is-ready .pcard:hover, .pcards.is-live.is-ready .pcard:focus-within, .pcards.is-live.is-ready .pcard.is-flipped { --fan: translateY(-22px) scale(1.04); z-index: 6; }
}
@media (max-width: 979px) {
  .pcards { flex-direction: column; align-items: center; gap: 20px; }
  .pcard { width: min(100%, 400px); }
}
@media (prefers-reduced-motion: reduce) {
  .pcards.is-live .pcard, .pcards.is-live .pcard-in, .pcards.is-live .pcard.is-flipping .pcard-in, .pcards.is-live .pcard-face, .pcard-flip { transition: none; }
  .pcards.is-live .pcard { opacity: 1; transform: var(--fan); }
}

/* team photos: a smaller, tidy row */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(0, 240px)); justify-content: start; gap: 24px; }
.team-grid figure, .team-grid img { max-width: 240px; }
.team-grid img { aspect-ratio: 1; object-fit: cover; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(auto-fit, minmax(0, 200px)); gap: 18px; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .team-grid figure, .team-grid img { max-width: 100%; } }

/* partnership cards: same height, side by side */
@media (min-width: 980px) { .pcards { align-items: stretch; } }

/* our story: a journey line with the years down the middle */
.timeline { position: relative; max-width: 1040px; margin-inline: auto; padding-block: 8px; gap: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: #dbe8f2; }
.timeline::after { background: linear-gradient(180deg, #2f9fe8, #22c3bb 55%, #f2a93b); transform: scaleY(var(--tl, 1)); transform-origin: top; }
.timeline li { position: relative; z-index: 1; display: block; width: 50%; padding: 0 44px 22px 0; border: 0; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 22px 44px; }
.timeline li + li { margin-top: -46px; }
.timeline li > span { position: absolute; top: 14px; right: -31px; display: grid; place-items: center; width: 62px; height: 32px; border-radius: 99px; color: #fff; font-size: .86rem; font-weight: 700; box-shadow: 0 0 0 5px #f5f8fb; }
.timeline li:nth-child(even) > span { right: auto; left: -31px; }
.timeline .tl-c0 > span { background: #1877c2; }
.timeline .tl-c1 > span { background: #0f8f88; }
.timeline .tl-c2 > span { background: #f2a93b; color: #12263a; }
.timeline li > div { padding: 15px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke), 0 14px 26px -22px rgba(18, 38, 58, .5); transition: transform .25s; }
.timeline li:hover > div { transform: translateY(-3px); }
.timeline h3 { margin: 0 0 3px; font-size: 1.04rem; line-height: 1.25; letter-spacing: -.02em; }
.timeline p { margin: 0; font-size: .9rem; line-height: 1.45; }
@media (max-width: 760px) {
  .timeline::before, .timeline::after { left: 31px; }
  .timeline li, .timeline li:nth-child(even) { width: auto; margin: 0; padding: 0 0 14px 0; }
  .timeline li + li { margin-top: 0; }
  .timeline li > span, .timeline li:nth-child(even) > span { position: relative; top: auto; left: 0; right: auto; margin-bottom: 8px; }
  .timeline li > div { margin-left: 22px; }
}

/* modules page: smaller picture cards */
@media (min-width: 1101px) { .mod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 761px) and (max-width: 1100px) { .mod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 760px) { .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* homepage modules: cooler colours, smaller panel */
.ch-scene { background: linear-gradient(115deg, var(--tone) 42%, var(--tone2)); }
.ch-scene .link--light { color: #fff; }
@media (min-width: 901px) and (min-height: 621px) {
  .ch-sticky { grid-template-rows: auto minmax(0, 420px); align-content: center; justify-items: center; gap: 16px; }
  .ch-head, .ch-stage { width: min(100%, 1120px); }
  .ch-stage { height: 100%; }
  .ch-head .h-lg { font-size: clamp(1.8rem, 3vw, 2.5rem); }
  .ch-scene { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; padding: 28px 32px; border-radius: 24px; }
  .ch-scene.is-active, .ch-scene.is-done { clip-path: inset(0 0 0 0 round 24px); }
  .ch-num { font-size: 1.6rem; margin-bottom: 4px; }
  .ch-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 8px; }
  .ch-short { font-size: .98rem; }
  .ch-scene .svc-pills { gap: 6px; margin: 12px 0 16px; }
  .ch-scene .svc-pills li { font-size: .76rem; }
  .ch-art { height: auto; aspect-ratio: 3 / 2; max-height: 100%; }
}

/* retail pos sketch: the red scan line runs up and down the barcode, then the item lands on the bill */
.pos-scan { transform-box: view-box; animation: posScan 1.3s ease-in-out infinite alternate; }
.pos-new { animation: posNew 5.2s ease-in-out infinite; }
@keyframes posScan { from { transform: scaleY(.82); } to { transform: scaleY(1.2); } }
@keyframes posNew { 0%, 34% { opacity: 0; } 42%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pos-scan, .pos-new { animation: none; } }

/* pages rebuilt from the live site */
.lv-h1.h-hero { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.lv-hero { padding-bottom: 28px; }
.lv-art { height: auto; aspect-ratio: 640 / 440; padding: 12px; background: #fff; }
.lv-art-card { margin: 0; display: grid; place-items: center; min-height: 240px; max-height: 340px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke), var(--card-shadow); overflow: hidden; }
.lv-art-card img { display: block; max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; }
.lv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lv-grid .inc-card { padding: 20px 22px; min-height: 0; }
.lv-grid .inc-card h3 { font-size: 1.1rem; line-height: 1.25; margin: 6px 0 4px; letter-spacing: -.02em; }
.lv-grid .inc-card p { margin: 0; font-size: .92rem; }
.lv-p, .lv-about p { max-width: 74ch; color: var(--muted); }
.lv-about { padding-block: 18px; }
.lv-about h2 { margin-bottom: 8px; }
.lv-wide { margin: 0; padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); max-width: 960px; }
.lv-wide img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.lv-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lv-links a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.lv-links a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #2f9fe8; }
.lv-links span { color: var(--muted); font-size: .88rem; }
.lv-az { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 28px; }
.lv-az li { break-inside: avoid; }
.lv-az a { display: block; padding: 7px 0; color: #12263a; text-decoration: none; border-bottom: 1px solid var(--stroke); font-size: .95rem; }
.lv-az a:hover { color: #1877c2; }
.lv-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lv-shots img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 6px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.lv-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lv-videos a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.lv-videos strong { font-size: .92rem; line-height: 1.3; font-weight: 600; }
.lv-thumb { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #dbe8f2; aspect-ratio: 16 / 9; }
.lv-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.lv-thumb i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1877c2; font-style: normal; font-size: .95rem; }
.lv-videos a:hover img { transform: scale(1.05); }
.mod-grid .mod-card img { object-fit: cover; }
.verticals-all .vert-grid, .page-verticals .vert-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .lv-videos, .page-verticals .vert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lv-az { columns: 2; } }
@media (max-width: 760px) { .lv-grid, .lv-grid--2, .lv-links { grid-template-columns: minmax(0, 1fr); } .lv-shots, .lv-videos, .page-verticals .vert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .lv-az { columns: 1; } }

.lv-shots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lv-shots--4 img { aspect-ratio: 1; }
@media (max-width: 900px) { .lv-shots--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* hidden box that only bots fill in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* inner page pictures: a tidy, equal size */
.core-item { gap: clamp(20px, 3vw, 44px); }
@media (min-width: 761px) { .core-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.core-item figure { width: 100%; max-width: 460px; aspect-ratio: 16 / 11; justify-self: center; background: #fff; }
.core-item img { height: 100%; object-fit: contain; }
.why-split { align-items: center; }
.why-split figure { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; justify-self: center; }
.why-split figure img { object-fit: contain; }
.split-hero figure { max-height: 400px; }
.split-hero figure img { max-height: 400px; }
@media (min-width: 761px) { .core-item:nth-child(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* add-on icons a little larger, cards the same height */
.booster-row li { display: grid; }
.booster-row a { align-content: start; height: 100%; padding: 16px 10px; }
.booster-row img { width: 78px; height: 78px; }

/* article pictures: not larger than the text needs */
.prose img, .prose-sec img, .prose-lead { display: block; width: auto; max-width: min(100%, 560px); max-height: 340px; height: auto; margin-inline: auto; object-fit: contain; border-radius: 14px; }

/* smallest phones: give text the full width */
@media (max-width: 480px) {
  .benefit-card { grid-template-columns: minmax(0, 1fr) !important; }
  .benefit-card figure { max-height: 170px; }
  .steps .step { grid-template-columns: minmax(0, 1fr) !important; gap: 8px; }
  .t-card { width: 90vw; padding: 20px; }
}

/* pinned sections fit their content (see pinFit in app.js) */
.pin-fit { height: auto !important; padding-top: 14px !important; padding-bottom: 14px !important; }
.hscroll-sticky.pin-fit { justify-content: flex-start !important; }
.ch-sticky.pin-fit { align-content: start; grid-template-rows: auto 420px; }
.bill-sticky.pin-fit { align-content: start; }
@media (max-width: 900px) { .ch-sticky.pin-fit { grid-template-rows: auto min(620px, calc(100svh - 190px)); padding-inline: var(--gutter); } }

/* feature rows: a balanced size, picture beside its text */
@media (min-width: 761px) {
  .core-list { gap: clamp(28px, 3vw, 44px); max-width: 1240px; margin-inline: auto; }
  .core-item, .core-item:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
  .core-item figure { max-width: 600px; aspect-ratio: 4 / 3; padding: 10px; justify-self: stretch; }
  .core-item h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.2; margin-bottom: 10px; }
  .core-item p { font-size: 1.08rem; }
  .core-item .ticks li { font-size: 1.04rem; }
}

/* tablets: stack picture and text so both have room */
@media (min-width: 761px) and (max-width: 1100px) {
  .core-item, .core-item:nth-child(even), .use-card, .use-card:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .core-item:nth-child(even) figure, .use-card:nth-child(even) figure { order: 0; }
  .core-item figure { width: 100%; max-width: 720px; aspect-ratio: 16 / 10; justify-self: center; }
  .use-card figure { width: 100%; max-width: 720px; justify-self: center; }
  .core-list { gap: 40px; max-width: 720px; }
  .use-grid { max-width: 760px; margin-inline: auto; }
  .core-item h3, .use-card h3 { font-size: 1.6rem; }
  .core-item p, .core-item .ticks li, .use-card p, .use-card .ticks li { font-size: 1.1rem; }
  .why-split { grid-template-columns: minmax(0, 1fr); }
  .why-split figure { max-width: 620px; }
}

/* the footer logo is the same size as the top logo */
.footer-cols .logo--light img, .site-footer .logo img { height: 44px; }
.page-home .site-footer .logo img { height: 50px; }
@media (max-width: 900px) { .site-footer .logo img { height: 36px; } .page-home .site-footer .logo img { height: 40px; } }
.opener-sticky { min-height: 0; }

/* contact cards: one neat line on tablets, an even two by two on phones */
@media (max-width: 900px) {
  .talk .talk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .talk .talk-row { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 14px 8px; text-align: center; font-size: .84rem; }
  .talk .talk-row > span:last-child { width: 100%; overflow-wrap: normal; white-space: nowrap; }
}
@media (max-width: 760px) {
  .talk .talk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 374px) {
  .talk .talk-grid { grid-template-columns: minmax(0, 1fr); }
  .talk .talk-row { flex-direction: row; text-align: left; padding: 11px 13px; font-size: .92rem; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .talk .talk-row { flex-direction: column; gap: 8px; padding: 14px 8px; text-align: center; font-size: .84rem; }
  .talk .talk-row > span:last-child { width: 100%; overflow-wrap: normal; white-space: nowrap; }
}

/* light footer: the logo looks the same here as at the top of the page */
.site-footer, .site-footer.torn-top { --torn: #ffffff; background: #ffffff; color: #12263a; border-top: 1px solid var(--stroke); }
.site-footer .eyebrow { color: #4d6275; }
.site-footer h2, .site-footer h3 { color: #12263a; }
.footer-cta { border-color: var(--stroke); }
.footer-cta p, .footer-cols p { color: #4d6275; }
.footer-cols h3 { color: #4d6275; }
.footer-cols a { color: #12263a; }
.footer-cols a:hover { color: #1877c2; }
.site-footer .btn--light { background: #1877c2; border-color: #1877c2; color: #fff; }
.site-footer .btn--light:hover { background: #125f9c; }
.site-footer .btn--ghost-light { background: #fff; color: #12263a; border: 1px solid rgba(18, 38, 58, .2); }
.footer-social a, .site-footer .copyright, .site-footer .copyright a { color: #4d6275; }
.footer-social a:hover, .site-footer .copyright a:hover { color: #1877c2; }
.site-footer .giant { -webkit-text-stroke-color: rgba(18, 38, 58, .18); }
.site-footer .store-row a { display: inline-flex; padding: 0; background-image: none; border-radius: 9px; overflow: hidden; }
.site-footer .store-row a:first-child { box-shadow: 0 0 0 1px rgba(18, 38, 58, .18); }
.site-footer .store-row a:nth-child(2) { background: #12263a; }

/* add-on sketches: always shown whole, never cut off */
.split-hero figure.addon-diagram { max-height: none; height: auto; aspect-ratio: auto; overflow: visible; }
.addon-diagram .sk--flow { display: block; width: 100%; height: auto; max-height: none; }


/* add-on page: larger "You may also need" cards */
.page-addon .feat-grid { gap: 16px; }
.page-addon .feat-card--link a { gap: 18px; padding: 26px 24px; align-items: flex-start; }
.page-addon .feat-card--link img { width: 78px; height: 78px; }
.page-addon .feat-card--link h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 8px; }
.page-addon .feat-card--link p { font-size: 1.02rem; line-height: 1.45; }


/* security page */
.sec-basics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sec-basics li { padding: 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); border-top: 4px solid #2f9fe8; }
.sec-basics li:nth-child(2) { border-top-color: #22c3bb; } .sec-basics li:nth-child(3) { border-top-color: #f2a93b; } .sec-basics li:nth-child(4) { border-top-color: #1877c2; }
.sec-basics h3 { margin: 0 0 6px; font-size: 1.14rem; letter-spacing: -.02em; }
.sec-basics p { margin: 0; color: var(--muted); font-size: .96rem; }
.sec-controls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sec-controls a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.sec-controls a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #2f9fe8; }
.sec-n { color: #1877c2; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.sec-controls strong { font-size: 1.14rem; letter-spacing: -.02em; }
.sec-controls span:not(.sec-n) { color: var(--muted); font-size: .96rem; }
.sec-controls em { margin-top: 4px; color: #125f9c; font-size: .9rem; font-style: normal; font-weight: 600; }
.sec-table th a { color: inherit; }
.sec-links p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .sec-basics, .sec-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sec-basics, .sec-controls { grid-template-columns: minmax(0, 1fr); } .sec-table th, .sec-table td { padding: 10px 8px; font-size: .86rem; } }

.page-security .page-hero--simple .h-hero { max-width: 11ch; }
.sec-table { min-width: 0; width: 100%; }
@media (max-width: 600px) { .sec-table th, .sec-table td { white-space: normal; overflow-wrap: anywhere; } }
@media (min-width: 1281px) {
  .page-security .page-hero--simple .lede { max-width: 40ch; }
  .page-security .sk--hero { width: min(36vw, 500px); }
}


/* currency switch */
.cur-row { display: flex; justify-content: center; margin: 0 0 18px; }
.cur-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.cur-switch[hidden] { display: none; }
.cur-switch button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: none; color: #33495c; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.cur-switch button[aria-pressed="true"] { background: #1877c2; color: #fff; }
.cur-switch button:focus-visible { outline: 3px solid #f2a93b; outline-offset: 2px; }

/* Our Office: the address sits centred and larger */
.office-card > div:first-child { display: grid; justify-items: center; align-content: center; text-align: center; }
.office-card > div:first-child .h-md { font-size: clamp(2rem, 3.4vw, 3rem); }
.office-card > div:first-child p:not(.eyebrow) { margin: 16px 0 24px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: #33495c; }

/* trade pages: a larger picture beside the headline */
@media (min-width: 761px) {
  .page-vertical .split-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 48px); }
  .page-vertical .split-hero figure { max-height: none; width: 100%; }
  .page-vertical .split-hero figure img { width: 100%; height: auto; max-height: min(560px, 74vh); object-fit: contain; }
}

/* add-on icons on trade pages: larger, and the row fills the full width */
.booster-row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.booster-row a { padding: 20px 12px; gap: 10px; font-size: .95rem; }
.booster-row img { width: 112px; height: 112px; }
@media (max-width: 600px) { .booster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .booster-row img { width: 88px; height: 88px; } }
/* keep the icon rows even: 5 + 4 on desktop, 3 + 3 + 3 on tablets */
@media (min-width: 601px) { .booster-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .booster-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* trimmed trade pictures: full size without stretching past their detail */
@media (min-width: 761px) { .page-vertical .split-hero figure img { max-height: min(500px, 70vh); } }


/* Request a callback popup */
.cb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(18, 38, 58, .55); }
.cb[hidden] { display: none; }
html.cb-open { overflow: hidden; }
.cb-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(820px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 30px 70px -20px rgba(18, 38, 58, .6); }
.cb-form { display: grid; gap: 10px; align-content: center; padding: clamp(24px, 4vw, 44px); }
.cb-form h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; color: #12263a; }
.cb-sub { margin: 0 0 8px; color: #4d6275; font-size: .96rem; }
.cb-form input:not(.hp) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9c9d6; border-radius: 10px; background: #fff; color: #12263a; font: inherit; }
.cb-form input:focus { outline: 3px solid #4db8ff; outline-offset: 0; border-color: #1877c2; }
.cb-send { justify-content: center; width: 100%; margin-top: 6px; }
.cb-send[hidden] { display: none; }
.cb-msg { margin: 2px 0 0; color: #0d7a4c; font-size: .92rem; font-weight: 600; }
.cb-msg.bad { color: #b42332; }
.cb-msg a { color: inherit; text-decoration: underline; }
.cb-art { min-height: 100%; overflow: hidden; background: #0a84ff; }
.cb-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.cb-x { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #12263a; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(18, 38, 58, .6); }
.cb-x:focus-visible { outline: 3px solid #f2a93b; }
@media (max-width: 680px) { .cb-box { grid-template-columns: minmax(0, 1fr); width: min(440px, 100%); } .cb-art { display: none; } }

/* footer on tablets and phones: neat two columns, nothing left hanging */
@media (max-width: 1100px) {
  .site-footer { padding-top: 48px; }
  .footer-cta { padding-bottom: 36px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding: 32px 0; }
  .footer-cols > div:first-child, .footer-cols > div:last-child { grid-column: 1 / -1; }
  .footer-cols > div:first-child { display: grid; gap: 12px; }
  .footer-cols > div:first-child .logo { margin-bottom: 0; }
  .footer-cols > div:first-child p { margin: 0; max-width: none; font-size: 1rem; }
  .site-footer .store-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
  .site-footer .store-row a { display: flex; justify-content: center; width: 100%; }
  .site-footer .store-row img { width: 100%; height: auto; max-height: 56px; object-fit: contain; }
  .footer-cols > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
  .footer-cols > div:last-child h3, .footer-cols > div:last-child p { grid-column: 1 / -1; margin-bottom: 0; }
  .footer-cols > div:last-child a { width: auto; overflow-wrap: anywhere; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .store-row { max-width: 460px; }
}

/* module tabs are buttons */
.ch-rail li { padding: 0; }
.ch-rail button { display: block; padding: 8px 12px 10px; border: 0; border-radius: inherit; background: none; color: inherit; font: inherit; white-space: nowrap; cursor: pointer; }
.ch-rail li:hover { color: var(--text); background: #fff; }
.ch-rail button:focus-visible { outline: 3px solid #f2a93b; outline-offset: 1px; }
@media (max-width: 900px) and (min-height: 521px) {
  .ch-rail li { height: 12px; display: flex; align-items: center; background: none !important; width: auto !important; }
  .ch-rail button { display: block; width: 26px; height: 4px; padding: 0; border-radius: 2px; background: var(--stroke); font-size: 0; }
  .ch-rail li.is-done button { background: var(--muted); }
  .ch-rail li.is-active button { width: 36px; background: var(--text); }
}

/* add-on pages: at a glance, what it does, getting started */
.ao-section { padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); }
.ao-glance, .ao-start, .ao-list { list-style: none; margin: 0; padding: 0; }
.ao-glance, .ao-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ao-glance li { padding: 22px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); border-top: 4px solid #2f9fe8; }
.ao-glance li:nth-child(2) { border-top-color: #22c3bb; }
.ao-glance li:nth-child(3) { border-top-color: #f2a93b; }
.ao-glance h3, .ao-start h3, .ao-list h3 { margin: 0 0 6px; font-size: 1.14rem; line-height: 1.25; letter-spacing: -.02em; }
.ao-glance p, .ao-start p, .ao-list p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.ao-features { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ao-features-head h2 { margin: 0 0 12px; }
.ao-features-head > p:last-child { margin: 0; color: var(--muted); }
.ao-list { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.ao-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 22px; }
.ao-list li + li { border-top: 1px solid var(--stroke); }
.ao-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e3f2fc; color: #125f9c; font-size: .86rem; font-weight: 700; }
.ao-start li { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 22px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.ao-start h3 { margin-top: 6px; margin-bottom: 0; }
@media (min-width: 1025px) { .ao-features-head { position: sticky; top: 110px; } }
@media (max-width: 900px) {
  .ao-features { grid-template-columns: minmax(0, 1fr); }
  .ao-glance { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) { .ao-start { grid-template-columns: minmax(0, 1fr); } .ao-list li { padding: 16px; } }

.ao-section .section-head { margin-bottom: 22px; }
.ao-section .section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.soon-tag { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 99px; background: #fff1d9; color: #8a5a00; font-size: .76rem; font-weight: 700; }

/* Verticals: the sketch carries all 30 industries, so it gets more room */
@media (min-width: 1281px) {
  .page-verticals .page-hero--simple > p:not(.eyebrow), .page-verticals .page-hero--simple .lede { max-width: 30ch; }
  .page-verticals .page-hero--simple .h-hero { font-size: min(6vw, 84px); }
  .page-verticals .page-hero--sketched { min-height: min(calc(41vw + 110px), 720px); }
  .page-verticals .page-hero--sketched .sk--trades { width: min(48vw, 680px); top: 54%; transform: translate(min(4vw, 60px), -50%); }
}
@media (max-width: 1280px) { .sk--trades { width: min(100%, 640px); } }
@media (max-width: 560px) { .sk--trades .sk-name { display: none; } }

/* add-on page: sample questions */
.ao-ask { margin-top: 18px; }
.ao-ask h3 { margin: 0 0 8px; font-size: 1rem; letter-spacing: -.01em; }
.ao-ask ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: start; }
.ao-ask li { padding: 8px 14px; border-radius: 14px 14px 14px 4px; background: #e3f2fc; color: #12263a; font-size: .95rem; line-height: 1.35; }


/* touch: thin progress bars and dots keep their look but get a finger-sized tap area */
@media (max-width: 1024px) {
  .ch-rail { overflow: visible; }
  .ch-rail button, .dots button { position: relative; }
  .ch-rail button::after, .dots button::after { content: ""; position: absolute; inset: -18px -2px; }
  .header-cta { min-height: 40px; }
}
.only { font-size: .75rem; }
.kb-side-home small { font-size: .75rem; }
.talk .talk-row small { font-size: .75rem; }

/* tighter gaps between sections */
.section:not(.ao-section) { padding-block: clamp(40px, 5vw, 68px); }

/* Cloud and Desktop pricing */
.cur-row { flex-wrap: wrap; gap: 10px; }
.ed-switch button[aria-pressed="true"] { background: #0d9a8f; }
.plan-yearly { display: grid; gap: 1px; margin: 8px 0 14px; padding: 9px 12px; border-radius: 10px; background: #e3f2fc; }
.plan-yearly span { color: #33495c; font-size: .78rem; font-weight: 600; }
.plan-yearly strong { color: #12263a; font-size: .96rem; line-height: 1.3; }
.plan--rec .plan-yearly { background: rgba(255, 255, 255, .88); }
.plan--rec .plan-yearly span { color: #33495c; }
.plan--rec .plan-yearly strong { color: #12263a; }
html.ed-on .price-list .only { display: none; }
.price-group[hidden], .price-table tr[hidden] { display: none; }


/* gradient words: keep the tails of g, y and p and the last letter inside the painted area */
h1 em, h2 em, h3 em, .h-hero em, .h-mega em, h1 em span, h2 em span { padding-right: .05em; padding-bottom: .14em; margin-right: -.05em; margin-bottom: -.14em; }



/* header and footer logo: a little larger */
.site-header .logo img, .page-home .site-header .logo img, .site-footer .logo img, .page-home .site-footer .logo img { height: 56px; }
@media (max-width: 900px) { .site-header .logo img, .page-home .site-header .logo img, .site-footer .logo img, .page-home .site-footer .logo img { height: 44px; } }

/* feature list when a vertical has no pictures for it */
.core-list:not(:has(figure)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.core-list:not(:has(figure)) .core-item { display: block; padding: 22px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
@media (max-width: 760px) { .core-list:not(:has(figure)) { grid-template-columns: minmax(0, 1fr); } }

/* product tiles are links to their tool pages */
a.app-tile { color: inherit; text-decoration: none; cursor: pointer; }
/* module pages use the longer maxxerp.com headline */
.svc-h1--long { font-size: clamp(2.1rem, 3.7vw, 3.5rem); line-height: 1.1; }


/* vertical thumbnails from maxxerp.com carry their icon and name, so they are shown whole */
.vert-img--thumb img { aspect-ratio: 12 / 5; object-fit: cover; }

/* Verticals: the sketch draws in about a second, and the cards are ready at once */
.sk.sk--trades path, .sk.sk--trades .sk-t { animation-delay: calc(var(--d, 0s) * .28); }
.sk.sk--trades .sk-pulse { animation-delay: calc(1.4s + var(--k) * .45s); }
.vert-img--thumb { background: #1877c2; }

/* footer: a clear gap between the address block and the phone numbers */
.site-footer .footer-dir { margin-bottom: 18px; }
@media (max-width: 900px) { .footer-cols > div:last-child .footer-dir { grid-column: 1 / -1; margin-bottom: 12px; } }

/* blog posts: one tidy reading column, heading and text on the same edge */
.page-post { --read: 780px; }
.page-post .page-hero, .page-post main > .section { padding-inline: max(var(--gutter), calc((100% - var(--read)) / 2)); }
.page-post .page-hero { display: block; min-height: 0; padding-bottom: 0; }
.page-post .crumbs { display: block; overflow: hidden; margin-bottom: 14px; white-space: nowrap; text-overflow: ellipsis; font-size: .86rem; }
.page-post .page-hero .eyebrow { margin-bottom: 8px; }
.page-post .page-hero h1, .page-post .lv-h1.h-hero { max-width: none; margin: 0; font-size: clamp(1.8rem, 3.1vw, 2.6rem); line-height: 1.16; letter-spacing: -.022em; text-wrap: balance; }
.page-post .page-hero .lede { max-width: none; margin: 12px 0 0; }
.page-post main > .section { padding-block: 26px; }
.page-post .prose { max-width: none; margin: 0; }
.page-post .prose-lead { width: 100%; max-width: none; height: min(420px, 62vw); max-height: none; margin: 0 0 26px; border-radius: 16px; background: #eaf3fa; object-fit: contain; }
.page-post .prose-sec { margin: 0 0 30px; }
.page-post .prose-sec h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.25; letter-spacing: -.015em; }
.page-post .prose-sec h3 { margin: 18px 0 6px; font-size: 1.12rem; line-height: 1.3; }
.page-post .prose p, .page-post .prose li { color: #33495c; font-size: 1.05rem; line-height: 1.72; }
.page-post .prose p { margin: 0 0 14px; }
.page-post .prose ul, .page-post .prose ol { margin: 0 0 16px; padding-left: 22px; }
.page-post .prose li { margin-bottom: 6px; }
.page-post .prose-sec img { max-width: 100%; max-height: 380px; margin: 14px auto 18px; }
.page-post .faq-grid, .page-post .faq-section > div { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.page-post .faq-section .h-lg, .page-post .faq-section h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.page-post .faq-section { padding-block: 26px 44px; }
.page-post .faq-grid { display: block; }
.page-post .faq-head { position: static; height: auto; min-height: 0; margin: 0 0 16px; }
.page-post .faq-head .h-lg { margin: 0; line-height: 1.15; padding-bottom: .12em; }
.page-post .faq-grid > :not(.faq-head) { margin-top: 0; position: relative; }

/* blog posts: header band, contents list and text */
.post-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: calc(var(--header-h) + 28px) max(var(--gutter), calc((100% - 1180px) / 2)) 40px; background: linear-gradient(120deg, #e3f2fc, #dcf7f3 65%, #fff1d9); }
.post-hero:not(:has(figure)) { grid-template-columns: minmax(0, 1fr); }
.post-hero .crumbs { overflow: hidden; margin: 0 0 16px; white-space: nowrap; text-overflow: ellipsis; color: #4d6275; }
.post-tag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 99px; background: #fff; color: #125f9c; font-size: .8rem; font-weight: 700; }
.post-hero h1 { margin: 0 0 12px; color: #12263a; font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.14; letter-spacing: -.022em; text-wrap: balance; }
.post-sum { margin: 0 0 12px; max-width: 60ch; color: #33495c; font-size: 1.1rem; line-height: 1.55; }
.post-meta { margin: 0; color: #4d6275; font-size: .92rem; font-weight: 600; }
.post-cover { justify-self: end; width: min(100%, 360px); margin: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 22px 44px -28px rgba(18, 38, 58, .6); }
.post-cover img { display: block; width: 100%; height: auto; }
.page-post main > .post-body { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(28px, 4vw, 60px); justify-content: center; align-items: start; padding-block: 36px 16px; padding-inline: var(--gutter); }
.page-post main > .post-body:not(:has(.post-toc)) { grid-template-columns: minmax(0, 760px); }
.post-toc { position: sticky; top: calc(var(--header-h) + 18px); padding: 16px 16px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); }
.post-toc p { margin: 0 0 8px; color: #12263a; font-size: .9rem; font-weight: 700; }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: calc(100vh - 170px); overflow: auto; }
.post-toc a { display: block; padding: 6px 8px; border-radius: 8px; color: #33495c; font-size: .86rem; line-height: 1.32; text-decoration: none; }
.post-toc a:hover { background: #e3f2fc; color: #125f9c; }
.post-body h2 { scroll-margin-top: calc(var(--header-h) + 18px); }
.page-post main > .faq-section { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(28px, 4vw, 60px); justify-content: center; padding-inline: var(--gutter); }
.page-post main > .faq-section > * { grid-column: 2; }
@media (max-width: 1000px) {
  .page-post main > .post-body, .page-post main > .faq-section { grid-template-columns: minmax(0, 760px); }
  .page-post main > .faq-section > * { grid-column: 1; }
  .post-toc { display: none; }
}
@media (max-width: 760px) {
  .post-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; }
  .post-cover { justify-self: center; width: min(100%, 300px); }
}

/* features A to Z: jump bar and letter cards */
.az-bar { position: sticky; top: calc(var(--header-h) + 6px); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 0 0 18px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: inset 0 0 0 1px var(--stroke), 0 10px 24px -20px rgba(18, 38, 58, .5); }
.az-bar a { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 9px; color: #125f9c; font-size: .92rem; font-weight: 700; text-decoration: none; }
.az-bar a:hover, .az-bar a:focus-visible { background: #1877c2; color: #fff; }
.az-groups { columns: 3; column-gap: 14px; }
.az-group { position: relative; break-inside: avoid; margin: 0 0 14px; padding: 16px 16px 10px 72px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke); scroll-margin-top: calc(var(--header-h) + 76px); }
.az-letter { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border-radius: 12px; font-size: 1.2rem; font-weight: 700; line-height: 1; }
.az-letter--0 { background: #e3f2fc; color: #125f9c; }
.az-letter--1 { background: #dcf7f3; color: #0d7a6f; }
.az-letter--2 { background: #fff1d9; color: #a06400; }
.az-group ul { list-style: none; margin: 0; padding: 0; }
.az-group a { display: block; padding: 6px 0; color: #12263a; font-size: .96rem; font-weight: 500; line-height: 1.3; text-decoration: none; transition: color .15s, transform .15s; }
.az-group a:hover, .az-group a:focus-visible { color: #1877c2; transform: translateX(3px); }
@media (max-width: 1100px) { .az-groups { columns: 2; } }
@media (max-width: 680px) {
  .az-groups { columns: 1; }
  .az-bar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
  .az-bar a { flex: none; }
}


/* homepage testimonials: smaller note cards */
.t-stage { height: clamp(380px, 32vw, 410px); }
.t-card { width: min(470px, 86vw); padding: 26px 28px; }
.t-card blockquote { margin-bottom: 16px; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.45; }
.t-card[data-pos="-1"] { transform: translateX(-118%) scale(.86) rotate(-5deg); }
.t-card[data-pos="1"] { transform: translateX(18%) scale(.86) rotate(4deg); }
@media (max-width: 440px) { .t-stage { height: 500px; } }

/* vertical pages: 9 features and 9 add-ons sit in even rows of three */
.page-vertical .key-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.page-vertical .key-grid li { padding: 0; }
.page-vertical .key-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 15px 16px; border-radius: inherit; color: inherit; line-height: 1.3; text-decoration: none; transition: background .2s, color .2s; }
.page-vertical .key-grid a:hover, .page-vertical .key-grid a:focus-visible { background: #e3f2fc; color: #125f9c; }
.page-vertical .key-grid .arr { flex: none; color: #1877c2; }
.page-vertical .booster-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.page-vertical .booster-row a { display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 12px 16px; text-align: left; font-weight: 600; }
.page-vertical .booster-row img { flex: none; width: 56px; height: 56px; }
@media (max-width: 760px) {
  .page-vertical .key-grid, .page-vertical .booster-row { grid-template-columns: minmax(0, 1fr); }
}


/* homepage products: names a touch larger, and a highlighted help strip below */
.clients .app-tile b { font-size: 1rem; }
.clients-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; width: fit-content; max-width: 100%; margin: 26px auto 0; padding: 14px 18px 14px 28px; border-radius: 99px; background: linear-gradient(115deg, #e3f2fc, #dcf7f3 65%, #fff1d9); box-shadow: inset 0 0 0 1px #cfe6f5, 0 16px 34px -26px rgba(18, 38, 58, .55); text-align: center; }
.clients-next span:first-child { color: #12263a; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; }
.clients-next .btn { flex: none; }
@media (max-width: 560px) { .clients-next { padding: 16px 18px; border-radius: 18px; } }
.clients-next { gap: 8px 14px; padding: 8px 10px 8px 20px; }
.clients-next span:first-child { font-size: clamp(1rem, 1.3vw, 1.12rem); }
.clients-next .btn { min-height: 0; padding: .66em 1.15em; font-size: .76rem; }
@media (max-width: 560px) { .clients-next { padding: 12px 14px; } }

/* speed: no see-through blur on fixed bars, and sketches rest when off screen or finished */
.site-header.is-scrolled, .mega, .wa-float { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.site-header.is-scrolled { background: rgba(245, 248, 251, .97); }
svg.sk.is-offscreen, svg.sk.is-offscreen * { animation-play-state: paused !important; }
.sk--trades .sk-bob, .sk--trades .sk-ring, .sk--trades .sk-pulse { animation: none; }


/* vertical pages: add-on cards a little bigger */
.page-vertical .booster-row a { gap: 18px; padding: 16px 20px; font-size: 1.08rem; }
.page-vertical .booster-row img { width: 78px; height: 78px; }

/* homepage product showcase */
.suite { display: grid; grid-template-columns: minmax(250px, .78fr) minmax(0, 1.7fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.suite-list { display: grid; gap: 6px; align-content: start; }
.suite-tab { position: relative; display: grid; gap: 2px; width: 100%; padding: 12px 16px; overflow: hidden; border: 0; border-radius: 14px; background: transparent; color: #33495c; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.suite-tab strong { color: #12263a; font-size: 1.05rem; letter-spacing: -.01em; }
.suite-tab span:not(.suite-bar) { display: none; font-size: .9rem; line-height: 1.45; }
.suite-tab:hover { background: rgba(255, 255, 255, .7); }
.suite-tab.on, .suite-tab[aria-selected="true"] { background: #fff; box-shadow: inset 0 0 0 1px #d6e4ef, 0 14px 30px -24px rgba(18, 38, 58, .55); }
.suite-tab[aria-selected="true"] span:not(.suite-bar) { display: block; }
.suite-tab[aria-selected="true"] strong { color: #125f9c; }
.suite-tab:focus-visible { outline: 3px solid #f2a93b; outline-offset: 2px; }
.suite-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #2f9fe8, #22c3bb, #f2a93b); transform: scaleX(0); transform-origin: left; }
.suite-tab[aria-selected="true"] .suite-bar { animation: suiteRun 3.5s linear both; }
.suite.paused .suite-tab[aria-selected="true"] .suite-bar, .suite.held .suite-tab[aria-selected="true"] .suite-bar { animation: none; transform: scaleX(1); opacity: .45; }
@keyframes suiteRun { to { transform: scaleX(1); } }
.suite-stage { position: relative; min-height: 100%; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px #d6e4ef, 0 30px 60px -40px rgba(18, 38, 58, .55); overflow: hidden; }
.suite-pane { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; margin: 0; }
.suite-pane[hidden] { display: none; }
.suite-pane.on { animation: suiteIn .5s ease-out both; }
@keyframes suiteIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.suite-pane img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 766; object-fit: contain; padding: clamp(10px, 2vw, 22px) clamp(10px, 2vw, 22px) 0; }
.suite-pane figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px clamp(16px, 2vw, 24px) 18px; border-top: 1px solid #e3edf4; color: #33495c; font-size: 1rem; }
.suite-pane figcaption span { flex: 1 1 280px; }
.suite-pane figcaption .btn { flex: none; }
@media (max-width: 900px) {
  .suite { grid-template-columns: minmax(0, 1fr); }
  .suite-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .suite-list::-webkit-scrollbar { display: none; }
  .suite-tab { padding: 10px 14px; }
  .suite-tab[aria-selected="true"] span:not(.suite-bar) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .suite-pane.on { animation: none; } .suite-bar { display: none; } }


/* product showcase at full width, like the original site: names along the top, the picture across the page */
.suite { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.suite-list { grid-auto-flow: column; grid-auto-columns: max-content; justify-content: center; gap: 6px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.suite-list::-webkit-scrollbar { display: none; }
.suite-tab { padding: 10px 16px; border-radius: 99px; }
.suite-tab strong { font-size: .98rem; }
.suite-tab[aria-selected="true"] span:not(.suite-bar) { display: none; }
.suite-tab .suite-bar { left: 14px; right: 14px; width: auto; bottom: 4px; height: 2px; border-radius: 2px; }
.suite-stage { border-radius: 26px; }
.suite-pane img { width: 100%; max-height: none; padding: clamp(10px, 2vw, 28px) clamp(10px, 3vw, 40px) 0; }
.suite-pane figcaption { justify-content: center; text-align: center; padding: 16px clamp(16px, 3vw, 40px) 22px; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.suite-pane figcaption span { flex: 0 1 auto; max-width: 70ch; }
@media (max-width: 1100px) { .suite-list { justify-content: start; } }
.suite-pane img { max-width: 1400px; margin-inline: auto; }

/* heading underlines sit just under the word, clear of the line below */
h1 em .doodle, h2 em .doodle, .h-mega em .doodle { bottom: -.02em; }
/* product showcase a little smaller */
.suite-pane img { max-width: 1180px; }
.suite-stage { max-width: 1240px; width: 100%; margin-inline: auto; }

/* first-visit loading screen: a light brand shade, and only a moment long */
.loader { background: radial-gradient(60% 60% at 30% 25%, rgba(77, 184, 255, .32), transparent 70%), radial-gradient(55% 55% at 75% 75%, rgba(34, 195, 187, .26), transparent 70%), radial-gradient(40% 40% at 80% 20%, rgba(242, 169, 59, .2), transparent 70%), #f2f8fc; color: #12263a; transition: clip-path .6s cubic-bezier(.7, 0, .3, 1), opacity .5s; }
.loader.is-done { opacity: 0; }
.loader-tag { color: #4d6275; }
.loader-bar { background: rgba(18, 38, 58, .1); }
.loader-bar span { animation-duration: .55s; animation-delay: 0s; }
.loader-logo { animation-duration: .45s; animation-delay: 0s; }
.loader-tag { animation-duration: .4s; animation-delay: .1s; }

/* "Built in India..." heading a little smaller */
#about-title { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; }

/* headings with an underline leave room before the line below */
h2:has(em .doodle) + p, .kb-topics-head h2 + p, .kb-day-head h2 + p { margin-top: .8em; }

/* Our story: light, so the logo reads clearly */
.maxxerp, .maxxerp.torn-top { --torn: #e3f1fb; background: linear-gradient(120deg, #e3f1fb, #ddf5f1 60%, #fff2dc); color: #12263a; }
.maxxerp p, .maxxerp .small { color: #33495c; }
.maxxerp .eyebrow { color: #125f9c; }
.maxxerp h2 { color: #12263a; }
.maxxerp h2 em { color: #125f9c; background: linear-gradient(90deg, #1d7fd0, #14a89f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.erp-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 18px; }
.erp-brand .erp-logo { display: block; margin: 0; }
.erp-brand .erp-logo img { display: block; height: 52px; width: auto; }
.erp-brand .eyebrow { margin: 0; }

/* showcase: every slide stays rendered (no blank boxes) and the visible one plays in like a motion graphic */
.suite-stage { display: grid; isolation: isolate; }
.suite-stage .suite-pane, .suite-stage .suite-pane[hidden] { display: grid; grid-area: 1 / 1; opacity: 0; pointer-events: none; animation: none; transition: opacity .45s ease; }
.suite-stage .suite-pane.on { opacity: 1; pointer-events: auto; z-index: 1; }
.suite-pane .suite-shot { overflow: hidden; }
.suite-pane img { transform-origin: 50% 40%; will-change: transform; }
.suite-pane.on img { animation: suiteWipe .9s cubic-bezier(.2,.8,.2,1) both, suiteDrift 3.6s ease-out both; }
@keyframes suiteWipe { from { clip-path: inset(0 0 0 100% round 14px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes suiteDrift { from { transform: scale(1.07) translate(1.5%, 1%); } to { transform: none; } }
.suite-pane figcaption > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease .35s, transform .6s cubic-bezier(.2,.8,.2,1) .35s; }
.suite-pane.on figcaption > * { opacity: 1; transform: none; }
.suite-pane.on figcaption .btn { transition-delay: .5s; }
.suite-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-100%); }
.suite[style*="--run: 1"] .suite-stage::after { animation: suiteShine 1.1s ease-out .15s both; }
@keyframes suiteShine { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .suite-pane.on img, .suite-stage::after { animation: none !important; } .suite-pane figcaption > * { transition: none; opacity: 1; transform: none; } }


/* handwriting accent across the site: highlighted words in headings get the Kalam marker look */
@font-face { font-family: "Kalam"; src: url("assets/fonts/kalam-700-latin.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Kalam"; src: url("assets/fonts/kalam-700-ext.woff2") format("woff2"); font-weight: 700 800; font-display: swap; unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C4, U+2113; }
:root { --hand: "Kalam", "Comic Sans MS", cursive; --marker: #fbb034; --ink: #1d2733; }
:is(h1, h2, h3, .h-mega, .h-statement) em:not(.rotator em) { position: relative; z-index: 0; display: inline-block; font-family: var(--hand); font-style: normal; font-weight: 700; letter-spacing: 0; color: var(--ink); background: none; -webkit-text-fill-color: var(--ink); padding: 0 .14em; margin: 0 .02em; line-height: 1.1; }
:is(h1, h2, h3, .h-mega, .h-statement) em:not(.rotator em) span { background: none !important; -webkit-text-fill-color: var(--ink) !important; color: var(--ink) !important; }
:is(h1, h2, h3, .h-mega, .h-statement) em:not(.rotator em)::before { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.06em; top: .2em; bottom: .04em; background: var(--marker); border-radius: 6px 14px 5px 12px / 12px 5px 14px 6px; transform: rotate(-1.2deg) scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2, .8, .2, 1) .25s; }
:is(h1, h2, h3, .h-mega, .h-statement) em:not(.rotator em) .doodle { display: none; }
:is(h1, h2, h3, .h-mega, .h-statement) em:not(.rotator em)::before { transform: rotate(-1.2deg) scaleX(1); }
html.js :is(h1, h2, h3, .h-mega, .h-statement)[data-split]:not(.is-in) em:not(.rotator em)::before { transform: rotate(-1.2deg) scaleX(0); }
.punch { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; font-family: var(--hand); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.3; color: #125f9c; rotate: -1.5deg; transform-origin: left; }
.punch-arrow { flex: none; width: 34px; height: 20px; margin-top: .25em; color: #f2a93b; }
.text-center .punch, .center .punch, .cta-band .punch { justify-content: center; }
@media (prefers-reduced-motion: reduce) { :is(h1, h2, h3, .h-mega, .h-statement) em::before { transition: none; } }
.punch { margin-bottom: 14px; }
:is(h1, h2, h3, .h-mega, .h-statement) em:not(.rotator em) { padding: 0 .08em 0 .12em; margin: 0; }

/* testimonials roll like a wheel: in from the right along a curve, out to the left */
.t-stage { overflow: visible; }
.t-card { transition: transform 1.1s cubic-bezier(.65, 0, .35, 1), opacity 1.1s cubic-bezier(.65, 0, .35, 1); will-change: transform, opacity; }
.t-card[data-pos="0"] { transform: translateX(-50%) translateY(0) rotate(-1.2deg) scale(1); opacity: 1; }
.t-card[data-pos="-1"] { transform: translateX(-130%) translateY(26px) rotate(-7deg) scale(.86); opacity: .5; }
.t-card[data-pos="1"] { transform: translateX(30%) translateY(26px) rotate(7deg) scale(.86); opacity: .5; }
.t-card[data-pos="-2"] { transform: translateX(-210%) translateY(110px) rotate(-16deg) scale(.7); opacity: 0; }
.t-card[data-pos="2"] { transform: translateX(110%) translateY(110px) rotate(16deg) scale(.7); opacity: 0; }
@media (max-width: 760px) {
  .t-card[data-pos="-1"] { transform: translateX(-160%) translateY(30px) rotate(-10deg) scale(.86); opacity: 0; }
  .t-card[data-pos="1"] { transform: translateX(60%) translateY(30px) rotate(10deg) scale(.86); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .t-card { transition: opacity .3s; } }

/* speed: no moving full-screen background layer; heavy first-screen drift only on large screens */
.fx-flow { display: none !important; animation: none !important; }
.suite-pane img { will-change: auto; }
.suite-pane.on img { will-change: transform; }
.t-card { will-change: auto; }


/* phones: the same look with less work per frame, so scrolling stays smooth */
@media (max-width: 760px) {
  .opener .opener-sticky { transition: none !important; }
  .ot-bg { -webkit-mask-image: none !important; mask-image: none !important; }
  .suite-pane.on img { animation: suiteDrift 3.6s ease-out both !important; }
  .suite-stage::after { display: none !important; }
  html.js [data-split] .w > span { transition: none !important; transform: none !important; }
  html.js [data-split] { transition: opacity .6s ease, transform .6s ease; }
  html.js [data-split]:not(.is-in) { opacity: 0; transform: translateY(14px); }
  .h-statement .fw { transition: none !important; }
  .page-home .uses, .page-home .process, .page-home .why, .page-home .testimonials, .page-home .faq-section, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
}

/* keep product screenshots crisp: drop the GPU layer once the intro animation ends */
.suite-pane img, .suite-pane.on img { will-change: auto; image-rendering: auto; }

/* ===== Phone fixes (mobile review, Nov 2026) ===== */
@media (max-width: 900px) {
  /* "All your modules" pinned section: heading uses the full width; progress dashes drop to their own line */
  .ch-head { flex-wrap: wrap; row-gap: 10px; }
  .ch-head > div:first-child { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 760px) {
  /* blog list: show each picture whole instead of cropping wide images into a square */
  .news-grid img { aspect-ratio: auto; height: auto; object-fit: initial; }
}
@media (max-width: 600px) {
  /* three-column comparison tables fit the screen, so the competitor / MaxxERP column is never hidden */
  .table-wrap table:has(thead tr > :nth-child(3):last-child) { min-width: 0; width: 100%; table-layout: fixed; }
  .table-wrap table:has(thead tr > :nth-child(3):last-child) :is(th, td):first-child { width: 28%; }
  .table-wrap table:has(thead tr > :nth-child(3):last-child) :is(th, td) { overflow-wrap: break-word; hyphens: auto; }
  .table-wrap table:has(thead tr > :nth-child(3):last-child) :is(th, td) { padding: 10px 8px; font-size: .84rem; line-height: 1.4; }
  .table-wrap table:has(thead tr > :nth-child(3):last-child) thead th { font-size: .66rem; letter-spacing: .06em; }
  /* wider tables still swipe sideways, but keep the row labels in view */
  .table-wrap table :is(thead th, tbody th, tbody td):first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
}
@media (max-width: 520px) {
  /* footer contact: one item per line, so phone numbers and emails never break mid-word */
  .footer-cols > div:last-child { grid-template-columns: minmax(0, 1fr); }
  .footer-cols > div:last-child a { overflow-wrap: normal; white-space: nowrap; }
  /* buttons: long labels wrap instead of being clipped by the hover "roll" effect (no hover on phones) */
  .btn .roll { height: auto; white-space: normal; }
  .btn .roll > span { text-shadow: none; }
  a:hover > .roll > span, button:hover > .roll > span, a:focus-visible > .roll > span { transform: none; }
}

/* ===== Phone design changes (Nov 2026) ===== */
/* modules section: swipe through cards instead of a long pinned scroll */
.chapters.ch-swipe { height: auto !important; }
.chapters.ch-swipe .ch-sticky { position: relative; top: auto !important; height: auto; display: block; padding: 28px var(--gutter) 12px; }
.chapters.ch-swipe .ch-head { margin-bottom: 16px; }
.chapters.ch-swipe .ch-rail button { cursor: pointer; }
.chapters.ch-swipe .ch-stage { display: flex; gap: 12px; height: auto; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.chapters.ch-swipe .ch-stage::-webkit-scrollbar { display: none; }
.chapters.ch-swipe .ch-scene { position: relative; inset: auto; flex: 0 0 86%; scroll-snap-align: start; clip-path: none; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; gap: 14px; padding: 16px; border-radius: 24px; }
.chapters.ch-swipe .ch-art { order: -1; height: auto; min-height: 0; max-height: none; aspect-ratio: 3 / 2; }
.chapters.ch-swipe .ch-copy, .chapters.ch-swipe .ch-art { transform: none; opacity: 1; }
@media (max-width: 760px) {
  /* one call to action at the end of the page, not two */
  body:has(.cta-band) .footer-cta { display: none; }
}
/* Verticals menu: every vertical by name, so nobody thinks only a few are supported */
#mega-verticals { width: min(780px, 92vw); }
.mega ul.mega-names { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.mega ul.mega-names li a { display: block; padding: 7px 10px; border-radius: 10px; font-size: .9rem; line-height: 1.3; }
@media (max-width: 900px) {
  #mega-verticals { width: auto; }
  .mega ul.mega-names { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage hero: two doors for retail chains and distribution businesses */
.ot-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(640px, 100%); margin: 14px auto 0; }
.ot-doors a { position: relative; display: grid; gap: 4px; padding: 14px 40px 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .85); border: 1px solid #dbe7f0; text-align: left; text-decoration: none; color: #12263a; box-shadow: 0 10px 30px -18px rgba(18, 38, 58, .35); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ot-doors a:hover, .ot-doors a:focus-visible { transform: translateY(-2px); border-color: #9fd0f5; box-shadow: 0 16px 34px -18px rgba(24, 119, 194, .45); }
.ot-doors strong { font-size: .98rem; }
.ot-doors span { font-size: .84rem; color: #4d6275; line-height: 1.45; }
.ot-doors i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: #1877c2; transition: transform .3s var(--ease); }
.ot-doors a:hover i { transform: translate(4px, -50%); }
#retail-chains, #distribution { scroll-margin-top: 96px; }
@media (max-width: 600px) { .ot-doors { grid-template-columns: minmax(0, 1fr); } }

/* Blog grid: show every cover whole (no cropping) inside an even 4:3 frame */
.news-grid img { aspect-ratio: 4 / 3; height: auto; object-fit: contain; background: #eef3f8; }
@media (max-width: 760px) { .news-grid img { aspect-ratio: auto; background: none; } }

/* Outline buttons: on hover they fill navy with white text (they used to turn white on white) */
.btn--ghost::before { background: #12263a; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; border-color: #12263a; }

/* Footer: the design credit sits on its own line with a 1.5-line gap above */
.copyright .footer-credit { display: block; margin-top: 1.5em; }

/* Email forms: thank-you box, select menus and file picker */
.form-done { padding: 22px 24px; border-radius: 18px; background: #e8f7ef; color: #0c5b3a; outline: none; }
.form-done strong { display: block; margin-bottom: 4px; font-size: 1.25rem; }
.form-done p { margin: 0; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312263a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 16px; }
.field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b0434a; }
.field input[type=file] { padding: .65em .8em; cursor: pointer; }

/* ---------- change list (Nov 2026) ---------- */
/* 8. headline words: room for letters that lean past their box (the w in "how"), and a full stop never wraps alone */
.w { padding-left: .06em; padding-right: .08em; margin-left: -.06em; margin-right: -.08em; }
.nw { display: inline-block; white-space: nowrap; }
/* 9, 13. the short intro text beside section headings: a highlighted callout instead of faint small print */
.section-head > p { position: relative; max-width: 44ch; padding: 14px 18px 14px 20px; border-left: 3px solid #22c3bb; border-radius: 0 14px 14px 0; background: linear-gradient(90deg, rgba(34, 195, 187, .12), rgba(34, 195, 187, 0)); color: #12263a; font-size: 1.04rem; line-height: 1.6; }
.section-head > p a { color: #1877c2; font-weight: 600; }
/* 4. comparison boxes: an odd box at the end spans the full row as a wide rectangle */
.why-grid .why-card:nth-child(3):last-child, .why-grid .why-card:nth-child(5):last-child { grid-column: 1 / -1; }
.why-grid .why-card:nth-child(5) { background: #e3f4f2; }
.why-grid .why-card:nth-child(5)::before { color: #109a92; }
/* 3. footer address */
.footer-addr strong { font-weight: 600; color: inherit; }
.footer-addr span { white-space: nowrap; }
/* 5, 6, 12. new hero illustrations: keep the headline clear of the drawing */
@media (min-width: 1101px) {
  .page-careers .page-hero--sketched > :not(svg), .page-services-all .page-hero--sketched > :not(svg), .page-gallery .page-hero--sketched > :not(svg) { max-width: 47%; }
  .page-services-all .page-hero--simple .h-hero { max-width: 47%; }
}
/* 11. one look for every button: main buttons are the blue-teal gradient; outline buttons fill navy on hover */
.btn:not(.btn--ghost):not(.btn--ghost-light)::before { background: transparent !important; }
.btn:not(.btn--ghost):not(.btn--ghost-light):not(.btn--chip),
.site-footer .btn--light, .chapters .btn--light, .cta-band .btn:not(.btn--ghost):not(.btn--ghost-light) {
  background: linear-gradient(100deg, #4db8ff 0%, #22c3bb 48%, #4db8ff 100%) !important; background-size: 200% 100% !important; background-position: 0 0;
  border: 0 !important; color: #06222f !important; box-shadow: 0 10px 28px -14px rgba(34, 195, 187, .8); }
.btn:not(.btn--ghost):not(.btn--ghost-light):hover, .btn:not(.btn--ghost):not(.btn--ghost-light):focus-visible {
  background-position: 100% 0 !important; color: #06222f !important; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(34, 195, 187, .95); }
.btn--ghost, .btn--ghost-light { background: #fff; color: #12263a; border: 1px solid rgba(18, 38, 58, .22); box-shadow: none; }
.cta-band .btn--ghost, .cta-band .btn--ghost-light { background: transparent; color: #f4efe9; border-color: rgba(255, 255, 255, .45); }
.btn--ghost::before, .btn--ghost-light::before { background: #12263a !important; }
.btn--ghost:hover, .btn--ghost:focus-visible, .btn--ghost-light:hover, .btn--ghost-light:focus-visible { color: #fff !important; border-color: #12263a !important; transform: translateY(-2px); }
.cta-band .btn--ghost::before, .cta-band .btn--ghost-light::before { background: #fff !important; }
.cta-band .btn--ghost:hover, .cta-band .btn--ghost:focus-visible, .cta-band .btn--ghost-light:hover, .cta-band .btn--ghost-light:focus-visible { color: #12263a !important; border-color: #fff !important; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:focus-visible { transform: none !important; } }

/* ---------- module pages: common layout (hero, key features, how it works, connected, other modules, call to action, FAQ) ---------- */
.process-shot { margin: 22px 0 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--stroke), var(--card-shadow); }
.process-shot img { display: block; width: 100%; height: auto; }
/* D. connected modules: a small hub with data pulsing along each link */
.connect .cx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.cx-hub { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; background: radial-gradient(circle at 50% 50%, rgba(77, 184, 255, .16), rgba(34, 195, 187, .06) 55%, transparent 72%), #fff; box-shadow: inset 0 0 0 1px var(--stroke), var(--card-shadow); overflow: hidden; }
.cx-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-line { stroke: #b9cad8; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cx-pulse { stroke: #22c3bb; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: .12 .88; stroke-dashoffset: 1; opacity: 0; }
.connect.is-on .cx-line { animation: cxDraw .8s ease-out calc(var(--k) * .15s) forwards; }
.connect.is-on .cx-pulse { animation: cxPulse 2.8s linear calc(1s + var(--k) * .5s) infinite; }
@keyframes cxDraw { to { stroke-dashoffset: 0; } }
@keyframes cxPulse { 0% { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: -.1; opacity: 0; } }
.cx-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(110px, 14vw, 150px); aspect-ratio: 1; padding: 10px; border-radius: 50%; transform: translate(-50%, -50%); background: linear-gradient(140deg, #1877c2, #12a39b); color: #fff; font-weight: 700; font-size: clamp(.92rem, 1.2vw, 1.08rem); line-height: 1.2; text-align: center; box-shadow: 0 18px 40px -18px rgba(24, 119, 194, .7); }
.cx-core::after { content: ; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(34, 195, 187, .45); animation: cxRing 2.6s ease-out infinite; }
@keyframes cxRing { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.cx-node { position: absolute; transform: translate(-50%, -50%) scale(.8); padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid #cfe0ec; box-shadow: 0 12px 26px -16px rgba(18, 38, 58, .5); color: #12263a; font-weight: 650; font-size: .88rem; white-space: nowrap; opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.3s + var(--k) * .15s); }
.connect.is-on .cx-node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cx-list a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--stroke); color: inherit; text-decoration: none; transition: border-color .25s, transform .25s, box-shadow .25s; }
.cx-list a:hover, .cx-list a:focus-visible { border-color: #9fd0f5; transform: translateX(4px); box-shadow: 0 14px 30px -22px rgba(24, 119, 194, .55); }
.cx-list strong { color: #12263a; font-size: 1.02rem; }
.cx-list strong .arr { color: #1877c2; }
.cx-list span { color: #4d6275; font-size: .94rem; line-height: 1.5; }
html:not(.js) .cx-node, html.reduced .cx-node { opacity: 1; transform: translate(-50%, -50%); }
html:not(.js) .cx-line, html.reduced .cx-line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .cx-pulse, .cx-core::after { display: none; } }
@media (max-width: 900px) { .connect .cx-grid { grid-template-columns: minmax(0, 1fr); } .cx-hub { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 480px) { .cx-node { font-size: .74rem; padding: 7px 10px; } .cx-core { width: 92px; font-size: .8rem; } }
/* E. other modules: 12 cards sit in even rows */
.others .others-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .others .others-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .others .others-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .others .others-grid { grid-template-columns: minmax(0, 1fr); } }
.cx-node.cx-l, .cx-node.cx-r { transform: translate(0, -50%) scale(.8); }
.connect.is-on .cx-node.cx-l, .connect.is-on .cx-node.cx-r { transform: translate(0, -50%) scale(1); }
html:not(.js) .cx-node.cx-l, html:not(.js) .cx-node.cx-r, html.reduced .cx-node.cx-l, html.reduced .cx-node.cx-r { transform: translate(0, -50%); }

/* Footer closing block: the devices picture (laptop, desktop, tablet, phone) fills the right side */
.footer-cta-art { margin: 0; }
.footer-cta-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(18, 38, 58, .18)); }
@media (min-width: 900px) {
  .footer-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: clamp(32px, 5vw, 80px); row-gap: 0; align-items: start; }
  .footer-cta > :nth-child(1) { grid-row: 2; margin-bottom: 14px; } .footer-cta > :nth-child(2) { grid-row: 3; margin-bottom: 18px; } .footer-cta > :nth-child(3) { grid-row: 4; margin-bottom: 22px; } .footer-cta > :nth-child(4) { grid-row: 5; }
  .footer-cta > :not(.footer-cta-art) { grid-column: 1; }
  .footer-cta > .footer-cta-art { grid-column: 2; grid-row: 1 / -1; align-self: center; }
}
@media (max-width: 899px) { .footer-cta-art { width: min(100%, 520px); margin-top: 8px; } }
