/* Qortiv site. Tokens follow the brand sheet (Brand Materials/downloadables/qortiv-brand-sheet.html).
   One dark theme (Ethan, 2026-11-13): Foundation Slate ground + Blueprint Paper ink carry ~90%,
   Kiln Orange is the single accent (~10%), Safety Yellow lives only on the mascot's hat.
   Shape rule: 6px everywhere; circles only for knobs, avatars and dots; the phone mock uses device radii. */
:root {
  color-scheme: dark;
  --slate: #0F172A;
  --graphite: #1F2937;
  --orange: #F97316;
  --paper: #FAFAF9;
  --mist: #94A3B8;
  --deep: #060B16;           /* slate, one clear step down: the FAQ band */

  --bg: var(--slate);
  --surface: #162033;
  --ink: var(--paper);
  --ink-2: #CBD5E1;          /* slate-300: body on slate, 12.0:1 */
  --rule: #26324A;
  --tile-dark: var(--surface);
  --tile-dark-ink: var(--paper);
  /* Glass, light touch: only for layers that float over something moving (the pointer field, the
     corridor, the van photo). Blocks of reading text stay solid. */
  --glass: rgba(250, 250, 249, .06);
  --glass-line: rgba(250, 250, 249, .16);
  --glass-blur: saturate(110%) blur(20px);

  --f-head: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 6px;             /* brand: rounded 6px, used everywhere */
  --wrap: 2080px;            /* near edge to edge; only reins in ultra-wide screens */
  --pad: clamp(20px, 3.4vw, 72px);
  --nav-h: 68px;
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--surface); padding: 8px 12px; border-radius: var(--radius); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Browser-drawn parts, themed from the palette */
::selection { background: var(--orange); color: var(--slate); }
html { scrollbar-color: color-mix(in srgb, var(--ink) 34%, transparent) transparent; }
input { caret-color: var(--orange); accent-color: var(--orange); }
section[id] { scroll-margin-top: var(--nav-h); }

.h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 17ch; }
[data-lucide], .lucide { width: 22px; height: 22px; stroke-width: 1.5; }

/* Buttons. Brand: orange primary, slate outline secondary, one primary per screen.
   Slate text on Kiln Orange (7.1:1) instead of white (2.8:1) so the label passes WCAG AA.
   `translate` is left free for the magnetic pull in main.js; `transform` is the press. */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), translate .35s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange); color: var(--slate); box-shadow: 0 1px 0 rgba(15, 23, 42, .12), 0 8px 20px -10px rgba(249, 115, 22, .55); }
