/* ShiftLoop home v2 · "the night shift"
   ink #0d1017 · amber #f5b544 · cream #f3efe6 · Archivo (variable width) + JetBrains Mono */

:root {
  --ink: #0d1017;
  --raised: #151a23;
  --bubble: #232a36;
  --text: #f3efe6;
  --text-2: #c9cdd3;
  --text-3: #b9bec7;
  --muted: #9aa0aa;
  --dim: #7d838e;
  --amber: #f5b544;
  --amber-hi: #ffd58a;
  --amber-dk: #a66d00;
  --amber-dk2: #8a5a00;
  --green: #7fd1a0;
  --green-dk: #1d7a46;
  --cream: #f3efe6;
  --cream-card: #fffdf8;
  --cream-text: #4a505c;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.09);
  --line-3: rgba(255, 255, 255, 0.12);
  --surf: rgba(255, 255, 255, 0.035);
  --surf-2: rgba(255, 255, 255, 0.05);
  --well: rgba(0, 0, 0, 0.3);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --bg: #0d1017;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: clip; transition: background 0.2s linear;
}
/* film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27160%27 height=%27160%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.9%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hi); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
input { font: inherit; }
input[type="range"] { accent-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.amber { color: var(--amber); }
.amber-dk { color: var(--amber-dk); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 300; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--ink); }

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: 28px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.eyebrow--dk { color: var(--amber-dk2); }
.muted-15 { font-size: 15px; color: var(--muted); }
.muted-13 { font-size: 13px; color: var(--muted); }
.lead-muted { color: var(--muted); font-size: 17px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head--wide { gap: 32px; }
.sec-head__l { display: flex; flex-direction: column; gap: 10px; }
.h-md { font-size: clamp(30px, 3.4vw, 50px); font-weight: 700; font-stretch: 115%; letter-spacing: -0.03em; }
.h-sm { font-size: clamp(30px, 3.4vw, 50px); line-height: 1; font-weight: 700; font-stretch: 118%; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(36px, 5vw, 80px); line-height: 0.95; font-weight: 800; font-stretch: 120%; letter-spacing: -0.045em; }
.h-xl { font-size: clamp(40px, 6vw, 96px); line-height: 0.94; font-weight: 800; font-stretch: 122%; letter-spacing: -0.045em; }
.h-faq { font-size: clamp(32px, 4vw, 58px); font-weight: 800; font-stretch: 120%; letter-spacing: -0.04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.16s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: var(--amber); color: var(--ink); }
.btn--amber { background: var(--amber); color: var(--ink); padding: 13px 22px; font-size: 16px; }
.btn--amber:hover { background: var(--amber-hi); color: var(--ink); }
.btn--lg { padding: 16px 26px; }
.btn--md { padding: 13px 22px; font-size: 16px; }
.linkbtn { font-size: 13px; color: var(--muted); transition: color 0.2s ease; }
.linkbtn:hover { color: var(--text); }
.linkbtn--pad { padding: 13px 18px; font-size: 16px; }

/* ---------- fixed layers ---------- */
.cursor {
  position: fixed; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--cream);
  mix-blend-mode: difference; pointer-events: none; z-index: 9999; opacity: 0; transition: transform 0.12s ease-out, opacity 0.2s;
}
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  opacity: 1; transition: opacity 0.7s ease; pointer-events: none;
}
html.js .intro { display: flex; }
.intro.is-out { opacity: 0; }
.intro.is-gone { display: none !important; }
.intro__time { font-family: var(--mono); font-size: clamp(72px, 14vw, 180px); color: var(--amber); letter-spacing: -0.04em; line-height: 1; }
.intro__label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.pill { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translate(-50%, 140%); opacity: 0; transition: transform 0.4s ease, opacity 0.3s; pointer-events: none; }
.pill.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.pill__in {
  display: flex; align-items: center; gap: 14px; background: rgba(21, 26, 35, 0.88); backdrop-filter: blur(14px);
  border: 1px solid var(--line-3); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.6s infinite; }
