/* ==========================================================================
   Page sections: customers, quotes, automation, services, process, founders,
   call to action and lead forms, industries, results, wall of love,
   closing call to action, footer
   ========================================================================== */

/* A soft wash of aurora light behind a section: a radial gradient rather than
   a blurred shape, which is much cheaper to draw. Each wash sits well inside
   its section, so the light fades out before the clipping edge. */
.services, .process, .founders { isolation: isolate; overflow: hidden; }
.services::before, .process::before, .founders::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(980px, 120vw); height: 560px; border-radius: 50%; opacity: 0.5;
}
.services::before { top: 120px; left: -24%; background: radial-gradient(closest-side, rgba(90, 80, 255, 0.4), rgba(90, 80, 255, 0.14) 55%, transparent); }
.process::before { top: 50%; right: -22%; translate: 0 -50%; background: radial-gradient(closest-side, rgba(200, 50, 240, 0.38), rgba(200, 50, 240, 0.13) 55%, transparent); }
.founders::before { top: 50%; left: 50%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(150, 50, 230, 0.4), rgba(150, 50, 230, 0.14) 55%, transparent); }

/* Shared attribution line: avatar, name, role */
.quote__by { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.quote__by strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.quote__by small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* --------------------------------------------------------------------------
   Customers
   -------------------------------------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.customer { display: flex; flex-direction: column; gap: 10px; min-height: 186px; padding: 24px; }
.customer__name { font-family: var(--font-display); font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); }
.customer__name[data-style="serif"] { font-family: var(--font-serif); font-size: 26px; font-weight: 400; letter-spacing: -0.01em; }
.customer__name[data-style="wide"] { font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: 0.3em; text-transform: uppercase; }
.customer__name[data-style="italic"] { font-family: var(--font-serif); font-size: 27px; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.customer__name[data-style="light"] { font-size: 27px; font-weight: 300; letter-spacing: -0.03em; }
.customer__name[data-style="mono"] { font-family: var(--font-mono); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.customer__meta { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   Quotes: the words light up as they scroll through
   -------------------------------------------------------------------------- */
.quote { display: grid; justify-items: center; gap: 28px; max-width: 1060px; text-align: center; }
.quote__text { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 46px); font-weight: 500; line-height: 1.2; letter-spacing: -0.035em; text-wrap: balance; color: var(--ink); }

/* --------------------------------------------------------------------------
   AI automation
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(36px, 5vw, 60px); }
.split .section-head { margin-bottom: 0; }
.split__aside { display: grid; justify-items: start; gap: 22px; }
.quote-panel { display: grid; justify-items: start; gap: 24px; padding: clamp(26px, 4vw, 46px); background: linear-gradient(150deg, rgba(155, 92, 255, 0.14), rgba(255, 255, 255, 0.02) 60%); }
.quote-panel blockquote { max-width: 34em; font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 30px); font-weight: 500; line-height: 1.35; letter-spacing: -0.025em; color: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   Services: four cards, each with a small looping scene
   -------------------------------------------------------------------------- */
.service { display: flex; flex-direction: column; padding: 12px 12px 26px; }
.service > :not(.service__art) { margin-inline: 16px; }
.service__art { position: relative; height: 236px; margin-bottom: 22px; overflow: hidden; border-radius: 12px; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--line); }
.service .service__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--k, var(--magenta)) 55%, #fff); }
.service__kicker .icon { width: 16px; height: 16px; color: var(--k, var(--magenta)); }
.service h3 { margin-bottom: 10px; font-size: clamp(22px, 2.2vw, 26px); letter-spacing: -0.03em; }
.service__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service__list li { padding: 5px 12px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--k, var(--magenta)) 10%, transparent); border: 1px solid color-mix(in srgb, var(--k, var(--magenta)) 32%, transparent); font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.service .link { margin-top: auto; padding-top: 22px; }
/* Scenes only run while the grid is on screen */
.js .service-grid:not(.is-playing) .service__art *,
.js .service-grid:not(.is-playing) .service__art *::before,
.js .service-grid:not(.is-playing) .service__art *::after { animation-play-state: paused !important; }

/* Automation: a lead travels through the workflow. The diagram is a still SVG;
   the highlights and the moving dots are layers on top that only change opacity
   and transform, so the browser never repaints the diagram while it plays. */