.btn-primary:hover { background: #FB8A3C; box-shadow: 0 1px 0 rgba(15, 23, 42, .12), 0 14px 28px -12px rgba(249, 115, 22, .7); }
.btn-secondary { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.text-link { color: var(--ink-2); font-weight: 500; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }

/* Pointer field: one fixed canvas behind every page (field.js). It waits for the entrance to land. */
.field { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; transition: opacity .9s var(--ease); }
.intro-on:not(.landed) .field { opacity: 0; }

/* Nav: a glass bar. Logo left, links centred, the one call button right. */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: inset 0 1px 0 rgba(250, 250, 249, .06); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.nav.scrolled { border-bottom-color: var(--glass-line); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--nav-h); }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.logo { display: block; width: auto; color: var(--ink); }
.brand { justify-self: start; }
.brand .logo { height: 34px; }
.nav-links { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline 2px var(--orange); text-underline-offset: 9px; }
.nav-cta { justify-self: end; min-height: 42px; padding: 0 18px; font-size: 15px; }
/* Tablets keep the three service pages in the bar; phones show the logo and the call button */
@media (max-width: 960px) { .nav-links a[href^="#"], .nav-links a[href^="index.html#"] { display: none; } }
@media (max-width: 760px) { .nav-links { display: none; } .nav-inner { grid-template-columns: 1fr auto; } .brand .logo { height: 28px; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 16px) 0 clamp(28px, 5svh, 64px); overflow-x: clip; }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 80px); align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(2.4rem, min(5.2vw, 10.5svh), 5.75rem); line-height: 1.02; letter-spacing: -0.035em; }
@media (min-width: 861px) { .hero h1 { white-space: nowrap; } }
@media (min-width: 861px) and (max-width: 1180px) { .hero h1 { font-size: min(4.5vw, 10.5svh); } }
.accent-line { display: block; color: var(--orange); }
.lede { margin-top: clamp(20px, 3svh, 32px); font-size: clamp(1.08rem, 1.45vw, 1.5rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.hero .btns { margin-top: 32px; }
.hero-art { justify-self: center; width: 100%; max-width: min(720px, 76svh); }

/* Stage: --mx/--my run -1..1 from the pointer (main.js). Chips drift by depth --d, the Quokka leans. */
.mascot-stage { --mx: 0; --my: 0; position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.stage-grid {
  position: absolute; inset: 4%;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 30px 30px; background-position: center;
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  translate: calc(var(--mx) * -10px) calc(var(--my) * -10px);
}
.mascot-btn {
  position: relative; z-index: 1; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  border-radius: 50%; -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 92%;
  transform: perspective(1000px) rotateY(calc(var(--mx) * 10deg)) rotateX(calc(var(--my) * -5deg)) rotate(calc(var(--mx) * 3deg));
  translate: calc(var(--mx) * 8px) calc(var(--my) * 5px);
}
.mascot-btn:focus-visible { outline-offset: -8px; }
.mascot-idle, .mascot-hop { display: block; transform-origin: 50% 92%; }
.mascot-btn .rig { filter: drop-shadow(0 24px 30px rgba(15, 23, 42, .18)); transition: filter .3s var(--ease); }
.mascot-btn:hover .rig { filter: drop-shadow(0 28px 34px rgba(249, 115, 22, .28)); }
.no-mascot .rig { display: none; }

/* Rig: layers on one 1100px canvas, all behind the body so cut edges tuck under the vest armholes.
   Hanging arms (.arm) turn at the shoulder; to raise one they swing out, then hand over to a drawn raised
   arm (.arm-up) that springs in from below. The right raised arm waves its forearm at the elbow (.fore).
   Pivots in canvas px: hanging (664,488)/(346,488), raised shoulders (660,505)/(350,505), elbow (733,440). */
.rig { position: relative; display: block; }
.rig img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.rig .body { position: relative; }
.rig .arm, .arm-up, .arm-up img { position: absolute; inset: 0; }
.arm-r { --hang: -65deg; transform-origin: 60.36% 44.36%; }
.arm-l { --hang: 65deg; transform-origin: 31.45% 44.36%; }
.arm-up-r { --down: 45deg; --pump: -7deg; transform-origin: 60% 45.91%; }
.arm-up-l { --down: -45deg; --pump: 7deg; transform-origin: 31.82% 45.91%; }
.arm-up .fore { transform-origin: 66.64% 40%; }
/* Rest, and the way back down: the raised arm drops out first, then the hanging arm settles */
.rig .arm { rotate: 0deg; transition: rotate .4s var(--spring) .14s, opacity 0s linear .14s; }
.arm-up { rotate: var(--down); opacity: 0; transition: rotate .14s ease-in, opacity 0s linear .14s; }
/* Held up (.up, while a "Book a free call" button is hovered) */
.rig.up .arm { rotate: var(--hang); opacity: 0; transition: rotate .14s ease-in, opacity 0s linear .14s; }
.rig.up .arm-up { rotate: 0deg; opacity: 1; transition: rotate .5s var(--spring) .14s, opacity 0s linear .14s; }
/* One-shot gestures: .wave raises the right paw and waves, .cheer raises both and pumps */
.rig.wave .arm-r, .rig.cheer .arm { animation: hang var(--g) linear; }
.rig.wave .arm-up-r, .rig.cheer .arm-up { animation: raise var(--g) linear; }
.rig.wave { --g: 2.4s; }
.rig.wave .fore { animation: fore-wave 2.4s ease-in-out; }
.rig.cheer { --g: 2s; }
.rig.cheer .arm-up { animation: raise 2s linear, pump 2s ease-in-out; }
.no-mascot::after { content: "Mascot goes here: assets/qortiv-mascot.png"; position: relative; font: 500 13px/1.4 var(--f-mono); color: var(--ink-2); border: 1.5px dashed var(--mist); border-radius: var(--radius); padding: 18px; }

/* Speech bubble, to the right of the Quokka's head */
.bubble {
  position: absolute; z-index: 3; left: 61%; bottom: 78%; max-width: min(15rem, 40%); /* grows upward, clear of the raised paw */
  padding: 11px 14px; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); border: 1px solid var(--rule);
  font: 700 15px/1.35 var(--f-head); box-shadow: 0 16px 34px -18px rgba(15, 23, 42, .45);
  opacity: 0; transform: translateY(6px) scale(.94); transform-origin: 0 100%;
  transition: opacity .2s var(--ease), transform .45s var(--spring); pointer-events: none;
}
.bubble.show { opacity: 1; transform: none; }
.bubble::before { content: ""; position: absolute; left: -7px; bottom: 14px; width: 12px; height: 12px; background: inherit; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transform: rotate(45deg); }

/* Outcome chips */
.chip {
  position: absolute; z-index: 2; display: grid;
  padding: 9px 13px 9px 10px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .6);
  font: 500 12px/1.3 var(--f-mono); color: var(--ink-2); white-space: nowrap;
  translate: calc(var(--mx) * var(--d) * 12px) calc(var(--my) * var(--d) * 12px);
}
.chip-a { left: -12%; top: 38%; }
.chip-b { right: -5%; top: 50%; }
.chip-c { left: -6%; bottom: 14%; }
@media (min-width: 861px) and (max-width: 1280px) { .chip-a, .chip-c { display: none; } .chip-b { top: 64%; } }
.msg { grid-area: 1 / 1; display: flex; align-items: center; gap: 9px; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.msg:not(.on) { opacity: 0; transform: translateY(8px); }
.msg b { display: block; font: 700 13.5px/1.25 var(--f-head); color: var(--ink); }
.chip .lucide { flex: none; width: 20px; height: 20px; color: var(--orange); }

@media (max-width: 860px) {
  /* One screen, any phone: copy keeps its size, the Quokka shrinks or grows into what is left */
  .hero { grid-template-rows: minmax(0, 1fr); align-items: stretch; }
  .hero-grid { display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 2.2svh, 24px); min-height: 0; }
  .hero-copy { flex: none; }
  .hero-art { order: -1; flex: 1 1 0; align-self: center; width: auto; aspect-ratio: 1; min-height: 104px; max-height: 340px; max-width: 100%; }
  .hero .lede { margin-top: clamp(10px, 1.8svh, 20px); }
  .hero .btns { margin-top: clamp(14px, 2.6svh, 28px); }
  .hero h1 { font-size: clamp(1.75rem, 9.6vw, 2.4rem); }
  .chip { padding: 7px 10px 7px 8px; font-size: 10.5px; }
  .msg b { font-size: 12px; }
  .chip .lucide { width: 16px; height: 16px; }
  .chip-a, .chip-c { display: none; }
  /* As far right as fits: the Quokka is centred, so 50% - 50vw is the screen's right edge seen from its box.
     16px clear, because a mouse can nudge the chip up to 13px (the translate on .chip). */
  .chip-b { right: max(-26%, calc(50% - 50vw + 16px)); top: auto; bottom: 3%; }
  .bubble { left: 61%; bottom: auto; top: 0; width: max-content; max-width: 8.4rem; font-size: 13px; padding: 9px 11px; transform-origin: 0 0; }
  .bubble::before { bottom: auto; top: 14px; }
}

/* ---------- Services bento ---------- */
.services { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.bento { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.tile-media { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; }
.tile-body { padding: clamp(24px, 2.8vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.tile-body [data-lucide], .tile-body .lucide { color: var(--orange); width: 28px; height: 28px; }
.tile h3 { font-weight: 700; font-size: clamp(1.35rem, 2.1vw, 2.2rem); line-height: 1.16; letter-spacing: -0.02em; max-width: 22ch; }
.tile-body p { color: var(--ink-2); max-width: 46ch; font-size: clamp(1rem, 1.05vw, 1.15rem); }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { font: 500 13px/1 var(--f-mono); padding: 9px 11px; border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); white-space: nowrap; }
/* Each service tile links to its own page */
.tile-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font: 600 15px/1 var(--f-body); color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
.tile-body .tile-link [data-lucide], .tile-body .tile-link .lucide { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.tile-link:hover { color: var(--orange); }
.tile-link:hover .lucide { translate: 4px 0; }
.tile-agents { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--tile-dark); }
.tile-agents .tile-body { align-content: center; }
.tile-agents h3 { color: var(--tile-dark-ink); font-size: clamp(1.6rem, 3vw, 3.1rem); }
.tile-agents p { color: #CBD5E1; }
.tile-agents .ticks li { background: rgba(250, 250, 249, .08); color: var(--paper); }
.tile-revenue .tile-media { order: -1; flex: 1; align-content: center; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .tile-agents { grid-template-columns: 1fr; }
}

/* Agents: the phone demo. Bubbles and the phone use device radii (documented exception). */
.chat-media { position: relative; isolation: isolate; aspect-ratio: auto; min-height: 560px; display: grid; grid-template-rows: auto auto; align-content: center; justify-items: center; gap: 18px; padding: 32px 20px 76px; background: #0B1222; }
/* Example switcher: same agent, a plumber, an online store, a retail shop */
.chat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chat-tab { min-height: 44px; padding: 0 14px; border-radius: var(--radius); border: 1px solid rgba(250, 250, 249, .5); background: rgba(15, 23, 42, .5); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--paper); font: 500 13px/1 var(--f-mono); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chat-tab:hover { border-color: var(--paper); }
.chat-tab[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--slate); }
.chat-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.chat-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 23, 42, .3), rgba(15, 23, 42, .88)); }
/* The phone is glass: the van photo shows through it, blurred */
.phone { width: min(310px, 100%); height: 430px; display: flex; flex-direction: column; padding: 10px; border-radius: 28px; background: rgba(8, 14, 28, .56); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); border: 1px solid var(--glass-line); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .8), inset 0 0 0 4px rgba(250, 250, 249, .05); }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid rgba(250, 250, 249, .08); }
.phone-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--slate); font: 800 12px/1 var(--f-head); }
.phone-head b { display: block; color: var(--paper); font: 700 14px/1.25 var(--f-head); }
.phone-head small { color: var(--mist); font: 500 11px/1.3 var(--f-mono); }
.chat-log { flex: 1; min-height: 0; mask-image: linear-gradient(transparent, #000 36px); -webkit-mask-image: linear-gradient(transparent, #000 36px); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; padding: 12px 6px 6px; }
.bub { max-width: 84%; padding: 9px 12px; border-radius: 16px; font: 400 13.5px/1.4 var(--f-body); animation: pop .4s var(--ease) both; }
.bub-bot { align-self: flex-start; background: #1E293B; color: var(--paper); border-bottom-left-radius: 4px; }
.bub-you { align-self: flex-end; background: var(--orange); color: var(--slate); border-bottom-right-radius: 4px; }
.bub-sys { align-self: center; max-width: 100%; padding: 4px 0; color: var(--mist); font: 500 11px/1.3 var(--f-mono); text-align: center; }
.typing { display: flex; gap: 4px; padding: 13px 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); animation: dot 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.chat-replay { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: var(--radius); border: 1px solid rgba(250, 250, 249, .25); background: rgba(15, 23, 42, .5); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--paper); font: 500 13px/1 var(--f-mono); cursor: pointer; transition: background-color .2s, border-color .2s; }
.chat-replay:hover { background: rgba(15, 23, 42, .9); border-color: var(--orange); }
.chat-replay .lucide { width: 16px; height: 16px; color: var(--orange); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* Websites: before/after. Mock sizes are in cqw so they scale with the tile. */
.ba { position: relative; container-type: inline-size; overflow: hidden; border-bottom: 1px solid var(--rule); user-select: none; -webkit-user-select: none; }
.ba-pane { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: var(--orange); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--slate); box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .6); transition: scale .2s var(--ease); }
.ba-knob .lucide { width: 20px; height: 20px; stroke-width: 2; }
.ba:hover .ba-knob, .ba:active .ba-knob { scale: 1.08; }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid var(--ink); outline-offset: 3px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 600px; }
.ba-range::-moz-range-thumb { width: 56px; height: 600px; border: 0; }
.ba-tag { position: absolute; bottom: 12px; padding: 6px 8px; border-radius: var(--radius); background: rgba(15, 23, 42, .8); color: var(--paper); font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba-tag-l { left: 12px; }
.ba-tag-r { right: 12px; }

.old { position: absolute; inset: 0; background: #E2E2E2; color: #000; font-family: "Times New Roman", Times, serif; }
.old-top { background: #000080; color: #fff; text-align: center; font: 700 2.9cqw/1 "Times New Roman", Times, serif; letter-spacing: .1em; padding: 1.8cqw 0; }
.old-body { display: grid; grid-template-columns: 18cqw 1fr; gap: 2.4cqw; padding: 2.4cqw; }
.old-side { align-self: start; display: grid; gap: 1.2cqw; padding: 1.6cqw; background: #C0C0C0; border: .5cqw outset #fff; color: #0000EE; font-size: 2.2cqw; }
.old-h { font: 700 3.5cqw/1.15 "Times New Roman", Times, serif; color: #8B0000; text-decoration: underline; }
.old-img { margin: 1.6cqw 0; width: 38cqw; height: 12cqw; display: grid; place-items: center; background: #fff; border: .3cqw solid #808080; color: #666; font: 1.9cqw/1 Arial, sans-serif; }
.old-p { font-size: 2.15cqw; line-height: 1.25; }
.old-small { margin-top: 1.4cqw; font-size: 1.8cqw; color: #333; }
.old-count { margin-top: 1.2cqw; font: 1.6cqw/1.2 "Courier New", monospace; color: #555; }

.new { position: absolute; inset: 0; display: flex; flex-direction: column; background: #FAFAF9; color: #0F172A; font-family: var(--f-body); }
.new-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 4cqw; border-bottom: 1px solid #E5E7EB; }
.new-logo { font: 800 3cqw/1 var(--f-head); letter-spacing: -.02em; }
.new-links { margin-left: auto; font: 500 1.9cqw/1 var(--f-body); color: #475569; white-space: pre; }
.new-call { padding: 1.4cqw 2.2cqw; border-radius: 1cqw; background: var(--orange); font: 700 1.9cqw/1 var(--f-body); }
.new-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; padding: 4.4cqw 4cqw 3cqw; }
.new-quote { display: grid; gap: 1.5cqw; padding: 3cqw; border-radius: 1.2cqw; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 2cqw 4cqw -2.5cqw rgba(15, 23, 42, .35); }
.new-quote b { font: 800 2.6cqw/1.1 var(--f-head); }
.new-field { height: 4.6cqw; border-radius: .8cqw; border: 1px solid #E5E7EB; background: #FAFAF9; font: 500 1.8cqw/4.6cqw var(--f-body); color: #94A3B8; padding: 0 1.6cqw; }
.new-send { margin-top: .6cqw; padding: 1.8cqw 0; text-align: center; border-radius: .8cqw; background: #0F172A; color: #FAFAF9; font: 700 2cqw/1 var(--f-body); }
.new-kicker { font: 500 1.8cqw/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.new-h { margin-top: 1.6cqw; max-width: 12ch; font: 800 4.8cqw/1.04 var(--f-head); letter-spacing: -.03em; }
.new-rating { margin-top: 2cqw; font: 500 2cqw/1 var(--f-body); color: #475569; }
.new-rating span { color: var(--orange); letter-spacing: .1em; }
.new-btns { margin-top: 2.6cqw; display: flex; gap: 1.6cqw; }
.new-btn, .new-btn2 { padding: 1.8cqw 2.6cqw; border-radius: 1cqw; font: 700 2.1cqw/1 var(--f-body); }
.new-btn { background: var(--orange); }
.new-btn2 { border: 1.5px solid #0F172A; }
.new-cards { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 4cqw 4cqw; }
.new-cards span { padding: 2.4cqw 2cqw; border-radius: 1cqw; background: #fff; border: 1px solid #E5E7EB; font: 700 2.1cqw/1 var(--f-head); }

/* Revenue: calculator + brick wall */
.calc { aspect-ratio: auto; color: var(--ink-2); display: grid; gap: 18px; padding: clamp(24px, 2.8vw, 40px); background: var(--tile-dark); border-bottom: 1px solid var(--rule); }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; font: 500 14px/1.3 var(--f-body); color: var(--ink-2); cursor: pointer; }
.calc-field output { font: 800 19px/1 var(--f-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-field input { grid-column: 1 / -1; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) var(--fill, 50%), color-mix(in srgb, var(--ink) 12%, transparent) var(--fill, 50%)); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) var(--fill, 50%), color-mix(in srgb, var(--ink) 12%, transparent) var(--fill, 50%)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--orange); box-shadow: 0 3px 10px -2px rgba(15, 23, 42, .3); transition: transform .15s var(--ease); }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--orange); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-result { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: end; margin-top: 4px; }
.calc-result p { font-size: 14px; line-height: 1.45; }
.calc-result strong { display: block; margin-bottom: 6px; font: 800 clamp(2rem, 3.4vw, 2.7rem)/1 var(--f-head); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-note { font: 500 11.5px/1.3 var(--f-mono); }
.wall { display: flex; flex-wrap: wrap-reverse; gap: 4px; overflow: hidden; height: calc(6 * 15px + 5 * 4px); }
.brick { flex: 0 0 calc((100% - 5 * 4px) / 6); height: 15px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 8%, transparent); transform: scale(.9); transition: background-color .3s var(--ease), transform .45s var(--spring); transition-delay: calc(var(--i) * 14ms); }
.brick.on { background: var(--orange); transform: none; }
.brick.on:nth-child(3n) { background: color-mix(in srgb, var(--orange) 82%, var(--slate)); }
.brick:nth-child(12n+7), .brick:nth-child(12n+8), .brick:nth-child(12n+9),
.brick:nth-child(12n+10), .brick:nth-child(12n+11), .brick:nth-child(12n+12) { translate: calc(50% + 2px) 0; }
@media (max-width: 460px) { .calc-result { grid-template-columns: 1fr; } }
@media (min-width: 361px) and (max-width: 460px) { .chat-tabs { flex-wrap: nowrap; } }
@media (max-width: 460px) { .chat-tab { padding: 0 10px; font-size: 12px; } }
/* Phones: a long chip wraps inside its tile instead of pushing the tile wider */
@media (max-width: 560px) { .ticks li { white-space: normal; line-height: 1.3; padding: 7px 11px; } }
@media (max-width: 380px) { .hero .lede { font-size: 1rem; } .hero .btn { padding: 0 15px; font-size: 15px; } }
/* Short phones: the Quokka is small, so it stands alone */
@media (max-width: 860px) and (max-height: 620px) { .hero .chip { display: none; } }

/* Who we build for: three full-width rows on hairlines, then the trades marquee (the only marquee) */
.who { padding: var(--section) 0; border-top: 1px solid var(--rule); overflow: hidden; }
.lanes { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; }
.lane { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(10px, 1.4vw, 22px) clamp(24px, 4vw, 80px); align-items: start; padding: clamp(28px, 3.4vw, 56px) 0; }
.lane::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.lane-name { display: flex; align-items: center; gap: .32em; grid-column: 1; grid-row: 1; font-weight: 800; font-size: clamp(2rem, 4.6vw, 5.25rem); line-height: 1; letter-spacing: -0.035em; max-width: none; text-wrap: nowrap; }
.lane-name .lucide, .lane-name [data-lucide] { flex: none; width: .6em; height: .6em; color: var(--orange); }
.lane-who { grid-column: 1; grid-row: 2; color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.35rem); max-width: 38ch; }
.lane-jobs { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; }
.lane-jobs li { padding: 13px 0; border-top: 1px solid var(--rule); font: 600 clamp(1rem, 1.1vw, 1.2rem)/1.35 var(--f-head); color: var(--ink); }
.lane-jobs li:first-child { border-top: 0; padding-top: .4em; }
.who .marquee { margin-top: clamp(40px, 5vw, 80px); }
@media (max-width: 760px) {
  .lane { grid-template-columns: 1fr; gap: 14px; }
  .lane-name { text-wrap: balance; }
  .lane-jobs { grid-column: 1; grid-row: auto; }
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 14px; padding: 0 7px; margin: 0; list-style: none; }
.marquee-set li { font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--f-head); letter-spacing: -0.02em; padding: 18px 26px; border: 1.5px solid var(--rule); border-radius: var(--radius); white-space: nowrap; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.marquee-set li:nth-child(3n+2) { background: var(--orange); color: var(--slate); border-color: var(--orange); }
.marquee-set li:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee-set[aria-hidden] { display: none; } .marquee { mask-image: none; } .marquee-set { flex-wrap: wrap; padding: 0 var(--pad); } }

/* How we work: sticky heading on the left, steps on the right, a hard hat riding the line (--p from main.js) */
.how { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-head { position: sticky; top: 108px; display: grid; gap: 16px; }
.how-head p { color: var(--ink-2); max-width: 30ch; }
.steps-wrap { position: relative; padding-left: 68px; }
.steps-track { position: absolute; left: 22px; top: 18px; bottom: 18px; width: 2px; border-radius: 1px; background: var(--rule); }
.track-fill { position: absolute; inset: 0; background: var(--orange); transform: scaleY(var(--p, 0)); transform-origin: top; }
.track-hat { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 42px; height: 42px; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--slate); box-shadow: 0 0 0 6px var(--bg); }
.track-hat .lucide { width: 22px; height: 22px; stroke-width: 1.75; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.step.active { border-color: var(--orange); }
.step-num { align-self: start; padding: 6px 8px; border-radius: var(--radius); border: 1.5px solid var(--orange); font: 500 14px/1 var(--f-mono); color: var(--orange); transition: background-color .3s, color .3s; }
.step.active .step-num { background: var(--orange); color: var(--slate); }
.step h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 48ch; }
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-head { position: static; }
  .steps-wrap { padding-left: 52px; }
  .steps-track { left: 17px; }
  .track-hat { width: 36px; height: 36px; }
  .track-hat .lucide { width: 19px; height: 19px; }
  .step { padding: 22px; gap: 16px; grid-template-columns: 1fr; }
  .step-num { justify-self: start; }
}

/* FAQ: the one deeper band of the page, edge to edge and solid */
.faq { padding: var(--section) 0; background: var(--deep); border-block: 1px solid var(--rule); }
@media (min-width: 861px) { .faq .h2 { position: sticky; top: 108px; } }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--bg); border: 1px solid var(--rule); transition: border-color .3s; }
.faq details:hover, .faq details[open] { border-color: color-mix(in srgb, var(--orange) 45%, var(--rule)); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font: 700 1.08rem/1.35 var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary [data-lucide], .faq summary .lucide { flex: none; color: var(--orange); transition: transform .3s var(--ease); }
.faq details[open] summary .lucide { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing: the Quokka peeks up from the card's bottom edge */
.closing { padding: var(--section) 0; }
.closing-grid { --cpad: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: center; padding: var(--cpad); border-radius: var(--radius); background: var(--orange); color: var(--slate); }
/* The one solid block of Kiln Orange on each page. Slate on orange is 7.1:1; the button turns slate. */
.closing h2, .closing p, .closing .text-link { color: var(--slate); }
.closing .text-link:hover { color: var(--slate); text-decoration-thickness: 2px; }
.closing .btn-primary { background: var(--slate); color: var(--paper); box-shadow: 0 10px 22px -12px rgba(15, 23, 42, .7); }
.closing .btn-primary:hover { background: #1B2740; box-shadow: 0 14px 26px -12px rgba(15, 23, 42, .8); }
.closing :focus-visible { outline-color: var(--slate); }
.closing ::selection { background: var(--slate); color: var(--paper); }
.closing p { margin-top: 14px; font-size: 1.1rem; }
.closing .btns { margin-top: 28px; gap: 20px; }
.peek { position: relative; align-self: end; width: 240px; height: 280px; margin-bottom: calc(-1 * var(--cpad)); clip-path: inset(-200px -200px 0 -200px); }
.peek .rig { position: absolute; left: -156px; top: -18px; width: 600px; max-width: none; transform: translateY(105%); transition: transform 1.1s var(--spring); }
.peek.in .rig { transform: none; }
.closing-grid:has(.btn-primary:hover) .peek.in .rig { transform: translateY(-18px); transition-duration: .6s; }
@media (max-width: 760px) {
  .closing-grid { grid-template-columns: 1fr; gap: 8px; }
  .peek { justify-self: end; width: 160px; height: 180px; margin-top: 12px; }
  .peek .rig { left: -104px; top: -12px; width: 400px; }
}

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: 40px 0 56px; }
.foot-grid { display: grid; grid-template-columns: auto auto 1fr auto auto; gap: 20px clamp(24px, 3vw, 48px); align-items: center; }
.foot .logo { height: 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot address { font-style: normal; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.foot address a { text-underline-offset: 3px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); color: var(--ink-2); transition: color .2s var(--ease), background-color .2s var(--ease); }
.socials a:hover { color: var(--orange); background: var(--glass); }
.foot-copy { color: var(--ink-2); font-size: 14px; }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr; gap: 14px; } .socials { margin-left: -11px; } }

/* ---------- Service pages (ai-agents.html, websites.html, growth.html: written by tools/build_pages.py) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(40px, 7vw, 112px)) 0 var(--section); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.3rem, 4.5vw, 4.9rem); line-height: 1.03; letter-spacing: -0.035em; }
.page-hero .btns { margin-top: 32px; }
.page-demo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--surface); }
.page-demo .ba, .page-demo .calc { border-bottom: 0; }
/* What we set up: one row per job, name left, plain sentence right */
.incl { padding: var(--section) 0; border-top: 1px solid var(--rule); }
.incl-list { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; }
.incl-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px clamp(24px, 4vw, 80px); align-items: baseline; padding: clamp(22px, 2.4vw, 36px) 0; border-top: 1px solid var(--rule); }
.incl-row h3 { font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.03em; }
.incl-row p { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.3rem); max-width: 52ch; }
/* The other two services, as two big links */
.others { padding: var(--section) 0 0; border-top: 1px solid var(--rule); }
.other-list { list-style: none; margin: clamp(28px, 3vw, 48px) 0 0; padding: 0; }
.other-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.4vw, 36px) 0; border-top: 1px solid var(--rule); font: 800 clamp(1.7rem, 3.8vw, 4.2rem)/1.05 var(--f-head); letter-spacing: -0.035em; color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
.other-link .lucide, .other-link [data-lucide] { flex: none; width: .7em; height: .7em; color: var(--orange); transition: translate .3s var(--ease); }
.other-link:hover { color: var(--orange); }
.other-link:hover .lucide { translate: .2em 0; }
@media (max-width: 860px) { .page-hero-grid, .incl-row { grid-template-columns: 1fr; } }

/* ---------- Motion. Everything here is off under reduced motion; the page reads the same without it. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-load { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .hero-copy .reveal-load:nth-child(2) { animation-delay: .08s; }
  .hero-copy .reveal-load:nth-child(3) { animation-delay: .16s; }
  .hero-art.reveal-load { animation-delay: .12s; transform: translateY(24px) scale(.97); }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .step.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
  /* Each who-we-build-for row draws its hairline in from the left as it arrives */
  .js .lane::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .1s; }
  .js .lane.in::before { transform: none; }

  /* The Quokka breathes, hops when tapped; chips pop in and float */
  .mascot-idle { animation: breathe 4.6s ease-in-out infinite; }
  .mascot-hop.hop { animation: hop .75s var(--ease); }
  .chip { opacity: 0; animation: chip-in .7s var(--spring) forwards, float 6s ease-in-out infinite; }
  .chip-a { animation-delay: .7s, .7s; }
  .chip-b { animation-delay: 1s, 2.2s; }
  .chip-c { animation-delay: 1.3s, 1.4s; }
}
@media (prefers-reduced-motion: reduce) {
  .peek .rig { transform: none; transition: none; }
  .rig .arm { animation: none !important; rotate: 0deg !important; opacity: 1 !important; }
  .arm-up { display: none; }
  .bub { animation: none; }
  .brick { transition: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: scale(1.008, 1.018); } }
@keyframes hop {
  0% { transform: none; }
  18% { transform: scale(1.06, .92); }
  50% { transform: translateY(-11%) scale(.96, 1.05) rotate(-3deg); }
  78% { transform: translateY(0) scale(1.04, .95); }
  100% { transform: none; }
}
/* Hand-over at 6% / 94%: the hanging arm swings out and vanishes as the raised arm appears (and back) */
@keyframes hang {
  0% { rotate: 0deg; opacity: 1; animation-timing-function: ease-in; }
  6% { rotate: var(--hang); opacity: 1; }
  6.01%, 93.99% { rotate: var(--hang); opacity: 0; }
  94% { rotate: var(--hang); opacity: 1; animation-timing-function: cubic-bezier(.34, 1.4, .5, 1); }
  100% { rotate: 0deg; opacity: 1; }
}
@keyframes raise {
  0%, 6% { rotate: var(--down); opacity: 0; }
  6.01% { rotate: var(--down); opacity: 1; animation-timing-function: cubic-bezier(.34, 1.5, .5, 1); }
  22% { rotate: 0deg; opacity: 1; }
  88% { rotate: 0deg; opacity: 1; animation-timing-function: ease-in; }
  93.99% { rotate: var(--down); opacity: 1; }
  94%, 100% { rotate: var(--down); opacity: 0; }
}
/* Forearm swings at the elbow: negative tips the paw in toward the hat */
@keyframes fore-wave {
  0%, 20% { rotate: 0deg; }
  30%, 52% { rotate: -12deg; }
  41%, 63% { rotate: 8deg; }
  74% { rotate: -7deg; }
  84%, 100% { rotate: 0deg; }
}
@keyframes pump { 0%, 30%, 52%, 74%, 100% { transform: none; } 41%, 63% { transform: rotate(var(--pump)); } }
@keyframes chip-in { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes float { 50% { transform: translateY(-7px); } }

/* No backdrop-filter: the floating layers fall back to solid surfaces. Last, so it wins over the rules above. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: color-mix(in srgb, var(--bg) 94%, transparent); }
  .chip { background: var(--surface); }
  .phone { background: var(--deep); }
}
