/* site.css — Webloons one-page site.
   Sizes are written in rem where 1rem = 10 px of the 1672 px wide desktop design.
   Phone and tablet: 1rem = 10 px (62.5% of the browser default), layouts reflow.
   Desktop (1280 px and wider): 1rem scales with the window, so the page matches the design at any width.
   Order: fonts · tokens · base · shared parts · header · each section top to bottom · tablet · desktop · reduced motion. */

/* ---------- Fonts (stored in the site; OFL licences beside them) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/PlusJakartaSans.woff") format("woff"); font-weight: 200 800; font-display: swap; }
/* Wordmark only (XOTIQA Quartz lettering): Inter 18pt SemiBold for WEBLOONS, Regular for TOGETHER WE RISE.
   Each file holds only the letters of its line, so re-make it with the new text if the wordmark changes. */
@font-face { font-family: "Inter Wordmark"; src: url("../fonts/Inter-Wordmark-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Wordmark"; src: url("../fonts/Inter-Wordmark-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
/* Display face for headings and big figures: Apple's SF Pro on Apple devices (their system font, never shipped
   with the site — Apple's licence allows it only on their platforms); everywhere else Inter Display, the closest
   open match, Latin only, weights 500–800 */
@font-face { font-family: "Inter Display"; src: url("../fonts/Inter-Display.woff") format("woff"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat.woff") format("woff"); font-weight: 100 900; font-display: swap; }

/* ---------- Design tokens: colours sampled from the design images ---------- */
:root {
  --ink: #0d0c22;
  --ink-2: #44465a;
  --muted: #6b6d82;
  --violet: #6a3cf7;
  --violet-deep: #4d12ee;
  --violet-text: #8f66ff;
  --violet-soft: #ece7fd;
  --lilac: #f5f3fe;
  --night: #02021a;
  --night-card: #0b0b1c;
  --line-dark: rgb(255 255 255 / .1);
  --line-light: #e8e4f7;
  --violet-grad: linear-gradient(135deg, #8b5cf6, #5b21e6);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;
  --font-wide: "Montserrat", var(--font);
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter Display", var(--font);
  --font-brand: "Inter Wordmark", "Inter", "Segoe UI", sans-serif;
  --gutter: 1.6rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-padding-top: 8rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.6rem/1.6 var(--font); color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* Figures line up digit for digit */
dd { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--violet); }
:focus-visible { outline: 2px solid var(--violet-text); outline-offset: 3px; border-radius: .6rem; }
/* Browser surfaces in the brand colours */
::selection { background: #6a3cf7; color: #fff; }
html { scrollbar-color: #6a3cf7 #0b0b1c; accent-color: #6a3cf7; }
input, textarea { caret-color: #6a3cf7; }

/* Icons: every <svg class="i"> draws a sprite symbol in the current text colour */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sprite .fill { fill: currentColor; stroke: none; }
.icon-sprite .cut { stroke: #fff; stroke-width: 2.2; }
.icon-sprite .cut-dot { fill: #fff; stroke: none; }

/* Hidden from the eye, still read by screen readers */
.visually-hidden:where(:not(:focus-within, :active)) { position: absolute !important; clip-path: inset(50%) !important; overflow: hidden !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; white-space: nowrap !important; }
.skip-link { position: fixed; left: 1.6rem; top: -10rem; z-index: 100; padding: 1.2rem 1.8rem; background: #fff; color: var(--ink); border-radius: 1rem; font-weight: 600; }
.skip-link:focus { top: 1.6rem; }

/* ---------- Shared parts ---------- */
/* Centred content column: 1540 design px on desktop */
.wrap { width: min(100% - 2 * var(--gutter), 154rem); margin-inline: auto; }

/* Small label above a heading: a short line, or a sparkle icon */
.eyebrow { display: flex; align-items: center; gap: 1rem; font-size: max(1.5rem, 12px); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--violet); }
/* The glossy Webloons W marks section labels, orbs and tiles in place of a generic sparkle */
.mark-w { width: auto; height: auto; }
.eyebrow-spark .mark-w { width: 2.6em; filter: drop-shadow(0 .2rem .4rem rgb(90 60 200 / .18)); }
.eyebrow-small { font-size: max(1.3rem, 11px); font-weight: 600; letter-spacing: .06em; }

/* Rounded icon tile (process steps, services, contact points) */
.tile { display: grid; place-items: center; width: 6.2rem; aspect-ratio: 1; border-radius: 1.4rem; background: var(--violet-soft); color: var(--violet); font-size: 2.8rem; flex: none; }

/* Glowing sparkle orb (work bar, services bar, footer motto) */
.orb { display: grid; place-items: center; width: 5.8rem; aspect-ratio: 1; border-radius: 50%; flex: none; color: #fff; font-size: 2.6rem; background: radial-gradient(circle at 35% 30%, #a98bff, #6a3cf7 55%, #3b10b5); box-shadow: 0 0 3rem rgb(124 77 255 / .55), inset 0 0 1.2rem rgb(255 255 255 / .35); }
.orb .mark-w { width: 74%; filter: drop-shadow(0 .2rem .6rem rgb(30 10 80 / .35)); }
.orb-soft { width: 8.5rem; background: radial-gradient(circle, #f6e9f6 30%, #f1dbe9 70%); color: #6a3cf7; font-size: 3.4rem; box-shadow: 0 0 3rem rgb(255 180 220 / .55); }

/* Primary purple button (drawer) */
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 5.2rem; padding: 0 2.4rem; border-radius: 1.2rem; background: var(--violet-grad); color: #fff; font-weight: 600; text-decoration: none; }

/* Press feedback on every button-like control */
:is(a, button):active { transform: scale(.98); }

/* ---------- Header ----------
   One fixed header for the whole page, styled as in the hero design at every scroll position:
   the menu in a rounded glass bar, "Let's Talk" as a rounded glass button, the stacked logo at the left.
   Over light sections (data-theme="light", set by site.js) the glass turns light and the text dark. */
.site-header { --dock: 0; --shade: 0; --pill-line: rgb(255 255 255 / .28); --pill-bg: rgb(255 255 255 / .07); --pill-icon: rgb(255 255 255 / .16); --pill-hover: var(--violet-text); position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: color .3s; }
.site-header[data-theme="light"] { --pill-line: #dcd2fb; --pill-bg: rgb(255 255 255 / .78); --pill-icon: var(--violet-soft); --pill-hover: var(--violet); color: var(--ink); }
/* Soft fade behind the header, growing in slowly after it starts to dock (--shade), so it stays readable over any section */
.site-header::before { content: ""; position: absolute; inset: 0 0 -2.4rem; z-index: -1; opacity: var(--shade); pointer-events: none; background: linear-gradient(rgb(2 2 26 / .9) 55%, transparent); transition: background .3s; }
.site-header[data-theme="light"]::before { background: linear-gradient(rgb(246 244 254 / .94) 55%, transparent); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; width: min(100% - 2 * var(--gutter), 154rem); height: 6.4rem; margin-inline: auto; }

/* Logo: glossy ribbon W + wordmark (side by side on phones, stacked from 1024 px) */
.brand { display: flex; align-items: center; gap: 1rem; min-height: 4.4rem; text-decoration: none; }
.brand-mark { width: 5.4rem; }
.brand-words { display: grid; line-height: 1; }
/* Wordmark: all capitals, 0.34em after every letter; the tag line in the same colour at 72 %.
   The negative right margin takes back the spacing after the last letter, so stacked lines stay centred. */
.brand-name, .brand-tag { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .34em; margin-right: -.34em; white-space: nowrap; }
/* WEBLOONS a little tighter than the PDF's 0.34em (Shubham, 29 Nov 2026) */
.brand-name { font-size: 1.6rem; font-weight: 600; line-height: 1; letter-spacing: .2em; margin-right: -.2em; }
.brand-tag { margin-top: .6rem; font-size: max(1rem, 8px); font-weight: 400; opacity: .72; }

/* Main navigation in its rounded glass bar (shown from 1024 px) */
.main-nav, .talk-button { display: none; }
.main-nav > ul { display: flex; align-items: center; gap: 5.2rem; height: 5.3rem; padding: 0 4.3rem; border: 1px solid var(--pill-line); border-radius: 2.65rem; background: var(--pill-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s; }
.main-nav > ul > li > :is(a, .nav-trigger) { position: relative; display: flex; align-items: center; gap: .5rem; padding: 1.2rem 0; border: 0; background: none; font: 600 max(1.21rem, 11px)/1 var(--font-wide); letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .2s; }
.main-nav > ul > li > :is(a, .nav-trigger):is(:hover, [aria-current]) { color: var(--pill-hover); }
.nav-trigger .i { font-size: 1.3rem; transition: rotate .3s var(--ease); }
.nav-trigger[aria-expanded="true"] .i { rotate: 180deg; }
/* Current item: a small pink-violet cloud from the hero sky, gliding under the link (site.js sets --cloud-x) */
.main-nav { position: relative; }
.main-nav li { position: relative; z-index: 1; } /* text stays above the cloud */
.nav-cloud { --cloud-x: 0px; position: absolute; left: 0; bottom: -1.7rem; z-index: 0; width: 8rem; height: auto; opacity: 0; pointer-events: none; translate: var(--cloud-x) 0; transition: translate .7s var(--ease), opacity .4s; }
.nav-cloud.is-shown { opacity: .95; }
@media (prefers-reduced-motion: no-preference) {
  .nav-cloud.is-shown { animation: cloud-drift 6s ease-in-out infinite alternate; }
}
@keyframes cloud-drift { to { transform: translate(.4rem, -.3rem); } }

/* "Let's Talk" rounded glass button */
.talk-button { align-items: center; justify-content: space-between; gap: 1.4rem; height: 5.3rem; padding: 0 1.2rem 0 2.6rem; border: 1px solid var(--pill-line); border-radius: 2.65rem; background: var(--pill-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 max(1.2rem, 11px)/1 var(--font-wide); text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: border-color .2s, background-color .3s; }
.talk-button:hover { border-color: var(--pill-hover); }
.talk-icon { display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: 50%; background: var(--pill-icon); color: inherit; font-size: 1.5rem; }
[data-theme="light"] .talk-icon { color: var(--violet); }

/* Menu button (phone, small tablet): the same rounded glass */
.menu-button { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border: 1px solid var(--pill-line); border-radius: 50%; background: var(--pill-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 2rem; }

/* ---------- Menu drawer (phone, small tablet): a modal dialog that slides in from the right ---------- */
.menu-drawer { inset: 0 0 0 auto; width: min(34rem, 86vw); height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0a0a22; color: #fff; translate: 100% 0; transition: translate .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete; }
.menu-drawer[open] { translate: 0 0; }
@starting-style { .menu-drawer[open] { translate: 100% 0; } }
.menu-drawer::backdrop { background: rgb(2 2 26 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer-sheet { overscroll-behavior: contain; overflow-y: auto; display: flex; flex-direction: column; gap: 2.4rem; height: 100%; padding: 1.6rem 2.4rem 3.2rem; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top .brand-mark { width: 6rem; }
.drawer-close { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border: 1px solid var(--line-dark); border-radius: 1.2rem; background: transparent; font-size: 2.2rem; }
.drawer-links { display: grid; }
.drawer-links a { display: block; padding: 1.4rem 0; border-bottom: 1px solid var(--line-dark); font-size: 2.2rem; font-weight: 600; text-decoration: none; }
/* Services and Industries open in place */
.drawer-group { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.4rem 0; border: 0; border-bottom: 1px solid var(--line-dark); background: none; font-size: 2.2rem; font-weight: 600; text-align: left; }
.drawer-group .i { font-size: 1.8rem; transition: rotate .3s var(--ease); }
.drawer-group[aria-expanded="true"] .i { rotate: 180deg; }
.drawer-sub { padding: .4rem 0 .8rem 1.6rem; border-bottom: 1px solid var(--line-dark); }
.drawer-sub a { padding: 1.1rem 0; border: 0; font-size: 1.7rem; font-weight: 500; color: #c9c9e0; }
.drawer-contact { display: grid; gap: .4rem; }
.drawer-contact a { display: flex; align-items: center; gap: 1.2rem; min-height: 4.4rem; font-size: 1.5rem; color: #c9c9e0; text-decoration: none; }
.drawer-contact .i { font-size: 1.8rem; color: var(--violet-text); }
.drawer-cta { margin-top: auto; }

/* ---------- 01 Hero ---------- */
.hero { position: relative; }
/* The stage carries the sky; on desktop it stays on screen while the About text and story card take over */
.hero-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100svh; padding: 7.6rem var(--gutter) 2rem; background: #101a5c url("../images/hero-sky.webp") 67% 0 / auto 112% no-repeat; color: #fff; }
.hero-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 8rem; pointer-events: none; background: linear-gradient(transparent, #0b0a2c); }
.hero-frame { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2.4rem; padding: 3.2rem 1.6rem 2rem; border: 1.5px solid rgb(190 180 255 / .5); border-radius: 2.4rem; background: linear-gradient(180deg, rgb(10 12 60 / .6) 0%, rgb(10 12 60 / .25) 30%, rgb(8 8 40 / .25) 42%, rgb(8 8 40 / .72) 52%, rgb(8 8 40 / .72) 100%); }
.hero-eyebrow { display: flex; align-items: center; gap: 1.1rem; font: 600 max(1.2rem, 11px)/1.2 var(--font-wide); letter-spacing: .02em; text-transform: uppercase; color: #eceeff; }
.hero-title { margin-top: 1.6rem; font: 700 clamp(2.6rem, 8vw, 3.6rem)/1.15 var(--font-wide); text-transform: uppercase; text-wrap: initial; }
.hero-title span { display: block; background: linear-gradient(90deg, #2ab4f2, #1e7fe4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { max-width: 32rem; margin-top: 1.6rem; font-size: max(1.65rem, 15px); line-height: 1.58; color: #eef0ff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 3rem; margin-top: 2.8rem; }
.hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.4rem; height: 6rem; padding: 0 1.1rem 0 3rem; border-radius: 3rem; background: linear-gradient(180deg, #fff 0%, #f3effc 55%, #d8d0f2 100%); color: #1b1d4f; font: 700 max(1.2rem, 12px)/1 var(--font-wide); text-transform: uppercase; white-space: nowrap; text-decoration: none; box-shadow: 0 0 2.6rem rgb(150 130 255 / .55), inset 0 -.2rem .6rem rgb(120 100 220 / .25); transition: box-shadow .25s; }
.hero-cta:hover { box-shadow: 0 0 3.6rem rgb(170 150 255 / .8), inset 0 -.2rem .6rem rgb(120 100 220 / .25); }
.hero-cta-icon { display: grid; place-items: center; width: 3.8rem; aspect-ratio: 1; border-radius: 50%; background: #e6e1f6; font-size: 1.7rem; }
.hero-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 4.4rem; font: 600 max(1.2rem, 12px)/1 var(--font-wide); text-transform: uppercase; text-decoration: none; }
.hero-link::after { content: ""; width: .6rem; aspect-ratio: 1; border-radius: 50%; background: #5aa7ff; box-shadow: 0 0 .8rem #5aa7ff; }
.hero-scroll { display: none; }
/* Phone and tablet: the frame lists hero text, buttons, figures, then the About text and the story card */
.hero-copy, .hero-swap { display: contents; }
.swap-home { order: 1; }
.hero-actions { order: 2; }
.hero-stats { order: 3; }
.swap-about { order: 4; margin-top: 2.4rem; padding-top: 3.2rem; border-top: 1px solid rgb(255 255 255 / .16); scroll-margin-top: 9rem; }
.hero-card { order: 5; }
.card-badge { display: none; }

/* Story card (the 100% badge grown up on desktop) */
.hero-card { border: 1px solid rgb(255 255 255 / .38); border-radius: 2.2rem; background: linear-gradient(160deg, rgb(255 170 255 / .24), rgb(110 60 240 / .3)); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.card-story { padding: 2.6rem 2.2rem; text-shadow: 0 1px 1.2rem rgb(30 10 80 / .45); }
/* Story card content: label + pill, headline, story, three facts, the closing line. Light text on glass gets
   a soft shadow and one step more weight so it reads over the bright sky */
.story-top { display: flex; align-items: center; justify-content: space-between; }
.story-label { display: flex; align-items: center; gap: .8rem; font: 600 max(1.15rem, 11px)/1.2 var(--font-wide); letter-spacing: .08em; text-transform: uppercase; color: #efe9ff; }
.story-label::before { content: ""; width: .8rem; aspect-ratio: 1; border-radius: 50%; background: #8fd3ff; box-shadow: 0 0 .8rem #8fd3ff; }
.story-pill { padding: .5rem 1.1rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 1.4rem; background: rgb(255 255 255 / .12); font: 600 max(1.1rem, 11px)/1 var(--font-wide); letter-spacing: .04em; text-transform: uppercase; color: #fff; text-shadow: none; }
.story-title { margin-top: 1.4rem; font-size: 2.6rem; font-weight: 700; line-height: 1.18; letter-spacing: -.01em; color: #fff; }
.story-title em { display: block; background: linear-gradient(90deg, #8be3ff, #ddd2ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px .8rem rgb(30 10 80 / .45)); }
.story-text { max-width: 54ch; margin-top: 1.2rem; font-size: max(1.55rem, 15px); font-weight: 500; line-height: 1.65; color: #fff; }
.story-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.8rem; }
.story-facts div { display: flex; flex-direction: column-reverse; padding: 1rem 1.2rem; border: 1px solid rgb(255 255 255 / .28); border-radius: 1.2rem; background: rgb(255 255 255 / .12); }
.story-facts dd { font: 700 2.2rem/1.1 var(--font-wide); color: #fff; font-variant-numeric: tabular-nums; }
.story-facts dt { margin-top: .3rem; font-size: max(1.1rem, 11px); font-weight: 600; letter-spacing: .02em; color: #e9e2ff; }
.story-facts > div { min-width: 0; }
@media (max-width: 399px) { .story-facts { gap: .5rem; } .story-facts div { padding: .8rem; } .story-facts dd { font-size: 1.8rem; } .story-facts dt { font-size: 10px; } }
.story-quote { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; font: 600 max(1.25rem, 12px)/1.45 var(--font-wide); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.story-quote img { width: 4.6rem; flex: none; filter: drop-shadow(0 .4rem .8rem rgb(30 10 80 / .4)); }
/* The cocky moment: a bright line strikes through "templates." as the About stage arrives (--about from site.js) */
.strike { position: relative; text-decoration: none; }
.strike::after { content: ""; position: absolute; left: -.1em; right: -.1em; top: 52%; height: .12em; border-radius: .06em; background: linear-gradient(90deg, #2ab4f2, #a78bfa); box-shadow: 0 0 1rem rgb(90 180 255 / .6); transform-origin: left; transform: scaleX(var(--strike, 1)); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; padding: 1.8rem 2rem; border: 1px solid rgb(255 255 255 / .22); border-radius: 2rem; background: rgb(255 255 255 / .07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dd { font: 600 2.6rem/1.1 var(--font-wide); }
.hero-stats dt { margin-top: .6rem; font: 600 max(1.06rem, 10px)/1.2 var(--font-wide); text-transform: uppercase; letter-spacing: .02em; color: #e3e5ff; }

/* ---------- 02 Before / after ---------- */
.compare { padding: 9.6rem 0 6rem; background: linear-gradient(rgb(2 2 26 / .55) 0%, rgb(2 2 26 / .45) 50%, rgb(2 2 26 / .8) 100%), #0d0b3a url("../images/ba-after-sky.webp") center / cover no-repeat; color: #fff; }
.compare-head { display: grid; gap: 2.8rem; }
.compare-title { margin-top: 1.2rem; font-size: 3.4rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.compare-title em { background: linear-gradient(90deg, #8d5cff, #7b3cf3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare-tagline { margin-top: 1rem; font-size: max(1.8rem, 16px); font-weight: 500; line-height: 1.35; color: #c9b8ff; }
.eyebrow-line { color: #a585ff; font-size: max(1.25rem, 11px); font-weight: 500; }

/* Industry tabs: a sideways-scrolling row on small screens */
.industry-tabs { display: flex; gap: 1rem; margin-inline: calc(-1 * var(--gutter)); padding: .4rem var(--gutter) .8rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.industry-tabs [role="tab"] { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; width: 12.6rem; height: 11rem; padding: 0 .8rem; border: 1px solid rgb(255 255 255 / .16); border-radius: 1.2rem; background: linear-gradient(160deg, rgb(255 255 255 / .12), rgb(255 255 255 / .03)); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 .8rem 2.4rem rgb(0 0 0 / .25); font-size: max(1.25rem, 12px); font-weight: 500; scroll-snap-align: start; transition: border-color .2s, background-color .2s; }
.industry-tabs [role="tab"] .i { font-size: 3.4rem; stroke-width: 1.4; }
.industry-tabs [role="tab"]:hover { border-color: rgb(170 140 255 / .6); background-color: rgb(255 255 255 / .05); }
.industry-tabs small { display: none; }
.industry-tabs [aria-selected="true"] { height: 13.6rem; justify-content: flex-start; padding-top: 2rem; border-color: rgb(140 120 255 / .7); background: linear-gradient(160deg, #1c32e0, #5a18e2 60%, #2d0c8f); box-shadow: 0 0 3rem rgb(90 40 230 / .45); }
.industry-tabs [aria-selected="true"] small { display: flex; align-items: center; gap: .6rem; width: 100%; justify-content: center; margin-top: auto; padding: .9rem 0 1rem; border-top: 1px solid rgb(255 255 255 / .18); font-size: max(1.25rem, 11px); font-weight: 400; color: #dcd6ff; }
.industry-tabs [aria-selected="true"] small::before { content: ""; width: .6rem; aspect-ratio: 1; border-radius: 50%; background: #8f86ff; }

/* The before | after stage */
.compare-stage { position: relative; width: min(100% - 2 * var(--gutter), 157rem); margin: 3rem auto 0; }
.compare-panels { display: grid; }
.compare-panel { grid-area: 1 / 1; display: grid; border: 1px solid rgb(140 120 255 / .35); border-radius: 2.6rem; overflow: hidden; }
.compare-panel[hidden] { display: none; }
.side { position: relative; display: grid; justify-items: center; align-content: start; padding: 2.6rem 1.6rem 3rem; text-align: center; isolation: isolate; }
.side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; }
.side-before::before { background-image: linear-gradient(rgb(2 2 26 / .55), rgb(2 2 26 / .75)), url("../images/ba-before-sky.webp"); }
.side-after { border-top: 1px solid rgb(140 120 255 / .35); }
.side-after::before { background-image: linear-gradient(rgb(8 4 40 / .35), rgb(4 2 30 / .65)), url("../images/ba-after-sky.webp"); }
.side-badge { display: inline-flex; align-items: center; gap: 1rem; height: 3.3rem; padding: 0 1.2rem 0 1.8rem; border-radius: 1.7rem; font-size: max(1.2rem, 11px); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.side-badge .i { font-size: 1.7rem; }
.side-before .side-badge { background: rgb(90 10 40 / .45); border: 1px solid rgb(255 70 110 / .35); }
.side-before .side-badge .i { color: #e5304f; }
.side-after .side-badge { background: rgb(12 14 60 / .6); border: 1px solid rgb(120 130 255 / .35); }
.side-after .side-badge .i { color: #20c063; }
.side h3 { margin-top: 1.6rem; font-size: max(1.6rem, 16px); font-weight: 500; line-height: 1.3; }
.side h3 em { color: #a585ff; }
.side-text { max-width: 26rem; margin-top: .8rem; font-size: max(1.15rem, 13px); line-height: 1.7; color: #d4d5e3; }
.side-shot { width: 100%; max-width: 62rem; max-height: 40rem; margin-top: 2.4rem; object-fit: cover; object-position: top; border-radius: .8rem; box-shadow: 0 2rem 5rem rgb(0 0 0 / .45); }
.side-after .side-shot { max-height: 39.8rem; border-radius: 1.9rem; border: 2px solid #8e6bff; box-shadow: 0 0 2.6rem rgb(130 90 255 / .55); }
.side-points { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.side-points li { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; border: 1px solid rgb(255 255 255 / .1); border-radius: 1rem; background: rgb(14 14 30 / .85); font-size: max(1.3rem, 12px); font-weight: 500; line-height: 1.35; text-align: left; }
.side-points li::before { content: ""; flex: none; width: 1.3rem; aspect-ratio: 1; border-radius: 50%; background: center / 100% no-repeat; }
.side-before .side-points li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23d4223f'/%3E%3Cpath d='m8.5 8.5 7 7m0-7-7 7' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.side-after .side-points li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2319b35a'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Previous / next industry pill in the middle of the stage */
.compare-steppers { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: none; border-radius: 2.4rem; background: linear-gradient(90deg, #3b17d8, #6a2ff0); box-shadow: 0 0 2.4rem rgb(100 60 255 / .6); }
.compare-steppers button { display: grid; place-items: center; width: 4.4rem; height: 4.6rem; border: 0; background: transparent; color: #fff; font-size: 1.8rem; }

/* "Industries We Elevate" row */
.compare-foot { display: grid; gap: 1.6rem; margin-top: 3.2rem; }
.compare-foot h3 { font-size: max(1.85rem, 18px); font-weight: 600; }
.compare-foot p { margin-top: .4rem; font-size: max(1.4rem, 13px); color: #b9bbcc; }
.industry-chips { display: flex; gap: 1.2rem; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; overflow-x: auto; scrollbar-width: none; }
.industry-chips button { display: flex; align-items: center; gap: 1.4rem; height: 6.1rem; padding: 0 2rem; border: 1px solid rgb(255 255 255 / .16); border-radius: 1rem; background: linear-gradient(160deg, rgb(255 255 255 / .12), rgb(255 255 255 / .03)); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); font-size: max(1.45rem, 13px); font-weight: 500; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.industry-chips .i { font-size: 2.6rem; stroke-width: 1.4; }
.industry-chips button:hover { border-color: rgb(150 120 255 / .5); }
.industry-chips [aria-pressed="true"] { border-color: rgb(140 120 255 / .7); background: linear-gradient(160deg, #1c32e0, #4c16d8); }

.eyebrow-spark { color: var(--violet-text); }
[data-theme="light"] .eyebrow-spark, .site-footer .eyebrow-spark { color: var(--violet); }

/* ---------- 04 Services (light) ---------- */
.services { padding: 9.6rem 0 6rem; background: radial-gradient(40% 30% at 8% 85%, #dff4fb, transparent), radial-gradient(35% 30% at 92% 10%, #ece7ff, transparent), #f8f8fb; color: var(--ink); }
.services-head { display: grid; gap: 2rem; }
.services-title { margin-top: 1.4rem; font-size: 3.8rem; font-weight: 600; line-height: 1.12; letter-spacing: -.015em; }
.services-lede { max-width: 39rem; font-size: max(1.6rem, 15px); line-height: 2; color: var(--ink-2); }
.clients-pill { display: inline-flex; align-items: center; gap: 1.6rem; justify-self: start; padding: 1.4rem 2.4rem 1.4rem 1.6rem; border: 1px solid var(--line-light); border-radius: 1.6rem; background: rgb(255 255 255 / .7); box-shadow: 0 1rem 3rem rgb(80 60 160 / .06); font-size: max(1.4rem, 13px); line-height: 1.3; }
.clients-pill strong { display: block; font-size: 2.4rem; font-weight: 500; color: var(--violet); }
.avatars { width: 15.6rem; }

/* Four service cards: a live scene on top (drawn in code, so always sharp), then icon, title, arrow, text, chips */
.service-cards { display: grid; gap: 1.6rem; margin-top: 3.2rem; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 1.2rem 1.2rem 2rem; border: 1px solid #e4def8; border-radius: 2rem; background: rgb(255 255 255 / .86); box-shadow: 0 1rem 3rem rgb(80 60 160 / .06); transition: translate .35s var(--ease), box-shadow .35s, border-color .35s; }
.service-card:hover, .service-card:focus-within { translate: 0 -.4rem; border-color: #cbbcfb; box-shadow: 0 2.2rem 5rem rgb(90 50 220 / .16); }
.svc-stage { position: relative; height: 24rem; border-radius: 1.4rem; overflow: hidden; isolation: isolate; }
.tone-lilac .svc-stage { background: linear-gradient(150deg, #ede7ff, #f7f4ff 60%, #e9e2ff); }
.tone-mist .svc-stage { background: linear-gradient(150deg, #e8f1ff, #f6f8ff 60%, #ebe6ff); }
.tone-sand .svc-stage { background: #1b1240; }
.tone-sky .svc-stage { background: #e9edf6; }
.svc-head { display: flex; align-items: center; gap: 1.2rem; margin: 1.8rem .8rem 0; }
.service-card .tile { width: 4.4rem; border-radius: 1.2rem; font-size: 2.1rem; background: #ece6fe; }
.service-card h3 { flex: 1; font-size: 2rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.features { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem .8rem 0; }
.features li { display: flex; align-items: center; gap: .6rem; height: 2.8rem; padding: 0 1.1rem 0 .8rem; border-radius: 1.4rem; background: #f3f0fd; font-size: max(1.15rem, 12px); font-weight: 500; color: #3b3560; white-space: nowrap; }
.features li::before { content: ""; width: .6rem; aspect-ratio: 1; border-radius: 50%; background: var(--violet); }
.round-link { display: grid; place-items: center; width: 4.4rem; aspect-ratio: 1; flex: none; border-radius: 50%; background: #f3f0fd; color: var(--ink); font-size: 1.8rem; transition: background-color .2s, color .2s, rotate .3s var(--ease); }
.round-link:hover, .service-card:hover .round-link { background: var(--violet); color: #fff; }
.round-link:hover { rotate: 45deg; }

/* -- Scene 1, Website Development: code types itself while a preview builds beside it -- */
.editor { position: absolute; left: 1.4rem; top: 1.6rem; width: 68%; height: 15.4rem; border-radius: 1rem; background: #17122f; box-shadow: 0 1.2rem 2.6rem rgb(40 20 110 / .3); }
.win-bar { display: flex; align-items: center; gap: .5rem; height: 2.6rem; padding: 0 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); }
.win-bar i { width: .8rem; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: .8rem; font-size: 1.05rem; color: #a5a0c8; }
.code { padding: 1rem 1.2rem; font: 500 max(1.1rem, 9px)/1.9 "Cascadia Code", Consolas, ui-monospace, monospace; color: #e7e3ff; }
.code p { position: relative; white-space: pre; }
.code p::after { content: ""; position: absolute; inset: 0 -1rem 0 0; background: #17122f; transform-origin: right; transform: scaleX(0); }
.code b { font-weight: 500; }
.code .k { color: #c4b5fd; }
.code .a { color: #7dd3fc; }
.code .s { color: #86efac; }
.code .c { color: #8b85b3; }
.preview { position: absolute; right: 1.4rem; bottom: 1.4rem; width: 42%; height: 12.6rem; padding: 0 .9rem .9rem; border-radius: .9rem; background: #fff; box-shadow: 0 1.4rem 3rem rgb(60 30 160 / .22); }
.pv-bar { display: flex; gap: .35rem; height: 1.9rem; align-items: center; }
.pv-bar i { width: .55rem; aspect-ratio: 1; border-radius: 50%; background: #e2dcf7; }
.pv-hero { height: 3.8rem; border-radius: .6rem; background: linear-gradient(120deg, #6a3cf7, #22d3ee); }
.pv-line { width: 70%; height: .8rem; margin-top: .8rem; border-radius: .4rem; background: #d9d3f2; }
.pv-btn { width: 40%; height: 1.4rem; margin-top: .7rem; border-radius: .7rem; background: #6a3cf7; }
.pv-cards { display: flex; gap: .5rem; margin-top: .9rem; }
.pv-cards i { flex: 1; height: 1.8rem; border-radius: .4rem; background: #efeafd; }
.score { position: absolute; left: 2.2rem; bottom: 1.4rem; display: grid; place-items: center; width: 4.6rem; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 .8rem 2rem rgb(40 20 110 / .2); }
.score svg { position: absolute; inset: .3rem; rotate: -90deg; fill: none; stroke-width: 3.2; }
.score circle { stroke: #e6f9ee; }
.score .score-ring { stroke: #22c55e; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: 0; }
.score span { font-size: 1.3rem; font-weight: 700; color: #15803d; }

/* -- Scene 2, Landing Pages: a cursor clicks the button and conversions climb; A/B swaps the version -- */
.lp { position: absolute; left: 1.4rem; top: 1.4rem; right: 1.4rem; height: 13.6rem; padding: 1rem 1.2rem; border-radius: 1rem; background: #fff; box-shadow: 0 1.2rem 2.6rem rgb(40 60 140 / .14); }
.lp-nav { display: flex; align-items: center; gap: .8rem; }
.lp-nav i { width: 1.4rem; aspect-ratio: 1; border-radius: .4rem; background: #6a3cf7; }
.lp-nav span { width: 2.6rem; height: .5rem; border-radius: .3rem; background: #e3e0ee; }
.lp-nav span:first-of-type { margin-left: auto; }
.lp-copy { position: absolute; left: 1.2rem; top: 3.6rem; width: 52%; }
.lp-copy b { display: block; height: 1.1rem; margin-bottom: .6rem; border-radius: .4rem; background: #1d1838; transition: background-color .4s; }
.lp-copy b:nth-child(2) { width: 78%; background: #6a3cf7; }
.lp-copy span { display: block; width: 90%; height: .6rem; margin: 1rem 0; border-radius: .3rem; background: #dedbe9; }
.lp-cta { position: relative; display: inline-grid; place-items: center; height: 2.6rem; padding: 0 1.4rem; border-radius: 1.3rem; background: #6a3cf7; color: #fff; font: 600 max(1.05rem, 9px)/1 var(--font); font-style: normal; transition: background-color .4s, border-radius .4s; }
.lp-cta::after { content: ""; position: absolute; inset: -.3rem; border-radius: inherit; border: 2px solid currentColor; opacity: 0; color: #a78bfa; }
.lp-art { position: absolute; right: 1.2rem; top: 3.4rem; width: 36%; height: 8.6rem; border-radius: .8rem; background: radial-gradient(circle at 70% 30%, #c4b5fd, transparent 55%), linear-gradient(140deg, #ede9fe, #ddd6fe); transition: background .4s; }
.stage-landing[data-variant="b"] .lp-copy b:nth-child(2) { background: #0ea5e9; }
.stage-landing[data-variant="b"] .lp-cta { background: #16a34a; border-radius: .6rem; }
.stage-landing[data-variant="b"] .lp-art { background: radial-gradient(circle at 30% 70%, #bae6fd, transparent 55%), linear-gradient(140deg, #e0f2fe, #ccfbf1); }
.stage-landing[data-variant="a"] .for-b, .stage-landing[data-variant="b"] .for-a { display: none; }
.lp-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 2rem; fill: #1d1838; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 .2rem .3rem rgb(0 0 0 / .25)); translate: 25rem 17rem; }
.lp-stat { position: absolute; right: 1.4rem; bottom: 1.2rem; display: grid; grid-template-columns: auto auto; column-gap: .8rem; align-items: end; padding: .8rem 1.1rem; border-radius: 1rem; background: #fff; box-shadow: 0 1rem 2.4rem rgb(40 60 140 / .18); }
.lp-stat > span { grid-column: 1 / -1; font-size: 1rem; color: #6b6785; }
.lp-stat strong { font-size: 1.8rem; color: #15803d; }
.lp-bars { display: flex; align-items: end; gap: .3rem; height: 2.2rem; }
.lp-bars i { width: .5rem; height: 100%; border-radius: .2rem; background: #86efac; transform-origin: bottom; }
.lp-bars i:nth-child(1) { scale: 1 .35; } .lp-bars i:nth-child(2) { scale: 1 .5; } .lp-bars i:nth-child(3) { scale: 1 .62; } .lp-bars i:nth-child(4) { scale: 1 .8; } .lp-bars i:nth-child(5) { scale: 1 1; background: #22c55e; }
.ab { position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 2; display: flex; padding: .3rem; border-radius: 1.2rem; background: #fff; box-shadow: 0 .8rem 2rem rgb(40 60 140 / .16); }
.ab button { min-width: 4.4rem; height: 3.4rem; border: 0; border-radius: .9rem; background: transparent; font-weight: 700; font-size: 1.3rem; color: #5c5778; transition: background-color .25s, color .25s; }
.ab button[aria-pressed="true"] { background: var(--violet); color: #fff; }

/* -- Scene 3, Brand Design: the logo on an artboard; colour swatches restyle it -- */
.stage-brand { --art-bg: #1b1240; --art-ink: #fff; --art-accent: #8b5cf6; background: var(--art-bg) !important; transition: background-color .6s; }
.stage-brand[data-palette="1"] { --art-bg: #082a3a; --art-accent: #22d3ee; }
.stage-brand[data-palette="2"] { --art-bg: #3a0d26; --art-accent: #fb7185; }
.stage-brand[data-palette="3"] { --art-bg: #f5f3ff; --art-ink: #1d1838; --art-accent: #6a3cf7; }
.artboard { position: absolute; inset: 0; color: var(--art-ink); transition: color .6s; }
.guides { position: absolute; left: 50%; top: 1.4rem; width: 80%; translate: -50% 0; fill: none; stroke: var(--art-accent); stroke-width: .6; stroke-dasharray: 2 2; opacity: .45; transition: stroke .6s; }
.artboard img { position: absolute; left: 50%; top: 3.4rem; width: 12rem; translate: -50% 0; filter: drop-shadow(0 .8rem 1.6rem rgb(0 0 0 / .25)); }
.art-word { position: absolute; left: 50%; top: 11rem; translate: -50% 0; font: 600 1.5rem/1 var(--font-brand); letter-spacing: .2em; margin-right: -.2em; }
.art-type { position: absolute; left: 1.6rem; top: 1.2rem; font-size: max(2.2rem, 19px); font-weight: 700; color: var(--art-accent); transition: color .6s; }
.art-hex { position: absolute; right: 1.6rem; top: 1.6rem; font: 600 1.05rem/1 "Cascadia Code", Consolas, monospace; letter-spacing: .06em; opacity: .7; }
.art-hex::after { content: "#8B5CF6"; }
.stage-brand[data-palette="1"] .art-hex::after { content: "#22D3EE"; }
.stage-brand[data-palette="2"] .art-hex::after { content: "#FB7185"; }
.stage-brand[data-palette="3"] .art-hex::after { content: "#6A3CF7"; }
.swatches { position: absolute; left: 50%; bottom: 1.4rem; display: flex; gap: .4rem; padding: .4rem; translate: -50% 0; border-radius: 2.4rem; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .2); }
.stage-brand[data-palette="3"] .swatches { background: rgb(29 24 56 / .06); border-color: rgb(29 24 56 / .12); }
.swatches button { width: 4.4rem; height: 4.4rem; padding: .8rem; border: 0; border-radius: 50%; background: transparent; }
.swatches button::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); transition: scale .25s var(--ease); }
.swatches button[aria-pressed="true"]::before { scale: 1.2; box-shadow: 0 0 0 2px var(--art-bg), 0 0 0 4px var(--art-ink); }

/* -- Scene 4, Website Redesign: drag the handle (or use arrow keys) to compare before and after -- */
.stage-redesign { --split: 50%; }
.rd-after, .rd-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* The "before" picture is shown up to --split: its frame slides right, the picture inside slides back (GPU moves only) */
.rd-before { position: absolute; inset: 0; overflow: hidden; translate: calc(var(--split) - 100%) 0; }
.rd-before img { translate: calc(100% - var(--split)) 0; }
.rd-tag { position: absolute; top: 1.2rem; padding: .5rem 1rem; border-radius: 1.2rem; font-size: max(1.05rem, 10px); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgb(20 16 40 / .72); }
.rd-tag-before { left: 1.2rem; }
.rd-tag-after { right: 1.2rem; background: var(--violet); }
/* The handle layer spans the stage and slides by --split; its line sits on its left edge */
.rd-handle { position: absolute; inset: 0; translate: var(--split) 0; pointer-events: none; }
.rd-handle::before { content: ""; position: absolute; left: -.15rem; top: 0; bottom: 0; width: .3rem; background: #fff; box-shadow: 0 0 1rem rgb(0 0 0 / .3); }
.rd-handle::after { content: ""; position: absolute; left: 0; top: 50%; width: 3.8rem; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a3cf7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 60% no-repeat; box-shadow: 0 .6rem 1.6rem rgb(0 0 0 / .25); }
.rd-range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.stage-redesign:has(.rd-range:focus-visible) .rd-handle::after { outline: 3px solid var(--violet-text); outline-offset: 3px; }

/* "One goal. Four ways." bar */
.services-bar { display: grid; gap: 2rem; margin-top: 1.8rem; padding: 2rem 2.4rem; border: 1px solid var(--line-light); border-radius: 1.8rem; background: rgb(255 255 255 / .6); }
.services-bar-text { font-size: max(1.95rem, 16px); line-height: 1.35; }
.services-bar-text strong { display: block; font-size: 2.3rem; font-weight: 600; color: var(--violet); }
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.promises li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4rem; align-items: center; font-size: max(1.35rem, 12px); line-height: 1.4; color: var(--muted); }
.promises .tile { grid-row: span 2; width: 4.8rem; font-size: 2.2rem; border-radius: 1.4rem; background: #eceaf6; color: #4b3c9a; font-size: 3rem; }
.promises strong { align-self: end; font-size: max(1.5rem, 13px); font-weight: 500; color: var(--ink); }

/* ---------- 05 Process ---------- */
.process { position: relative; display: grid; gap: 2.4rem; padding: 9.6rem var(--gutter) 6rem; background: radial-gradient(50% 40% at 60% 30%, #f8f7ff, transparent), linear-gradient(180deg, #f6f4fe, #f1eefb); color: var(--ink); }
.process-title { margin-top: 1.4rem; font-size: 4rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.process-title em { color: #5b1ff2; }
.process-lede { max-width: 34rem; margin-top: 1.6rem; font-size: max(1.5rem, 15px); line-height: 1.85; color: var(--ink-2); }
/* The scene, drawn in code: 1 design px of the 832 x 680 scene = --u, so everything scales with the scene */
.process-scene { --px: 0; --py: 0; --u: calc(100cqw / 832); position: relative; width: 100%; max-width: 56rem; justify-self: center; aspect-ratio: 832 / 680; container-type: inline-size; translate: calc(var(--px) * .6rem) calc(var(--py) * .6rem); transition: translate .6s var(--ease); font-family: var(--font); color: #1d1838; }
.process-scene .i { stroke-width: 2; }
.scene-art { position: absolute; height: auto; will-change: transform; pointer-events: none; }
/* Artwork boxes from PROCESS_LAYERS in tools/prepare-images.py (design px; the girl is placed inside the screen) */
.art-spiral { left: calc(var(--u) * 78); top: calc(var(--u) * 115); width: calc(var(--u) * 159); z-index: 2; }
.art-ring { left: calc(var(--u) * 584); top: calc(var(--u) * 22); width: calc(var(--u) * 94); }
.art-girl { left: calc(var(--u) * 41); top: calc(var(--u) * 58); width: calc(var(--u) * 240); transform-origin: 50% 92%; }
/* The spiral and ring also lean toward the pointer */
.art-spiral, .art-ring { translate: calc(var(--px) * 1.4rem) calc(var(--py) * 1.4rem); transition: translate .6s var(--ease); }

/* Phone: frame, then a screen in the girl's own background colours so her soft edge never shows */
.phone { position: absolute; left: calc(var(--u) * 220); top: calc(var(--u) * 23); width: calc(var(--u) * 333); height: calc(var(--u) * 644); padding: calc(var(--u) * 9); border-radius: calc(var(--u) * 46); background: linear-gradient(160deg, #fff, #f3f0fd); box-shadow: 0 calc(var(--u) * 30) calc(var(--u) * 70) rgb(90 60 200 / .16), inset 0 0 0 calc(var(--u) * 1.5) #fff, 0 0 0 1px #e7e1fb; }
.phone-screen { position: relative; height: 100%; border-radius: calc(var(--u) * 38); overflow: hidden; background: linear-gradient(180deg, #f3f0fc 0%, #f7f5fd 22%, #f9f7fd 30%, #f2eefc 42%, #e9e3fc 55%, #ece7fc 64%, #f5f3fd 72%); }
.ph-notch { position: absolute; left: calc(var(--u) * 121); top: calc(var(--u) * 3); width: calc(var(--u) * 69); height: calc(var(--u) * 15); border-radius: calc(var(--u) * 8); background: #ddd5fb; }
.phone-logo { position: absolute; left: calc(var(--u) * 18); top: calc(var(--u) * 15); width: calc(var(--u) * 40); aspect-ratio: 1; display: grid; place-items: center; border-radius: calc(var(--u) * 11); background: #fff; box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) rgb(90 60 200 / .12); }
.phone-logo img { width: 82%; }
.ph-level { position: absolute; right: calc(var(--u) * 18); top: calc(var(--u) * 17); display: flex; align-items: center; gap: calc(var(--u) * 4); height: calc(var(--u) * 34); padding: 0 calc(var(--u) * 11); border-radius: calc(var(--u) * 10); background: #fff; box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 16) rgb(90 60 200 / .12); font-size: calc(var(--u) * 11); font-weight: 700; }
.ph-level .i { font-size: calc(var(--u) * 14); color: #5b21e6; stroke: none; fill: currentColor; }
.ph-level-no { display: inline-block; min-width: 1.4em; }

/* Stage tabs: the current stage is filled; they follow the walker, and can be clicked */
.ph-tabs { position: absolute; left: calc(var(--u) * 1); right: calc(var(--u) * 1); top: calc(var(--u) * 375); display: flex; justify-content: space-around; padding: calc(var(--u) * 10) calc(var(--u) * 6) calc(var(--u) * 8); border-radius: calc(var(--u) * 24); background: rgb(255 255 255 / .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ph-tabs button { display: grid; justify-items: center; gap: calc(var(--u) * 7); padding: 0; border: 0; background: none; font-size: calc(var(--u) * 8.6); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #2f2a4a; }
.ph-icon { display: grid; place-items: center; width: calc(var(--u) * 52); aspect-ratio: 1; border-radius: 50%; background: #fff; color: #6a3cf7; font-size: calc(var(--u) * 22); box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 18) rgb(90 60 200 / .14); transition: background-color .35s, color .35s, scale .35s var(--ease), box-shadow .35s; }
.ph-tabs button:hover .ph-icon { scale: 1.08; }
.ph-tabs button[aria-pressed="true"] { color: #6a3cf7; }
.ph-tabs button[aria-pressed="true"] .ph-icon { background: linear-gradient(145deg, #8b5cf6, #5b21e6); color: #fff; box-shadow: 0 calc(var(--u) * 8) calc(var(--u) * 22) rgb(106 60 247 / .45); }

/* Status panel: on track, the stage in progress, step N of 6, the stage's tasks */
.ph-panel { position: absolute; left: calc(var(--u) * 11); right: calc(var(--u) * 11); bottom: calc(var(--u) * 9); top: calc(var(--u) * 481); display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 7); padding: calc(var(--u) * 7); border-radius: calc(var(--u) * 24); background: rgb(255 255 255 / .7); }
.ph-status, .ph-step { position: relative; padding: calc(var(--u) * 12) calc(var(--u) * 12); border-radius: calc(var(--u) * 16); background: #fff; box-shadow: 0 calc(var(--u) * 4) calc(var(--u) * 12) rgb(90 60 200 / .06); }
.ph-track { display: flex; align-items: center; gap: calc(var(--u) * 5); font-size: calc(var(--u) * 10); font-weight: 600; }
.ph-track .i, .ph-bolt .i { stroke: none; fill: currentColor; font-size: calc(var(--u) * 13); }
.ph-bolt { position: absolute; right: calc(var(--u) * 10); top: calc(var(--u) * 7); display: grid; place-items: center; width: calc(var(--u) * 30); aspect-ratio: 1; border-radius: 50%; background: #5b21e6; color: #fff; box-shadow: 0 0 0 0 rgb(91 33 230 / .5); }
.ph-stage-line { margin-top: calc(var(--u) * 22); font-size: calc(var(--u) * 13.5); line-height: 1.3; font-weight: 500; }
.ph-stage { display: block; font-weight: 700; }
.ph-tasks .ph-stage { display: inline; font-weight: 600; }
.ph-dot { display: inline-block; width: calc(var(--u) * 8); aspect-ratio: 1; margin-left: calc(var(--u) * 4); border: calc(var(--u) * 2) solid #6a3cf7; border-radius: 50%; vertical-align: middle; }
.ph-step-no { font-size: calc(var(--u) * 9.5); color: #6b6785; }
.ph-step-no b { font-weight: 700; color: #6a3cf7; }
.ph-bar { display: block; height: calc(var(--u) * 4); margin-top: calc(var(--u) * 6); border-radius: calc(var(--u) * 2); background: #ece7fd; overflow: hidden; }
.ph-bar i { display: block; width: calc(var(--step, 1) / 6 * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #5b21e6); transition: width .6s var(--ease); }
.ph-task { margin-top: calc(var(--u) * 12); font-size: calc(var(--u) * 11); font-weight: 600; }
.ph-faces { display: inline-flex; align-items: center; margin-top: calc(var(--u) * 6); }
.ph-faces img { width: calc(var(--u) * 50); height: calc(var(--u) * 25); object-fit: cover; object-position: left; }
.ph-faces b { display: grid; place-items: center; width: calc(var(--u) * 25); aspect-ratio: 1; margin-left: calc(var(--u) * -4); border: calc(var(--u) * 2) solid #fff; border-radius: 50%; background: #3b1fb8; color: #fff; font-size: calc(var(--u) * 9); }
.ph-more { position: absolute; right: calc(var(--u) * 6); bottom: calc(var(--u) * 6); display: grid; place-items: center; width: calc(var(--u) * 30); aspect-ratio: 1; border: 0; border-radius: 50%; background: #f3f0fd; color: #1d1838; font-size: calc(var(--u) * 14); transition: rotate .3s var(--ease), background-color .2s; }
.ph-more .i { rotate: 90deg; }
.ph-more:hover { background: #e6defd; }
.ph-more[aria-expanded="true"] { rotate: 180deg; }
.ph-tasks { position: absolute; right: calc(var(--u) * 7); bottom: calc(100% + var(--u) * 6); display: grid; gap: calc(var(--u) * 6); width: calc(var(--u) * 170); padding: calc(var(--u) * 12); border-radius: calc(var(--u) * 14); background: #fff; box-shadow: 0 calc(var(--u) * 16) calc(var(--u) * 36) rgb(60 30 160 / .2); font-size: calc(var(--u) * 10.5); }
.ph-tasks[hidden] { display: none; }
.ph-tasks li { display: flex; align-items: center; gap: calc(var(--u) * 7); }
.ph-tasks li::before { content: ""; width: calc(var(--u) * 9); aspect-ratio: 1; border: calc(var(--u) * 2) solid #c9bdf7; border-radius: 50%; }
.ph-tasks .is-done::before { background: #22c55e; border-color: #22c55e; }
.ph-tasks .is-now::before { border-color: #6a3cf7; background: radial-gradient(#6a3cf7 40%, transparent 45%); }

/* Phone outline that lights up when the walker steps into the phone (site.js adds .is-glowing) */
.phone-glow { position: absolute; inset: 0; border: 2px solid #a78bfa; border-radius: inherit; box-shadow: 0 0 2.4rem rgb(139 92 246 / .75), inset 0 0 1.6rem rgb(167 139 250 / .5); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.process-scene.is-glowing .phone-glow { opacity: 1; animation: glow-pulse 1s ease-in-out infinite alternate; }

/* Floating cards around the phone */
.ui-card { position: absolute; z-index: 1; border-radius: calc(var(--u) * 20); background: #fff; box-shadow: 0 calc(var(--u) * 18) calc(var(--u) * 44) rgb(80 50 190 / .14); transition: scale .35s var(--ease), box-shadow .35s; }
.ui-card:hover { scale: 1.04; box-shadow: 0 calc(var(--u) * 24) calc(var(--u) * 56) rgb(80 50 190 / .22); }
.card-kickoff { left: calc(var(--u) * 40); top: calc(var(--u) * 270); width: calc(var(--u) * 240); height: calc(var(--u) * 152); padding: calc(var(--u) * 18); }
.kc-title { display: flex; justify-content: space-between; align-items: center; font-size: calc(var(--u) * 13); font-weight: 700; }
.kc-chip { padding: calc(var(--u) * 3) calc(var(--u) * 8); border-radius: calc(var(--u) * 8); background: #ece6fe; color: #6a3cf7; font-size: calc(var(--u) * 9); font-weight: 600; }
.kc-row { position: relative; width: calc(var(--u) * 118); margin-top: calc(var(--u) * 15); padding-right: calc(var(--u) * 40); font-size: calc(var(--u) * 9.5); line-height: 1.3; font-weight: 500; color: #34304d; }
.kc-pct { position: absolute; right: 0; top: 50%; translate: 0 -60%; padding: calc(var(--u) * 3) calc(var(--u) * 6); border-radius: calc(var(--u) * 8); background: #f0ecfe; color: #5b21e6; font-size: calc(var(--u) * 9.5); font-variant-numeric: tabular-nums; }
.kc-bar { display: block; height: calc(var(--u) * 3); margin-top: calc(var(--u) * 5); border-radius: 2px; background: #efeafd; overflow: hidden; }
.kc-bar i { display: block; width: var(--fill, 0%); height: 100%; background: linear-gradient(90deg, #a78bfa, #6a3cf7); }
.kc-fan { position: absolute; right: calc(var(--u) * 10); bottom: calc(var(--u) * 12); width: calc(var(--u) * 84); fill: #a78bfa; }
.kc-fan path:nth-child(odd) { fill: #8b5cf6; }
.kc-fan path:nth-child(3n) { fill: #c4b5fd; }
.kc-fan circle { fill: #fff; }
.card-idea { left: calc(var(--u) * 520); top: calc(var(--u) * 183); width: calc(var(--u) * 233); height: calc(var(--u) * 157); padding: calc(var(--u) * 18) calc(var(--u) * 18); background: linear-gradient(140deg, #6d28f5, #5313e8 60%, #4c0fd8); color: #fff; overflow: hidden; }
.ic-title { width: 84%; font-size: calc(var(--u) * 11.5); font-weight: 700; line-height: 1.45; }
.ic-menu { position: absolute; right: calc(var(--u) * 14); top: calc(var(--u) * 14); display: flex; gap: calc(var(--u) * 2.5); padding: calc(var(--u) * 7); border-radius: 50%; background: rgb(255 255 255 / .14); }
.ic-menu i { width: calc(var(--u) * 3); aspect-ratio: 1; border-radius: 50%; background: #fff; }
.ic-text { width: 62%; margin-top: calc(var(--u) * 10); font-size: calc(var(--u) * 9.8); line-height: 1.55; color: #e5dcff; }
.ic-bulb { position: absolute; right: calc(var(--u) * 12); bottom: calc(var(--u) * 10); width: calc(var(--u) * 64); fill: #fde68a; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.ic-glow { fill: #fde68a; stroke: none; opacity: .25; transform-origin: 20px 16px; }
.card-standup { left: calc(var(--u) * 597); top: calc(var(--u) * 417); width: calc(var(--u) * 196); height: calc(var(--u) * 113); padding: calc(var(--u) * 16) calc(var(--u) * 16); }
.sc-title { display: flex; justify-content: space-between; align-items: center; font-size: calc(var(--u) * 11.5); font-weight: 700; }
.sc-faces { margin: 0; }
.sc-label { margin-top: calc(var(--u) * 12); font-size: calc(var(--u) * 11.5); font-weight: 600; }
.sc-time { margin-top: calc(var(--u) * 3); font-size: calc(var(--u) * 12); font-weight: 500; font-variant-numeric: tabular-nums; }
.card-clients { left: calc(var(--u) * 597); top: calc(var(--u) * 563); width: calc(var(--u) * 156); height: calc(var(--u) * 87); padding: 0; background: #fbfaff; border: calc(var(--u) * 1.5) solid #d9cffb; }
.cc-pill { display: flex; align-items: center; justify-content: space-between; height: calc(var(--u) * 46); margin: calc(var(--u) * -1.5); padding: 0 calc(var(--u) * 7) 0 calc(var(--u) * 16); border-radius: calc(var(--u) * 23); background: linear-gradient(90deg, #6d28f5, #5313e8); color: #fff; }
.cc-count { font-size: calc(var(--u) * 19); font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-star { display: grid; place-items: center; width: calc(var(--u) * 32); aspect-ratio: 1; border-radius: 50%; background: #fff; color: #5b21e6; font-size: calc(var(--u) * 18); }
.cc-label { padding-top: calc(var(--u) * 10); text-align: center; font-size: calc(var(--u) * 12); font-weight: 600; }
@keyframes glow-pulse { to { box-shadow: 0 0 4rem rgb(139 92 246 / .95), inset 0 0 2.4rem rgb(167 139 250 / .7); } }
.process-lines, .walker { display: none; }
.steps { display: grid; gap: 1.4rem; counter-reset: none; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1.6rem; align-items: center; padding: 2rem; border: 1px solid #ecebf4; border-radius: 1.8rem; background: rgb(255 255 255 / .88); box-shadow: 0 1.2rem 3rem rgb(70 50 160 / .06); transition: translate .35s var(--ease), box-shadow .35s, border-color .35s; }
.step-no { position: absolute; top: 1.2rem; right: 1.4rem; display: grid; place-items: center; width: 4.2rem; aspect-ratio: 1; border-radius: 50%; background: #ebe6fd; color: var(--violet-deep); font-size: 1.7rem; font-weight: 600; }
.step .tile { position: relative; grid-row: span 2; background: #efebfd; color: var(--violet-deep); font-size: 2.8rem; transition: background-color .3s, color .3s, box-shadow .3s, scale .3s var(--ease); }
/* Hovered, or the step the walker is standing at: the card lifts and its tile lights up */
.step:hover, .step.is-active { translate: 0 -.4rem; border-color: #d8ccfd; box-shadow: 0 1.8rem 4rem rgb(90 50 220 / .16); }
.step:hover .tile, .step.is-active .tile { background: linear-gradient(145deg, #8b5cf6, #5b21e6); color: #fff; box-shadow: 0 .8rem 2rem rgb(106 60 247 / .4); scale: 1.06; }
.step h3 { align-self: end; padding-right: 4.4rem; font-size: 1.9rem; font-weight: 700; }
.step p { font-size: max(1.4rem, 14px); line-height: 1.5; color: var(--ink-2); }

/* ---------- 06 Contact ---------- */
.contact { position: relative; display: grid; gap: 2.4rem; padding: 9.6rem var(--gutter) 4rem; background: radial-gradient(60% 45% at 100% 100%, #cdbcf9, transparent), radial-gradient(45% 35% at 0% 100%, #d9cdfb, transparent), linear-gradient(180deg, #f6f4fe 0%, #eee9fd 100%); color: var(--ink); isolation: isolate; overflow: hidden; }
.contact-art { position: relative; order: 2; width: 100%; max-width: 60rem; justify-self: center; }
.contact-art img { width: 100%; }
/* The mailbox opening (61% across, 38% down the picture): glows and shows "+1" when a message lands (.is-landed) */
.mail-slot { position: absolute; left: 61%; top: 38%; width: 0; height: 0; }
.mail-slot::before { content: ""; position: absolute; left: -4rem; top: -3rem; width: 8rem; height: 6rem; border-radius: 50%; background: radial-gradient(rgb(196 181 253 / .9), transparent 70%); opacity: 0; transition: opacity .4s; }
.mail-slot b { position: absolute; left: 1rem; top: -5rem; padding: .3rem 1rem; border-radius: 1.2rem; background: #22c55e; color: #fff; font-size: 1.4rem; opacity: 0; translate: 0 1rem; transition: opacity .4s, translate .6s var(--ease); }
.contact-art.is-landed .mail-slot::before { opacity: 1; }
.contact-art.is-landed .mail-slot b { opacity: 1; translate: 0 0; }
/* The paper plane that carries the message (created by site.js) */
.flying-plane { position: fixed; left: 0; top: 0; z-index: 60; width: 5.2rem; height: 5.2rem; color: #6a3cf7; pointer-events: none; filter: drop-shadow(0 .6rem 1rem rgb(106 60 247 / .4)); }
.flying-plane .i { width: 100%; height: 100%; }
.contact-title { margin-top: 1.4rem; font-size: 4rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.contact-title em { position: relative; color: #6236fb; }
.contact-title em::after { content: ""; position: absolute; left: 0; bottom: -.9rem; width: 7.6rem; height: .5rem; border-radius: 50%; background: linear-gradient(90deg, #6a3cf7, transparent); }
.contact-lede { max-width: 42rem; margin-top: 2rem; font-size: max(1.8rem, 16px); line-height: 1.7; color: var(--ink-2); }
.contact-points { display: grid; gap: 2rem; margin-top: 3rem; }
.contact-points li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.8rem; align-items: center; font-size: max(1.45rem, 14px); color: #55566a; }
.contact-points .tile { grid-row: span 2; width: 6rem; border-radius: 1.2rem; background: #fff; box-shadow: 0 .8rem 2rem rgb(80 60 180 / .12); font-size: 2.6rem; transition: translate .3s var(--ease), box-shadow .3s; }
.contact-points li:hover .tile { translate: 0 -.3rem; box-shadow: 0 1.2rem 2.6rem rgb(80 60 180 / .22); }
.contact-points .tile .i { color: #6a3cf7; }
.tile .mark-w { width: 72%; }
.contact-points strong { align-self: end; font-size: max(1.65rem, 15px); font-weight: 600; color: var(--ink); }

/* Enquiry form card */
.contact-form { display: grid; grid-template-columns: 1fr; gap: 1.6rem; padding: 2.8rem 2rem; border: 1px solid #ece6fd; border-radius: 2.4rem; background: rgb(255 255 255 / .9); box-shadow: 0 2rem 5rem rgb(90 60 200 / .08); }
.contact-form h3 { font-size: 2.8rem; font-weight: 600; line-height: 1.2; }
.form-lede { margin-top: -.6rem; font-size: max(1.65rem, 15px); color: var(--ink-2); }
/* Progress through the three required fields (--done from site.js, 0-3) */
.form-progress { --done: 0; display: flex; align-items: center; gap: 1.2rem; font-size: max(1.25rem, 12px); font-weight: 600; color: #6b6785; }
.fp-bar { flex: 1; height: .6rem; border-radius: .3rem; background: #ece7fd; overflow: hidden; }
.fp-bar i { display: block; height: 100%; width: calc(var(--done) / 3 * 100%); border-radius: inherit; background: linear-gradient(90deg, #a78bfa, #6a3cf7); transition: width .5s var(--ease); }
.form-progress[data-complete] { color: #15803d; }
.form-progress[data-complete] .fp-bar i { background: linear-gradient(90deg, #4ade80, #16a34a); }
.fp-count { font-variant-numeric: tabular-nums; color: var(--ink); }
/* "I need" toggles */
.needs { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 0; padding: 0; border: 0; }
.needs-label { margin-right: .4rem; font-size: max(1.35rem, 13px); font-weight: 600; color: #3b3c50; }
.need { min-height: 3.8rem; padding: 0 1.6rem; border: 1px solid #e0d8fb; border-radius: 1.9rem; background: #f8f5fe; font-size: max(1.35rem, 13px); font-weight: 500; color: #3b3560; transition: background-color .2s, border-color .2s, color .2s, scale .2s var(--ease); }
.need:hover { border-color: #b9a5fb; }
.need[aria-pressed="true"] { border-color: transparent; background: linear-gradient(135deg, #8b5cf6, #5b21e6); color: #fff; scale: 1.04; }
.need[aria-pressed="true"]::before { content: "✓ "; }
/* Message character count */
.char-count { position: absolute; right: 1.4rem; bottom: 1rem; font-size: max(1.15rem, 11px); color: #6b6785; font-variant-numeric: tabular-nums; pointer-events: none; }
.char-count b { font-weight: 600; }
/* Field icons pop when their field is focused or filled */
.field > .i { transition: scale .3s var(--ease), color .3s; position: absolute; left: 1.8rem; top: 1.8rem; font-size: 2rem; color: #6a3cf7; stroke-width: 1.5; pointer-events: none; }
.field:focus-within > .i { scale: 1.15; }
.field:has(:is(input, textarea):user-valid) > .i { color: #16a34a; }
.field { position: relative; }
.field input, .field textarea { width: 100%; height: 5.6rem; padding: 0 1.6rem 0 5.4rem; border: 1px solid #e3dcfa; border-radius: 1rem; background: #f8f5fe; color: var(--ink); font: 400 max(1.6rem, 16px)/1.4 var(--font); transition: border-color .2s, background-color .2s; }
.field textarea { height: 12.5rem; padding-top: 1.7rem; resize: vertical; }
.field :is(input, textarea)::placeholder { color: #3b3c50; opacity: .9; }
.field :is(input, textarea):focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 3px rgb(106 60 247 / .15); }
.field-error { display: none; margin-top: .6rem; font-size: max(1.35rem, 13px); color: #c2183a; }
.field-error::before { content: "Error: "; font-weight: 600; }
.field :is(input, textarea):user-invalid { border-color: #d0284a; background: #fff4f6; }
.field :is(input, textarea):user-invalid ~ .field-error { display: block; }
.send-button { display: flex; align-items: center; justify-content: center; gap: 2rem; height: 5.7rem; border: 0; border-radius: 1rem; background: linear-gradient(90deg, #8a5cfb, #6a3cf7 60%, #6236f3); color: #fff; font-size: max(1.85rem, 16px); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 1rem 2.4rem rgb(106 60 247 / .35); transition: box-shadow .2s, filter .2s; }
.send-button:hover { filter: brightness(1.06); box-shadow: 0 1.2rem 3rem rgb(106 60 247 / .45); }
.send-icon { display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .18); font-size: 2rem; }
/* Consent notice under Send, and the spam check (invisible unless Cloudflare asks the visitor to tick it) */
.form-consent { font-size: max(1.25rem, 12px); color: #6b6785; }
.form-consent a { color: var(--violet); }
.cf-turnstile:empty { display: none; }
.form-status:empty { display: none; }
.form-status { font-size: max(1.45rem, 14px); color: #2f2a55; }

/* Contact figures */
.contact-stats { display: grid; grid-template-columns: repeat(2, 1fr); padding: 2rem 1rem; border: 1px solid #ece6fd; border-radius: 2.4rem; background: rgb(255 255 255 / .75); text-align: center; }
.contact-stats div { display: flex; flex-direction: column; align-items: center; padding: 1.4rem 1rem; border-radius: 1.6rem; transition: background-color .3s, translate .3s var(--ease); }
.contact-stats div:hover { background: #f6f2ff; translate: 0 -.3rem; }
.contact-stats div > .i { width: 4.8rem; height: 4.8rem; padding: .9rem; border-radius: 1.2rem; background: #f3effe; color: #6a3cf7; }
.contact-stats dd { order: 2; margin-top: 1rem; font-size: 3rem; font-weight: 700; line-height: 1.2; }
.contact-stats dd .infinity { width: 1.4em; stroke-width: 2.6; }
.contact-stats dt { order: 3; max-width: 11rem; font-size: max(1.5rem, 13px); line-height: 1.45; color: #55566a; }

/* Quick chat bar */
.quick-chat { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.6rem; padding: 1.8rem 2rem; border: 1px solid rgb(255 255 255 / .8); border-radius: 2.2rem; background: rgb(255 255 255 / .55); font-size: max(2.2rem, 17px); font-weight: 500; color: #1c1d2e; text-align: center; }
.quick-chat a { display: inline-flex; align-items: center; gap: 1.4rem; min-height: 4.4rem; color: var(--violet); text-decoration: none; }
.quick-chat a:hover { text-decoration: underline; text-underline-offset: .4rem; }
.chat-bubble { display: flex; align-items: center; justify-content: center; width: 5.2rem; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #a585ff, #6a3cf7); color: #fff; font-size: 3.2rem; box-shadow: 0 .8rem 2rem rgb(106 60 247 / .35); gap: .4rem; }
.chat-bubble i { width: .7rem; aspect-ratio: 1; border-radius: 50%; background: #fff; }

/* ---------- 07 Closing call to action + footer ---------- */
.site-footer { padding: 4rem var(--gutter) 2.4rem; background: linear-gradient(180deg, #f6f5fd, #f2f1fb); color: var(--ink); }
.closing { position: relative; display: grid; gap: 2.4rem; padding: 3.2rem 2.4rem; border: 1px solid #ecebf6; border-radius: 2.6rem; background: linear-gradient(90deg, #fcfcff, #f7f7fd); box-shadow: 0 2.4rem 6rem rgb(90 70 190 / .07); overflow: hidden; }
.closing-title { margin-top: 1.4rem; font-size: 3.4rem; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.closing-copy > p:last-child { max-width: 40rem; margin-top: 1.8rem; font-size: max(1.65rem, 15px); line-height: 1.65; color: var(--ink-2); }
.conversation { position: relative; display: flex; align-items: center; gap: 2rem; justify-self: start; text-decoration: none; font-size: max(1.4rem, 13px); color: var(--muted); }
.conversation strong { display: block; font-size: max(1.65rem, 15px); font-weight: 600; color: var(--ink); }
.conversation-icon { display: grid; place-items: center; width: 6.6rem; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--violet); font-size: 2.6rem; box-shadow: 0 1rem 2.6rem rgb(90 60 200 / .14); transition: background-color .2s, color .2s; }
.conversation:hover .conversation-icon { background: var(--violet); color: #fff; }
.conversation-orbit { display: none; }
/* Planet scene: sizes in % of its own width (--w), layers lean toward the pointer (--fx, --fy from site.js) */
.closing-art { width: 100%; max-width: 44rem; justify-self: center; }
.planet-scene { --fx: 0; --fy: 0; --w: calc(100cqw / 100); position: relative; aspect-ratio: 880 / 540; container-type: inline-size; }
.planet-scene > span { position: absolute; transition: translate .8s var(--ease); }
.ps-glow { left: 20%; top: 8%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(167 139 250 / .45), transparent 65%); filter: blur(calc(var(--w) * 3)); }
.planet { left: 27%; top: 6%; width: 46%; aspect-ratio: 1; translate: calc(var(--fx) * var(--w) * 2) calc(var(--fy) * var(--w) * 2); }
.planet-ball::before { content: ""; position: absolute; inset: -30%; background: repeating-radial-gradient(circle at 70% 30%, transparent 0 calc(var(--w) * 2.2), rgb(255 255 255 / .16) calc(var(--w) * 2.2) calc(var(--w) * 2.45)); }
.planet-ball { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #efe9ff 0%, #b9a2fb 28%, #8b5cf6 58%, #5b21e6 100%); box-shadow: inset calc(var(--w) * -3) calc(var(--w) * -4) calc(var(--w) * 8) rgb(60 20 170 / .45), 0 calc(var(--w) * 4) calc(var(--w) * 10) rgb(110 70 240 / .35); }
.planet-ring { position: absolute; left: -32%; top: 38%; width: 164%; height: 26%; border: calc(var(--w) * .55) solid rgb(255 255 255 / .85); border-radius: 50%; rotate: -11deg; box-shadow: 0 0 calc(var(--w) * 2) rgb(196 181 253 / .9), inset 0 0 calc(var(--w) * 1.5) rgb(196 181 253 / .6); transition: box-shadow .4s; }
.ring-back { clip-path: inset(0 0 52% 0); }
.ring-front { clip-path: inset(48% 0 0 0); }
.planet-scene:hover .planet-ring { box-shadow: 0 0 calc(var(--w) * 3.5) rgb(216 200 255), inset 0 0 calc(var(--w) * 2) rgb(216 200 255 / .8); }
.ps-moon { left: 16%; top: 30%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c4b5fd, #6a3cf7); box-shadow: 0 0 calc(var(--w) * 2) rgb(139 92 246 / .6); }
.ps-gem { left: 78%; top: 6%; width: 7%; aspect-ratio: 1; background: linear-gradient(135deg, #c4b5fd, #7c3aed 55%, #4c1d95); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); translate: calc(var(--fx) * var(--w) * 5) calc(var(--fy) * var(--w) * 5); filter: drop-shadow(0 0 calc(var(--w) * 1.5) rgb(139 92 246 / .7)); }
.ps-pearl { left: 76%; top: 66%; width: 8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ece7fd 50%, #c9bdf3); box-shadow: 0 calc(var(--w) * 1) calc(var(--w) * 3) rgb(110 70 240 / .25); translate: calc(var(--fx) * var(--w) * 4) calc(var(--fy) * var(--w) * 4); }
.ps-dot { width: 1%; aspect-ratio: 1; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 calc(var(--w) * 1) #c4b5fd; }
.d1 { left: 23%; top: 14%; } .d2 { left: 70%; top: 14%; width: .7%; } .d3 { left: 84%; top: 40%; width: .8%; }

/* Arch scene: a glowing doorway with the W inside; hover lights it up; clouds drift */
.arch-scene { --w: calc(100cqw / 100); aspect-ratio: 452 / 376; container-type: inline-size; }
.arch-scene > span { position: absolute; }
.arch { left: 28%; top: 8%; width: 44%; height: 76%; padding: 5%; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: linear-gradient(160deg, #fff, #e6e0fb); box-shadow: 0 calc(var(--w) * 4) calc(var(--w) * 8) rgb(110 70 240 / .18), inset 0 0 0 calc(var(--w) * .6) #fff; }
.arch-door { display: grid; place-items: center; height: 100%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: linear-gradient(180deg, #5b21e6 0%, #8b5cf6 55%, #e9ddff 100%); box-shadow: inset 0 calc(var(--w) * -6) calc(var(--w) * 8) rgb(255 255 255 / .5); transition: filter .5s, box-shadow .5s; }
.arch-door img { width: 62%; opacity: 0; scale: .7; transition: opacity .5s var(--ease), scale .5s var(--ease); filter: drop-shadow(0 0 calc(var(--w) * 3) rgb(255 255 255 / .8)); }
.arch-scene:hover .arch-door, .footer-brand:hover .arch-door { filter: brightness(1.15); box-shadow: inset 0 calc(var(--w) * -6) calc(var(--w) * 8) rgb(255 255 255 / .7), 0 0 calc(var(--w) * 8) rgb(139 92 246 / .6); }
.arch-scene:hover .arch-door img, .footer-brand:hover .arch-door img { opacity: 1; scale: 1; }
.arch-step { left: 22%; top: 84%; width: 56%; height: 7%; border-radius: calc(var(--w) * 1.5); background: linear-gradient(180deg, #fff, #ddd6f7); box-shadow: 0 calc(var(--w) * 2) calc(var(--w) * 4) rgb(110 70 240 / .15); }
.arch-cloud { width: 18%; height: 9%; border-radius: calc(var(--w) * 5); background: #fff; box-shadow: 0 calc(var(--w) * 1.5) calc(var(--w) * 3) rgb(110 70 240 / .15); }
.arch-cloud::before, .arch-cloud::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.arch-cloud::before { left: 16%; bottom: 40%; width: 44%; aspect-ratio: 1; }
.arch-cloud::after { left: 44%; bottom: 30%; width: 38%; aspect-ratio: 1; }
.ac1 { left: 14%; top: 42%; }
.ac2 { left: 72%; top: 26%; width: 16%; }

.footer-main { display: grid; gap: 3.2rem; margin-top: 4rem; }
.footer-brand > p { max-width: 20rem; margin-top: 2.6rem; font-size: max(1.35rem, 13px); line-height: 1.6; color: var(--muted); }
.footer-brand > p:not(.worldwide)::after { content: ""; display: block; width: 2.6rem; height: .15rem; margin-top: 3rem; background: #b9a3fb; }
.worldwide { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2.6rem; padding: .7rem 1.2rem; border: 1px solid var(--line-light); border-radius: .9rem; background: #fff; font-size: max(1.05rem, 10px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: #2b2c3d; }
.worldwide .i { font-size: 1.6rem; color: var(--violet); }
.worldwide::after { content: ""; width: .6rem; aspect-ratio: 1; border-radius: 50%; background: #2ecc71; }
.footer-arch { display: none; }
.footer-col h3, .footer-connect h3 { font-size: max(1.3rem, 12px); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--violet); }
.footer-col ul { display: grid; gap: .2rem; margin-top: 1.6rem; }
.footer-col li { display: flex; align-items: center; gap: 1.2rem; min-height: 3.56rem; font-size: max(1.45rem, 14px); color: #2a2b3a; }
.footer-col a, .contact-lines a { display: inline-flex; align-items: center; min-height: 4.4rem; text-decoration: none; }
.footer-col a:hover { color: var(--violet); }
.socials { display: flex; gap: 1.6rem; margin-top: 2.6rem; padding-bottom: 3.4rem; border-bottom: 1px solid var(--line-light); }
.socials a { display: grid; place-items: center; width: 4.4rem; aspect-ratio: 1; border-radius: 1rem; background: #fff; box-shadow: 0 .6rem 1.6rem rgb(80 60 180 / .1); color: var(--violet); font-size: 2rem; text-decoration: none; transition: background-color .2s, color .2s, translate .3s var(--ease); }
.socials a:hover { background: var(--violet); color: #fff; translate: 0 -.2rem; }
.contact-lines { display: grid; gap: 1.2rem; margin-top: 2.8rem; }
.contact-lines li { display: flex; align-items: center; gap: 1.4rem; font-size: max(1.45rem, 14px); color: #2a2b3a; }
.contact-lines .i { font-size: 1.9rem; color: var(--violet); stroke-width: 1.5; }
.contact-lines a:hover { color: var(--violet); }
.footer-motto { position: relative; display: flex; align-items: center; gap: 3.6rem; padding: 2.4rem; border: 1px solid #edecf6; border-radius: 2.2rem; background: #fff; overflow: hidden; isolation: isolate; }
.footer-motto p { font-size: max(1.65rem, 15px); font-weight: 600; line-height: 1.45; }
.footer-motto strong { display: block; color: var(--violet); }
.footer-wave { position: absolute; right: 0; top: 50%; translate: 0 -50%; z-index: -1; width: 70%; height: 100%; opacity: .7; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-inline: 1.6rem; font-size: max(1.25rem, 12px); color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: .8rem 2.8rem; }
.legal-links a { text-decoration: none; }
/* Taps: the small legal links and the process phone's small controls get a full-size touch area; the look is unchanged */
.legal-links a, .cookie-settings { display: inline-flex; align-items: center; min-height: 4.4rem; }
.ph-tabs button { position: relative; } /* .ph-more is already positioned */
.ph-tabs button::after, .ph-more::after { content: ""; position: absolute; inset: -1.2rem; }
.legal-links a:hover, .cookie-settings:hover { color: var(--violet); }
.cookie-settings { padding: 0 0 0 2.8rem; border: 0; border-left: 1px solid var(--line-light); background: none; font: inherit; color: inherit; }
.legal-links a + a { padding-left: 2.8rem; border-left: 1px solid var(--line-light); }
.footer-orbit { display: none; }

/* =========================================================
   Tablet: 768 px and wider
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 3.2rem; }
  .hero-stage { padding: 8.8rem var(--gutter) 3.2rem; }
  .hero-frame { padding: 4rem 4rem 3.2rem; border-radius: 2.8rem; }
  .hero-copy { max-width: 46rem; }
  .hero-title { font-size: 4.6rem; }
  .hero-stage { background-position: 62% 40%; background-size: cover; }
  .hero-lede { max-width: 40rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .card-story { padding: 3.6rem 4rem; }
  .story-title { font-size: 3.2rem; }
  .story-text { max-width: 60rem; }
  .hero-badge-label { display: flex; align-items: center; gap: .6rem; font-size: max(1.2rem, 10px); font-weight: 600; color: #f3eaff; }
  .hero-badge-label::before { content: ""; width: 1.1rem; aspect-ratio: 1; border-radius: 50%; background: #e8f0ff; box-shadow: 0 0 .6rem #fff; }
  .hero-badge-figure { margin-top: 1.6rem; font-size: 4.3rem; font-weight: 700; line-height: 1; }
  .hero-badge-text { margin-top: 2rem; font-size: max(1.38rem, 11px); font-weight: 600; line-height: 1.6; }
  .card-badge img { width: 5.6rem; margin: 1.6rem auto 0; }

  .side { padding: 3rem 3.2rem 3.4rem; }
  .side-text { max-width: 30rem; }


  .services-head { grid-template-columns: 1fr auto; align-items: end; }
  .services-lede { grid-column: 1 / -1; }
  .clients-pill { grid-row: 1; grid-column: 2; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-bar { grid-template-columns: auto 1fr; align-items: center; }
  .promises { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }

  .process { grid-template-columns: 1fr 1fr; align-items: center; }
  .process-scene { grid-column: 1 / -1; max-width: 72rem; } /* full row on tablets, so the app text is readable */
  .steps { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }

  .contact { grid-template-columns: 1fr 1fr; align-items: start; column-gap: 3.2rem; }
  .contact-copy { grid-column: 1 / -1; }
  .contact-copy, .contact-form { order: -1; }
  .contact-points { grid-template-columns: repeat(3, 1fr); }
  .contact-form { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding: 3.6rem 4.2rem; }
  .contact-form > :is(h3, .form-lede, .form-progress, .field-full, .send-button, .form-consent, .form-status) { grid-column: 1 / -1; }
  .contact-art { order: 0; grid-column: 1; align-self: center; }
  .contact-stats { grid-column: 2; }
  .quick-chat { grid-column: 1 / -1; }

  .closing { grid-template-columns: 1fr auto; padding: 4rem 4.4rem; }
  .closing-art { grid-row: 1 / span 2; grid-column: 2; width: 30rem; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-brand, .footer-connect { grid-column: span 3; }
  .footer-motto { grid-column: 1 / -1; }
  }

/* =========================================================
   Wide tablet / small laptop: 1024 px and wider — inline navigation
   ========================================================= */
@media (min-width: 1024px) {
  .menu-button { display: none; }
  .header-bar { display: grid; grid-template-columns: 1fr auto 1fr; height: 9rem; }
  .site-header .brand { flex-direction: column; gap: .4rem; justify-self: start; }
  .site-header .brand-mark { width: 6.4rem; }
  .site-header .brand-words { justify-items: center; }
  .site-header .brand-name { font-size: 1.4rem; }
  .site-header .brand-tag { margin-top: .5rem; font-size: max(.7rem, 7px); }
  .main-nav { display: block; }
  .main-nav > ul { gap: clamp(2rem, 2.6vw, 5.2rem); padding: 0 clamp(2.4rem, 2.8vw, 4.3rem); }
  .talk-button { display: inline-flex; justify-self: end; }
  .compare-head { grid-template-columns: auto 1fr; align-items: start; }
  .side-after { border-top: 0; border-left: 1px solid rgb(140 120 255 / .35); }
  .compare-panel { grid-template-columns: 1fr 1fr; }
  .compare-steppers { display: flex; }
  .industry-tabs { margin: 0; padding: .4rem 0 .8rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; }
  .footer-brand, .footer-connect { grid-column: auto; }
}

/* =========================================================
   Desktop: 1280 px and wider — the 1672 x 941 designs, scaled to the window.
   Positions below are the design's own pixel positions divided by ten.
   ========================================================= */
@media (min-width: 1280px) {
  html { font-size: min(calc(100vw / 167.2), 11.5px); scroll-padding-top: 9.6rem; }
  :root { --gutter: 6.6rem; }

  /* Header: glides from its place inside the hero frame (--dock 0, design 01.png) to the top of the page
     (--dock 1). Only translate and scale change, so the browser moves it on the GPU without re-laying out
     the page: the bar keeps its docked width, the logo and "Let's Talk" slide 16.45rem in from the sides
     (half of 154 − 121.1, the two bar widths) and the logo scales from its docked size to the design's. */
  .header-bar { width: 154rem; height: 9.6rem; translate: 0 calc(10.45rem * (1 - var(--dock))); will-change: translate; }
  .site-header .brand { transform-origin: 0 0; translate: calc(16.45rem * (1 - var(--dock))) calc(1.1rem * (1 - var(--dock))); scale: calc(1 + .243 * (1 - var(--dock))); will-change: translate, scale; }
  .site-header .brand-mark { width: 7.4rem; }
  .site-header .brand-name { font-size: 1.35rem; }
  .site-header .talk-button { translate: calc(-16.45rem * (1 - var(--dock))) 0; will-change: translate; }
  .site-header .brand-tag { margin-top: .4rem; }
  .talk-button { width: 15.6rem; }

  /* 01 Hero (design 01.png: frame 191–1481 x 86–863) */
  /* The section is two screens tall; its stage stays on screen (sticky) for the first, while the About
     text and story card take over, then scrolls away into the before/after morph */
  .hero { height: 188.2rem; }
  .hero-stage { position: sticky; top: 0; display: block; min-height: 0; height: 94.1rem; padding: 0; background-position: center; }
  .hero-frame { position: absolute; z-index: 1; inset: 8.6rem 19.1rem 7.8rem; display: block; padding: 0; border-radius: 2.6rem; background: rgb(255 255 255 / .02); box-shadow: inset 0 0 8rem rgb(120 100 255 / .06); }
  .hero-copy { position: absolute; left: 4rem; top: 21.1rem; display: block; width: 56rem; }
  /* Hero text and About text share one place; --about (0 → 1, from site.js) fades one out and the other in */
  .hero-swap { display: grid; }
  .swap-home, .swap-about { --about: 0; grid-area: 1 / 1; }
  .swap-home { --t: clamp(0, var(--about) / .4, 1); opacity: calc(1 - var(--t)); translate: 0 calc(var(--t) * -2rem); }
  .swap-about { --t: clamp(0, (var(--about) - .45) / .4, 1); margin: 0; padding: 0; border: 0; opacity: var(--t); translate: 0 calc((1 - var(--t)) * 2rem); }
  .swap-about .hero-title span { display: block; }
  .hero-eyebrow { font-size: max(1.17rem, 10px); }
  .hero-title { max-width: 46rem; margin-top: 3.3rem; font-size: 4.25rem; line-height: 1.12; }
  .hero-lede { max-width: 30.5rem; margin-top: 1.5rem; font-size: 1.55rem; line-height: 1.42; }
  .hero-actions { margin-top: 4.1rem; gap: 2.5rem; }
  .hero-cta { min-width: 23.3rem; height: 5.1rem; padding: 0 .9rem 0 2.8rem; font-size: max(1.11rem, 11px); }
  .hero-cta-icon { width: 3.4rem; font-size: 1.5rem; }
  .hero-link { font-size: max(1.11rem, 11px); }
  /* The 100% badge (15.5 x 21.4rem at 109.8, 42) grows into the story card (61 x 38rem at 64, 20) as --about goes 0 → 1 */
  .hero-card { --about: 0; position: absolute; left: calc(109.8rem - 45.8rem * var(--about)); top: calc(42rem - 22rem * var(--about)); width: calc(15.5rem + 45.5rem * var(--about)); height: calc(21.4rem + 16.6rem * var(--about)); border-radius: calc(2rem + .6rem * var(--about)); overflow: hidden; }
  .card-badge { position: absolute; left: 0; top: 0; display: block; width: 15.5rem; height: 21.4rem; padding: 2.3rem 1rem 0; opacity: clamp(0, 1 - var(--about) * 4, 1); text-align: center; text-transform: uppercase; font-family: var(--font-wide); }
  .card-story { --t: clamp(0, (var(--about) - .6) / .35, 1); position: absolute; right: 0; top: 0; width: 61rem; height: 38rem; padding: 3.2rem 4rem; opacity: var(--t); translate: 0 calc((1 - var(--t)) * 1.5rem); }
  .story-title { font-size: 3rem; }
  .story-text { font-size: 1.6rem; }
  .story-quote { font-size: 1.25rem; }
  /* the strike draws across "templates." over the second half of the About swap */
  .swap-about .strike { --strike: clamp(0, (var(--about) - .7) / .25, 1); }
  .hero-badge-label { justify-content: center; font-size: max(1.1rem, 9px); }
  .hero-badge-figure { margin-top: 1.4rem; font-size: 3.9rem; }
  .hero-badge-text { margin-top: 1.6rem; font-size: max(1.25rem, 10px); line-height: 1.6; }
  .card-badge img { width: 5.2rem; margin-top: 1.2rem; }
  .hero-scroll { position: absolute; left: 3.9rem; bottom: 3.6rem; display: flex; align-items: center; gap: 1.4rem; font: 600 max(1.1rem, 10px)/1 var(--font-wide); text-transform: uppercase; text-decoration: none; }
  .mouse { width: 1.8rem; height: 3.2rem; border: .15rem solid #fff; border-radius: 1rem; background: radial-gradient(circle at 50% 70%, #fff .2rem, transparent .25rem); }
  .hero-stats { position: absolute; right: 3.9rem; bottom: 0; width: 57.8rem; height: 8.6rem; grid-template-columns: 13.4rem 13.3rem 13.1rem 1fr; align-items: center; gap: 0; padding: 0 0 0 3.3rem; border-radius: 2.4rem; }
  .hero-stats div { height: 5rem; justify-content: center; }
  .hero-stats div + div { padding-left: 2.8rem; border-left: 1px solid rgb(255 255 255 / .28); }
  .hero-stats dd { font-size: 2.55rem; }
  .hero-stats dt { margin-top: .5rem; font-size: max(.97rem, 9px); }

  /* 02 Before / after */
  .compare { padding: 12.8rem 0 3.8rem; }
  .compare-head { grid-template-columns: 49rem 1fr; width: 157rem; margin-left: 5.3rem; }
  .compare-title { font-size: 3.45rem; margin-top: 1.4rem; }
  .compare-tagline { font-size: 1.8rem; }
    .industry-tabs { gap: 1.6rem; justify-content: flex-end; overflow: visible; padding-top: .8rem; }
  .industry-tabs [role="tab"] { width: 11.4rem; height: 9.2rem; gap: .8rem; font-size: 1.12rem; }
  .industry-tabs [role="tab"] .i { font-size: 2.8rem; }
  .industry-tabs [aria-selected="true"] { height: 11.6rem; padding-top: 1.6rem; }
  .industry-tabs [aria-selected="true"] small { padding: .6rem 0 .7rem; font-size: max(1.1rem, 10px); }
  .compare-stage { width: 157rem; margin-top: 1.6rem; }
  .compare-panel { height: 54rem; }
  .side { padding: 1.6rem 3rem 0; }
  .side h3 { margin-top: 2.4rem; font-size: 1.62rem; }
  .side-text { max-width: 27rem; margin-top: 1.2rem; font-size: 1.18rem; line-height: 1.68; }
  .side-shot { position: absolute; bottom: 2.6rem; max-height: 36rem; margin: 0; }
  .side-after .side-shot { max-height: 36rem; }
  .side-before .side-shot { left: 16.9rem; width: 50.7rem; }
  .side-after .side-shot { left: 4.7rem; width: 61.8rem; }
  .side-points { position: absolute; top: 24rem; flex-direction: column; flex-wrap: nowrap; gap: .4rem; margin: 0; }
  .side-points li { width: 12.8rem; min-height: 5rem; padding: .8rem 1rem; font-size: max(1.27rem, 11px); }
  .side-before .side-points { left: 1.8rem; }
  .side-after .side-points { right: 1.8rem; }
  .side-after .side-points li { width: 13.7rem; }
  .compare-steppers { top: 29rem; }
  .compare-steppers button { width: 3.15rem; height: 4.5rem; }
  .compare-foot { grid-template-columns: 36rem 1fr; align-items: center; width: 154.6rem; margin: 3.4rem 0 0 7.6rem; }
  .compare-foot h3 { font-size: 1.95rem; }
  .compare-foot p { font-size: 1.4rem; }
  .industry-chips { gap: 1.2rem; margin: 0; padding: 0; overflow: visible; justify-content: flex-end; }
  .industry-chips button { padding: 0 1.8rem; font-size: 1.28rem; gap: 1.2rem; }


  /* 04 Services */
  .services { padding: 12.4rem 0 0; height: 94.1rem; }
  .services .wrap { width: 152.3rem; margin-left: 7.2rem; }
  .services-head { grid-template-columns: 72rem 39rem 1fr; align-items: start; gap: 0; }
  .services-title { margin-top: 1.8rem; font-size: 5.33rem; line-height: 1.11; }
  .services-lede { grid-column: auto; margin-top: 9.8rem; font-size: 1.57rem; line-height: 2.1; }
  .clients-pill { grid-row: auto; grid-column: auto; margin: 6.2rem 0 0 4.4rem; height: 8.5rem; padding: 0 3rem 0 1.8rem; }
  .service-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.7rem; margin-top: 2.3rem; }
    .services-bar { grid-template-columns: auto 27rem 1fr; height: 12.1rem; margin-top: 1.8rem; padding: 0 3rem; gap: 3rem; }
  .promises .tile { width: 6.8rem; font-size: 3rem; }
    .promises { grid-column: auto; padding-left: 5rem; border-left: 1px solid var(--line-light); gap: 2.4rem; }

  /* 05 Process: steps and scene placed at their design positions */
  .process { display: block; height: 94.1rem; padding: 0; }
  .process-copy { position: absolute; z-index: 1; left: 8.8rem; top: 13.4rem; }
  .process-title { width: 42rem; margin-top: 2.2rem; font-size: 5.2rem; line-height: 1.15; }
  .process-lede { max-width: 34rem; margin-top: 2.6rem; font-size: 1.46rem; line-height: 1.9; }
  .process-scene { position: absolute; left: 46rem; top: 9.6rem; width: 83.2rem; max-width: none; }
  /* Lines drawn in design units over the section's exact design size (167.2 x 94.1rem) */
  .process-lines { position: absolute; left: 0; top: 0; display: block; width: 167.2rem; height: 94.1rem; fill: none; stroke: #9a72fb; stroke-width: 1.6; stroke-dasharray: 5 4; pointer-events: none; }
  .process-lines path { transition: stroke .4s, stroke-width .4s; }
  .process-lines path.is-live { stroke: #6a3cf7; stroke-width: 2.4; }
  /* The walker: 4 x 5rem, moved by site.js (feet on the line) */
  .walker { position: absolute; left: 0; top: 0; z-index: 3; display: block; width: 4rem; height: 5rem; pointer-events: none; opacity: 0; transition: opacity .5s, scale .5s var(--ease); will-change: transform; }
  .walker.is-shown { opacity: 1; }
  .walker.is-beaming { opacity: 0; scale: .3; }
  .process-lines path { marker-end: url(#arrowhead); }
  .process-lines marker path { fill: #8b5cf6; stroke: none; }
  .steps { position: absolute; inset: 0; display: block; }
  .step { position: absolute; display: block; padding: 0; border-radius: 2rem; }
  .step-no { top: 1.6rem; left: 1.7rem; right: auto; }
  .step .tile { position: absolute; }
  .step h3, .step p { position: absolute; padding: 0; }
  .step h3 { font-size: 1.62rem; }
  .step p { font-size: 1.18rem; line-height: 1.78; }
  .step-1 { left: 8.8rem; top: 38.1rem; width: 19.4rem; height: 26.1rem; }
  .step-2 { left: 34.3rem; top: 53.3rem; width: 20.5rem; height: 23.7rem; }
  .step-3 { left: 130rem; top: 36.2rem; width: 19.2rem; height: 27rem; }
  /* Inside each card: tile, title and text offsets measured from the design (card-relative) */
  .step-1 .tile { left: 5.1rem; top: 5.9rem; }
  .step-2 .tile { left: 5.2rem; top: 5.7rem; }
  .step-3 .tile { left: 5rem; top: 6.8rem; }
  .step-1 h3, .step-1 p, .step-2 h3, .step-2 p { left: 4.3rem; }
  .step-3 h3, .step-3 p { left: 4.1rem; }
  .step-1 h3 { top: 13.6rem; }
  .step-1 p { top: 16.8rem; width: 13rem; }
  .step-2 h3 { top: 12.6rem; }
  .step-2 p { top: 15.4rem; width: 14rem; }
  .step-3 h3 { top: 14.6rem; }
  .step-3 p { top: 17.7rem; width: 13.5rem; }
  .step-wide { top: 79.5rem; height: 13.5rem; }
  .step-4 { left: 24.3rem; width: 31.7rem; }
  .step-5 { left: 63.9rem; width: 32.3rem; }
  .step-6 { left: 104.1rem; width: 31.3rem; }
  .step-wide .step-no { top: .6rem; left: 1.6rem; }
  .step-wide .tile { left: 3.6rem; top: 3.9rem; width: 6.4rem; }
  .step-wide h3 { left: 13rem; top: 2.3rem; }
  .step-wide p { left: 13rem; top: 5.1rem; width: 16rem; }

  /* 06 Contact */
  .contact { display: block; height: 94.1rem; padding: 0; }
  .contact-art { position: absolute; left: 0; top: 38rem; width: 86rem; max-width: none; z-index: -1; }
  .contact-copy { position: absolute; left: 7.4rem; top: 14.4rem; }
  .contact-title { margin-top: 2.2rem; width: 72rem; font-size: 6.4rem; line-height: 1.12; }
  .contact-title em::after { bottom: -.6rem; }
  .contact-lede { max-width: 42rem; margin-top: 2.4rem; font-size: 1.8rem; line-height: 1.72; }
  .contact-points { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.2rem; }
  .contact-form { position: absolute; left: 85rem; top: 10.6rem; width: 73.8rem; height: 50.6rem; padding: 2.6rem 4.2rem 0 4.3rem; gap: 1rem 1.5rem; align-content: start; grid-template-columns: 31.1rem 1fr; }
  .contact-form h3 { font-size: 2.85rem; }
  .form-lede { margin-top: -1rem; margin-bottom: .6rem; font-size: 1.62rem; }
  .field input { font-size: max(1.6rem, 13px); }
  .field textarea { height: 6.8rem; font-size: max(1.6rem, 13px); }
  .send-button { margin-top: .2rem; }
  .form-status { position: absolute; left: 4.3rem; bottom: -3.2rem; }
  /* Errors sit as small tags on the field's top edge, so the fixed-height form never grows */
  .field-error { position: absolute; right: 1.2rem; top: -1rem; z-index: 1; margin: 0; padding: .2rem .8rem; border-radius: .8rem; background: #fff; box-shadow: 0 .2rem .8rem rgb(194 24 58 / .15); font-size: max(1.15rem, 11px); white-space: nowrap; }
  .field-error::before { content: ""; }
  .contact-stats { position: absolute; left: 85rem; top: 62.2rem; width: 73.8rem; height: 19.8rem; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0; }
  .contact-stats div { padding: 0 1rem; }
  .contact-stats div + div { border-left: 1px solid #e6e1f6; }
  .contact-stats dt { font-size: 1.5rem; }
  .contact-stats div > .i { width: 5rem; height: 5rem; padding: .6rem; background: none; stroke-width: 2; }
  .quick-chat { position: absolute; left: 8rem; top: 84rem; width: 150.8rem; height: 7.4rem; padding: 0; gap: 2.6rem; }
  .quick-chat a { margin-left: -.4rem; }

  /* 07 Closing call to action + footer */
  .site-footer { height: 88rem; padding: 0; position: relative; }
  .closing { position: absolute; left: 6.7rem; top: 9rem; width: 153.8rem; height: 27.3rem; display: block; padding: 0; }
  .closing-copy { position: absolute; left: 5.7rem; top: 3.4rem; }
  .closing-title { width: 42rem; text-wrap: wrap; margin-top: 2rem; font-size: 4.15rem; line-height: 1.2; }
  .closing-copy > p:last-child { margin-top: 1.8rem; font-size: 1.57rem; line-height: 1.8; }
  .conversation { position: absolute; left: 67.1rem; top: 9.5rem; }
  .conversation-orbit { position: absolute; left: 2.2rem; top: -.4rem; display: block; width: 30rem; height: 9.4rem; fill: none; stroke: #b49cf9; stroke-width: 1.4; overflow: visible; pointer-events: none; }
  .conversation-orbit circle { fill: #7a4cf8; stroke: none; }
  .closing-art { position: absolute; left: 107.3rem; top: .2rem; width: 44rem; max-width: none; }
  .footer-main { position: absolute; inset: 0; display: block; margin: 0; }
  .footer-brand { position: absolute; left: 11rem; top: 40.5rem; width: 20rem; }
  .footer-brand .brand-mark { width: 5.4rem; }
  .footer-brand .brand-name { font-size: 1.6rem; }
  .footer-brand > p { margin-top: 2.4rem; font-size: max(1.3rem, 10px); }
  .footer-brand > p:not(.worldwide)::after { margin-top: 2.6rem; }
  .worldwide { margin-top: 2.6rem; font-size: max(.95rem, 8px); }
  .footer-arch { position: absolute; left: -2.4rem; top: 21.4rem; display: block; width: 22.6rem; }
  .worldwide { position: relative; z-index: 1; white-space: nowrap; }
  .footer-col, .footer-connect { position: absolute; top: 40.5rem; }
  .footer-col:nth-of-type(1) { left: 42rem; padding-left: 6rem; border-left: 1px solid var(--line-light); height: 25.5rem; }
  .footer-col:nth-of-type(2) { left: 75.6rem; }
  .footer-col:nth-of-type(3) { left: 104.5rem; }
  .footer-connect { left: 126.6rem; top: 40.5rem; padding: 4rem 0 0 6rem; height: 25.5rem; border-left: 1px solid var(--line-light); width: 30rem; }
  .footer-col ul { margin-top: 2.6rem; gap: 0; }
  .footer-col a, .contact-lines a, .brand { min-height: 0; }
  .footer-col li { min-height: 3.57rem; font-size: 1.45rem; }
  .socials { margin-top: 2.4rem; padding-bottom: 3.4rem; }
  .contact-lines { margin-top: 2.6rem; }
  .footer-motto { position: absolute; left: 42.7rem; top: 69.2rem; width: 116.1rem; height: 10.5rem; padding: 0 3.4rem; }
  .footer-wave { width: 70.4rem; right: .4rem; opacity: 1; }
      .footer-legal { position: absolute; left: 8.3rem; right: 10rem; top: 84rem; margin: 0; padding: 0; }
  .footer-orbit { display: block; width: 1.8rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a98bff, #5b2ff0); box-shadow: 0 0 0 1.2rem rgb(180 160 250 / .12), 0 0 0 2.8rem rgb(180 160 250 / .06); }
}

/* Hero to before/after: the hero frame flows down and becomes the before/after panel, the industry boxes rise
   out of it one after another, the panel's content fades in. site.js sets --morph (0 at the top of the page,
   1 when the before/after section reaches the top) and moves .morph-slab; without it everything shows at rest. */
.morph-slab { position: fixed; left: 0; top: 0; z-index: 5; display: none; pointer-events: none; border: 1.5px solid rgb(190 180 255 / .55); border-radius: 2.6rem; background: rgb(255 255 255 / .02); will-change: transform; }
/* A tight glow that only fades (opacity): a wide blurred shadow on a box that resizes every frame was the
   main cause of dropped frames (measured: 16 of 50 frames slow with it, 1 of 73 with this one) */
.morph-slab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 2rem rgb(140 100 255 / .5); opacity: var(--glow, 0); }
.is-morphing .morph-slab { display: block; }
.is-morphing .hero-frame { border-color: transparent; }
.compare-intro, .industry-tabs, .compare-panels, .compare-steppers { --morph: 1; }
/* While the boxes move, their glass blur is switched off (re-blurring seven boxes every frame stutters) */
.is-morphing .industry-tabs [role="tab"] { -webkit-backdrop-filter: none; backdrop-filter: none; will-change: translate, scale, opacity; }
.compare-intro { --t: clamp(0, (var(--morph) - .35) / .3, 1); opacity: var(--t); translate: 0 calc((1 - var(--t)) * 3rem); }
.industry-tabs [role="tab"] { --t: clamp(0, (var(--morph) - .45 - var(--i) * .04) / .25, 1); opacity: var(--t); translate: 0 calc((1 - var(--t)) * 12rem); scale: calc(.7 + .3 * var(--t)); }
.compare-panels, .compare-steppers { opacity: clamp(0, (var(--morph) - .82) / .18, 1); }

/* The page's one authored moment: the hero settles in on first load (still and visible with reduced motion) */
@keyframes rise-in { from { opacity: 0; translate: 0 1.6rem; filter: blur(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .swap-home > *, .hero-actions, .hero-card, .hero-stats, .hero-scroll { animation: rise-in .9s var(--ease) both; }
  .hero-title { animation-delay: .08s; }
  .hero-lede { animation-delay: .16s; }
  .hero-actions { animation-delay: .24s; }
  .hero-card { animation-delay: .4s; }
  .hero-stats, .hero-scroll { animation-delay: .5s; }
}

/* ---------- Process: walker look (also used with reduced motion, so outside the motion block) ---------- */
.walker svg { width: 100%; height: 100%; overflow: visible; }
.walker-body { --shirt: #8b5cf6; transform-box: fill-box; }
.walker[data-look="2"] .walker-body { --shirt: #ec4899; }
.walker[data-look="3"] .walker-body { --shirt: #f59e0b; }
.walker[data-look="4"] .walker-body { --shirt: #0ea5e9; }
.walker[data-look="5"] .walker-body { --shirt: #10b981; }
.walker[data-look="6"] .walker-body { --shirt: #6a3cf7; }
.walker-leg { fill: #3b2a7a; }
.walker-shirt, .walker-arm { fill: var(--shirt); transition: fill .4s; }
.walker-skin { fill: #ffdccb; }
.walker-hair { fill: #8b5cf6; }
.walker-eye { fill: #2e1065; }
.walker-shine { fill: #fff; }
.walker-cheek { fill: #ff9fb8; opacity: .7; }
.walker-prop { display: none; fill: none; stroke: #3b2a7a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.walker[data-look="1"] [data-for="1"], .walker[data-look="2"] [data-for="2"], .walker[data-look="3"] [data-for="3"],
.walker[data-look="4"] [data-for="4"], .walker[data-look="5"] [data-for="5"], .walker[data-look="6"] [data-for="6"] { display: inline; }
[data-for="2"] circle:nth-child(odd) { fill: #ef4444; stroke: none; }
[data-for="2"] circle:nth-child(2) { fill: #fff; stroke: none; }
[data-for="3"] { fill: #fbbf24; }
[data-for="4"] rect { fill: #e0f2fe; }
.walker-liquid { fill: #34d399; stroke: none; }
.rocket-body { fill: #f5f3ff; }
.rocket-fin { fill: #ef4444; stroke: none; }
.rocket-window { fill: #38bdf8; stroke-width: 1; }
.walker:not(.is-flying) .walker-flame { opacity: .5; }
.walker-flame { stroke: #fb923c; stroke-width: 2.2; }

/* ---------- Process: slow continuous motion (transforms only, so it never jitters) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .card-kickoff { animation: float-y 6.5s ease-in-out infinite alternate; }
  .card-idea { animation: float-y 7.5s ease-in-out -2s infinite alternate; }
  .card-standup { animation: float-y 6s ease-in-out -4s infinite alternate; }
  .card-clients { animation: float-y 7s ease-in-out -1s infinite alternate; }
  .art-spiral { animation: float-turn 9s ease-in-out infinite alternate; }
  .art-ring { animation: float-ring 8s ease-in-out -3s infinite alternate; }
  .art-girl { animation: breathe 3.8s ease-in-out infinite alternate; }
  .kc-fan g { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
  .ic-glow { animation: bulb-glow 2.2s ease-in-out infinite alternate; }
  .ph-bolt { animation: bolt-ping 2.4s ease-out infinite; }
  .ph-dot { animation: dot-pulse 1.6s ease-in-out infinite alternate; }
  .cc-star .i { animation: spin 8s linear infinite; }

  /* Services scenes */
  .code p::after { animation: type-line 7s steps(22) infinite both; animation-delay: calc(var(--i) * .45s); }
  .preview > [style] { animation: build-in 7s var(--ease) infinite; animation-delay: calc(.6s + var(--i) * .45s); }
  .score .score-ring { animation: score-fill 7s var(--ease) infinite; }
  .lp-cursor { animation: cursor-path 4.5s var(--ease) infinite; }
  .lp-cta::after { animation: cta-ripple 4.5s ease-out infinite; }
  .lp-bars i { animation: bar-grow 4.5s var(--ease) infinite; }
  .lp-bars i:nth-child(2) { animation-delay: .08s; } .lp-bars i:nth-child(3) { animation-delay: .16s; } .lp-bars i:nth-child(4) { animation-delay: .24s; } .lp-bars i:nth-child(5) { animation-delay: .32s; }
  .artboard img { animation: logo-float 4s ease-in-out infinite alternate; }
  .stage-redesign:not(.is-manual) :is(.rd-before, .rd-before img, .rd-handle) { animation-duration: 6s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate; }
  .stage-redesign:not(.is-manual) .rd-before { animation-name: sweep-frame; }
  .stage-redesign:not(.is-manual) .rd-before img { animation-name: sweep-picture; }
  .stage-redesign:not(.is-manual) .rd-handle { animation-name: sweep-handle; }

  /* Contact */
  .contact-points li:nth-child(1) .tile .i { animation: hover-rocket 2.2s ease-in-out infinite alternate; }
  .contact-points li:nth-child(2) .tile { animation: shield-ping 3s ease-out infinite; }
  .contact-points li:nth-child(3) .tile .mark-w { animation: float-y 3s ease-in-out infinite alternate; }
  .chat-bubble i { animation: typing 1.2s ease-in-out infinite; }
  .chat-bubble i:nth-child(2) { animation-delay: .15s; } .chat-bubble i:nth-child(3) { animation-delay: .3s; }
  .contact-stats .infinity { stroke-dasharray: 60; animation: draw-loop 3.6s ease-in-out infinite; }
  .contact-stats div > .i:not(.infinity) { transition: rotate .5s var(--ease); }
  .contact-stats div:hover > .i { rotate: -12deg; }
  .contact-art.is-landed img { animation: mailbox-bump .6s var(--ease); }

  /* Footer scenes */
  .planet-ball::before { animation: spin 40s linear infinite; }
  .ps-moon { animation: orbit-x 7s ease-in-out infinite alternate, orbit-y 7s ease-in-out -3.5s infinite alternate; }
  .ps-gem { animation: float-turn 6s ease-in-out infinite alternate; }
  .ps-pearl { animation: float-y 5s ease-in-out -1s infinite alternate; }
  .ps-dot { animation: twinkle 2.4s ease-in-out infinite alternate; }
  .d2 { animation-delay: -.8s; } .d3 { animation-delay: -1.6s; }
  .arch-cloud { animation: cloud-sway 7s ease-in-out infinite alternate; }
  .ac2 { animation-duration: 9s; animation-delay: -3s; }

  /* Flowing dashes on the lines */
  .process-lines path.is-live { animation: dash-flow 1.1s linear infinite; }

  /* The walker's stride while she walks */
  .walker.is-walking .walker-body { animation: stride-bob .44s ease-in-out infinite alternate; }
  .walker-leg { transform-box: fill-box; transform-origin: 50% 0; }
  .walker.is-walking .leg-front { animation: stride .44s ease-in-out infinite alternate; }
  .walker.is-walking .leg-back { animation: stride .44s ease-in-out infinite alternate-reverse; }
  .walker.is-flying .walker-flame { animation: flicker .12s linear infinite alternate; }

  /* Live icons in the step tiles */
  .step-1 .tile .i { animation: scan 3.2s ease-in-out infinite; }
  .step-2 .tile::after { content: ""; position: absolute; inset: 0; border: 2px solid currentColor; border-radius: inherit; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
  .step-2 .tile .i { animation: hit 2.4s var(--ease) infinite; }
  .step-3 .tile .i { animation: write 2.6s ease-in-out infinite; }
  .step-3 .tile::after { content: ""; position: absolute; left: 26%; bottom: 22%; height: 2px; width: 48%; border-radius: 1px; background: currentColor; opacity: .55; transform-origin: left; animation: ink 2.6s ease-in-out infinite; }
  .step-4 .tile .i { animation: type-shift 1.6s steps(2) infinite; }
  .step-4 .tile::after { content: ""; position: absolute; right: 24%; top: 34%; width: 2px; height: 32%; background: currentColor; animation: caret 1s steps(1) infinite; }
  .step-5 .tile::before, .step-5 .tile::after { content: ""; position: absolute; left: 47%; top: 36%; width: .5rem; aspect-ratio: 1; border-radius: 50%; background: currentColor; opacity: 0; animation: bubble 2.2s ease-in infinite; }
  .step-5 .tile::after { left: 54%; width: .35rem; animation-delay: 1.1s; }
  .step-6 .tile .i { animation: hover-rocket 2.2s ease-in-out infinite alternate; }
  .step-6 .tile::after { content: ""; position: absolute; left: 31%; bottom: 20%; width: 22%; height: 18%; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: radial-gradient(#fde68a, #fb923c 60%, transparent 70%); rotate: 45deg; animation: flicker .14s linear infinite alternate; }
}
@keyframes type-line { 0% { transform: scaleX(1); } 14%, 86% { transform: scaleX(0); opacity: 1; } 87% { transform: scaleX(0); opacity: 0; } 96% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); } }
@keyframes build-in { 0% { opacity: 0; transform: translateY(.6rem) scale(.96); } 10%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes score-fill { 0%, 20% { stroke-dashoffset: 94.25; } 55%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 94.25; } }
@keyframes cursor-path { 0% { translate: 28rem 17rem; } 40%, 52% { translate: 7.2rem 10.4rem; scale: 1; } 46% { scale: .82; } 85%, 100% { translate: 28rem 17rem; } }
@keyframes cta-ripple { 0%, 44% { opacity: 0; transform: scale(1); } 48% { opacity: .9; } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes bar-grow { 0%, 46% { transform: scaleY(.25); } 66%, 92% { transform: scaleY(1); } 100% { transform: scaleY(.25); } }
@keyframes logo-float { to { transform: translateY(-.5rem); } }
@keyframes sweep-frame { 0%, 15% { translate: -78% 0; } 85%, 100% { translate: -22% 0; } }
@keyframes sweep-picture { 0%, 15% { translate: 78% 0; } 85%, 100% { translate: 22% 0; } }
@keyframes sweep-handle { 0%, 15% { translate: 22% 0; } 85%, 100% { translate: 78% 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bulb-glow { from { opacity: .15; transform: scale(.85); } to { opacity: .45; transform: scale(1.15); } }
@keyframes bolt-ping { 0% { box-shadow: 0 0 0 0 rgb(91 33 230 / .45); } 70%, 100% { box-shadow: 0 0 0 calc(var(--u) * 10) rgb(91 33 230 / 0); } }
@keyframes dot-pulse { from { opacity: .4; scale: .85; } to { opacity: 1; scale: 1.1; } }
@keyframes orbit-x { to { transform: translateX(calc(var(--w) * 64)); } }
@keyframes orbit-y { from { translate: 0 calc(var(--w) * -2); } to { translate: 0 calc(var(--w) * 14); } }
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }
@keyframes cloud-sway { to { transform: translateX(calc(var(--w) * 6)); } }
@keyframes shield-ping { 0% { box-shadow: 0 .8rem 2rem rgb(80 60 180 / .12), 0 0 0 0 rgb(106 60 247 / .35); } 70%, 100% { box-shadow: 0 .8rem 2rem rgb(80 60 180 / .12), 0 0 0 1.2rem rgb(106 60 247 / 0); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .6; } 30% { transform: translateY(-.5rem); opacity: 1; } }
@keyframes draw-loop { 0% { stroke-dashoffset: 60; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }
@keyframes mailbox-bump { 40% { transform: translateY(-.6rem) rotate(-1deg); } }
@keyframes float-y { to { transform: translate3d(0, -.5rem, 0); } }
@keyframes float-turn { to { transform: translate3d(.4rem, -1rem, 0) rotate(-7deg); } }
@keyframes float-ring { to { transform: translate3d(-.5rem, -.9rem, 0) rotate(10deg); } }
@keyframes breathe { to { transform: scale(1.012) rotate(.5deg); } }
@keyframes dash-flow { to { stroke-dashoffset: -18; } }
@keyframes stride { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes stride-bob { to { transform: translateY(-1.2px); } }
@keyframes flicker { from { opacity: .7; transform: scaleY(.8); } to { opacity: 1; transform: scaleY(1.15); } }
@keyframes scan { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(.4rem, -.2rem); } 50% { transform: translate(.1rem, .4rem); } 75% { transform: translate(-.4rem, 0); } }
@keyframes hit { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.18); } 80% { transform: scale(.96); } }
@keyframes ping { 0%, 62% { opacity: 0; transform: scale(1); } 70% { opacity: .55; } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes write { 0%, 100% { transform: translate(-.3rem, 0) rotate(-6deg); } 50% { transform: translate(.3rem, .1rem) rotate(6deg); } }
@keyframes ink { 0% { transform: scaleX(0); opacity: .55; } 60% { transform: scaleX(1); opacity: .55; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes type-shift { to { transform: translateX(-.15rem); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes bubble { 0% { opacity: 0; transform: translateY(0) scale(.6); } 25% { opacity: .8; } 100% { opacity: 0; transform: translateY(-1.8rem) scale(1.1); } }
@keyframes hover-rocket { from { transform: translate(0, .15rem) rotate(-3deg); } to { transform: translate(.1rem, -.35rem) rotate(3deg); } }

/* =========================================================
   Inner pages (every page but home): a calm paper world of its own (Shubham, 30 Nov 2026: "less is more").
   Off-white paper, ink type, the Webloons violet as the one accent, hairline rules instead of boxes, one picture
   moment per hero. The home page keeps its designed look. Phone first; wider screens at the end of this part.
   ========================================================= */

/* Header dropdowns: frosted glass under their button (native popover, CSS anchor positioning). Neutral, never tinted:
   white glass under a light header, smoke glass under a dark one (Shubham, 30 Nov 2026). They open with their items
   rising one after another and leave fast, so switching menus never leaves a ghost behind */
.nav-menu { --glass: rgb(255 255 255 / .62); --glass-line: rgb(255 255 255 / .75); --glass-ink: #15141c; --glass-soft: #55546a; --glass-hover: rgb(15 15 30 / .05); --glass-tile: rgb(15 15 30 / .06); inset: auto; position-area: block-end; position-try-fallbacks: flip-inline; margin: 1.4rem 0 0; padding: 1rem; width: 46rem; overflow: visible; border: 1px solid var(--glass-line); border-radius: 2rem; background: var(--glass); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); box-shadow: 0 2.4rem 6rem rgb(15 15 30 / .18), inset 0 1px 0 rgb(255 255 255 / .6); color: var(--glass-ink); opacity: 1; translate: 0 0; transition: opacity .2s, translate .3s var(--ease), display .2s, overlay .2s; transition-behavior: allow-discrete; }
.site-header[data-theme="dark"] .nav-menu { --glass: rgb(24 24 30 / .5); --glass-line: rgb(255 255 255 / .16); --glass-ink: #fff; --glass-soft: rgb(255 255 255 / .68); --glass-hover: rgb(255 255 255 / .08); --glass-tile: rgb(255 255 255 / .1); box-shadow: 0 2.4rem 6rem rgb(0 0 0 / .35), inset 0 1px 0 rgb(255 255 255 / .12); }
.nav-menu:not(:popover-open) { opacity: 0; translate: 0 -.4rem; transition-duration: .1s; }
@starting-style { .nav-menu:popover-open { opacity: 0; translate: 0 -.6rem; } }
#menu-industries { width: 66rem; }
#menu-industries ul { grid-template-columns: 1fr 1fr; }
/* An invisible bridge over the gap, so the pointer can travel from the button into the menu */
.nav-menu::before { content: ""; position: absolute; inset: -1.6rem 0 auto; height: 1.6rem; }
.nav-menu ul { display: grid; gap: .2rem; }
.nav-menu li a { position: relative; display: flex; align-items: center; gap: 1.4rem; padding: 1rem 4rem 1rem 1.2rem; border-radius: 1.2rem; font-size: max(1.25rem, 12px); line-height: 1.35; color: var(--glass-soft); text-decoration: none; transition: background-color .2s; }
.nav-menu li a:hover, .nav-menu li a:focus-visible { background: var(--glass-hover); }
.nav-menu strong { display: block; font-size: max(1.45rem, 14px); font-weight: 600; color: var(--glass-ink); }
.nav-menu .tile { width: 4.4rem; border-radius: 1.2rem; background: var(--glass-tile); color: var(--glass-ink); font-size: 2rem; transition: rotate .4s var(--ease), scale .4s var(--ease); }
.nav-menu li a:hover .tile { rotate: -8deg; scale: 1.08; }
.nav-menu .go { position: absolute; right: 1.4rem; font-size: 1.6rem; color: var(--glass-ink); opacity: 0; translate: -.6rem 0; transition: opacity .2s, translate .3s var(--ease); }
.nav-menu li a:hover .go, .nav-menu li a:focus-visible .go { opacity: 1; translate: 0 0; }
.nav-all { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; padding: 1.2rem; border-top: 1px solid var(--glass-hover); font-size: max(1.3rem, 12px); font-weight: 600; color: var(--glass-ink); text-decoration: none; }
.nav-all .i { transition: translate .3s var(--ease); }
.nav-all:hover .i { translate: .4rem 0; }
@media (prefers-reduced-motion: no-preference) {
  .nav-menu:popover-open li { animation: menu-item-in .45s var(--ease) both; animation-delay: calc(60ms + var(--i) * 35ms); }
}
@keyframes menu-item-in { from { opacity: 0; translate: 0 .8rem; } }
@supports not (position-area: block-end) { .nav-menu { margin: 0; } } /* placed by site.js */

/* UI/UX scene: three screens of a flow fill in from wireframe to interface, one after another */
.stage-uiux { display: grid; place-items: center; }
.ux-flow { display: flex; gap: 1.6rem; width: min(100% - 2.4rem, 30.2rem); }
.ux-screen { display: flex; flex: 1 1 0; flex-direction: column; gap: .7rem; min-width: 0; height: 15rem; padding: 1rem; border: 1.5px dashed #b9a3fb; border-radius: 1.2rem; background: rgb(255 255 255 / .6); }
.ux-screen b { height: 4.4rem; border-radius: .6rem; background: #e3dcfa; }
.ux-screen i { height: .8rem; border-radius: .4rem; background: #e3dcfa; }
.ux-screen i + i { width: 70%; }
.ux-screen em { width: 60%; height: 1.8rem; margin-top: auto; border-radius: .9rem; background: #e3dcfa; }
.ux-label { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; padding: .5rem 1.2rem; border-radius: 1.4rem; background: #fff; font-size: max(1.1rem, 10px); font-weight: 600; color: #5c5778; box-shadow: 0 .6rem 1.6rem rgb(40 20 110 / .12); white-space: nowrap; }
/* each screen's finished interface is a layer drawn with gradients; it fades in over the wireframe (opacity only) */
.ux-screen { position: relative; }
.ux-screen::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; opacity: 0; box-shadow: 0 1rem 2.4rem rgb(60 30 160 / .2); background: linear-gradient(120deg, #6a3cf7, #22d3ee) left 1rem top 1rem / calc(100% - 2rem) 4.4rem no-repeat, linear-gradient(#1d1838, #1d1838) left 1rem top 6.1rem / calc(100% - 2rem) .8rem no-repeat, linear-gradient(#c9bdf3, #c9bdf3) left 1rem top 7.6rem / 60% .8rem no-repeat, linear-gradient(#6a3cf7, #6a3cf7) left 1rem bottom 1rem / 55% 1.8rem no-repeat, #fff; }
.ux-screen:last-child::after { opacity: 1; } /* at rest (reduced motion) the flow ends finished */
@media (prefers-reduced-motion: no-preference) {
  .ux-screen::after, .ux-screen:last-child::after { animation: ux-fill 6s var(--ease) infinite; animation-delay: calc(var(--i) * .8s); }
}
@keyframes ux-fill { 0%, 12% { opacity: 0; } 28%, 80% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* Cookie choice: a small glass card at the bottom; Accept and Reject weigh the same */
.cookie-banner { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1.6rem; z-index: 70; display: grid; gap: 1.4rem; max-width: 52rem; padding: 2rem 2.2rem; border: 1px solid rgb(190 180 255 / .35); border-radius: 2rem; background: rgb(12 10 40 / .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 2rem 5rem rgb(2 2 26 / .4); color: #e9e7f7; font-size: max(1.45rem, 14px); line-height: 1.55; }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { color: #fff; }
.cookie-banner a { color: #c4b5fd; }
.cookie-actions { display: flex; gap: 1rem; }
.cookie-choice { flex: 1; min-height: 4.4rem; border: 1px solid rgb(255 255 255 / .3); border-radius: 1.2rem; background: rgb(255 255 255 / .08); font-weight: 600; color: #fff; }
.cookie-accept { border-color: transparent; background: var(--violet-grad); }

/* Page colour worlds: every inner page can wear its own (Shubham, 30 Nov 2026: each page is proof of our design skill).
   Set by the page header "theme" (body data-page-theme); only paper, ink and accent are chosen, the rest is mixed from
   them. Own names (--pg-*), so a dark page never changes the shared header. Accents are dark enough for small text. */
:root, [data-page-theme] { --pg-paper-2: color-mix(in oklab, var(--pg-ink) 5%, var(--pg-paper)); --pg-hair: color-mix(in oklab, var(--pg-ink) 14%, var(--pg-paper)); --pg-soft: color-mix(in oklab, var(--pg-ink) 72%, var(--pg-paper)); --pg-accent-soft: color-mix(in oklab, var(--pg-accent) 12%, var(--pg-paper)); }
:root { --pg-paper: #fbfaf7; --pg-ink: #0d0c22; --pg-accent: #6a3cf7; --pg-accent-ink: #fff; --pg-surface: #fff; }
[data-page-theme] { --pg-accent-ink: #fff; --pg-surface: color-mix(in oklab, var(--pg-paper), #fff 60%); }
[data-page-theme="dusk"] { --pg-paper: #0f1522; --pg-ink: #f2ede4; --pg-accent: #f0a05a; --pg-accent-ink: #1b1208; --pg-surface: #172030; }
[data-page-theme="ember"] { --pg-paper: #eceae5; --pg-ink: #1b1b1d; --pg-accent: #b5381a; }
[data-page-theme="copper"] { --pg-paper: #faf3ec; --pg-ink: #2a1a12; --pg-accent: #a33e18; }
[data-page-theme="pulse"] { --pg-paper: #f5f7fb; --pg-ink: #0e1726; --pg-accent: #c0223e; }
[data-page-theme="forge"] { --pg-paper: #121212; --pg-ink: #f0f0f0; --pg-accent: #ff4a3a; --pg-accent-ink: #160300; --pg-surface: #1c1c1c; }
[data-page-theme="circuit"] { --pg-paper: #f1f5fd; --pg-ink: #0b1633; --pg-accent: #1f4fe0; }
[data-page-theme="espresso"] { --pg-paper: #f6eee4; --pg-ink: #2b1a10; --pg-accent: #ad4512; }
[data-page-theme="code"] { --pg-paper: #0d1117; --pg-ink: #e6edf3; --pg-accent: #7ee787; --pg-accent-ink: #04210b; --pg-surface: #161b22; }
[data-page-theme="signal"] { --pg-paper: #f4f7ff; --pg-ink: #0a1a3a; --pg-accent: #1d4ed8; }
[data-page-theme="rose"] { --pg-paper: #fff3f1; --pg-ink: #2a0f14; --pg-accent: #b42f5e; }
[data-page-theme="sky"] { --pg-paper: #edf5fb; --pg-ink: #0c2233; --pg-accent: #036aa1; }
[data-page-theme="lilac"] { --pg-paper: #f5f1ff; --pg-ink: #1c1433; --pg-accent: #6d28d9; }
[data-page-theme="gallery"] { --pg-paper: #0a0a0b; --pg-ink: #f4f4f5; --pg-accent: #c4b5fd; --pg-accent-ink: #120a2b; --pg-surface: #161618; }
[data-page-theme="mint"] { --pg-paper: #eff7f2; --pg-ink: #0f2a1d; --pg-accent: #0b7a54; }

/* Hero: centred; where you are, the headline, one button, then the picture moment */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 12rem var(--gutter) 6.4rem; background: var(--pg-paper); color: var(--pg-ink); text-align: center; }
.hero-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.6rem; }
.back-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 4.4rem; padding: 0 1.8rem 0 1.4rem; border: 1px solid var(--pg-hair); border-radius: 2.2rem; background: var(--pg-surface); font-size: max(1.35rem, 13px); font-weight: 600; color: var(--pg-ink); text-decoration: none; transition: border-color .2s; }
.back-link:hover { border-color: var(--pg-ink); }
.back-link .i { font-size: 1.6rem; transition: translate .3s var(--ease); }
.back-link:hover .i { translate: -.3rem 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; font-size: max(1.3rem, 13px); color: var(--pg-soft); }
.crumbs li + li::before { content: "/"; margin: 0 .8rem; color: #b3b1bf; }
.crumbs a { display: inline-flex; align-items: center; min-height: 4.4rem; text-decoration: none; }
.crumbs a:hover { color: var(--pg-ink); text-decoration: underline; text-underline-offset: .3rem; }
.crumbs [aria-current] { color: var(--pg-ink); }
.page-title { max-width: 18ch; margin-top: 2.4rem; font: 700 4rem/1.06 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.page-title em { color: var(--pg-accent); }
.page-meta { margin-top: 1.8rem; font-size: max(1.35rem, 13px); color: var(--pg-soft); }
.page-hero .hero-actions { order: 0; justify-content: center; margin-top: 3.2rem; }

/* The one button style of the inner pages: an ink pill; its words swap letters on hover */
.cta-ink { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 5.2rem; padding: 0 2.6rem; border-radius: 2.6rem; background: var(--pg-ink); color: var(--pg-paper); font-size: max(1.5rem, 15px); font-weight: 600; text-decoration: none; box-shadow: 0 1rem 2.4rem rgb(13 12 34 / .18); transition: background-color .25s, translate .3s var(--ease), box-shadow .3s; }
.cta-ink:hover { color: var(--pg-accent-ink); background: var(--pg-accent); translate: 0 -.2rem; box-shadow: 0 1.4rem 3rem rgb(106 60 247 / .3); }
.cta-ink .i { font-size: 1.7rem; }

/* Looping words under the title: one shows at a time, the next rises in (site.js); the box keeps the widest word's width */
.word-loop { margin-top: 1.6rem; font-size: max(1.8rem, 16px); color: var(--pg-soft); }
.loop-words { display: inline-grid; vertical-align: bottom; text-align: left; }
.loop-words b { grid-area: 1 / 1; font-weight: 600; color: var(--pg-accent); opacity: 0; translate: 0 -.5em; transition: opacity .4s, translate .5s var(--ease); }
.loop-words .is-on { opacity: 1; translate: 0 0; animation: word-in .6s var(--ease); }
@keyframes word-in { from { opacity: 0; translate: 0 .6em; } }

/* The picture moments */
.hero-visual { width: 100%; margin-top: 5.6rem; }
/* a service's live scene, as one large calm card */
.hero-scene { max-width: 72rem; }
.hero-scene .svc-stage { height: 30rem; border: 1px solid var(--pg-hair); border-radius: 2.4rem; background: linear-gradient(150deg, #efeaff, #f8f6ff 60%, #ece6ff); box-shadow: 0 3rem 6rem rgb(13 12 34 / .1); }
/* prints fanned on a table: they spread out once, on arrival */
.hero-fan { position: relative; max-width: 96rem; aspect-ratio: 16 / 9; margin-inline: auto; }
.fan-card { position: absolute; top: 4%; width: 62%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border-radius: 1.6rem; box-shadow: 0 2.4rem 5rem rgb(13 12 34 / .16), 0 .4rem 1rem rgb(13 12 34 / .06); }
.fan-back { left: 2%; rotate: -5deg; }
.fan-front { right: 2%; z-index: 1; rotate: 3deg; }
.hero-trio .fan-card { width: 46%; }
.fan-left { left: 0; top: 10%; rotate: -8deg; }
.hero-trio .fan-front { left: 27%; right: auto; top: 0; rotate: 0deg; }
.fan-right { right: 0; top: 10%; rotate: 8deg; }
.hero-fan figcaption { position: absolute; left: 0; right: 0; bottom: 0; font-size: max(1.3rem, 13px); color: var(--pg-soft); }
@media (prefers-reduced-motion: no-preference) {
  .fan-card { animation: fan-in 1.1s var(--ease) .15s both; }
}
@keyframes fan-in { from { opacity: 0; rotate: 0deg; translate: 0 4rem; } }
/* a ring of the concept sites seen from inside: they curve in at the edges, flatten in the middle, turning slowly */
.hero-ring { --card: 18rem; --r: 46rem; --p: 60rem; position: relative; height: 22rem; overflow: hidden; perspective: var(--p); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ring { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.ring img { position: absolute; width: var(--card); max-width: none; aspect-ratio: 3 / 2; margin: calc(var(--card) / -3) 0 0 calc(var(--card) / -2); object-fit: cover; object-position: top; border-radius: 1.2rem; backface-visibility: hidden; transform: rotateY(calc((var(--i) + var(--half, 0) * 7) * 360deg / 14)) translateZ(calc(var(--r) * -1)); }
.ring-sky { border-radius: 2.4rem; background: #101a5c url("../images/hero-sky.webp") center / cover no-repeat; -webkit-mask-image: none; mask-image: none; }
@media (prefers-reduced-motion: no-preference) {
  .ring { animation: ring-spin 70s linear infinite; }
}
@keyframes ring-spin { to { rotate: y 360deg; } }

/* Sections: paper and a slightly deeper paper; one ink band where pictures need contrast */
.block { padding: 6rem 0; background: var(--pg-paper); color: var(--pg-ink); }
.block-tint { background: var(--pg-paper-2); }
.block-dark { background: #0f0e17; color: #f4f3f8; }
.block-head { max-width: 72rem; }
.block-head h2, .answer-row h2 { font: 700 3.2rem/1.1 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.block-head h2 em, .answer-row h2 em { color: var(--pg-accent); }
.block-dark .block-head h2 em { color: #a78bfa; }
.block-lede { max-width: 60ch; margin-top: 1.6rem; font-size: max(1.65rem, 16px); line-height: 1.7; color: var(--pg-soft); }
.block-lede a { color: var(--pg-ink); text-underline-offset: .3rem; }
.block-dark .block-lede { color: #b9b8c9; }
.block-dark .block-lede a { color: #fff; }
.block-sub { margin-top: 5.6rem; font: 600 max(1.6rem, 15px)/1.3 var(--font-display); letter-spacing: -.01em; color: var(--pg-soft); }
.split { display: grid; gap: 4rem; }
.split .prose { margin-top: 2rem; }

/* The direct answer (what answer engines quote): large, plain, no box */
.answer-row { display: grid; gap: 2rem; }
.answer-text { max-width: 30ch; font: 400 max(2.1rem, 18px)/1.45 var(--font-display); letter-spacing: -.015em; color: var(--pg-ink); text-wrap: pretty; }

/* Lists of points: hairline rows instead of boxed cards; the small icon leads each row */
.cards { display: grid; margin-top: 3.2rem; border-top: 1px solid var(--pg-hair); }
.card { padding: 2.6rem 0; border-bottom: 1px solid var(--pg-hair); }
.card h3 { font: 600 max(1.95rem, 17px)/1.25 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.card p { max-width: 34ch; margin-top: .6rem; font-size: max(1.5rem, 15px); line-height: 1.55; color: var(--pg-soft); text-wrap: pretty; }
.block-dark .cards, .block-dark .card { border-color: rgb(255 255 255 / .12); }
.block-dark .card p { color: #b9b8c9; }
/* numbered rows: the number carries the order */
.decisions { counter-reset: card; }
.decisions > li::before { counter-increment: card; content: counter(card, decimal-leading-zero); display: block; margin-bottom: 1rem; font: 600 max(1.3rem, 13px)/1 var(--font-display); color: var(--pg-accent); }
.block-dark .decisions > li::before { color: #a78bfa; }
.cards-compact .card { padding: 2rem 0; }

/* Checklists: ticks on hairline rows */
.checklist { display: grid; margin-top: 3.2rem; border-top: 1px solid var(--pg-hair); }
.checklist li { display: flex; align-items: flex-start; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--pg-hair); font-size: max(1.6rem, 15px); line-height: 1.5; }
.checklist .i { flex: none; width: 2.2rem; height: 2.2rem; margin-top: .1rem; color: var(--pg-accent); stroke-width: 2.4; }
.block-dark .checklist, .block-dark .checklist li { border-color: rgb(255 255 255 / .12); }
.block-dark .checklist .i { color: #a78bfa; }

/* The six steps, in order */
.process-strip { display: grid; margin-top: 3.2rem; border-top: 1px solid var(--pg-hair); }
.process-strip li { display: grid; grid-template-columns: 4.4rem 1fr; column-gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid var(--pg-hair); }
.strip-no { grid-row: span 2; font: 600 max(1.3rem, 13px)/1.6 var(--font-display); color: var(--pg-accent); }
.process-strip h3 { font-size: max(1.8rem, 16px); font-weight: 600; }
.process-strip p { grid-column: 2; margin-top: .4rem; font-size: max(1.5rem, 15px); line-height: 1.6; color: var(--pg-soft); }

/* Concept work cards: the picture does the talking */
.work-grid { display: grid; gap: 4rem 2.4rem; margin-top: 4rem; }
.work-card a { display: grid; gap: .8rem; text-decoration: none; }
.work-shot { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 1.6rem; background: var(--pg-paper-2); }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale .7s var(--ease); }
.work-card a:hover .work-shot img { scale: 1.03; }
.concept-pill { position: absolute; left: 1.2rem; top: 1.2rem; padding: .4rem 1rem; border-radius: 1.4rem; background: rgb(255 255 255 / .92); font-size: max(1.15rem, 11px); font-weight: 600; color: var(--pg-ink); }
.work-meta { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; font-size: max(1.3rem, 13px); color: var(--pg-soft); }
.work-meta .i { font-size: 1.6rem; }
.work-card strong { font-size: max(2rem, 18px); font-weight: 600; letter-spacing: -.01em; color: var(--pg-ink); }
.work-go { display: inline-flex; align-items: center; gap: .6rem; font-size: max(1.45rem, 14px); font-weight: 600; color: var(--pg-accent); }
.work-go .i { transition: translate .3s var(--ease); }
a:hover > .work-go .i { translate: .3rem 0; }

/* A plain closing line with its button, and arrow links */
.quote-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 4.8rem; padding-top: 3.2rem; border-top: 1px solid var(--pg-hair); }
.quote-band p { max-width: 60ch; font-size: max(1.65rem, 16px); line-height: 1.6; color: var(--pg-soft); }
.quote-band strong { color: var(--pg-ink); }
.text-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 4.4rem; margin-top: 2.4rem; font-size: max(1.55rem, 15px); font-weight: 600; color: var(--pg-accent); text-decoration: none; }
.block-dark .text-link { color: #c4b5fd; }
.text-link .i { transition: translate .3s var(--ease); }
.text-link:hover .i { translate: .3rem 0; }

/* Before / after slider, large, on the ink band */
.ba-large { max-width: 120rem; margin: 4rem auto 0; }
.ba-large .svc-stage { height: auto; aspect-ratio: 4 / 3; border-radius: 2rem; }
.ba-notes { display: grid; gap: 2.4rem; max-width: 120rem; margin: 3.2rem auto 0; }
.ba-notes h3 { font-size: max(1.8rem, 17px); font-weight: 600; }
.ba-before { color: #ff9fb1; }
.ba-after em { color: #a78bfa; }
.ba-notes ul { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.ba-notes li { padding: .7rem 1.2rem; border: 1px solid rgb(255 255 255 / .16); border-radius: 2rem; font-size: max(1.35rem, 13px); color: #d9d8e6; }

/* Link rows (related services, 404) and the industries list */
.link-cards { display: grid; border-top: 1px solid var(--pg-hair); }
.link-cards-row { margin-top: 3.2rem; }
.link-cards a { position: relative; display: flex; align-items: center; gap: 1.6rem; min-height: 4.4rem; padding: 1.8rem 4rem 1.8rem 0; border-bottom: 1px solid var(--pg-hair); font-size: max(1.45rem, 14px); line-height: 1.45; color: var(--pg-soft); text-decoration: none; transition: color .2s; }
.link-cards a::after { content: "→"; position: absolute; right: .4rem; top: 50%; translate: 0 -50%; font-size: 2rem; color: var(--pg-accent); transition: translate .3s var(--ease); }
.link-cards a:hover::after { translate: .4rem -50%; }
.link-cards strong { display: block; font-size: max(1.75rem, 16px); font-weight: 600; color: var(--pg-ink); }
.link-cards .tile { width: 4.4rem; border-radius: 1.2rem; background: var(--pg-accent-soft); color: var(--pg-accent); font-size: 2.1rem; }
.article-aside .link-cards a { padding-right: 3.2rem; }

/* Services overview: each service beside its live scene, divided by hairlines */
.service-rows { display: grid; margin-top: 4rem; border-top: 1px solid var(--pg-hair); }
.service-row { display: grid; gap: 2.4rem; padding: 4rem 0; border-bottom: 1px solid var(--pg-hair); }
.service-row .svc-stage { height: 26rem; border-radius: 2rem; }
.service-row-copy h3 { font: 700 2.8rem/1.15 var(--font-display); letter-spacing: -.025em; }
.service-row-copy > p { max-width: 52ch; margin-top: 1rem; font-size: max(1.6rem, 15px); line-height: 1.7; color: var(--pg-soft); }
.service-row .features { margin: 1.6rem 0 0; }
.service-row .text-link { margin-top: 1.2rem; }

/* Facts and figures */
.fact-list { display: grid; align-content: start; border-top: 1px solid var(--pg-hair); }
.fact-list div { padding: 1.8rem 0; border-bottom: 1px solid var(--pg-hair); }
.fact-list dt { font-size: max(1.3rem, 13px); color: var(--pg-soft); }
.fact-list dd { margin-top: .4rem; font-size: max(1.7rem, 16px); font-variant-numeric: normal; }
.fact-list a { color: var(--pg-accent); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--pg-hair); }
.stat-grid div { display: flex; flex-direction: column-reverse; min-width: 0; padding: 2.4rem 0; border-bottom: 1px solid var(--pg-hair); }
.stat-grid dd { font: 700 4rem/1 var(--font-display); letter-spacing: -.03em; color: var(--pg-ink); }
.stat-grid dt { margin-top: .8rem; font-size: max(1.4rem, 13px); color: var(--pg-soft); }

/* Case study: the full concept */
.full-shot { margin: 4rem 0 0; }
.full-shot img { width: 100%; border-radius: 2rem; box-shadow: 0 3rem 6rem rgb(13 12 34 / .12); }
.full-shot figcaption { margin-top: 1.4rem; font-size: max(1.35rem, 13px); color: var(--pg-soft); text-align: center; }

/* End of every deep page: back to its section, previous and next */
.page-nav { padding: 4rem 0; border-top: 1px solid var(--pg-hair); background: var(--pg-paper); color: var(--pg-ink); }
.page-nav-inner { display: grid; gap: 1.2rem; }
.page-nav-where { font-size: max(1.35rem, 13px); color: var(--pg-soft); }
.page-nav-where a { color: var(--pg-ink); }
.page-nav-back, .page-nav-step { display: flex; min-height: 7.2rem; padding: 1.6rem 2.2rem; border-radius: 1.6rem; text-decoration: none; transition: border-color .25s, background-color .25s; }
.page-nav-back { align-items: center; gap: 1.6rem; background: var(--pg-ink); color: var(--pg-paper); }
.page-nav-back:hover { background: var(--pg-accent); color: var(--pg-accent-ink); }
.page-nav-back > .i { flex: none; font-size: 2rem; transition: translate .3s var(--ease); }
.page-nav-back:hover > .i { translate: -.3rem 0; }
.page-nav-step { flex-direction: column; justify-content: center; gap: .3rem; border: 1px solid var(--pg-hair); background: var(--pg-surface); color: var(--pg-ink); }
.page-nav-step:hover { border-color: var(--pg-ink); }
.page-nav small { display: flex; align-items: center; gap: .4rem; font-size: max(1.25rem, 12px); color: var(--pg-soft); }
.page-nav-back small { color: inherit; opacity: .7; }
.page-nav small .i { font-size: 1.4rem; }
.page-nav strong { display: block; font-size: max(1.7rem, 16px); font-weight: 600; line-height: 1.3; }
.is-next { align-items: flex-end; text-align: right; }

/* FAQ (native details) */
.faq-wrap { display: grid; gap: 3.2rem; }
.faq { border-top: 1px solid var(--pg-hair); }
.faq details { border-bottom: 1px solid var(--pg-hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.4rem; padding: 2rem 0; font-size: max(1.75rem, 16px); font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; font-size: 2rem; color: var(--pg-soft); transition: rotate .3s var(--ease); }
.faq details[open] summary .i { rotate: 180deg; }
.faq summary:hover { color: var(--pg-accent); }
.faq details p { max-width: 65ch; padding-bottom: 2.4rem; font-size: max(1.6rem, 15px); line-height: 1.75; color: var(--pg-soft); }

/* Articles and legal pages: a reading column */
.article-layout { display: grid; gap: 4.8rem; }
.prose { max-width: 68ch; font-size: max(1.75rem, 16px); line-height: 1.8; color: #2e2d40; }
.prose > * + * { margin-top: 1.6rem; }
.prose h2 { margin-top: 5.6rem; font: 700 2.8rem/1.2 var(--font-display); letter-spacing: -.025em; color: var(--pg-ink); }
.prose h3 { margin-top: 3.2rem; font-size: max(2rem, 18px); font-weight: 600; color: var(--pg-ink); }
.prose ul, .prose ol { padding-left: 2.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .8rem; }
.prose li::marker { color: var(--pg-accent); }
.prose a { color: var(--pg-ink); text-decoration-color: var(--pg-accent); text-underline-offset: .3rem; }
.prose strong { color: var(--pg-ink); }
.answer, .note { padding: 2.4rem 2.6rem; border-radius: 1.6rem; background: var(--pg-paper-2); }
.answer { font-size: max(1.85rem, 17px); }
.prose-legal h2 { font-size: 2.4rem; }
.article-aside { display: grid; align-content: start; gap: 1.6rem; }
.aside-title { font-size: max(1.5rem, 14px); font-weight: 600; color: var(--pg-ink); }
.article-aside .cta-ink { justify-self: start; }
.article-grid { display: grid; border-top: 1px solid var(--pg-hair); }
.article-grid a { display: grid; gap: .8rem; padding: 3.2rem 0; border-bottom: 1px solid var(--pg-hair); font-size: max(1.55rem, 15px); line-height: 1.6; color: var(--pg-soft); text-decoration: none; }
.card-label { font-size: max(1.3rem, 13px); color: var(--pg-accent); }
.article-grid strong { max-width: 30ch; font: 700 2.6rem/1.2 var(--font-display); letter-spacing: -.025em; color: var(--pg-ink); transition: color .2s; }
.article-grid a:hover strong { color: var(--pg-accent); }
.article-grid strong em { color: inherit; }

/* ---- Showpieces of the inner pages (Shubham's references, 30 Nov 2026): every page is proof of the craft ---- */
/* Shimmering accent words in the title: the accent with a light passing through (per word once the title is split) */
.page-title em, .page-title em .word-in { background: linear-gradient(100deg, var(--pg-accent) 42%, color-mix(in oklab, var(--pg-accent), #fff 65%) 50%, var(--pg-accent) 58%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-title em:has(.word) { background: none; }
@media (prefers-reduced-motion: no-preference) {
  .page-title em, .page-title em .word-in { animation: shimmer 3.6s linear infinite; animation-delay: calc(var(--n, 0) * 120ms); }
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* Parallax: hero pictures sink slower than the page (back print deeper than the front), work pictures drift inside
   their frames. Scroll-driven CSS; browsers without it simply show them still */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual { animation: sink linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .fan-back, .fan-left, .fan-right { animation: fan-in 1.1s var(--ease) .15s both, sink-deep linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
    .work-shot img, .snap-row img { scale: 1.12; animation: drift-inside linear both; animation-timeline: view(); }
  }
}
@keyframes sink { to { transform: translateY(8rem); } }
@keyframes sink-deep { to { transform: translateY(6rem); } }
@keyframes drift-inside { from { transform: translateY(-5%); } to { transform: translateY(5%); } }

/* Italic sweep: a statement whose words light up one after another as it crosses the screen; a few turn italic, small
   ink shapes sit between them (site.js splits the words; the scroll drives them, CSS only) */
.statement { padding: 9.6rem var(--gutter); background: var(--pg-paper); color: var(--pg-ink); }
.sweep { max-width: 20ch; margin-inline: auto; font: 400 clamp(3.2rem, 5.4vw, 7.2rem)/1.12 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.02em; text-align: center; text-wrap: balance; view-timeline: --sweep block; }
.sweep em { font-style: italic; color: inherit; }
.shape { display: inline-block; width: .62em; height: .62em; margin: 0 .08em; vertical-align: -.02em; background: var(--pg-accent); }
.shape-round { border-radius: 50%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sw { animation: sw-light linear both; animation-timeline: --sweep; animation-range: cover calc(22% + var(--n) * 1.6%) cover calc(26% + var(--n) * 1.6%); }
    .sw-it { animation-name: sw-italic; }
    .sweep .shape { animation: shape-pop linear both; animation-timeline: --sweep; animation-range: cover 20% cover 50%; }
  }
}
@keyframes sw-light { from { opacity: .14; } }
@keyframes sw-italic { from { opacity: .14; font-style: normal; } 70% { font-style: normal; } 71%, to { font-style: italic; } }
@keyframes shape-pop { from { scale: 0; rotate: -90deg; } }

/* Works wheel (/work/): the seven concepts on a turning wheel around the title; as the page scrolls each one comes to
   the middle, large, with its name, while the index on the right follows. Decorative: the real links are in the grid
   below. site.js sets --p (0 → 1 through the section) and marks the current one */
.wheel { --p: 0; position: relative; height: 420vh; background: var(--pg-paper); color: var(--pg-ink); }
.wheel-stage { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; overflow: hidden; }
.wheel-title { position: absolute; font: 600 clamp(3.2rem, 5vw, 6.4rem)/1 var(--font-display); letter-spacing: -.03em; opacity: calc(1 - var(--p) * 8); }
.wheel-ring { position: absolute; width: min(80vmin, 76rem); aspect-ratio: 1; rotate: calc(var(--p) * -300deg); opacity: clamp(.12, 1 - var(--p) * 5, 1); }
.wheel-ring li { position: absolute; left: 50%; top: 50%; width: 26%; rotate: calc(var(--i) * 360deg / 7); translate: -50% -50%; }
.wheel-ring img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .8rem; translate: 0 -150%; box-shadow: 0 1.6rem 3rem rgb(0 0 0 / .35); }
.wheel-focus { position: relative; width: min(84vw, 96rem); aspect-ratio: 3 / 2; }
.wheel-item { position: absolute; inset: 0; display: grid; opacity: 0; scale: .86; transition: opacity .5s, scale .7s var(--ease); }
.wheel-item.is-current { opacity: 1; scale: 1; }
.wheel-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 1.6rem; }
.wheel-item b { position: absolute; left: 0; bottom: -4.4rem; font: 600 max(2rem, 18px)/1.2 var(--font-display); }
.wheel-index { position: absolute; right: var(--gutter); top: 50%; display: none; translate: 0 -50%; text-align: right; font-size: max(1.35rem, 13px); color: var(--pg-soft); }
.wheel-index li { padding: .3rem 0; transition: color .3s; }
.wheel-index .is-current { color: var(--pg-ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .wheel { display: none; } }

/* Snap gallery (/industries/): big cards that scroll sideways and settle one by one; a thin themed scrollbar */
.snap-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 40rem); gap: 2rem; margin: 4rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2.4rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--pg-accent) var(--pg-hair); }
.snap-row li { scroll-snap-align: start; }
.snap-row a { display: grid; gap: .8rem; text-decoration: none; color: var(--pg-soft); font-size: max(1.45rem, 14px); line-height: 1.5; }
.snap-row span:first-child { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1.6rem; background: var(--pg-paper-2); }
.snap-row img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.snap-row strong { margin-top: .8rem; font: 600 max(2.2rem, 19px)/1.2 var(--font-display); letter-spacing: -.02em; color: var(--pg-ink); }
.snap-row a:hover strong { color: var(--pg-accent); }

@media (min-width: 1024px) {
  .wheel-index { display: block; }
  .wheel-focus { width: min(60vw, 96rem); }
}

/* Images badge: a small pill with three stacked concept thumbnails, leading to the work */
.images-badge { display: inline-flex; align-items: center; gap: 1rem; min-height: 4.4rem; margin-top: 2.4rem; padding: .5rem 1.6rem .5rem .6rem; border: 1px solid var(--pg-hair); border-radius: 2.4rem; background: var(--pg-surface); font-size: max(1.35rem, 13px); font-weight: 600; color: var(--pg-ink); text-decoration: none; box-shadow: 0 .8rem 2rem rgb(13 12 34 / .06); transition: border-color .2s; }
.images-badge:hover { border-color: var(--pg-ink); }
.badge-stack { display: flex; }
.badge-stack img { width: 4.2rem; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid var(--pg-surface); border-radius: .7rem; rotate: -6deg; transition: rotate .4s var(--ease), translate .4s var(--ease); }
.badge-stack img + img { margin-left: -2.2rem; rotate: 4deg; }
.badge-stack img:last-child { rotate: 10deg; }
.images-badge:hover .badge-stack img { rotate: 0deg; translate: 0 -.3rem; }
.images-badge .i { font-size: 1.5rem; color: var(--pg-accent); }

/* Services rail: the five services hang from a rail on short cords and sway, each on its own beat */
.hero-rail { position: relative; max-width: 120rem; padding-top: 1.6rem; }
.rail-bar { position: absolute; left: 0; right: 0; top: 1.6rem; height: .8rem; border-radius: .4rem; background: linear-gradient(180deg, #d4d4dc, #8e8e9c 60%, #bdbdc8); box-shadow: 0 .6rem 1.2rem rgb(13 12 34 / .15); }
/* phones: one row that scrolls sideways under the rail; wider screens: the whole row fits */
.rail-tags { display: grid; grid-auto-flow: column; grid-auto-columns: 17rem; gap: 1.6rem; margin-inline: calc(var(--gutter) * -1); padding: 3.6rem var(--gutter) 2.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rail-tags li { scroll-snap-align: start; }
.rail-tags li { position: relative; transform-origin: 50% -3.2rem; }
.rail-tags li::before { content: ""; position: absolute; left: 50%; top: -3.2rem; width: 1.5px; height: 3.2rem; background: color-mix(in oklab, var(--pg-ink) 40%, transparent); }
.rail-tags a { display: grid; justify-items: center; gap: .8rem; padding: 2.4rem 1.6rem 2rem; border: 1px solid var(--pg-hair); border-radius: 1.6rem; background: var(--pg-surface); font-size: max(1.3rem, 13px); line-height: 1.45; color: var(--pg-soft); text-decoration: none; box-shadow: 0 1.6rem 3rem rgb(13 12 34 / .1); transition: border-color .2s, box-shadow .3s; }
.rail-tags a:hover { border-color: var(--pg-accent); box-shadow: 0 2.2rem 4rem rgb(13 12 34 / .16); }
.rail-tags .tile { width: 4.8rem; border-radius: 1.2rem; background: var(--pg-accent-soft); color: var(--pg-accent); font-size: 2.2rem; }
.rail-tags strong { font-size: max(1.75rem, 16px); font-weight: 600; color: var(--pg-ink); }
@media (prefers-reduced-motion: no-preference) {
  .rail-tags li { animation: sway 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.1s); }
  .rail-tags li:hover { animation-play-state: paused; }
}
@keyframes sway { from { rotate: -1.6deg; } to { rotate: 1.6deg; } }

@media (min-width: 768px) {
  .page-hero { padding: 14rem var(--gutter) 8rem; }
  .page-title { font-size: 5.6rem; }
  .answer-text { font-size: 2.6rem; }
  .rail-tags { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .hero-scene .svc-stage { height: 36rem; }
  .hero-ring { --card: 24rem; --r: 64rem; --p: 80rem; height: 30rem; }
  .block { padding: 8rem 0; }
  .block-head h2, .answer-row h2 { font-size: 4.4rem; }
  .cards-3, .cards-4, .cards-compact, .checklist-light, .process-strip, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; }
  .ba-notes, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { column-gap: 4rem; }
  .service-row { grid-template-columns: 1fr 1fr; align-items: center; gap: 5.6rem; }
  .service-row .svc-stage { height: 30rem; }
  .ba-large .svc-stage { aspect-ratio: 3 / 2; }
  .page-nav-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .page-nav-where { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; }
  .answer-row { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 6rem; }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 8rem; align-items: start; }
  .article-layout { grid-template-columns: minmax(0, 68ch) 32rem; justify-content: center; gap: 8rem; align-items: start; }
  .article-aside { position: sticky; top: 12rem; }
}
@media (min-width: 1280px) {
  .page-hero { padding: 15rem var(--gutter) 7.2rem; }
  .page-title { font-size: 7.2rem; }
  .hero-visual { margin-top: 7.2rem; }
  .hero-ring { --card: 30rem; --r: 84rem; --p: 100rem; height: 38rem; max-width: 154rem; margin-inline: auto; }
  .block { padding: 9.6rem 0; }
  .block-head h2, .answer-row h2 { font-size: 5.2rem; }
}

/* Apple-style display type on the special places: section headings, the story headline and every big figure */
:is(.compare-title, .services-title, .process-title, .contact-title, .closing-title, .story-title) { font-family: var(--font-display); letter-spacing: -.025em; }
:is(.hero-stats dd, .contact-stats dd, .story-facts dd, .cc-count, .clients-pill strong) { font-family: var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* Footer pieces rise in one after another ([data-reveal]; site.js adds .reveal-ready only when motion is allowed) */
.reveal-ready > * { opacity: 0; translate: 0 1.4rem; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--n, 0) * 70ms); }
.reveal-ready.is-shown > * { opacity: 1; translate: 0 0; }
/* Used for one frame while a panel's text animation restarts */
.text-reset, .text-reset * { transition: none !important; }

/* Until the page's fonts have arrived the hero entrance waits, so it plays once in the right font (no jump) */
.fonts-pending :is(.swap-home > *, .hero-actions, .hero-card, .hero-stats, .hero-scroll) { animation-play-state: paused; }

/* Text animations (site.js section 8 builds the pieces only when motion is allowed, so without it text just shows):
   [data-split] headings raise their words from behind a mask; [data-type] labels type out behind a caret;
   [data-scramble] words shuffle letters before settling */
[data-split] .word { display: inline-block; overflow: clip; overflow-clip-margin: .12em; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
[data-split] .word-in { display: inline-block; translate: 0 108%; rotate: 4deg; transform-origin: 0 100%; transition: translate .9s var(--ease), rotate .9s var(--ease); transition-delay: calc(var(--n) * 55ms); }
[data-split].is-shown .word-in { translate: 0 0; rotate: 0deg; }
/* gradient words keep their gradient word by word */
.compare-title em .word-in { background: linear-gradient(90deg, #8d5cff, #7b3cf3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.compare-title em:has(.word) { background: none; } /* the gradient moves onto each word; the parent's own would misdraw over moved words */
.typed::after { content: ""; display: inline-block; width: .08em; height: 1.05em; margin-left: .12em; vertical-align: -.15em; background: currentColor; animation: caret 1s steps(1) infinite; }
.typed.is-done::after { animation: none; opacity: 0; transition: opacity .4s 1.6s; }

/* Sections well below the first screen: the browser skips their layout and painting until they come near
   (content-visibility; the placeholder height is replaced by the real one once seen, so nothing jumps). Never the
   hero, the before/after section (the scroll morph measures both) or anything in the first screen */
:is(.services, .process, .compare ~ .contact, .block ~ .block) { content-visibility: auto; contain-intrinsic-size: auto none auto 900px; }

/* Sections off screen pause their animations (site.js marks them), so only what is visible costs anything */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* Everything still and visible when the visitor asks for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