.pill__clock { font-family: var(--mono); font-size: 14px; color: var(--amber); }
.pill__text { font-size: 14px; color: var(--text-2); white-space: nowrap; }
.pill__btn { background: var(--amber); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill__btn:hover { background: var(--amber-hi); color: var(--ink); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(13, 16, 23, 0.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr__in { padding-block: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Logo · mark + live wordmark. Props on the element:
   data-variant="dark" | "light" · data-animated="true" (loops) | "hover" (static, plays once on hover) | "false"
   style="--logo-size: 19px" (the wordmark's font size; the mark and gap scale from it) · "--logo-speed: 4s" (one loop) */
.logo {
  --logo-ring: var(--amber); --logo-hand: var(--cream); --logo-text: var(--cream);
  display: inline-flex; align-items: center; gap: calc(var(--logo-size, 19px) * 0.35);
  font-family: "Archivo", system-ui, sans-serif; font-size: var(--logo-size, 19px); font-weight: 700; font-stretch: 118%;
  letter-spacing: -0.035em; line-height: 1; color: var(--logo-text);
}
.logo[data-variant="light"] { --logo-ring: var(--ink); --logo-hand: var(--ink); --logo-text: var(--ink); }
a.logo:hover { color: var(--logo-text); }
/* 1.38em matches option 1b (72px mark beside 52px type) */
.logo__mark { flex: none; width: 1.38em; height: 1.38em; overflow: visible; }
.logo--mark-only .logo__mark { width: 1em; height: 1em; }
.logo__ring { fill: none; stroke: var(--logo-ring); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 0; }
.logo__hand, .logo__dot { fill: var(--logo-hand); }
.logo__hand { transform-box: view-box; transform-origin: 32px 32px; }
.logo[data-animated="true"] .logo__ring, .logo.is-playing .logo__ring { animation: logo-ring var(--logo-speed, 4s) ease-in-out infinite; }
.logo[data-animated="true"] .logo__hand, .logo.is-playing .logo__hand { animation: logo-hand var(--logo-speed, 4s) cubic-bezier(0.6, 0, 0.3, 1) infinite; }
.logo.is-playing .logo__ring, .logo.is-playing .logo__hand { animation-iteration-count: 1; }
@keyframes logo-ring { 0% { stroke-dashoffset: 151; } 45% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -151; } }
@keyframes logo-hand { 0%, 40% { transform: rotate(0deg); } 75%, 100% { transform: rotate(360deg); } }
.intro__logo { margin-bottom: 4px; }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--text-3); transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding-block: 64px 96px; display: flex; flex-wrap: wrap-reverse; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.status { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.status__item { display: flex; align-items: center; gap: 8px; }
.status__item--on { color: var(--amber); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; }
.status__dot--on { background: var(--amber); animation: pulse 1.6s infinite; }
.bigclock { font-family: var(--mono); font-size: clamp(64px, 11vw, 150px); line-height: 0.9; letter-spacing: -0.04em; color: var(--amber); font-variant-numeric: tabular-nums; }
.hero h1 { font-size: clamp(42px, 5.8vw, 84px); line-height: 0.96; font-weight: 700; font-stretch: 120%; letter-spacing: -0.04em; text-wrap: balance; }
.hero__sub { font-size: 20px; line-height: 1.45; color: var(--text-3); max-width: 34ch; text-wrap: pretty; }
.hero__cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero__note { font-size: 15px; color: var(--muted); }
.hero__hint { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.04em; }

/* demo card */
.demo { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.dtabs { display: flex; gap: 4px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 5px; }
.dtabs__btn { padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-3); transition: background 0.25s ease, color 0.25s ease; }
.dtabs__btn.is-on { background: var(--cream); color: var(--ink); }
/* the demo lives inside a phone, tilted a little until you hover it */
.phone { width: min(100%, 360px); transform: rotate(-4deg); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone__body {
  height: 720px; background: #05070a; border-radius: 54px; padding: 11px; border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 2px #1a1f28, 0 60px 140px -40px rgba(245, 181, 68, 0.4), 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
.phone__screen { height: 100%; border-radius: 44px; background: var(--raised); overflow: hidden; display: flex; flex-direction: column; }
.phone__status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 24px 6px; font-weight: 600; color: var(--text); }
.phone__time { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.phone__notch { width: 96px; height: 28px; border-radius: 999px; background: #05070a; }
.phone__icons { justify-self: end; display: flex; align-items: center; gap: 6px; }
.phone__app { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; border-bottom: 1px solid var(--line); }
.phone__back { display: flex; flex: none; }
.phone__app .demo__avatar { width: 38px; height: 38px; font-size: 13px; flex: none; }
.phone__app .demo__id { min-width: 0; }
.phone__app .demo__biz { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.phone__home { height: 24px; display: grid; place-items: center; flex: none; }
.phone__home span { width: 120px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.4); }
@media (max-width: 640px) { .phone, .phone:hover { transform: none; } }
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.demo__who { display: flex; align-items: center; gap: 12px; }
.demo__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bubble); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.demo__id { display: flex; flex-direction: column; gap: 2px; }
.demo__biz { font-weight: 600; font-size: 15px; }
.demo__mode { font-size: 12px; color: var(--green); }
.seg { display: flex; gap: 4px; background: var(--surf-2); border-radius: 999px; padding: 5px; }
.seg--sm { background: rgba(0, 0, 0, 0.35); padding: 4px; font-size: 12px; }
.seg__btn { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-3); transition: background 0.2s ease, color 0.2s ease; }
.seg--sm .seg__btn { padding: 7px 14px; font-size: 12px; font-weight: 400; color: var(--muted); }
.seg__btn.is-on, .seg--sm .seg__btn.is-on { background: var(--cream); color: var(--ink); }
/* chat tab: a messaging app in ShiftLoop colours */
.dchat {
  flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px; animation: rise-in 0.35s ease;
  background-color: #11151c; background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.2px); background-size: 18px 18px;
}
.dchat[hidden], .dcall[hidden], .dring[hidden], .dlive[hidden], .dend[hidden] { display: none; }
.dchat__list { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1; min-height: 0; overflow: hidden; }
.dchat__day { align-self: center; font-size: 11px; letter-spacing: 0.04em; color: var(--text-2); background: rgba(35, 42, 54, 0.9); padding: 5px 12px; border-radius: 8px; margin-bottom: 6px; }
.dmsg { position: relative; max-width: 80%; padding: 8px 12px 6px; font-size: 15px; line-height: 1.4; }
.dmsg::before { content: ""; position: absolute; top: 0; border-bottom: 10px solid transparent; }
.dmsg--c { align-self: flex-start; background: var(--bubble); color: var(--text); border-radius: 4px 14px 14px 14px; }
.dmsg--c::before { left: -7px; border-right: 8px solid var(--bubble); }
.dmsg--a { align-self: flex-end; background: var(--amber); color: var(--ink); border-radius: 14px 4px 14px 14px; }
.dmsg--a::before { right: -7px; border-left: 8px solid var(--amber); }
.dmsg__time { float: right; display: flex; align-items: center; gap: 4px; margin: 6px 0 -2px 12px; font-size: 11px; color: var(--muted); }
.dmsg--a .dmsg__time { color: rgba(13, 16, 23, 0.62); }
.dmsg__ticks { stroke: rgba(13, 16, 23, 0.45); transition: stroke 0.3s ease; }
.dmsg__ticks.is-read { stroke: #1d6fb8; }
.dtag { align-self: flex-end; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); opacity: 0.8; }
.dchips { align-self: flex-end; display: flex; gap: 6px; }
.dchips span { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(245, 181, 68, 0.5); color: var(--amber); }
.dtyping { align-self: flex-end; display: flex; gap: 4px; align-items: center; background: var(--amber); padding: 12px 14px; border-radius: 14px 4px 14px 14px; }
.dtyping span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: dot-bounce 1.1s infinite; }
.dtyping span:nth-child(2) { animation-delay: 0.15s; }
.dtyping span:nth-child(3) { animation-delay: 0.3s; }
.dbook { align-self: flex-end; width: min(80%, 280px); background: #1b2029; border: 1px solid rgba(127, 209, 160, 0.35); border-radius: 14px; overflow: hidden; }
.dbook__body { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.dbook__cal { width: 42px; height: 46px; border-radius: 8px; background: var(--cream); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: none; }
.dbook__dow { font-size: 9px; font-weight: 700; color: #b4302a; letter-spacing: 0.06em; }
.dbook__tick { font-size: 18px; font-weight: 700; }
.dbook__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dbook__title { font-size: 14px; font-weight: 600; color: var(--green); }
.dbook__sub { font-size: 12px; color: var(--muted); }
.dbook__foot { border-top: 1px solid var(--line); padding: 9px 14px; font-size: 12px; color: var(--amber); text-align: center; }
.dchat__input { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.dchat__field { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--bubble); border-radius: 999px; padding: 10px 14px; color: var(--dim); font-size: 14px; }
.dchat__mic { width: 42px; height: 42px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; flex: none; }
.is-in { animation: rise-in 0.35s ease; }
.dtyping.is-in { animation-duration: 0.25s; }

/* call tab */
.dcall { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 16px 18px 18px; animation: rise-in 0.35s ease; }
.dring { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 20px 0; }
.dring__avatar { position: relative; width: 96px; height: 96px; }
.dring__ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); animation: ripple 1.6s ease-out infinite; }
.dring__ripple--2 { animation-delay: 0.8s; }
.dring__face { position: absolute; inset: 0; border-radius: 50%; background: var(--bubble); display: grid; place-items: center; }
.dring__text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dring__num { font-family: var(--mono); font-size: 18px; color: var(--text); }
.dring__state { font-size: 14px; color: var(--amber); animation: pulse 1.2s infinite; }
.dlive { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.dlive__bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; }
.dlive__ok { display: flex; align-items: center; gap: 8px; color: var(--green); }
.dlive__ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
.dlive__time { color: var(--text); font-variant-numeric: tabular-nums; }
.dwave { --wave: #7d838e; --wave-op: 0.25; display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; }
.dwave span { flex: 1; max-width: 6px; border-radius: 3px; background: var(--wave); opacity: var(--wave-op); transform-origin: center; animation: wave ease-in-out infinite; transition: background 0.3s ease, opacity 0.3s ease; }
.dcaps { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.dcap { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; transition: opacity 0.3s ease; }
.dcap__who { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.dcap--a .dcap__who { color: var(--amber); }
.dcap__text { font-size: 15px; line-height: 1.45; color: var(--text-3); }
.dcap.is-live .dcap__text {
  font-size: 17px; color: transparent; background-image: linear-gradient(90deg, var(--text) 50%, #5b616b 50%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; animation: sweep var(--sweep, 1s) linear forwards;
}
.dend { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(127, 209, 160, 0.35); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; animation: rise-in 0.4s ease; }
.dend__head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dend__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dend__row > div { display: flex; flex-direction: column; gap: 2px; }
.dend__title { font-size: 14px; font-weight: 600; color: var(--green); }
.dend__sub { font-size: 13px; color: var(--muted); }
.dend__tick { font-size: 18px; color: var(--green); }
.dctrl { display: flex; justify-content: space-around; margin-top: auto; padding-top: 6px; transition: opacity 0.3s ease; }
.dctrl.is-dim { opacity: 0.35; }
.dctrl__item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.dctrl__btn { width: 48px; height: 48px; border-radius: 50%; background: var(--bubble); color: var(--text); display: grid; place-items: center; }
.dctrl__btn--end { background: #e5484d; color: #fff; }
.demo__foot { width: min(100%, 360px); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hear { display: flex; align-items: center; gap: 10px; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background 0.2s ease, transform 0.16s var(--ease); }
.hear:hover { background: var(--amber); }
.hear:active { transform: scale(0.97); }
.hear[hidden] { display: none; }
.hear__tri { width: 0; height: 0; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hear.is-speaking .hear__tri { width: 10px; height: 10px; border: 0; background: var(--ink); border-radius: 2px; }
.demo__links { display: flex; gap: 14px; align-items: center; font-size: 13px; }

/* ---------- marquee + statement ---------- */
.marq { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marq__track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marq:hover .marq__track, .marq:focus-within .marq__track { animation-play-state: paused; }
.marq__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 22px; font-stretch: 112%; font-weight: 500; white-space: nowrap; color: var(--text-3); }
.marq__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.statement { padding-block: 140px 60px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
/* words fill in as the section scrolls through */
.rw { transition: color 0.3s ease; }
html.js .statement.is-scrub .rw:not(.is-lit) { color: rgba(243, 239, 230, 0.16); }

/* busywork board: a task enters the loop every 1.8s, finished ones drop into Done */
.board { flex: 1 1 360px; max-width: 480px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.board__head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.board__run { color: var(--green); }
.board__queue, .board__done { display: flex; flex-direction: column; gap: 8px; }
.bq { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 12px; font-size: 14px; color: var(--dim); }
.bq:nth-child(1) { opacity: 0.5; }
.bq:nth-child(2) { opacity: 0.85; }
.bq__tag { font-family: var(--mono); font-size: 11px; }
.board__now { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: rgba(245, 181, 68, 0.07); border: 1px solid rgba(245, 181, 68, 0.4); }
.board__now-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.board__now-label { font-family: var(--mono); font-size: 11px; color: var(--amber); }
.board__now-task { font-size: 16px; font-weight: 600; }
.bd { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: rgba(0, 0, 0, 0.3); border-radius: 12px; font-size: 14px; }
.bd:nth-child(2) { opacity: 0.75; }
.bd:nth-child(3) { opacity: 0.5; }
.bd.is-new { animation: rise-in 0.4s ease; }
.bd__t { display: flex; gap: 10px; }
.bd__tick { color: var(--green); }
.bd__time { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.board__foot { display: flex; gap: 28px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.board__foot > div { display: flex; flex-direction: column; gap: 2px; }
.board__foot > div > span:first-child { font-size: 12px; color: var(--muted); }
.board__foot .mono { font-size: 20px; }
.statement h2 { flex: 1.3 1 520px; font-size: clamp(44px, 6.4vw, 108px); line-height: 0.92; font-weight: 800; font-stretch: 122%; letter-spacing: -0.05em; text-wrap: balance; }

/* ---------- five systems: cards that stick and stack as you scroll ---------- */
.sys { padding-block: 120px 100px; }
.sys__head { margin-bottom: 48px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack__card {
  position: sticky; top: 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center;
  padding: 22px; border-radius: 28px; background: var(--raised); border: 1px solid var(--line-2);
  box-shadow: 0 -24px 60px -36px rgba(0, 0, 0, 0.7); transform-origin: 50% 0;
}
.stack__card:nth-child(even) .stack__text { order: 2; }
.stack__text { padding: 10px 14px; display: flex; flex-direction: column; gap: 14px; }
.stack__top { display: flex; align-items: center; gap: 12px; }
.stack__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--amber); }
.stack__num { font-family: var(--mono); font-size: 12px; color: var(--amber); }
.stack__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; font-stretch: 115%; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.stack__eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-top: 4px; }
.stack__story { font-size: 16px; line-height: 1.55; color: var(--text-3); max-width: 48ch; text-wrap: pretty; }
.stack__note { font-size: 13px; color: var(--muted); }
.feats { display: flex; gap: 8px 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.feats li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--text-2); }
.feats li::before { content: "✓"; color: var(--green); }
.tags li { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 7px 13px; font-size: 13px; color: #d6d9de; }
/* the coloured panel with the live log */
.stack__visual { align-self: stretch; min-height: 300px; border-radius: 20px; display: grid; place-items: center; padding: 32px 28px; }
/* night panels: the amber glow warms card by card, from late night to near dawn */
.stack__visual {
  --gx: 22%; --gy: 12%; --ga: 0.22; --hx: 90%; --hy: 100%; --hb: 0.08; --bd: 0.18; --base: #1b2130;
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), rgba(245, 181, 68, var(--ga)), transparent 58%),
    radial-gradient(80% 70% at var(--hx) var(--hy), rgba(245, 181, 68, var(--hb)), transparent 60%),
    var(--base);
  border: 1px solid rgba(245, 181, 68, var(--bd));
}
.stack__card:nth-child(1) .stack__visual { --gx: 16%; --gy: 8%; --ga: 0.1; --hb: 0.03; --bd: 0.1; --base: #181d2a; }
.stack__card:nth-child(2) .stack__visual { --gx: 86%; --gy: 10%; --ga: 0.16; --hx: 10%; --hb: 0.05; --bd: 0.14; --base: #1a1f2d; }
.stack__card:nth-child(3) .stack__visual { --gx: 22%; --gy: 12%; --ga: 0.22; --hb: 0.08; --bd: 0.18; --base: #1b2130; }
.stack__card:nth-child(4) .stack__visual { --gx: 82%; --gy: 14%; --ga: 0.3; --hx: 12%; --hb: 0.12; --bd: 0.24; --base: #1e2130; }
.stack__card:nth-child(5) .stack__visual { --gx: 50%; --gy: 0%; --ga: 0.4; --hx: 50%; --hb: 0.18; --bd: 0.32; --base: #23212a; }
.stack__visual .stack__mock { border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 60px -20px rgba(245, 181, 68, 0.25); }
.stack__mock { width: min(100%, 400px); background: var(--ink); border-radius: 18px; padding: 18px 20px 12px; box-shadow: 0 30px 60px -28px rgba(13, 16, 23, 0.65); }
.sys__log-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.sys__log-title { display: flex; align-items: center; gap: 8px; }
.sys__live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
.stack__rows { margin-top: 6px; }
.logrow { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.logrow + .logrow { border-top: 1px solid var(--line); }
.logrow__dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--amber); justify-self: center; }
.logrow:last-child .logrow__dot { background: var(--amber); }
.logrow__text { font-size: 15px; font-weight: 500; color: var(--text); }
.logrow__pill { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--ink); padding: 5px 10px; border-radius: 999px; background: #d6d9de; white-space: nowrap; }
.logrow:last-child .logrow__pill { background: var(--amber); }
/* narrow screens: one column, no stacking */
@media (max-width: 900px) {
  .stack { gap: 16px; }
  .stack__card { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; transform: none !important; }
  .stack__card:nth-child(even) .stack__text { order: 0; }
  .stack__text { padding: 6px 6px 2px; }
  .stack__visual { min-height: 0; padding: 22px 16px; }
}

/* ---------- work (cream) ---------- */
.work { background: var(--cream); color: var(--ink); }
.work__in { padding-block: 120px; display: flex; flex-direction: column; gap: 48px; }
.work__title { color: var(--ink); }
.work__hint { font-size: 15px; color: var(--cream-text); }
.work__grid { display: flex; flex-wrap: wrap; gap: 20px; }
.work__stack { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.work__card {
  cursor: pointer; background: var(--cream-card); border: 1px solid rgba(13, 16, 23, 0.1); border-radius: 28px; padding: 20px;
  display: flex; flex-direction: column; gap: 16px; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.work__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(13, 16, 23, 0.35); }
.work__card--big { flex: 2 1 560px; padding: 24px; gap: 22px; }
.work__stack .work__card { flex: 1; }
.work__card--dark { background: var(--ink); color: var(--text); border-color: transparent; }
.work__card--dark:hover { box-shadow: 0 30px 60px -30px rgba(13, 16, 23, 0.5); }
.work__card:focus-visible { outline-color: var(--amber-dk); }
.shot { position: relative; border-radius: 14px; overflow: hidden; background: #e7e1d2; border: 1px dashed rgba(13, 16, 23, 0.25); display: grid; place-items: center; }
.work__card--big .shot { border-radius: 18px; }
.work__card--dark .shot { background: var(--raised); border-color: rgba(255, 255, 255, 0.15); }
.shot__ph { font-family: var(--mono); font-size: 12px; color: #5b6170; text-align: center; padding: 8px; }
.work__card--dark .shot__ph { color: var(--muted); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot--left img { object-position: left top; }
/* the whole screenshot, at its own shape, never cropped */
/* --ar is the screenshot's own shape; spare room is filled with --shot-bg, the screenshot's edge colour */
.shot--full { aspect-ratio: var(--ar, 1881 / 836); flex: 1 0 auto; background: var(--shot-bg, #070a12); border: 0; }
.shot--full img { object-fit: contain; object-position: center; }
.shot:has(img) { border: 0; }
.shot:has(img) .shot__ph { display: none; }
.work__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.work__meta { display: flex; flex-direction: column; gap: 6px; }
.work__kind { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #5b6170; }
.work__card--dark .work__kind { color: var(--muted); }
.work__live { color: var(--green-dk); }
.work__name { font-size: 26px; font-weight: 800; font-stretch: 115%; letter-spacing: -0.02em; }
.work__name--big { font-size: clamp(30px, 3.4vw, 46px); font-stretch: 118%; letter-spacing: -0.03em; }
.work__line { font-size: 15px; font-weight: 600; }
.work__card--big .work__line { font-size: 18px; }
.work__open { font-size: 15px; font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.work__actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.work__visit { font-size: 15px; font-weight: 600; color: var(--green-dk); }
.work__visit:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.work__go { font-size: 20px; }
.work__card--dark .work__go { color: var(--amber); }
.work__card--dark .work__visit { color: var(--green); }
.work__card--dark .work__visit:hover { color: var(--text); }
.work__live--dark { color: var(--green); }

/* case modal */
.mockrow { display: flex; justify-content: space-between; gap: 12px; padding: 12px; background: var(--surf-2); border-radius: 10px; font-size: 14px; }
.mockrow span:last-child { color: var(--amber); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.case { border: 0; padding: 24px; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--text); }
.case:not([open]) { display: none; }
.case[open] { display: flex; align-items: center; justify-content: center; animation: rise-in 0.3s ease; }
.case::backdrop { background: rgba(5, 7, 10, 0.72); backdrop-filter: blur(8px); }
.case__panel {
  width: 100%; max-width: 980px; max-height: 90vh; overflow: auto; background: var(--raised); border: 1px solid var(--line-3); border-radius: 28px; padding: 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 36px;
}
.case__l { display: flex; flex-direction: column; gap: 18px; }
.case__kind { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.case__status { color: var(--green); }
.case h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; font-stretch: 120%; letter-spacing: -0.04em; line-height: 0.95; }
.case__line { font-size: 20px; font-weight: 600; }
.case__desc { font-size: 17px; color: var(--text-3); line-height: 1.5; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags li { color: var(--text); border-color: rgba(255, 255, 255, 0.15); padding: 7px 12px; }
.case__actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; align-items: center; }
.case__r { background: var(--ink); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; align-self: start; }
.case__r > div { display: flex; flex-direction: column; gap: 12px; }
.case__ui-title { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.case__r .mockrow { background: var(--raised); border-radius: 12px; padding: 14px; font-size: 15px; animation: none; }
.case__r .mockrow span:last-child { font-size: 13px; }

/* ---------- workflow ---------- */
.flowsec { padding-block: 130px 110px; display: flex; flex-direction: column; gap: 36px; }
.flowsec__title { max-width: 14ch; }
.flowbox { background: var(--surf); border: 1px solid var(--line-2); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 24px; }
.flowbox__bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.flowbox__name { color: var(--text); }
.flowbox__run { display: flex; align-items: center; gap: 8px; color: var(--green); }
.flowbox__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
.flowbox__scroll { overflow-x: auto; padding-bottom: 6px; }
.flowrow { min-width: 980px; display: flex; align-items: center; }
.fseg { display: flex; align-items: center; flex: 1 1 0; }
.fnode {
  flex: 0 0 150px; border: 1px solid var(--line-2); background: var(--well); border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; gap: 6px; transition: all 0.35s;
}
.fnode__num { font-family: var(--mono); font-size: 10px; color: #6f7684; }
.fnode__t { font-size: 15px; font-weight: 600; }
.fnode__s { font-size: 12px; color: var(--muted); line-height: 1.35; }
.fnode.is-active, .fout.is-active .fout__box { border-color: var(--amber); background: rgba(245, 181, 68, 0.08); box-shadow: 0 0 40px -10px rgba(245, 181, 68, 0.6); }
.fnode.is-active .fnode__num { color: var(--amber); }
.fnode.is-done .fnode__num { color: var(--green); }
.fline { flex: 1 1 auto; min-width: 24px; height: 2px; background: var(--line-3); position: relative; transition: background 0.35s; }
.fline.is-done { background: rgba(245, 181, 68, 0.55); }
.fline__dot { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: move 1s linear forwards; }
.fouts { flex: 0 0 200px; display: flex; flex-direction: column; gap: 10px; }
.fout { display: flex; align-items: center; gap: 8px; }
.fout__label { font-family: var(--mono); font-size: 10px; color: #6f7684; width: 58px; text-align: right; transition: color 0.35s; }
.fout__line { flex: 0 0 14px; height: 2px; background: var(--line-3); transition: background 0.35s; }
.fout__box { flex: 1; border: 1px solid var(--line-2); background: var(--well); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; transition: all 0.35s; }
.fout__t { font-size: 13px; font-weight: 600; }
.fout__s { font-size: 11px; color: var(--muted); }
.fout.is-active .fout__label { color: var(--amber); }
.fout.is-active .fout__line { background: var(--amber); }
.flowbox__stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__k { font-size: 12px; color: var(--muted); }
.stat__v { font-size: 20px; }
.stat__v--green { font-weight: 600; color: var(--green); }

/* ---------- industries ---------- */
.inds { padding-block: 40px 130px; display: flex; flex-direction: column; gap: 36px; }
.inds__title { font-size: clamp(34px, 4.6vw, 72px); max-width: 16ch; text-wrap: balance; }
.inds__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
/* the industry cards drift left in one endless row, edge to edge */
.drift {
  position: relative; overflow: hidden; cursor: grab; touch-action: pan-y;
  margin-inline: calc(50% - 50vw); padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.drift.is-dragging { cursor: grabbing; user-select: none; }
.drift:focus-visible { outline-offset: -3px; }
.drift__track { display: flex; gap: 12px; width: max-content; padding-inline: max(28px, calc((100vw - 1320px) / 2 + 28px)); will-change: transform; }
.drift .ind { flex: 0 0 320px; }
.ind {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.025); transition: all 0.25s; text-align: left;
}
.ind:hover { background: rgba(255, 255, 255, 0.06); }
.ind.is-selected { border-color: var(--amber); background: rgba(245, 181, 68, 0.06); }
.ind__top { display: flex; justify-content: space-between; align-items: center; }
.ind__name { font-size: 20px; font-weight: 700; font-stretch: 112%; }
.ind__play { font-family: var(--mono); font-size: 11px; color: var(--amber); }
.ind__line { font-size: 16px; color: var(--text-2); line-height: 1.45; }
.ind__tag { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- the cost of a missed call: an itemised night report ---------- */
.roi { max-width: 1320px; margin: 0 auto; padding: 0 28px 160px; }
.roi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.roi__l { display: flex; flex-direction: column; gap: 32px; max-width: 520px; }
.roi__head { display: flex; flex-direction: column; gap: 14px; }
.roi__title { font-size: clamp(30px, 3.4vw, 50px); line-height: 1; font-weight: 700; font-stretch: 118%; letter-spacing: -0.035em; }
.roi__intro { font-size: 17px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.roi__controls { display: flex; flex-direction: column; }
.roi__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 15px; color: var(--text-2); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper__btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text);
  display: grid; place-items: center; font-size: 18px; line-height: 1; text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.16s var(--ease);
}
.stepper__btn:hover { border-color: var(--amber); color: var(--amber); }
.stepper__btn:active { transform: scale(0.94); }
.stepper__val { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 17px; color: var(--text); font-variant-numeric: tabular-nums; }
.roi__values { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; font-size: 15px; color: var(--text-2); }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip {
  font-family: var(--mono); font-size: 14px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text-2); transition: all 0.2s ease;
}
.vchip:hover { border-color: var(--amber); }
.vchip.is-on { border-color: var(--amber); color: var(--amber); background: rgba(245, 181, 68, 0.12); }
.roi__cta {
  align-self: flex-start; display: flex; align-items: center; gap: 10px; background: var(--amber); color: var(--ink);
  padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: background 0.2s ease, transform 0.16s var(--ease);
}
.roi__cta:hover { background: var(--amber-hi); color: var(--ink); }
.roi__cta:active { transform: scale(0.97); }

/* the receipt */
.roi__r { display: flex; justify-content: center; perspective: 1200px; }
.rcpt {
  width: 100%; max-width: 420px; transform: rotate(-1.2deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease;
}
html.js .rcpt:not(.is-seen) { opacity: 0; transform: rotate(-1.2deg) translateY(-60px); }
.rcpt__paper {
  background: var(--cream); color: #14171d; font-family: var(--mono); padding: 30px 28px 40px; display: flex; flex-direction: column; gap: 18px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.rcpt__head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12px; color: #4a4f58; }
.rcpt__brand { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: #14171d; }
.rcpt__rule { border-top: 1px dashed #14171d; }
.rcpt__rule--solid { border-top: 2px solid #14171d; }
.rcpt__lines { display: flex; flex-direction: column; gap: 9px; min-height: 228px; }
.rcpt__line { display: grid; grid-template-columns: 88px 1fr auto; gap: 10px; font-size: 13px; line-height: 1.3; transition: opacity 0.25s ease, transform 0.25s ease; }
.rcpt__when { color: #4a4f58; }
.rcpt__amt { color: #8a8f97; }
.rcpt__line.is-booked .rcpt__amt { color: #14171d; font-weight: 700; }
.rcpt__more { font-size: 13px; color: #4a4f58; transition: opacity 0.25s ease; }
html.js .rcpt:not(.is-printed) .rcpt__line:not(.is-in) { opacity: 0; transform: translateY(-6px); }
html.js .rcpt:not(.is-printed) .rcpt__more:not(.is-in) { opacity: 0; }
.rcpt__totals { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.rcpt__totals > div { display: flex; justify-content: space-between; gap: 12px; }
.rcpt__month { display: flex; flex-direction: column; gap: 4px; }
.rcpt__label { font-size: 12px; letter-spacing: 0.1em; }
.rcpt__big { font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.rcpt__year { font-size: 15px; font-weight: 600; color: #b4302a; }
.rcpt__foot { text-align: center; font-size: 12px; color: #4a4f58; letter-spacing: 0.06em; }

/* ---------- process: four steps, joined by a line that fills as you scroll ---------- */
.proc { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.proc__in { padding-block: 120px; display: flex; flex-direction: column; gap: 56px; }
.proc__head { display: flex; flex-direction: column; gap: 10px; }
.proc__title { font-size: clamp(36px, 5vw, 80px); line-height: 0.95; font-weight: 800; font-stretch: 120%; letter-spacing: -0.045em; max-width: 16ch; text-wrap: balance; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.steps.is-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step {
  --f: 0; position: relative; padding: 26px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: none;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.step.is-active {
  background: rgba(245, 181, 68, 0.06); border-color: rgba(245, 181, 68, 0.35);
  box-shadow: 0 0 0 1px rgba(245, 181, 68, 0.08), 0 18px 40px -20px rgba(245, 181, 68, 0.35);
}
.step__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step__top span:last-child { color: var(--amber); }
.step h3 { font-size: 24px; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; }
.step p { font-size: 15px; color: var(--text-3); }
/* the connector to the next card: down when stacked, across in a row */
.step__link { position: absolute; top: 100%; left: 50%; width: 2px; height: 32px; margin-left: -1px; background: rgba(255, 255, 255, 0.12); }
.steps.is-row .step__link { top: 50%; left: 100%; width: 32px; height: 2px; margin: -1px 0 0; }
.step__fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--f) * 100%); background: var(--amber); box-shadow: 0 0 10px rgba(245, 181, 68, 0.7); }
.steps.is-row .step__fill { width: calc(var(--f) * 100%); height: 100%; }
.step__head {
  position: absolute; left: 50%; top: calc(var(--f) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 5px rgba(245, 181, 68, 0.18), 0 0 16px rgba(245, 181, 68, 0.8);
  opacity: 0; transition: opacity 0.2s ease;
}
.steps.is-row .step__head { left: calc(var(--f) * 100%); top: 50%; }
.step.is-filling .step__head { opacity: 1; }
.proc__foot { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.proc__promise { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text); }
.proc__tick { width: 22px; height: 22px; border-radius: 50%; background: rgba(245, 181, 68, 0.14); color: var(--amber); display: grid; place-items: center; font-size: 13px; flex: none; }

/* ---------- faq ---------- */
.faq { max-width: 1000px; margin: 0 auto; padding: 110px 28px; display: flex; flex-direction: column; gap: 36px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq__item h3 { font-size: inherit; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: 20px; font-weight: 600; }
.faq__sign { font-family: var(--mono); color: var(--amber); font-size: 20px; }
.faq__a { padding: 0 4px 26px; font-size: 17px; color: var(--text-3); line-height: 1.5; animation: rise-in 0.3s ease; }
.faq__a[hidden] { display: none; }

/* ---------- contact (amber morning) ---------- */
.contact { background: var(--amber); color: var(--ink); }
.contact :focus-visible { outline-color: var(--ink); }
.contact__in { padding-block: 120px; display: flex; flex-direction: column; gap: 32px; }
.contact__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.contact h2 { font-size: clamp(52px, 10vw, 160px); line-height: 0.9; font-weight: 800; font-stretch: 124%; letter-spacing: -0.05em; }
.contact__lead { font-size: 20px; line-height: 1.45; max-width: 44ch; text-wrap: pretty; }
.ask { display: flex; gap: 10px; flex-wrap: wrap; max-width: 820px; background: var(--ink); border-radius: 999px; padding: 8px; }
.ask input { flex: 1; min-width: 200px; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 17px; padding: 12px 18px; }
.ask input::placeholder { color: var(--muted); }
.ask:focus-within { box-shadow: 0 0 0 3px var(--amber), 0 0 0 5px var(--ink); }
.ask__send { background: var(--cream); color: var(--ink); padding: 14px 24px; border-radius: 999px; font-weight: 600; transition: background 0.2s ease, transform 0.16s var(--ease); }
.ask__send:hover { background: #fff; }
.ask__send:active { transform: scale(0.97); }
.ask__send:focus-visible { outline-color: var(--amber-hi); }
.read { max-width: 820px; background: var(--ink); color: var(--text); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.read[hidden] { display: none; }
.read:not([hidden]) { animation: rise-in 0.4s ease; }
.read:focus { outline: none; }
.read :focus-visible { outline-color: var(--amber-hi); }
.read__top { display: flex; flex-direction: column; gap: 8px; }
.read__eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); }
.read__system { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; font-stretch: 115%; letter-spacing: -0.02em; }
.read__why { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.read__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.read__facts > div { background: var(--raised); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.read__facts span { font-size: 12px; color: var(--muted); }
.read__facts b { font-weight: 600; }
.read__act { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.read__fine { font-size: 13px; color: var(--muted); }
.contact__mail { display: flex; gap: 10px; align-items: center; font-size: 16px; flex-wrap: wrap; }
.contact__mail a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.contact__mail a:hover { color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--ink); }
.foot__in { padding-block: 32px 100px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.foot__in a { color: var(--muted); }
.foot__in a:hover { color: var(--text); }

/* ---------- motion ---------- */
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes move { from { left: 0; } to { left: calc(100% - 8px); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .wrap { padding-inline: 20px; }
  .hero { padding-block: 40px 72px; gap: 40px; }
  .statement { padding-block: 96px 40px; }
  .work__in, .proc__in { padding-block: 80px; }
  .work__card--big .shot:not(.shot--full) { height: 220px !important; }
  .drift .ind { flex-basis: min(78vw, 300px); }
  .drift__track { padding-inline: 20px; }
  .flowsec { padding-block: 90px 80px; }
  .faq { padding: 80px 20px; }
  .contact__in { padding-block: 80px; }
  .case__panel { padding: 24px; }
  .pill__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marq__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 12px; padding-inline: 20px; }
  .marq__item:nth-child(n + 14) { display: none; }
  .intro { display: none !important; }
  .dwave span, .dtyping span, .dring__ripple, .dring__state, .dlive__ok i, .status__dot--on, .pill__dot, .flowbox__dot, .fline__dot, .sys__live { animation: none; }
  .is-in, .dend, .dcap.is-live .dcap__text, .mockrow, .faq__a, .read:not([hidden]), .case[open] { animation: none; }
  .cursor { display: none; }
  .phone, .phone:hover { transform: none; transition: none; }
  .dchat, .dcall { animation: none; }
  .dcap.is-live .dcap__text { color: var(--text); background: none; }
  html.js .rcpt:not(.is-seen) { opacity: 1; transform: rotate(-1.2deg); }
  .rcpt, .rcpt__line, .rcpt__more { transition: none; }
  .drift { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: auto; }
  .drift .ind { scroll-snap-align: start; }
  .logo__ring, .logo__hand { animation: none !important; }
}
