/* Push Lab: glass edition.
   Same brand as the live site (paper, ink, Push blue, lime, Bricolage + Bitcount),
   with frosted glass panels floating over slowly moving colour. */

@font-face { font-family: "Bitcount"; src: url("bitcount.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("bricolage.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f5f3ea;
  --ink: #171b32;
  --muted: #171b32b3;
  --blue: #1e32c8;
  --blue-deep: #1728ab;
  --lime: #e8efa9;
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* glass recipe */
  --glass-bg: linear-gradient(145deg, rgb(255 255 255 / .66), rgb(255 255 255 / .30));
  --glass-edge: rgb(255 255 255 / .75);
  --glass-blur: blur(22px) saturate(185%);
  --glass-shadow:
    inset 0 1px 0 rgb(255 255 255 / .95),
    inset 0 -1px 0 rgb(255 255 255 / .25),
    0 24px 60px -24px rgb(23 27 50 / .30),
    0 2px 8px rgb(23 27 50 / .05);
  --r: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);

  font: 100%/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
[hidden] { display: none !important; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.skip { position: fixed; z-index: 50; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--paper); transform: translateY(-300%); }
.skip:focus { transform: none; }

/* ---------- moving colour behind everything ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; width: 62vmax; aspect-ratio: 1; border-radius: 50%;
  will-change: transform; animation: drift 26s ease-in-out infinite alternate;
}
.b1 { left: -22vmax; top: -18vmax; background: radial-gradient(circle, rgb(30 50 200 / .30), transparent 62%); }
.b2 { right: -24vmax; top: 8vh;    background: radial-gradient(circle, rgb(232 239 169 / .95), transparent 60%); animation-duration: 31s; }
.b3 { left: 18vw;  top: 70vh;      background: radial-gradient(circle, rgb(110 130 255 / .24), transparent 62%); animation-duration: 37s; }
.b4 { right: -10vmax; top: 120vh;  background: radial-gradient(circle, rgb(232 239 169 / .70), transparent 60%); animation-duration: 29s; }
@keyframes drift { to { translate: 6vmax 4vmax; } }

/* ---------- glass ---------- */
.glass, .glass-dark, .glass-on-blue {
  position: relative;
  border-radius: var(--r);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  isolation: isolate;
}
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
/* light that follows the finger/cursor across the glass */
.glass::before, .glass-dark::before, .glass-on-blue::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 20%) var(--my, -10%), rgb(255 255 255 / .55), transparent 45%);
  opacity: .55; transition: opacity .4s var(--ease);
}
@media (hover: hover) { .glass:hover::before, .glass-dark:hover::before, .glass-on-blue:hover::before { opacity: 1; } }

.glass-dark {
  background: linear-gradient(145deg, rgb(255 255 255 / .17), rgb(255 255 255 / .05));
  border: 1px solid rgb(255 255 255 / .28);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 30px 60px -30px rgb(5 10 60 / .6);
  color: var(--paper);
}
.glass-dark::before { background: radial-gradient(420px circle at var(--mx, 20%) var(--my, -10%), rgb(255 255 255 / .22), transparent 45%); }
.glass-on-blue {
  background: linear-gradient(145deg, rgb(255 255 255 / .22), rgb(255 255 255 / .07));
  border: 1px solid rgb(255 255 255 / .38);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 30px 50px -24px rgb(5 10 80 / .55);
  color: #fff;
}
.glass-on-blue::before { background: radial-gradient(300px circle at var(--mx, 20%) var(--my, -10%), rgb(255 255 255 / .3), transparent 50%); }

