/* Home page outro: "How we work", contact and the footer (wired in by tools/integrate.py).
   Note: module CSS loads before the page's own <style>, so rules that restyle a page class need more specificity.
   Page tokens only (--bg, --ink, --line...), so the visitor's light or dark choice carries through.
   Hidden start states apply only with JS (html.ox-js) and only when motion is allowed. */

/* ================================================================ Online stores scene cover
   (Maison Ember's hero; the class travels to the zoom portal too). Keeps the bottle in frame on portrait screens. */
.ox-cover-ember img { object-position: 80% 50%; }

/* ================================================================ How we work */
.ox-pr-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: end; gap: 22px 56px; }
.ox-pr-lead { max-width: 34ch; padding-bottom: 8px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.ox-pr-lead em { font-family: inherit; font-style: normal; color: var(--ink); }

.process .pr-card { display: flex; flex-direction: column; padding: 10px 10px 26px; border-radius: 26px; }
.process .pr-card > .pr-top, .process .pr-card > h3, .process .pr-card > p { margin-left: 12px; margin-right: 12px; }
.process .pr-top { margin-top: 18px; }
.process .pr-step h3 { margin-top: 14px; }
.process .pr-step:hover .ox-vis { box-shadow: inset 0 0 0 1px var(--line-2); }

/* the pictures: a 100 x 66 stage measured in cqw, so they scale with their card */
.ox-vis {
  position: relative; display: block; container-type: inline-size; aspect-ratio: 100 / 66; overflow: hidden; isolation: isolate;
  border-radius: 17px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s;
  color: var(--ink); font-family: var(--body); line-height: 1.2; text-align: left; user-select: none; -webkit-user-select: none;
}
.ox-vis i, .ox-vis b, .ox-vis small, .ox-vis em { font-style: normal; }
:where(.ox-vis) :where(span, i, b, small, svg) { display: block; }
.ox-dots { background-image: radial-gradient(circle at 1px 1px, var(--line-2) 0.9px, transparent 1.3px); background-size: 5cqw 5cqw; background-position: 2.5cqw 2.5cqw; }
.ox-chip {
  position: absolute; z-index: 3; display: flex !important; align-items: center; gap: 1.4cqw; height: 6.6cqw; padding: 0 2.6cqw;
  border-radius: 99px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 1cqw 3cqw -1.8cqw rgba(0, 0, 0, 0.35);
  font-size: 2.9cqw; font-weight: 600; white-space: nowrap;
}
.ox-cur { position: absolute; z-index: 5; left: 0; top: 0; width: 0; height: 0; transition: transform 0.9s var(--ease-out); }
.ox-cur svg { position: absolute; left: -0.6cqw; top: -0.4cqw; width: 4.6cqw; height: 4.6cqw; fill: var(--c); stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; filter: drop-shadow(0 0.4cqw 0.6cqw rgba(0, 0, 0, 0.25)); }
.ox-cur b { position: absolute; left: 3.2cqw; top: 3.3cqw; padding: 0.5cqw 1.5cqw; border-radius: 1.4cqw; background: var(--c); color: #fff; font-size: 2.6cqw; font-weight: 600; white-space: nowrap; }

/* 01 · call notes */
.ox-v1 { background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 55%, var(--bg)); }
.ox-paper {
  position: absolute; left: 7cqw; right: 7cqw; top: 6cqw; bottom: -6cqw; padding: 4.4cqw 5cqw; border-radius: 3cqw 3cqw 0 0;
  background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 3cqw 8cqw -4cqw rgba(0, 0, 0, 0.28); transform: rotate(-1.4deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 7.3cqw, var(--line) 7.3cqw calc(7.3cqw + 1px)); background-position: 0 6.2cqw;
}
.ox-c-top { display: flex !important; align-items: center; gap: 2.4cqw; }
.ox-avs { display: flex !important; flex: none; }
.ox-avs i { width: 7.2cqw; height: 7.2cqw; border-radius: 50%; box-shadow: 0 0 0 0.7cqw var(--bg); }
.ox-av-vx { background: var(--ink); position: relative; }
.ox-av-vx::after { content: ""; position: absolute; inset: 1.9cqw; border-radius: 50%; border: 0.95cqw solid var(--bg); }
.ox-av-you { margin-left: -1.8cqw; display: grid !important; place-items: center; background: #e9d6bb; color: #5b3d1c; font-size: 2.3cqw; font-weight: 700; }
.ox-c-t b { font-size: 3.5cqw; font-weight: 600; letter-spacing: -0.01em; }
.ox-c-t small { margin-top: 0.4cqw; font-size: 2.6cqw; color: var(--muted); }
.ox-wave { margin-left: auto; display: flex !important; align-items: center; gap: 0.8cqw; height: 5cqw; }
.ox-wave i { width: 0.9cqw; height: 100%; border-radius: 1cqw; background: #1f8a4c; transform: scaleY(0.35); }
.ox-c-h { margin-top: 2.6cqw; font-family: var(--display); font-weight: 600; font-size: 6.4cqw; line-height: 1.05; letter-spacing: -0.01em; }
.ox-c-li { display: flex !important; align-items: center; gap: 2cqw; height: 7.3cqw; font-size: 3.35cqw; color: var(--ink-2); white-space: nowrap; }
.ox-c-li svg { flex: none; width: 4.2cqw; height: 4.2cqw; padding: 0.4cqw; border-radius: 1cqw; box-shadow: inset 0 0 0 1px var(--line-2); color: #1f8a4c; }
.ox-c-li svg path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease-out); }
.ox-c-next { margin-top: 0.6cqw; font-family: var(--display); font-weight: 600; font-size: 4.6cqw; white-space: nowrap; }
.ox-c-next mark {
  display: inline; padding: 0 0.6cqw; color: inherit; background: linear-gradient(transparent 52%, var(--ox-hl, rgba(255, 207, 64, 0.62)) 52%) no-repeat 0 0 / 100% 100%;
  transition: background-size 0.9s var(--ease-out);
}
:root[data-theme="dark"] .ox-c-next mark { --ox-hl: rgba(255, 200, 60, 0.3); }

/* 02 · prototype board */
.ox-p-ver { left: 4cqw; top: 4cqw; }
.ox-p-ver i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #3d6df2; }
.ox-p-share { right: 4cqw; top: 4cqw; background: var(--btn); color: var(--btn-fg); box-shadow: none; }
.ox-fr { position: absolute; top: 16cqw; width: 23.5cqw; transition: transform 0.8s var(--ease-out), opacity 0.6s; }
.ox-fr1 { left: 6cqw; } .ox-fr2 { left: 38.5cqw; } .ox-fr3 { left: 71cqw; }
.ox-fr small { margin: 0 0 1.2cqw 0.4cqw; font-size: 2.5cqw; font-weight: 500; color: var(--muted); }
.ox-scr {
  position: relative; height: 42cqw; padding: 2cqw; overflow: hidden; border-radius: 2.8cqw; background: #fbf7f0; color: #2a1d12;
  box-shadow: 0 0 0 1px rgba(40, 25, 10, 0.1), 0 2.4cqw 5cqw -3cqw rgba(40, 25, 10, 0.45);
}
.ox-scr > i { border-radius: 0.8cqw; }
.ox-s-nav { height: 2.6cqw; margin: 0 4cqw 2.2cqw; background: #2a1d12; opacity: 0.85; border-radius: 1cqw !important; }
.ox-s-hero { height: 17cqw; background: linear-gradient(160deg, #ead9bd, #c98b5a 70%, #9f5a33); }
.ox-s-l1 { height: 1.8cqw; width: 86%; margin-top: 2.4cqw; background: #2a1d12; opacity: 0.8; }
.ox-s-l2 { height: 1.5cqw; width: 58%; margin-top: 1.4cqw; background: #2a1d12; opacity: 0.3; }
.ox-s-btn { position: absolute; left: 2cqw; right: 2cqw; bottom: 2.4cqw; height: 4.6cqw; border-radius: 9cqw !important; background: #b5532c; }
.ox-s-prod { position: relative; height: 15cqw; background: #efe3cf; }
.ox-s-prod b { position: absolute; left: 50%; top: 50%; width: 8cqw; height: 10cqw; margin: -5cqw 0 0 -4cqw; border-radius: 1cqw 1cqw 1.6cqw 1.6cqw; background: linear-gradient(180deg, #c98b5a, #8a4a28); }
.ox-s-chips { display: flex !important; gap: 1cqw; margin-top: 2cqw; }
.ox-s-chips b { width: 4.6cqw; height: 3cqw; border-radius: 2cqw; box-shadow: inset 0 0 0 1px rgba(40, 25, 10, 0.25); }
.ox-s-chips b:first-child { background: #2a1d12; box-shadow: none; }
.ox-s-opt { display: flex !important; align-items: center; gap: 1.2cqw; height: 5.4cqw; margin-bottom: 1.4cqw; padding: 0 1.4cqw; border-radius: 1.2cqw !important; box-shadow: inset 0 0 0 1px rgba(40, 25, 10, 0.16); font-size: 2.3cqw; font-weight: 600; }
.ox-s-opt b { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(40, 25, 10, 0.4); }
.ox-s-opt.is-sel { box-shadow: inset 0 0 0 1.5px #b5532c; }
.ox-s-opt.is-sel b { box-shadow: inset 0 0 0 0.7cqw #b5532c; }
.ox-s-pay { background: #2a1d12; }
.ox-links { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #3d6df2; stroke-width: 0.45; stroke-linecap: round; }
.ox-links path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s var(--ease-out); }
.ox-v2::after { /* the link targets */
  content: ""; position: absolute; z-index: 2; left: 36.8cqw; top: 34.8cqw; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #3d6df2;
  box-shadow: 32.5cqw 0 0 #3d6df2; transform: scale(var(--ox-k, 1)); transition: transform 0.4s var(--ease-out) 1.6s;
}
.ox-tap { position: absolute; z-index: 4; left: 17.75cqw; top: 57.5cqw; width: 8cqw; height: 8cqw; margin: -4cqw 0 0 -4cqw; border-radius: 50%; border: 0.5cqw solid #3d6df2; opacity: 0; }
.ox-cur-you { transform: translate(18.5cqw, 57.5cqw); }

/* 03 · the agent swarm canvas */
.ox-hud { left: 4cqw; top: 4cqw; padding-left: 1cqw; gap: 1.8cqw; }
.ox-hud-avs { display: flex !important; }
.ox-hud-avs i { width: 4.6cqw; height: 4.6cqw; margin-left: -1cqw; display: grid !important; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-size: 2.2cqw; font-weight: 700; box-shadow: 0 0 0 0.5cqw var(--bg); }
.ox-hud-avs i:first-child { margin-left: 0; }
.ox-hud-st { display: flex !important; align-items: center; gap: 1.2cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.ox-hud-st > i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #3d6df2; transition: background-color 0.3s; }
.ox-hud-t, .ox-pct { display: inline !important; }
.ox-v3.is-live .ox-hud-st > i { background: #1f8a4c; box-shadow: 0 0 0 0.7cqw rgba(31, 138, 76, 0.18); }
.ox-ab {
  position: absolute; left: 6cqw; top: 15cqw; width: 39cqw; height: 58cqw; padding: 3cqw; border-radius: 2.6cqw; background: #0f0c0a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 3cqw 6cqw -3cqw rgba(0, 0, 0, 0.5);
}
.ox-ab > i { position: relative; margin-bottom: 2cqw; border-radius: 0.9cqw; outline: 1px dashed rgba(239, 230, 216, 0.28); outline-offset: -1px; }
.ox-ab > i::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--f); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); transform-origin: 0 50%; }
.ox-ab > i::after { content: ""; position: absolute; inset: -0.7cqw; border-radius: 1.2cqw; box-shadow: 0 0 0 1.5px var(--c, #ff6a3d); opacity: 0; transition: opacity 0.3s; }
.ox-a-nav { height: 3.2cqw; width: 54%; margin-left: auto; margin-right: auto; --f: linear-gradient(90deg, transparent 0 18%, #c9a25b 18% 82%, transparent 82%); --c: #ff6a3d; }
.ox-a-img { height: 18cqw; --c: #ff6a3d; --f: linear-gradient(#d9b46a, #d9b46a) 66% 24% / 7% 9% no-repeat, linear-gradient(180deg, #c98f4c, #7a4c22) 66% 78% / 15% 52% no-repeat, linear-gradient(#5a4632, #5a4632) 50% 100% / 100% 22% no-repeat, radial-gradient(50% 60% at 66% 45%, #7a5530, transparent 72%), linear-gradient(170deg, #3b2a1c, #17110c); }
.ox-a-img::before { box-shadow: inset 0 0 0 0 transparent; }
.ox-a-h1 { height: 3.4cqw; width: 88%; --f: #efe6d8; --c: #8b5cf6; }
.ox-a-h2 { height: 3.4cqw; width: 62%; --f: #efe6d8; --c: #8b5cf6; }
.ox-a-btn { height: 5.4cqw; width: 50%; margin-top: 3cqw; border-radius: 6cqw !important; --f: #c9a25b; --c: #10a37f; }
.ox-log { position: absolute; left: 51cqw; top: 17cqw; right: 4cqw; display: grid !important; gap: 2cqw; font-size: 2.85cqw; color: var(--muted); white-space: nowrap; }
.ox-log > span { display: flex !important; align-items: center; gap: 1.2cqw; transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.ox-log > span::before { content: ""; flex: none; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--c, #1f8a4c); }
.ox-log b { color: var(--ink); font-weight: 600; }
.ox-log .ox-log-ok { margin-top: 1cqw; padding: 1.4cqw 2cqw; border-radius: 1.6cqw; background: rgba(31, 138, 76, 0.1); color: #1f7a45; }
.ox-log .ox-log-ok b { color: inherit; }
:root[data-theme="dark"] .ox-log .ox-log-ok { color: #6fd39b; }
.ox-cur-g { transform: translate(37cqw, 33cqw); } .ox-cur-h { transform: translate(36cqw, 46cqw); } .ox-cur-k { transform: translate(24.5cqw, 58cqw); }
.ox-cur-k b { top: auto; bottom: 0.6cqw; left: 3.6cqw; }

/* 04 · live dashboard */
/* (no padding on the container itself: cqw there would resolve against the viewport) */
.ox-v4 > :not(.ox-toast) { margin-left: 5cqw; margin-right: 5cqw; }
.ox-v4 > .ox-d-top { margin-top: 4.6cqw; }
.ox-d-top { display: flex !important; align-items: center; gap: 2cqw; font-size: 2.8cqw; }
.ox-d-live { display: flex !important; align-items: center; gap: 1.1cqw; height: 5cqw; padding: 0 2cqw 0 1.6cqw; border-radius: 9cqw; background: rgba(31, 138, 76, 0.12); color: #1f7a45; font-weight: 700; }
:root[data-theme="dark"] .ox-d-live { color: #6fd39b; }
.ox-d-live i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #1f8a4c; }
.ox-d-url { color: var(--muted); }
.ox-d-day { margin-left: auto; color: var(--muted); }
.ox-kpis { display: grid !important; grid-template-columns: repeat(3, auto); justify-content: space-between; margin-top: 3.4cqw; }
.ox-kpis small { font-size: 2.6cqw; color: var(--muted); }
.ox-kpis b { margin-top: 0.6cqw; font-family: var(--display); font-weight: 600; font-size: 6.4cqw; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ox-chart { position: relative; height: 21cqw; margin-top: 2.6cqw; }
.ox-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--ink); }
/* drawn with a clip, not the pathLength dash trick: Chrome mis-scales pathLength dashes on a non-scaling stroke in a stretched viewBox */
.ox-line { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; clip-path: inset(-12px -12px -12px -12px); transition: clip-path 1.4s var(--ease-out); }
.ox-area { transition: opacity 0.8s 0.6s; }
.ox-rest { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 3; }
.ox-now { position: absolute; left: 72%; top: 15%; width: 2.2cqw; height: 2.2cqw; margin: -1.1cqw 0 0 -1.1cqw; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0.8cqw var(--bg); transition: opacity 0.3s 1.3s; }
.ox-now::after { content: ""; position: absolute; inset: -1.6cqw; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; }
.ox-pay { margin-top: 3cqw; }
.ox-bar { display: flex !important; gap: 0.6cqw; height: 2cqw; }
.ox-bar i { width: var(--w); border-radius: 1cqw; background: var(--ink); transform-origin: 0 50%; transition: transform 0.9s var(--ease-out); }
.ox-bar i:nth-child(2) { background: color-mix(in srgb, var(--ink) 45%, var(--bg)); transition-delay: 0.1s; }
.ox-bar i:nth-child(3) { background: color-mix(in srgb, var(--ink) 18%, var(--bg)); transition-delay: 0.2s; }
.ox-leg { display: flex !important; gap: 3cqw; margin-top: 1.6cqw; font-size: 2.5cqw; color: var(--muted); }
.ox-toast {
  position: absolute; right: 4.4cqw; top: 37cqw; display: flex !important; align-items: center; gap: 1.8cqw; padding: 1.6cqw 3cqw 1.6cqw 1.6cqw;
  border-radius: 2.4cqw; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 2.4cqw 6cqw -2.6cqw rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
}
.ox-toast > i { width: 6cqw; height: 6cqw; display: grid !important; place-items: center; border-radius: 50%; background: #1f8a4c; color: #fff; font-size: 3cqw; font-weight: 700; }
.ox-toast b { font-size: 2.7cqw; font-weight: 600; white-space: nowrap; }
.ox-toast small { margin-top: 0.4cqw; font-size: 2.5cqw; color: var(--muted); font-variant-numeric: tabular-nums; }
.ox-toast.is-out { opacity: 0; transform: translateY(-2cqw); transition-duration: 0.35s; }

/* ---- motion: start states, played once when the rail reaches the step (.ox-on) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.ox-js .pr-step:not(.ox-on) .ox-c-li svg path { stroke-dashoffset: 1; }
  html.ox-js .pr-step:not(.ox-on) .ox-c-next mark { background-size: 0% 100%; }
  .ox-c-li:nth-of-type(4) svg path { transition-delay: 0.3s; }
  .ox-c-li:nth-of-type(5) svg path { transition-delay: 0.6s; }
  .ox-c-next mark { transition-delay: 1s; }
  .ox-wave i { animation: ox-wave 0.9s ease-in-out infinite alternate; }
  .ox-wave i:nth-child(2) { animation-delay: -0.3s; } .ox-wave i:nth-child(3) { animation-delay: -0.6s; animation-duration: 0.7s; }
  .ox-wave i:nth-child(4) { animation-delay: -0.15s; animation-duration: 1.1s; } .ox-wave i:nth-child(5) { animation-delay: -0.45s; }

  html.ox-js .pr-step:not(.ox-on) .ox-fr { opacity: 0; transform: translateY(5cqw); }
  .ox-fr2 { transition-delay: 0.1s; } .ox-fr3 { transition-delay: 0.2s; }
  html.ox-js .pr-step:not(.ox-on) .ox-links path { stroke-dashoffset: 1; }
  .ox-links path { transition-delay: 1.3s; } .ox-links path + path { transition-delay: 1.75s; }
  html.ox-js .pr-step:not(.ox-on) .ox-v2 { --ox-k: 0; }
  html.ox-js .pr-step:not(.ox-on) .ox-cur-you { transform: translate(56cqw, 66cqw); }
  .ox-cur-you { transition-duration: 1s; transition-delay: 0.35s; }
  .pr-step.ox-on .ox-tap { animation: ox-tap 3.2s var(--ease-out) 1.25s infinite; }

  html.ox-js .pr-step:not(.ox-on) .ox-ab > i::before { opacity: 0; transform: scaleX(0.6); }
  .ox-a-img::before { transition-delay: 0.45s !important; } .ox-a-h1::before { transition-delay: 0.95s !important; }
  .ox-a-h2::before { transition-delay: 1.2s !important; } .ox-a-btn::before { transition-delay: 1.65s !important; }
  .pr-step.ox-on .ox-a-nav::after { animation: ox-sel 0.7s 0s both; } .pr-step.ox-on .ox-a-img::after { animation: ox-sel 0.8s 0.4s both; }
  .pr-step.ox-on .ox-a-h1::after { animation: ox-sel 0.9s 0.9s both; } .pr-step.ox-on .ox-a-btn::after { animation: ox-sel 0.8s 1.6s both; }
  html.ox-js .pr-step:not(.ox-on) .ox-log > span { opacity: 0; transform: translateX(-2cqw); }
  .ox-log > span:nth-child(2) { transition-delay: 0.5s; } .ox-log > span:nth-child(3) { transition-delay: 1s; }
  .ox-log > span:nth-child(4) { transition-delay: 1.6s; } .ox-log > span:nth-child(5) { transition-delay: 2.3s; }
  html.ox-js .pr-step:not(.ox-on) .ox-cur-g { transform: translate(70cqw, 66cqw); }
  html.ox-js .pr-step:not(.ox-on) .ox-cur-h { transform: translate(88cqw, 30cqw); }
  html.ox-js .pr-step:not(.ox-on) .ox-cur-k { transform: translate(60cqw, 70cqw); }
  .pr-step.ox-on .ox-cur-g { animation: ox-cur-g 2.2s var(--ease-out) both; }
  .ox-cur-h { transition-delay: 0.7s; transition-duration: 1.1s; } .ox-cur-k { transition-delay: 1.3s; transition-duration: 1s; }
  .ox-v3.is-live .ox-cur { animation: ox-idle 5s ease-in-out infinite alternate; }
  .ox-v3.is-live .ox-cur-h { animation-delay: -1.7s; } .ox-v3.is-live .ox-cur-k { animation-delay: -3.1s; }

  html.ox-js .pr-step:not(.ox-on) .ox-line { clip-path: inset(-12px calc(100% + 12px) -12px -12px); }
  html.ox-js .pr-step:not(.ox-on) .ox-area, html.ox-js .pr-step:not(.ox-on) .ox-now { opacity: 0; }
  html.ox-js .pr-step:not(.ox-on) .ox-bar i { transform: scaleX(0); }
  html.ox-js .pr-step:not(.ox-on) .ox-toast { opacity: 0; transform: translateY(3cqw); }
  .ox-toast { transition-delay: 1.5s; }
  .ox-toast.is-ready { transition-delay: 0s; }
  .pr-step.ox-on .ox-d-live i, .pr-step.ox-on .ox-now::after { animation: ox-ping 2.2s ease-out infinite; }
  .pr-step.ox-on .ox-now::after { animation-name: ox-ring; }

  /* loops run only while the section is on screen */
  .process:not(.ox-in) .ox-vis, .process:not(.ox-in) .ox-vis * { animation-play-state: paused !important; }
}
@keyframes ox-wave { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes ox-tap { 0% { opacity: 0.9; transform: scale(0.3); } 40%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ox-sel { 0% { opacity: 0; } 20%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ox-cur-g { 0% { transform: translate(70cqw, 66cqw); } 30% { transform: translate(34cqw, 20cqw); } 55% { transform: translate(34cqw, 20cqw); } 100% { transform: translate(37cqw, 33cqw); } }
@keyframes ox-idle { from { translate: 0 0; } to { translate: 2.5cqw -1.6cqw; } }
@keyframes ox-ping { 0% { box-shadow: 0 0 0 0 rgba(31, 138, 76, 0.5); } 70%, 100% { box-shadow: 0 0 0 1.6cqw rgba(31, 138, 76, 0); } }
@keyframes ox-ring { 0% { opacity: 0.6; transform: scale(0.4); } 80%, 100% { opacity: 0; transform: scale(1.3); } }

/* layouts: 4 across on wide screens, 2 by 2 in between, one card per row on phones */
@media (min-width: 901px) and (max-width: 1199px) {
  .process .pr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .process .pr-rail, .process .pr-dot { display: none; }
  .process .pr-step { padding-top: 0; }
}
@media (max-width: 900px) {
  .ox-pr-head { grid-template-columns: 1fr; }
  .ox-pr-lead { padding-bottom: 0; font-size: 16px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .process .pr-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 48%); grid-template-rows: auto auto 1fr; column-gap: 8px; padding: 10px; }
  .process .pr-card > .ox-vis { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .process .pr-card > .pr-top { margin-top: 12px; }
  .process .pr-step .pr-dot { top: 50%; margin-top: -8px; }
}

/* ================================================================ Contact */
.ox-get {
  position: relative; margin-top: clamp(28px, 5vh, 48px); padding: clamp(22px, 2.3vw, 34px); border-radius: 30px;
  display: flex; flex-direction: column; background: var(--btn); color: var(--btn-fg); --ox-soft: color-mix(in srgb, var(--btn-fg) 62%, transparent); --ox-hair: color-mix(in srgb, var(--btn-fg) 14%, transparent);
}
.ox-get-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ox-get .eyebrow { color: var(--ox-soft); }
.ox-get-n { font-family: var(--mono); font-size: 12px; color: var(--ox-soft); }
.ox-get-t { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.35vw, 40px); line-height: 1.02; letter-spacing: -0.035em; }
.ox-get-t em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; opacity: 0.6; }
.ox-tiles { list-style: none; margin: 24px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; }
.ox-tile { display: block; width: 100%; color: inherit; text-align: left; border-radius: 14px; }
.ox-tile-im { position: relative; display: block; aspect-ratio: 1 / 1.1; overflow: hidden; border-radius: 14px; background: var(--tb); box-shadow: inset 0 0 0 1px var(--ox-hair); }
.ox-tile-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ox-tile-im.is-contain img { inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.ox-tile:hover .ox-tile-im img, .ox-tile:focus-visible .ox-tile-im img { transform: scale(1.07); }
.ox-tile-im::after {
  content: "Open"; position: absolute; right: 7px; bottom: 7px; height: 24px; padding: 0 10px; display: grid; place-items: center; border-radius: 99px;
  background: rgba(255, 255, 255, 0.92); color: #141414; font-size: 11.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.ox-tile:hover .ox-tile-im::after, .ox-tile:focus-visible .ox-tile-im::after { opacity: 1; transform: none; }
.ox-t-kiln .ox-tile-im img { object-position: 50% 78%; }
.ox-t-dew .ox-tile-im img { object-position: 50% 62%; }
.ox-t-raahi .ox-tile-im img { object-position: 50% 30%; }
.ox-t-nova .ox-tile-im { background: radial-gradient(80% 70% at 50% 40%, #fbf8f2, var(--tb)); }
.ox-t-rang .ox-tile-im img { mix-blend-mode: multiply; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.ox-t-rang:hover .ox-tile-im img { transform: scale(1.2); }
.ox-t-bloom .ox-tile-im img { inset: 9% 0; height: 82%; width: 100%; transform: rotate(-8deg); }
.ox-t-bloom:hover .ox-tile-im img { transform: rotate(-4deg) scale(1.07); }
.ox-t-orbit .ox-tile-im { background: radial-gradient(70% 60% at 50% 45%, #1d2228, var(--tb) 70%); }
.ox-tile-t { display: block; margin-top: 9px; }
.ox-tile-t b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ox-tile-t small { display: block; margin-top: 1px; font-size: 12px; color: var(--ox-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ox-tile:focus-visible { outline-offset: 4px; }
.ox-gets { list-style: none; margin: clamp(28px, 4.5vh, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 36px; color: var(--ink-2); font-size: 15.5px; line-height: 1.4; }
.ox-gets li { display: flex; align-items: center; gap: 11px; }
.ox-gets svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--bg-2); color: #1f8a4c; }
:root[data-theme="dark"] .ox-gets svg { color: #6fd39b; }
.ox-get-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--ox-hair); }
.ox-get .ox-cta { height: 54px; padding: 0 7px 0 24px; gap: 14px; background: var(--btn-fg); color: var(--btn); font-size: 15.5px; }
.ox-get .ox-cta i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--btn); color: var(--btn-fg); transition: transform 0.45s var(--ease-out); }
.ox-get .ox-cta:hover i { transform: rotate(-45deg); }
.ox-get-mail { font-size: 15px; font-weight: 500; color: var(--ox-soft); background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; padding-bottom: 2px; transition: color 0.2s; }
.ox-get-mail:hover { color: var(--btn-fg); }

@media (min-width: 1100px) {
  .contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(36px, 4vw, 72px); }
  .contact > .eyebrow { grid-column: 1; grid-row: 1; }
  .contact > .ct-title { grid-column: 1; grid-row: 2; font-size: clamp(56px, 7vw, 150px); }
  .contact > .ox-gets { grid-column: 1; grid-row: 3; }
  .contact > .ct-card { grid-column: 1; grid-row: 4; align-self: end; max-width: none; }
  .contact > .ox-get { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
}
@media (max-width: 700px) {
  .ox-gets { grid-template-columns: 1fr; gap: 10px; font-size: 15px; }
  .ox-get { border-radius: 26px; }
  .ox-tiles { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 20px calc(-1 * clamp(22px, 2.3vw, 34px)) 24px; padding: 0 clamp(22px, 2.3vw, 34px) 2px; scroll-padding: 0 clamp(22px, 2.3vw, 34px); }
  .ox-tiles::-webkit-scrollbar { display: none; }
  /* Whole cards only: two (three on wide phones) fit between the padding and a 32px sliver of the next card, and
     both edges fade, so no label is ever cut hard at the panel edge. The end padding mirrors the start. */
  .ox-tiles { --ox-pad: clamp(22px, 2.3vw, 34px); padding-right: 42px; /* 10px gap + 32px sliver */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--ox-pad), #000 calc(100% - 42px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--ox-pad), #000 calc(100% - 42px), transparent); }
  .ox-tiles li { flex: 0 0 calc((100% - 10px) / 2); min-width: 0; scroll-snap-align: start; }
  .ox-tile-t { transition: opacity 0.35s; }
  .ox-tile.ox-part .ox-tile-t { opacity: 0; }
  .ox-get .ox-cta { width: 100%; justify-content: space-between; }
}
@media (min-width: 520px) and (max-width: 700px) {
  .ox-tiles li { flex-basis: calc((100% - 20px) / 3); }
}
@media (prefers-reduced-motion: no-preference) {
  html.ox-js .ox-tiles:not(.ox-seen) .ox-tile { opacity: 0; transform: translateY(16px); }
  .ox-tile { transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 0.15s); }
}

/* ================================================================ Footer */
.site-footer { overflow: hidden; }
.ox-word {
  /* sized off its own width (cqw), so the word spans the column exactly, scrollbar or not */
  margin: clamp(40px, 7vh, 72px) 0 0; display: flex; justify-content: space-between; overflow: hidden; container-type: inline-size;
  font-family: var(--display); font-weight: 600; color: var(--ink); white-space: nowrap;
}
.ox-word span {
  display: block; padding: 0.03em 0 0.04em; font-size: 28cqw; line-height: 0.8; letter-spacing: -0.055em;
  transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms);
}
.ox-word span:last-child { letter-spacing: 0; }
.site-footer .ft-bot { align-items: center; margin-top: clamp(18px, 3vh, 28px); }
.ox-ist { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ox-ist-t { white-space: pre; }
.ox-ist > i { width: 7px; height: 7px; border-radius: 50%; background: #1f8a4c; box-shadow: 0 0 0 3px rgba(31, 138, 76, 0.16); }
@media (prefers-reduced-motion: no-preference) {
  html.ox-js .ox-word:not(.ox-seen) span { transform: translateY(105%); }
}
@media (max-width: 600px) {
  .site-footer .ft-bot { flex-wrap: wrap; row-gap: 8px; }
  .ox-ist { order: 3; width: 100%; }
}