.s-flow-art { container-type: size; display: grid; place-items: center; }
.s-flow { position: relative; width: min(calc(100cqw - 12px), calc((100cqh - 12px) * 440 / 240)); aspect-ratio: 440 / 240; }
.s-flow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s-flow__wire { fill: none; stroke: rgba(255, 255, 255, 0.24); stroke-width: 1.5; stroke-dasharray: 4 5; }
.s-flow__box { fill: rgba(255, 255, 255, 0.045); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; }
.s-flow__label { font-family: var(--font-body); font-size: 13px; font-weight: 500; fill: #d8d2e4; }
.s-flow__hl { position: absolute; left: calc(var(--x) / 440 * 100%); top: calc(var(--y) / 240 * 100%); width: calc(var(--w) / 440 * 100%); height: 15%; border-radius: 9px; border: 1.2px solid #e9b8ff; box-shadow: 0 0 16px -4px rgba(226, 75, 255, 0.75); opacity: 0; animation: 3.6s linear infinite; }
.s-flow__hl--1 { animation-name: hl-1; }
.s-flow__hl--2 { animation-name: hl-2; }
.s-flow__hl--3 { animation-name: hl-3; }
@keyframes hl-1 { 0%, 6% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes hl-2 { 0%, 31% { opacity: 0; } 33%, 39% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes hl-3 { 0%, 64% { opacity: 0; } 66%, 72% { opacity: 1; } 95%, 100% { opacity: 0; } }
/* Each dot is a full-size layer with the dot at its top-left corner, so
   translate percentages are percentages of the diagram */
.s-flow__dot { position: absolute; inset: 0; opacity: 0; animation: 3.6s linear infinite; }
.s-flow__dot::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #f6dcff; box-shadow: 0 0 8px 2px rgba(226, 75, 255, 0.85); }
.s-flow__dot--1 { animation-name: dot-1; }
.s-flow__dot--2 { animation-name: dot-2; }
.s-flow__dot--3 { animation-name: dot-3; }
@keyframes dot-1 { 0% { transform: translate(13.18%, 27.5%); opacity: 1; } 12.4% { transform: translate(13.18%, 50%); } 33% { transform: translate(33.64%, 50%); opacity: 1; } 34%, 100% { transform: translate(33.64%, 50%); opacity: 0; } }
@keyframes dot-2 { 0%, 36% { transform: translate(72.27%, 50%); opacity: 0; } 36.5% { opacity: 1; } 45.75% { transform: translate(78.18%, 50%); } 66% { transform: translate(78.18%, 72.5%); opacity: 1; } 67%, 100% { transform: translate(78.18%, 72.5%); opacity: 0; } }
@keyframes dot-3 { 0%, 36% { transform: translate(45.45%, 57.5%); opacity: 0; } 36.5% { opacity: 1; } 51.3% { transform: translate(45.45%, 80%); } 66% { transform: translate(33.64%, 80%); opacity: 1; } 67%, 100% { transform: translate(33.64%, 80%); opacity: 0; } }

/* Chatbots: a booking conversation. Each message has its own keyframes so
   they arrive in turn and all clear together before the loop restarts. */
.s-chat { display: grid; align-content: center; gap: 9px; padding: 18px 20px; }
.say { max-width: 84%; padding: 8px 13px; border-radius: 14px; font-size: 13px; line-height: 1.4; opacity: 0; animation: 8s var(--ease) infinite; }
.say:nth-child(1) { animation-name: say-1; }
.say:nth-child(2) { animation-name: say-2; }
.say:nth-child(3) { animation-name: say-3; }
.say:nth-child(4) { animation-name: say-4; }
.say--in { justify-self: start; border-bottom-left-radius: 4px; background: rgba(255, 255, 255, 0.08); color: var(--ink-2); }
.say--out { justify-self: end; border-bottom-right-radius: 4px; background: linear-gradient(135deg, rgba(181, 47, 214, 0.42), rgba(124, 58, 237, 0.42) 55%, rgba(47, 111, 224, 0.42)); border: 1px solid rgba(214, 140, 255, 0.35); color: #fff; }
.say--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.say--typing i { width: 6px; height: 6px; border-radius: 50%; background: #f3d6ff; animation: dot 1.1s ease-in-out infinite; }
.say--typing i:nth-child(2) { animation-delay: 0.15s; }
.say--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes say-1 { 0% { opacity: 0; transform: translateY(10px); } 5%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes say-2 { 0%, 14% { opacity: 0; transform: translateY(10px); } 19%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes say-3 { 0%, 30% { opacity: 0; transform: translateY(10px); } 35%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes say-4 { 0%, 42% { opacity: 0; transform: translateY(10px); } 47%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
@keyframes dot { 0%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* Websites: a page builds itself behind a scan line, then goes live */
.s-site { display: grid; place-items: center; padding: 18px 22px; }
.s-site__window { width: min(100%, 360px); overflow: hidden; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.s-site__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.s-site__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.s-site__page { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 16px; animation: build 6.4s var(--ease) infinite; }
.s-site__copy { display: grid; align-content: center; gap: 8px; }
.sk { display: block; width: 100%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.sk--title { width: 92%; height: 12px; background: rgba(255, 255, 255, 0.32); }
.sk--short { width: 64%; }
.sk--line { width: 76%; }
.sk--btn { width: 46%; height: 18px; margin-top: 4px; border-radius: 6px; background: var(--grad-btn); }
.sk--hero { height: auto; min-height: 104px; border-radius: 8px; background: radial-gradient(circle at 30% 30%, rgba(226, 75, 255, 0.7), transparent 60%), radial-gradient(circle at 75% 72%, rgba(79, 141, 255, 0.7), transparent 60%), rgba(255, 255, 255, 0.06); }
.s-site__page::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: linear-gradient(180deg, transparent calc(100% - 16px), rgba(226, 75, 255, 0.28) calc(100% - 3px), #f3c4ff calc(100% - 2px), #9b5cff 100%); opacity: 0; transform: translateY(-100%); pointer-events: none; animation: scan 6.4s var(--ease) infinite; }
.s-site__badge { position: absolute; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.45); font-family: var(--font-mono); font-size: 11.5px; color: #c9f7d9; opacity: 0; animation: badge 6.4s var(--ease) infinite; }
.s-site__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes build { 0% { clip-path: inset(0 0 100% 0); opacity: 1; } 50%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 1; } 50% { transform: translateY(0); opacity: 1; } 56%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes badge { 0%, 52% { opacity: 0; transform: translateY(6px) scale(0.9); } 58%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }

/* Integrations: tools light up as they connect */
.s-tiles { display: grid; grid-template-columns: repeat(5, 46px); grid-auto-rows: 46px; gap: 12px; place-content: center; }
.s-tiles span { position: relative; isolation: isolate; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.s-tiles span::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; border: 1px solid rgba(34, 195, 230, 0.75); background: rgba(34, 195, 230, 0.16); box-shadow: 0 0 22px -4px rgba(34, 195, 230, 0.8); opacity: 0; animation: tile 5s var(--ease) infinite; animation-delay: calc(var(--n) * 0.42s); }
@keyframes tile { 0%, 34%, 100% { opacity: 0; } 8%, 22% { opacity: 1; } }

/* --------------------------------------------------------------------------
   Process: four steps that light up in turn
   -------------------------------------------------------------------------- */
.timeline { padding: clamp(26px, 4vw, 46px); }
.steps--row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; display: grid; align-content: start; gap: 18px; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #120e1b; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--muted); transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.step h3 { margin-bottom: 6px; font-size: 19px; color: var(--ink-2); transition: color 0.4s var(--ease); }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); transition: color 0.4s var(--ease); }
/* A connector runs from each circle to the next and fills once that step is done */
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; width: calc(100% + 24px - 64px); height: 1px; pointer-events: none; }
.step:not(:last-child)::before { background: var(--line-2); }
.step:not(:last-child)::after { background: var(--c); box-shadow: 0 0 10px var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.8s var(--ease); }
.step.is-past:not(:last-child)::after { transform: none; }
.step.is-past .step__num { border-color: color-mix(in srgb, var(--c) 60%, transparent); color: var(--ink-2); }
.step.is-active .step__num { border-color: var(--c); color: #fff; background: color-mix(in srgb, var(--c) 30%, #120d1c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 16%, transparent), 0 0 26px -2px var(--c); }
.step.is-active h3 { color: #fff; }
.step.is-active p { color: var(--ink-2); }
@media (max-width: 760px) {
  .steps--row { grid-template-columns: 1fr; gap: 0; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::before, .step:not(:last-child)::after { top: 48px; bottom: 8px; left: 19.5px; width: 1px; height: auto; }
  .step:not(:last-child)::after { transform: scaleY(0); transform-origin: 50% 0; }
  .step.is-past:not(:last-child)::after { transform: none; }
}

/* --------------------------------------------------------------------------
   Founders
   -------------------------------------------------------------------------- */
.founders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)) minmax(0, 1fr); align-items: stretch; gap: 22px; perspective: 1400px; }
.founder-slot { display: grid; }
/* The slot handles the scroll reveal; the card itself leans toward the pointer */
.founder { --rx: 0deg; --ry: 0deg; position: relative; margin: 0; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-solid); border: 1px solid var(--line-2); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.6s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease); }
.founder.is-tilting { transition-duration: 0.12s, 0.4s, 0.5s; }
.founder:hover { border-color: rgba(226, 75, 255, 0.65); box-shadow: 0 34px 90px -34px rgba(190, 70, 255, 0.85); }
/* The card is a 4:5 portrait plus room for the caption, and grows to match its neighbours; the photo fills it */
.founder::before { content: ""; display: block; padding-top: calc(125% + 36px); }
.founder__photo { position: absolute; inset: 0; overflow: hidden; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.founder:hover .founder__photo img { transform: scale(1.05); }
/* Ground the caption without shading the face, and let the light catch the top edge */
.founder__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 22%), linear-gradient(180deg, transparent 58%, rgba(8, 6, 12, 0.16) 66%, rgba(8, 6, 12, 0.48) 75%, rgba(8, 6, 12, 0.78) 84%, rgba(8, 6, 12, 0.92) 92%, rgba(8, 6, 12, 0.97) 100%); }
.founder figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 22px 24px; text-shadow: 0 1px 16px rgba(8, 6, 12, 0.8); }
.founder__name { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.founder__role { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #e6caff; }

.founders__note { display: grid; align-content: center; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)); border: 1px solid var(--line); }
.founders__label { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.founders__note h3 { font-size: clamp(22px, 2.3vw, 29px); line-height: 1.2; letter-spacing: -0.03em; }
.founders__note p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.founders__signs { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.founders__note .founders__signs p { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.founders__signs small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
@media (max-width: 1000px) {
  .founders__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founders__note { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Call to action and lead forms
   -------------------------------------------------------------------------- */
.cta-band__card { position: relative; display: grid; justify-items: center; gap: 30px; padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 64px); overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line-2); text-align: center; background: radial-gradient(60% 90% at 0% 0%, rgba(214, 28, 240, 0.32), transparent 70%), radial-gradient(60% 90% at 100% 100%, rgba(79, 141, 255, 0.28), transparent 70%), linear-gradient(180deg, #120b1d, #0b0812); box-shadow: 0 50px 120px -60px rgba(160, 60, 240, 0.8); }
.cta-band__title { font-size: clamp(36px, 5.4vw, 68px); font-weight: 500; letter-spacing: -0.045em; }

.form-block { display: grid; justify-items: center; gap: 12px; width: min(100%, 580px); }
.lead-form { display: grid; gap: 8px; width: 100%; text-align: left; }
.field-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lead-form__row { display: flex; gap: 10px; }
/* flex-basis auto keeps the 52px height when the row stacks into a column on phones */
.field { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); font-size: 16px; color: var(--ink); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field::placeholder { color: var(--muted-2); }
.field:hover { border-color: var(--line-3); }
.field:focus { outline: none; border-color: rgba(214, 140, 255, 0.8); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(155, 92, 255, 0.25); }
.field[aria-invalid="true"] { border-color: rgba(248, 113, 113, 0.8); box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.18); }
/* Spam trap: off screen, skipped by keyboard and screen readers */
.lead-form { position: relative; }
.hp { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.5em; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-note.is-error { color: #fca5a5; }
.form-note.is-success { color: #86efac; }
@media (max-width: 560px) {
  .lead-form__row { flex-direction: column; }
  .lead-form__row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Industries: tabs
   -------------------------------------------------------------------------- */
/* minmax(0, 1fr): the tab bar scrolls sideways on phones instead of widening the page */
.tabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.tabs__list { display: flex; gap: 4px; width: max-content; max-width: 100%; margin-inline: auto; padding: 5px; overflow-x: auto; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: none; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tabs__tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.tabs__tab.is-active { color: #fff; background: var(--grad-btn); box-shadow: 0 10px 26px -12px rgba(155, 92, 255, 0.9); }
.tabs__panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.tabs__panel[hidden] { display: none; }
.js .tabs__panel.is-active { animation: panel-in 0.6s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabs__intro { display: grid; align-content: space-between; justify-items: start; gap: 18px; padding: 28px 8px 28px 0; }
.tabs__intro h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.035em; }
.benefit { display: grid; align-content: start; gap: 8px; }
.benefit__num { margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(46px, 5vw, 66px); font-weight: 600; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit h4 { font-size: 18px; }
@media (max-width: 860px) {
  .tabs__list { margin-inline: 0; }
  .tabs__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs__intro { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 520px) { .tabs__panel { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */
.results__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat-card { display: flex; flex-direction: column; gap: 12px; min-height: 236px; }
.stat-card__num { font-family: var(--font-display); font-size: clamp(50px, 5.4vw, 74px); font-weight: 600; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card__label { max-width: 22ch; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 236px; background: linear-gradient(160deg, rgba(155, 92, 255, 0.16), rgba(255, 255, 255, 0.02) 70%); }
.quote-card blockquote { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
@media (max-width: 1000px) { .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .results__grid { grid-template-columns: 1fr; } .stat-card, .quote-card { min-height: 0; } }

/* --------------------------------------------------------------------------
   Wall of love: two rows drifting in opposite directions
   -------------------------------------------------------------------------- */
.love { overflow: hidden; }
.love .section-head { margin-bottom: clamp(30px, 4vw, 48px); }
.marquee { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee var(--speed, 120s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .js .marquee:not(.is-playing) .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.love-card { display: grid; align-content: start; gap: 14px; width: 340px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.love-card header { display: flex; align-items: center; gap: 12px; }
.love-card strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.love-card small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.love-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
/* Without the script, or with reduced motion, the rows scroll sideways instead */
.no-js .marquee { overflow-x: auto; }
.no-js .marquee__track { animation: none; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(100px, 14vw, 190px); border-top: 1px solid var(--line); text-align: center; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 55% at 50% 50%, rgba(8, 6, 12, 0.6), transparent 75%), linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, #06050a 100%); }
.cta__inner { position: relative; display: grid; justify-items: center; gap: 34px; }
.cta__title { font-size: clamp(44px, 8vw, 104px); font-weight: 400; line-height: 1; letter-spacing: -0.052em; }
.cta__title .grad { font-weight: 600; }
.cta .field { background: rgba(8, 6, 12, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cta .rating { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: #06050a; }
/* The brand runs across the top, so the six link columns get the full width */
.footer__top { display: grid; gap: clamp(32px, 4vw, 48px); padding-block: clamp(48px, 6vw, 84px); }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.footer__tagline { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer__label { margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.footer__col ul { display: grid; gap: 2px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14.5px; line-height: 1.35; color: var(--muted); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 22px 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted-2); }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; } }

/* --------------------------------------------------------------------------
   Reduced motion: every scene rests on its finished frame
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .say, .s-site__page, .s-site__badge, .say--typing i { animation: none; opacity: 1; }
  .s-tiles span::after { animation: none; }
  .s-flow__hl, .s-flow__dot { animation: none; }
  .s-flow__hl--2 { opacity: 1; }
  .s-site__page { clip-path: none; }
  .s-site__page::after { display: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; padding-inline: var(--gutter); }
  .step:not(:last-child)::after, .step__num, .founder, .founder__photo img { transition: none; }
  .founder { transform: none; }
  .js .tabs__panel.is-active { animation: none; }
}

/* ==========================================================================
   Phone layout (640px and below)
   ========================================================================== */
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .section { padding-block: 68px; }
  .section--tight { padding-block: 52px; }
  .section-head { gap: 14px; margin-bottom: 32px; }
  .card { padding: 22px; }
  .btn-sm { min-height: 44px; }

  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero__inner { gap: 20px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stage { margin-top: 44px; padding-bottom: 56px; }

  .logo-wall { gap: 10px; }
  .customer { min-height: 0; padding: 18px 14px; }
  .customer__name { font-size: 21px; }
  .customer__name[data-style="serif"], .customer__name[data-style="italic"], .customer__name[data-style="light"] { font-size: 22px; }
  .customer__name[data-style="wide"] { font-size: 14px; letter-spacing: 0.22em; }
  .customer__name[data-style="mono"] { font-size: 19px; }
  .customer__meta { font-size: 13px; }
  /* Let a long link wrap with its arrow trailing the last word */
  .rating .sep { display: none; }
  .rating { gap: 6px 10px; }

  .service { padding: 10px 10px 22px; }
  .service > :not(.service__art) { margin-inline: 12px; }
  .service__art { height: 210px; }
  .s-tiles { grid-template-columns: repeat(5, 42px); grid-auto-rows: 42px; gap: 10px; }

  .founders__grid { gap: 12px; }
  .founder { border-radius: var(--r-lg); }
  .founder figcaption { padding: 14px; gap: 4px; }
  .founder__name { font-size: 17px; }
  .founder__role { font-size: 10.5px; letter-spacing: 0.12em; }
  .founders__note { border-radius: var(--r-lg); }

  .cta-band__card { border-radius: var(--r-lg); }
  .tabs__tab { padding: 0 14px; font-size: 14px; }
  .love-card { width: 290px; padding: 18px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}
