/* ==========================================================================
   HtoH homepage — illustrations, scroll effects and motion
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue)); z-index: 150; }

/* Extra reveal variants (base .reveal lives in style.css) */
.reveal-left, .reveal-right, .reveal-zoom { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-zoom { transform: scale(.92); }
.reveal-left.in, .reveal-right.in, .reveal-zoom.in { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
[data-stagger] > *:nth-child(1) { --i: 0; } [data-stagger] > *:nth-child(2) { --i: 1; } [data-stagger] > *:nth-child(3) { --i: 2; }
[data-stagger] > *:nth-child(4) { --i: 3; } [data-stagger] > *:nth-child(5) { --i: 4; } [data-stagger] > *:nth-child(6) { --i: 5; }
[data-stagger] > *:nth-child(7) { --i: 6; } [data-stagger] > *:nth-child(8) { --i: 7; }

.section-title { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-title h2 { margin-bottom: 14px; }
.grad-text { background: linear-gradient(90deg, var(--red), #f0671f 45%, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.h-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: var(--soft-2); }
.h-hero::before { /* faint grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: blob 18s ease-in-out infinite; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: #ffd3d3; top: -120px; left: -80px; }
.blob-2 { width: 380px; height: 380px; background: #ffe7b0; bottom: -140px; left: 35%; animation-delay: -6s; }
.blob-3 { width: 460px; height: 460px; background: #d4e6fb; top: -60px; right: -120px; animation-delay: -12s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }

.h-hero .container { position: relative; }
.h-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 6px 16px 6px 8px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.pill-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: #e6f6ed; display: grid; place-items: center; }
.pill-badge .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(8,153,73,.5); } 100% { box-shadow: 0 0 0 10px rgba(8,153,73,0); } }
.h-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); margin-bottom: 18px; }
.h-rotate { line-height: 1.6; }
.rotator { display: inline-grid; vertical-align: top; overflow: hidden; height: 1.6em; line-height: 1.6em; }
.rotator span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s; white-space: nowrap; color: var(--red); font-weight: 700; }
.rotator span.on { transform: none; opacity: 1; }
.rotator span.out { transform: translateY(-110%); opacity: 0; }
.h-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.h-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.h-proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.h-proof b { color: var(--ink); }
.face-stack { display: flex; }
.face-stack .face { width: 38px; height: 38px; margin-left: -10px; border: 3px solid var(--soft-2); }
.face-stack .face:first-child { margin-left: 0; }

/* Illustrated person avatar (SVG) */
.face { border-radius: 50%; overflow: hidden; flex-shrink: 0; display: block; }
.face svg { width: 100%; height: 100%; display: block; }

/* Live match demo */
.match-stage { position: relative; height: 500px; }
.m-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; width: 300px; transition: opacity .45s, transform .45s; }
.m-card.swap { opacity: 0; transform: translateY(10px) scale(.98); }
.m-cand { top: 10px; left: 0; }
.m-job { bottom: 20px; right: 0; }
.m-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.m-head .face { width: 48px; height: 48px; }
.m-head strong { display: block; font-size: 1rem; }
.m-head small { color: var(--muted); font-size: .8rem; }
.m-tag { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.m-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.m-skill { font-size: .74rem; padding: 3px 10px; border-radius: 20px; background: var(--soft); transition: background .3s, color .3s; }
.m-skill.hit { background: #e6f6ed; color: var(--green); font-weight: 600; }
.m-co { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.m-co svg { width: 24px; height: 24px; }
.m-score { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; z-index: 2; }
.m-score svg { position: absolute; inset: 10px; width: 130px; height: 130px; transform: rotate(-90deg); }
.m-score circle { fill: none; stroke-width: 9; }
.m-score .track { stroke: #f0f0f0; }
.m-score .bar { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.m-score b { font-family: var(--font-display); font-size: 2rem; line-height: 1; text-align: center; }
.m-score b small { display: block; font-family: var(--font); font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.m-wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.m-wire path { fill: none; stroke: #e6b8b8; stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.m-chip { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px 14px; font-size: .8rem; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite; z-index: 3; }
.m-chip svg { width: 18px; height: 18px; }
.m-chip-1 { top: 0; right: 30px; color: var(--green); }
.m-chip-2 { bottom: 120px; left: -10px; color: var(--blue); animation-delay: -2s; }
.m-chip-3 { bottom: -6px; left: 90px; color: #b67800; animation-delay: -4s; }
.m-note { position: absolute; bottom: -34px; right: 0; font-size: .72rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Logo marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #a3a3a3; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.h-logos { padding: 44px 0; border-bottom: 1px solid var(--line); }
.h-logos p { text-align: center; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   What is HtoH — three pillars
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; opacity: .12; transition: transform .5s; }
.pillar:hover::after { transform: scale(1.4); }
.pillar.p-red::after { background: var(--red); } .pillar.p-blue::after { background: var(--blue); } .pillar.p-green::after { background: var(--green); }
.pillar h3 { margin: 20px 0 10px; font-size: 1.3rem; }
.pillar p { color: var(--muted); margin-bottom: 18px; }
.pillar ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .92rem; }
.pillar li { display: flex; gap: 8px; }
.pillar li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* --------------------------------------------------------------------------
   Product preview with scroll tilt
   -------------------------------------------------------------------------- */
.preview { padding: 96px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); overflow: hidden; }
.tilt-wrap { perspective: 1400px; margin-top: 10px; }
.tilt { transform-origin: 50% 0; transform: rotateX(var(--tilt, 18deg)) scale(var(--scale, .92)); transition: transform .1s linear; will-change: transform; }
.app-mock { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.14); overflow: hidden; max-width: 1080px; margin: 0 auto; }
.app-mock .mock-bar span { min-width: 260px; }
.am-body { display: grid; grid-template-columns: 200px 1fr 300px; min-height: 440px; }
.am-side { background: #fcfcfc; border-right: 1px solid var(--line); padding: 18px 12px; }
.am-side div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.am-side div svg { width: 16px; height: 16px; color: var(--muted); }
.am-side .on { background: #fdecec; color: var(--red); }
.am-side .on svg { color: var(--red); }
.am-main { padding: 22px; }
.am-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.am-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.am-kpi span { font-size: .72rem; color: var(--muted); }
.am-kpi b { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.am-row { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: .85rem; }
.am-row .face { width: 40px; height: 40px; }
.am-row small { display: block; color: var(--muted); font-size: .74rem; }
.am-aside { border-left: 1px solid var(--line); padding: 22px; background: #fcfcfc; }
.am-aside h6 { margin: 0 0 14px; font-size: .9rem; }
.funnel div { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: 4px; }
.funnel span.bar { display: block; height: 10px; border-radius: 10px; margin-bottom: 14px; background: var(--soft); overflow: hidden; }
.funnel span.bar i { display: block; height: 100%; border-radius: 10px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.in .funnel span.bar i { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   How it works — sticky scroll story
   -------------------------------------------------------------------------- */
.hiw { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.hiw-sticky { position: sticky; top: calc(var(--header-h) + 40px); height: 460px; }
.hiw-art { position: absolute; inset: 0; border-radius: 26px; display: grid; place-items: center; padding: 30px; opacity: 0; transform: scale(.94) translateY(16px); transition: opacity .55s, transform .55s; }
.hiw-art.on { opacity: 1; transform: none; }
.hiw-art .spot-card { max-width: 380px; }
.hiw-steps { padding: 4vh 0 10vh; }
.hiw-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; }
.hiw-step.on { opacity: 1; }
.hiw-step .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 18px; transition: background .3s; }
.hiw-step.on .num { background: var(--red); }
.hiw-step h3 { font-size: 1.8rem; margin-bottom: 12px; }
.hiw-step p { color: var(--muted); font-size: 1.08rem; max-width: 460px; }
.hiw-mobile-art { display: none; }
.form-line { height: 12px; border-radius: 6px; background: var(--soft); margin: 10px 0; position: relative; overflow: hidden; }
.form-line i { position: absolute; inset: 0; background: linear-gradient(90deg, #d4e6fb, #9cc3ec); transform-origin: 0 50%; animation: typeline 2.6s ease-in-out infinite; }
.form-line:nth-child(3) i { animation-delay: .3s; } .form-line:nth-child(4) i { animation-delay: .6s; } .form-line:nth-child(5) i { animation-delay: .9s; }
@keyframes typeline { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.confetti i { position: absolute; width: 10px; height: 10px; border-radius: 2px; animation: fall 3s linear infinite; }
@keyframes fall { 0% { transform: translateY(-40px) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(380px) rotate(540deg); opacity: 0; } }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.call-tile { aspect-ratio: 4 / 3; border-radius: 12px; background: #1f2937; display: grid; place-items: center; position: relative; }
.call-tile .face { width: 64px; height: 64px; }
.call-tile small { position: absolute; left: 8px; bottom: 6px; color: #fff; font-size: .7rem; }
.wave { display: flex; gap: 3px; align-items: center; height: 24px; justify-content: center; margin-top: 12px; }
.wave i { width: 4px; border-radius: 4px; background: var(--green); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; } .wave i:nth-child(6) { animation-delay: .5s; } .wave i:nth-child(7) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 24px; } }

/* --------------------------------------------------------------------------
   AI engine
   -------------------------------------------------------------------------- */
.ai-band { background: var(--dark); color: #cfcfcf; position: relative; overflow: hidden; }
.ai-band h2, .ai-band h3 { color: #fff; }
.ai-band .lead { color: #a9a9a9; }
.ai-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.net { width: 100%; height: auto; }
.net .edge { stroke: #3a3a3a; stroke-width: 1.5; fill: none; }
.net .flow { stroke-width: 2.5; fill: none; stroke-dasharray: 10 200; animation: flow 2.4s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 210; } to { stroke-dashoffset: 0; } }
.net .node { fill: #222; stroke-width: 2; }
.net text { fill: #d6d6d6; font: 600 13px var(--font); }
.net .core { animation: corepulse 2.4s ease-in-out infinite; transform-origin: 470px 200px; }
@keyframes corepulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.ai-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.ai-metric { background: #1d1d1d; border: 1px solid #2c2c2c; border-radius: 14px; padding: 18px; }
.ai-metric b { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; }
.ai-metric span { font-size: .85rem; color: #9a9a9a; }
.ai-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.ai-cap { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 16px; padding: 22px; transition: border-color .3s, transform .3s; }
.ai-cap:hover { border-color: #555; transform: translateY(-4px); }
.ai-cap h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.ai-cap p { font-size: .9rem; color: #9a9a9a; margin: 0; }

/* --------------------------------------------------------------------------
   Big numbers band
   -------------------------------------------------------------------------- */
.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; text-align: center; }
.numbers .stat b { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ind { text-align: center; padding: 30px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.ind:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.ind .app-icon { margin: 0 auto 14px; transition: transform .4s; }
.ind:hover .app-icon { transform: rotate(-8deg) scale(1.1); }
.ind strong { display: block; }
.ind small { color: var(--muted); font-size: .8rem; }

/* --------------------------------------------------------------------------
   Live jobs (from the database)
   -------------------------------------------------------------------------- */
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s, box-shadow .25s; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.job-card h3 { font-size: 1.08rem; margin: 0; }
.job-card .meta { color: var(--muted); font-size: .85rem; }
.job-card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.job-card .chip { font-size: .72rem; padding: 3px 9px; border-radius: 20px; background: var(--soft); }
.job-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* --------------------------------------------------------------------------
   Testimonials marquee
   -------------------------------------------------------------------------- */
.t-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.t-track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; padding: 10px 0; }
.t-marquee.rev .t-track { animation-direction: reverse; }
.t-marquee:hover .t-track { animation-play-state: paused; }
.t-card { width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; flex-shrink: 0; }
.t-card .stars { display: flex; gap: 2px; color: var(--yellow); margin-bottom: 12px; }
.t-card .stars svg { width: 16px; height: 16px; fill: currentColor; }
.t-card blockquote { margin: 0 0 18px; color: var(--ink-2); line-height: 1.6; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .who .face { width: 44px; height: 44px; }
.t-card .who small { display: block; color: var(--muted); font-size: .8rem; }

/* Parallax elements are moved by JS via --py ("translate" composes with any animated transform) */
[data-parallax] { translate: 0 var(--py, 0); will-change: translate; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .h-hero-grid, .ai-grid { grid-template-columns: 1fr; }
  .match-stage { max-width: 560px; margin: 20px auto 30px; width: 100%; }
  .numbers { grid-template-columns: repeat(3, 1fr); gap: 30px 16px; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .am-body { grid-template-columns: 1fr 260px; }
  .am-side { display: none; }
}
@media (max-width: 900px) {
  .pillars, .jobs-grid, .ai-caps { grid-template-columns: 1fr; }
  .hiw { grid-template-columns: 1fr; gap: 0; }
  .hiw-sticky { display: none; }
  .hiw-step { min-height: 0; opacity: 1; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .hiw-mobile-art { display: block; margin-top: 18px; border-radius: 18px; padding: 22px; }
  .am-body { grid-template-columns: 1fr; }
  .am-aside { display: none; }
  .am-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .match-stage { height: 470px; }
  .m-card { width: 250px; padding: 16px; }
  .m-score { width: 120px; height: 120px; }
  .m-score svg { inset: 8px; width: 104px; height: 104px; }
  .m-score b { font-size: 1.6rem; }
  .m-chip-2 { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card { width: 300px; }
  .am-row { grid-template-columns: 40px 1fr auto; }
  .am-row .status { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
  .tilt { transform: none !important; }
  .marquee-track, .t-track { animation: none; }
}

/* Zoho-structure homepage extras */
.h-hero.z-hero { padding: 80px 0 96px; }
.video-ph { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; margin-bottom: 22px; width: 100%;
  background: linear-gradient(135deg, #2b2b2b, #4a4a4a); display: grid; place-items: center; overflow: hidden; }
.video-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(228,37,39,.35), transparent 60%); animation: blob 12s ease-in-out infinite; }
.video-ph .play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--shadow-lg); animation: ping-w 2s ease-out infinite; }
@keyframes ping-w { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 18px rgba(255,255,255,0); } }
.row-line .wave { margin: 0; height: 18px; }
.row-line .wave i { width: 3px; }
.marquee-track .fill-logo { flex-shrink: 0; }
.about-tabs { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
.about-tabs .tab { border-radius: 14px; }
@media (max-width: 960px) { .testi-wrap[style*="repeat(3"] { grid-template-columns: 1fr !important; } }
h1 .rotator { height: 1.15em; line-height: 1.15em; vertical-align: bottom; }
.spot-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.spot-tile { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: transform .25s, box-shadow .25s; }
.spot-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spot-tile h3 { font-size: 1.12rem; flex: 1; margin: 0; }
.spot-tile .z-label { margin: 0; }
h1 .rotator span { justify-self: end; }
.cta-final .container { position: relative; z-index: 1; }
/* Stats row stays centred however many company facts are filled in */
.stats.cols-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 20px; }
.stats.cols-5 .stat { flex: 1 1 170px; max-width: 240px; }