/* browsers without backdrop blur get solid panels instead of see-through mush */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgb(255 255 255 / .9); }
  .glass-dark { background: rgb(23 40 171 / .92); }
  .glass-on-blue { background: rgb(23 40 171 / .85); }
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 760; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 7.4vw, 7.4rem); margin-block: .16em .26em; }
h1 em { display: block; color: var(--blue); font-style: normal; }
h2 { font-size: clamp(2.4rem, 5.2vw, 5rem); }
.eyebrow { font: 600 .78rem/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.lede, .intro { max-width: 30rem; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); }
.text-link { color: var(--blue); font-weight: 700; text-underline-offset: .26em; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--spring), background .25s, box-shadow .25s;
}
.button:active { transform: scale(.96); }
.primary { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 24px -10px rgb(30 50 200 / .8); }
.primary:hover { background: var(--blue-deep); }
.ghost {
  background: rgb(255 255 255 / .45); color: var(--ink); border-color: rgb(255 255 255 / .8);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -12px rgb(23 27 50 / .3);
}
.ghost:hover { background: rgb(255 255 255 / .7); }

/* ---------- header: floating glass pill ---------- */
.site-header {
  position: fixed; z-index: 40; top: max(12px, env(safe-area-inset-top));
  left: 50%; translate: -50% 0; width: min(100% - 24px, 78rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .5rem .5rem 1.1rem; border-radius: 999px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header:not(.scrolled) { background: rgb(255 255 255 / .28); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8); }
.site-header.scrolled { padding-block: .4rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: var(--blue); font: 1.7rem/1 "Bitcount", var(--mono); text-decoration: none; white-space: nowrap; }
.mark {
  display: grid; place-items: center; width: 1.9rem; aspect-ratio: 1;
  clip-path: polygon(0 0, 74% 0, 100% 26%, 100% 100%, 0 100%);
  background: var(--blue); color: #fff; font: 800 1rem/1 var(--display);
}
.top-nav, .dock { position: relative; display: flex; align-items: center; }
.top-nav a, .dock a {
  position: relative; z-index: 1; padding: .55rem 1rem; border-radius: 999px;
  font-size: .95rem; font-weight: 700; text-decoration: none; transition: color .3s;
}
.top-nav a.active, .dock a.active { color: var(--blue); }
/* the lens: a drop of glass that slides to the section you are in */
.lens {
  position: absolute; z-index: 0; top: 50%; left: 0; height: calc(100% - 4px); width: 0;
  translate: var(--lx, 0) -50%; border-radius: 999px; opacity: 0;
  background: linear-gradient(145deg, rgb(255 255 255 / .9), rgb(255 255 255 / .45));
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgb(30 50 200 / .08), 0 6px 16px -8px rgb(23 27 50 / .35);
  transition: translate .55s var(--spring), width .55s var(--spring), opacity .3s;
}
[data-lens-nav].has-active .lens { opacity: 1; }
.header-cta {
  padding: .6rem 1.05rem; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
}

/* phone dock */
.dock {
  position: fixed; z-index: 40; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; translate: -50% 0;
  padding: 5px; border-radius: 999px; display: none;
}
.dock a { padding: .62rem .95rem; font-size: .88rem; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  min-height: min(100svh, 62rem); padding-block: 7.5rem 3rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.hero-visual {
  position: relative; aspect-ratio: .95; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: var(--blue);
  box-shadow: 0 40px 80px -40px rgb(30 50 200 / .7);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -8%; z-index: -1;
  background: url("hero.webp") 58% 47% / cover; mix-blend-mode: screen; opacity: .9;
  translate: 0 var(--heroShift, 0px); transition: translate .1s linear;
}
/* the project cloud: everything floats on its own path, at its own depth */
.cloud-label { position: absolute; left: 6%; top: 4.5%; margin: 0; font: 600 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.float-card, .pill {
  position: absolute; text-decoration: none;
  animation: drift var(--t, 11s) ease-in-out var(--dl, 0s) infinite;
  transition: translate 1.1s var(--ease), scale .45s var(--spring);
}
.float-card:hover, a.pill:hover { scale: 1.05; z-index: 3; }
.float-card { z-index: 2; display: grid; gap: .15rem; width: min(48%, 17rem); padding: 1.1rem 1.2rem 1.2rem; }
.float-card strong { font: 760 clamp(1.9rem, 3.2vw, 2.5rem)/1 var(--display); letter-spacing: -.05em; margin-top: .45rem; }
.float-card span:not(.status) { font-size: .95rem; opacity: .92; }
.float-card small { margin-top: .6rem; font: 600 .76rem/1 var(--mono); opacity: .8; }
.pill {
  z-index: 1; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  padding: .55rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 700;
}
.pill small { font: 600 .6rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.pill i { width: .45rem; height: .45rem; border-radius: 50%; flex: none; }
.pill .live { background: #9dff8a; box-shadow: 0 0 8px #9dff8a; }
.pill .proto { background: #ffd36b; box-shadow: 0 0 8px #ffd36b; }
.pill .free { background: #9fd8ff; box-shadow: 0 0 8px #9fd8ff; }
a.pill::after { content: "↗"; font-size: .75rem; opacity: .6; }
/* back layer: a little smaller and softer, so the box has depth */
.pill[data-depth="0.35"], .pill[data-depth=".35"], .pill[data-depth=".4"], .pill[data-depth=".45"] { opacity: .82; font-size: .8rem; }

/* positions + drift paths (desktop) */
.c1 { left: 6%;  top: 12%; --t: 12s; --ax: 6px;  --ay: -10px; }
.c2 { right: 6%; top: 50%; --t: 14s; --ax: -7px; --ay: 9px; --dl: -4s; }
.p1 { right: 7%;  top: 11%; --t: 9s;  --ax: -8px; --ay: 7px;  --dl: -2s; }
.p2 { right: 13%; top: 24%; --t: 13s; --ax: 9px;  --ay: 5px;  --dl: -6s; }
.p8 { right: 8%;  top: 38%; --t: 15s; --ax: -6px; --ay: -8px; --dl: -9s; }
.p3 { left: 8%;   top: 44%; --t: 10s; --ax: 7px;  --ay: -6px; --dl: -3s; }
.p4 { left: 3%;   top: 57%; --t: 12s; --ax: 10px; --ay: 6px;  --dl: -7s; }
.p5 { left: 6%;   top: 70%; --t: 11s; --ax: -9px; --ay: -7px; --dl: -1s; }
.p6 { left: 6%;   bottom: 6%; --t: 14s; --ax: 8px; --ay: -5px; --dl: -5s; }
.p7 { right: 9%;  bottom: 8%; --t: 10s; --ax: -7px; --ay: -9px; --dl: -8s; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(var(--ax, 6px), var(--ay, -8px), 0); }
  66% { transform: translate3d(calc(var(--ax, 6px) * -.6), calc(var(--ay, -8px) * .5), 0); }
}
@keyframes bob { 50% { transform: translateY(-8px); } }
.status, .status-line { display: inline-flex; align-items: center; gap: .45rem; font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status i, .status-line i { width: .5rem; height: .5rem; border-radius: 50%; background: #9dff8a; box-shadow: 0 0 0 0 rgb(157 255 138 / .7); animation: ping 2.4s infinite; }
.status-line i { background: #1fa24a; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgb(157 255 138 / 0); } 100% { box-shadow: 0 0 0 0 rgb(157 255 138 / 0); } }

/* ---------- journey ---------- */
.journey {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}
.journey-head { align-self: start; position: sticky; top: 7rem; }
.journey-head h2 { margin: .8rem 0 1rem; }
.foundation { display: grid; gap: .6rem; margin-top: 1.8rem; }
.mini { display: grid; grid-template-columns: 6.2rem 1fr; gap: .8rem; padding: .85rem 1.1rem; border-radius: 20px; font-size: .95rem; }
.when { font: 700 .78rem/1.6 var(--mono); letter-spacing: .04em; color: var(--blue); }

.timeline { position: relative; padding-left: 2.4rem; }
.timeline-title { margin-bottom: 1.2rem; }
.track { position: absolute; left: .7rem; top: 2.6rem; bottom: 1.5rem; width: 3px; border-radius: 3px; background: rgb(23 27 50 / .1); overflow: hidden; }
.fill { position: absolute; inset: 0; background: linear-gradient(var(--blue), #7d8bff); transform-origin: top; scale: 1 var(--tp, 0); }
.timeline ol { display: grid; gap: 1rem; }
.step { position: relative; }
.step .glass { padding: 1.3rem 1.4rem; }
.step .when { display: block; font: 760 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--display); letter-spacing: -.04em; margin-bottom: .45rem; }
.step p { font-size: 1.04rem; }
.bead {
  position: absolute; left: -2.15rem; top: 1.55rem; width: 1.15rem; aspect-ratio: 1; border-radius: 50%;
  background: rgb(255 255 255 / .7); border: 1px solid #fff; box-shadow: 0 2px 8px rgb(23 27 50 / .2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.step.lit .bead { background: var(--blue); box-shadow: 0 0 0 5px rgb(30 50 200 / .15), 0 2px 10px rgb(30 50 200 / .5); }

/* ---------- built ---------- */
.built { padding-bottom: clamp(3rem, 7vw, 6rem); }
.section-head { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.section-head h2 { margin-top: .8rem; }
.section-head.small { margin: clamp(2.5rem, 5vw, 4rem) 0 1rem; }
.product {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.2rem); margin-bottom: 1.2rem;
}
.product h3 { font-size: clamp(3rem, 6vw, 5.4rem); margin-top: .6rem; }
.fullform { margin-top: .5rem; font: 600 .78rem/1.4 var(--mono); color: var(--muted); }
.cora { width: min(100%, 14rem); margin-top: 1.5rem; filter: drop-shadow(0 24px 30px rgb(23 60 30 / .25)); animation: bob 6s ease-in-out infinite; }
.product-body { display: grid; gap: 1rem; align-content: start; }
.lead { font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--display); letter-spacing: -.02em; }
.product-body > p:not(.lead) { font-size: 1.05rem; color: var(--muted); }
.product-body .button { justify-self: start; margin-top: .3rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li {
  padding: .38rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: rgb(255 255 255 / .6); border: 1px solid #fff; box-shadow: 0 2px 6px rgb(23 27 50 / .06);
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.facts div { padding: .8rem .9rem; border-radius: 18px; background: rgb(30 50 200 / .06); }
.facts dt { font: 760 1.05rem/1.15 var(--display); color: var(--blue); }
.facts dd { font-size: .86rem; color: var(--muted); margin-top: .2rem; }

.bars { margin-top: 1.6rem; display: grid; gap: .5rem; max-width: 20rem; }
.bars figcaption { font-size: .86rem; color: var(--muted); margin-bottom: .2rem; }
.bar { display: grid; grid-template-columns: 6.5rem 1fr 3rem; align-items: center; gap: .6rem; font-size: .86rem; font-weight: 700; }
.bar b { height: .7rem; border-radius: 99px; background: rgb(23 27 50 / .08); position: relative; overflow: hidden; }
.bar b::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: inherit; background: var(--blue); transform-origin: left; scale: 0 1; transition: scale 1.2s var(--ease) .2s; }
.bar.dim b::after { background: rgb(23 27 50 / .35); }
.bar em { font-style: normal; text-align: right; }
.product.in .bar b::after { scale: 1 1; }

.more { border-top: 1px solid rgb(23 27 50 / .12); }
.more summary { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; cursor: pointer; font-weight: 700; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary span { font-size: 1.4rem; line-height: 1; transition: rotate .4s var(--spring); }
.more[open] summary span { rotate: 45deg; }
.rows { display: grid; gap: .1rem; padding-bottom: .6rem; }
.rows div { display: grid; grid-template-columns: 8rem 1fr; gap: .8rem; padding: .55rem 0; border-top: 1px solid rgb(23 27 50 / .07); font-size: .95rem; }
.rows dt { font-weight: 700; }
.rows dd { color: var(--muted); }

.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.also li { display: grid; gap: .55rem; align-content: start; padding: 1.4rem; }
.also h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.04em; }
.also p:not(.eyebrow) { font-size: .97rem; color: var(--muted); }

/* ---------- workflows ---------- */
.workflows { padding-bottom: clamp(1rem, 3vw, 2rem); }
.workflows .lede { margin-top: 1rem; max-width: 40rem; }
.wf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.wf-grid > li { display: grid; gap: .8rem; align-content: start; padding: 1.4rem; }
.wf-grid h3 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); letter-spacing: -.04em; }
.wf-list { display: grid; gap: .5rem; }
.wf-list li { display: grid; grid-template-columns: .5rem 1fr; gap: .6rem; align-items: baseline; font-size: .95rem; color: var(--muted); }
.wf-list li::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue); translate: 0 -.1rem; }
.known { display: grid; gap: .7rem; margin-top: clamp(1.4rem, 3vw, 2rem); }

/* ---------- how we work ---------- */
.how {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: var(--paper); padding-block: clamp(4rem, 9vw, 8rem);
}
.how::before { /* light behind the dark glass */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40rem 30rem at 15% 10%, rgb(125 139 255 / .55), transparent 60%),
    radial-gradient(36rem 26rem at 90% 90%, rgb(232 239 169 / .35), transparent 60%);
}
.how .eyebrow { color: #dfe2ff; }
.how h2 { max-width: 16ch; }
.how-lede { margin-top: 1rem; max-width: 32rem; font-size: 1.1rem; color: #dfe2ff; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.phases li { padding: 1.6rem; display: grid; gap: .6rem; align-content: start; }
.num { font: 600 .8rem/1 var(--mono); opacity: .75; }
.phases h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.phases p { color: #eceeff; }

/* ---------- 1:1 advisory ---------- */
.advisory { padding-top: clamp(4rem, 9vw, 8rem); }
.advisory-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 3.2rem);
}
.advisory h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); margin: .8rem 0 .9rem; }
.advisory-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 26rem; }
.call-visual {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px;
  padding: clamp(1rem, 3vw, 1.8rem); background: var(--blue);
  box-shadow: 0 30px 60px -30px rgb(30 50 200 / .7);
}
.call-visual::before {
  content: ""; position: absolute; inset: -8%; z-index: -1;
  background: url("hero.webp") 35% 40% / cover; mix-blend-mode: screen; opacity: .85;
}
.call-card { display: grid; gap: .9rem; padding: 1.3rem 1.4rem 1.4rem; }
.call-card strong { font: 760 clamp(1.8rem, 3vw, 2.4rem)/1 var(--display); letter-spacing: -.05em; }
.call-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.call-meta span {
  padding: .35rem .6rem; border-radius: 999px; font: 600 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .28);
}
.call-steps { display: grid; gap: .55rem; }
.call-steps li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .5rem; font-size: .97rem; }
.call-steps b { font: 600 .78rem/1.6 var(--mono); opacity: .7; }
.button.light { justify-self: start; background: #fff; color: var(--blue); box-shadow: 0 12px 26px -12px rgb(5 10 60 / .6); }
.button.light:hover { background: #eef0ff; }
.links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* ---------- contact ---------- */
.contact { padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem); }
.contact-panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.2rem);
  background: linear-gradient(145deg, rgb(244 248 205 / .8), rgb(255 255 255 / .35));
}
.contact h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); margin-bottom: .9rem; }
.contact p { color: var(--muted); }
.links { margin-top: 1rem; }
#brief-form { display: grid; gap: .35rem; }
#brief-form label { font-weight: 700; font-size: .9rem; margin-top: .4rem; }
#brief-form input, #brief-form textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: rgb(255 255 255 / .6); border: 1px solid rgb(255 255 255 / .9);
  box-shadow: inset 0 1px 3px rgb(23 27 50 / .08);
  transition: background .25s, box-shadow .25s;
}
#brief-form input:focus, #brief-form textarea:focus { outline: none; background: rgb(255 255 255 / .9); box-shadow: 0 0 0 3px rgb(30 50 200 / .25); }
#brief-form textarea { resize: vertical; }
.send { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
#copy-status { font-size: .9rem; margin-top: .4rem; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.5rem 2.5rem; font-size: .9rem; color: var(--muted); }

/* ---------- first screen: plays on load, no script needed, never stuck hidden ---------- */
.enter { animation: enter .8s var(--ease) var(--d, 0s) backwards; }
@keyframes enter { from { opacity: 0; translate: 0 20px; filter: blur(8px); } }

/* ---------- reveal on scroll: rises out of a blur ---------- */
.js .reveal { opacity: 0; translate: 0 28px; filter: blur(10px); transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; filter: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .hero, .journey, .product, .contact-panel, .advisory-panel { grid-template-columns: 1fr; }
  .journey-head { position: static; }
  .hero { min-height: auto; padding-top: 6.5rem; }
  .hero-visual { aspect-ratio: 1.1; max-width: 40rem; }
  .also, .phases { grid-template-columns: 1fr; }
  .wf-grid { grid-template-columns: 1fr 1fr; }
  /* title on the left, Cora beside it, never over the text */
  .product-id { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: end; }
  .product-id > .eyebrow { grid-column: 1; grid-row: 1; align-self: end; }
  .product-id h3 { grid-column: 1; grid-row: 2; align-self: start; }
  .product-id .cora { grid-column: 2; grid-row: 1 / span 2; width: 8rem; margin: 0; }
  .product-id .fullform, .product-id .bars { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top-nav { display: none; }
  .dock { display: flex; }
  body { padding-bottom: 5.5rem; }
  .wrap { width: calc(100% - 2rem); }
  .site-header { padding-left: .9rem; }
  .wordmark { font-size: 1.5rem; }
  /* phone: fewer pills, re-placed so nothing sits on a card */
  .hero-visual { aspect-ratio: .68; border-radius: 28px; }
  .cloud-label, .wide-only { display: none; }
  .float-card { width: 62%; padding: .9rem 1rem 1rem; }
  .float-card strong { font-size: 1.85rem; }
  .float-card span:not(.status) { font-size: .88rem; }
  .pill { font-size: .78rem; padding: .45rem .7rem; gap: .4rem; }
  .pill[data-depth] { font-size: .76rem; opacity: 1; }
  /* rows: Cora / two pills / Retail OS / ticketing / two pills */
  .c1 { left: 5%;  top: 4%; }
  .p3 { left: 5%;  top: 32%; }
  .p1 { right: 5%; top: 37.5%; }
  .c2 { right: 5%; top: 45.5%; }
  .p4 { left: 4%;  top: 73.5%; }
  .p2 { left: 5%;  right: auto; top: auto; bottom: 10%; }
  .p5 { right: 5%; left: auto; top: auto; bottom: 1.5%; }
  /* smaller drift on a phone so neighbours never touch */
  .hero-visual .pill, .hero-visual .float-card { --ax: 4px; --ay: -5px; }
  a.pill::after { content: none; }
  .facts { grid-template-columns: 1fr; }
  .facts div { display: flex; gap: .5rem; align-items: baseline; padding: .6rem .8rem; }
  .facts dd { margin: 0; }
  .rows div { grid-template-columns: 1fr; gap: .1rem; }
  .mini { grid-template-columns: 1fr; gap: .2rem; }
  .product-id .cora { width: 6.5rem; }
  .product h3 { font-size: 3rem; }
  .fullform { font-size: .72rem; }
  .wf-grid { grid-template-columns: 1fr; }
  .advisory-panel { padding: 1.2rem; }
  .call-visual { padding: .6rem; border-radius: 22px; }
  .call-card { padding: 1.1rem 1.1rem 1.2rem; }
}
@media (max-width: 380px) {
  .header-cta { padding-inline: .8rem; font-size: .85rem; }
  .dock a { padding-inline: .7rem; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; filter: none; }
}
