/* Home page: particle hero, about, what we do, results showcase, particle journey,
   frameworks, benefits bento, testimonials. Builds on theme.css + services.css. */

/* ---------- Hero ---------- */
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 110px 0 0; }
.home-hero { background: radial-gradient(70% 80% at 78% 38%, rgba(0, 50, 190, 0.35), transparent 70%), #000; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 880px); padding: 40px 0 0; }
.home-hero .lead { max-width: 620px; }
.home-hero__copy > * + * { margin-top: 26px; }
.home-hero__copy .btn-row { margin-top: 40px; }
.home-hero .h1 { font-size: clamp(42px, 5.4vw, 78px); }
.home-hero .stats { margin-top: 90px; }
.stat__value b { font-weight: 400; color: #8fb2ff; }

/* Particle field (home.js): complexity assembling into the Delphilens mark. */
.home-hero__field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(40% 50% at 76% 46%, rgba(0, 60, 220, 0.28), transparent 70%);
}
/* Backdrop, bottom to top: fluid glow (drifting blobs + pointer light) → faint grid → grain → particles. */
@property --hx { syntax: "<length-percentage>"; inherits: false; initial-value: 72%; }
@property --hy { syntax: "<length-percentage>"; inherits: false; initial-value: 40%; }
.home-hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  /* --mx/--my come from the spotlight in services.js; registered --hx/--hy let the light trail the pointer. */
  --hx: var(--mx, 72%); --hy: var(--my, 40%); transition: --hx 1.4s cubic-bezier(.2,.8,.2,1), --hy 1.4s cubic-bezier(.2,.8,.2,1);
  background: radial-gradient(560px circle at var(--hx) var(--hy), rgba(0, 85, 254, 0.22), rgba(70, 40, 210, 0.08) 45%, transparent 70%);
}
.home-hero__glow::before, .home-hero__glow::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; mix-blend-mode: screen; will-change: transform;
}
.home-hero__glow::before { top: -25vmax; right: -15vmax; background: radial-gradient(circle, rgba(0, 85, 254, 0.42), transparent 62%); animation: hero-blob-a 19s ease-in-out infinite alternate; }
.home-hero__glow::after { bottom: -35vmax; right: 10vmax; background: radial-gradient(circle, rgba(90, 50, 235, 0.3), rgba(0, 150, 255, 0.08) 40%, transparent 62%); animation: hero-blob-b 26s ease-in-out infinite alternate; }
@keyframes hero-blob-a { 50% { transform: translate(-14vmax, 10vmax) scale(1.15); } 100% { transform: translate(-6vmax, 22vmax) scale(0.9); } }
@keyframes hero-blob-b { 50% { transform: translate(12vmax, -14vmax) scale(0.85); } 100% { transform: translate(-18vmax, -6vmax) scale(1.2); } }
/* Dot matrix: barely there at rest, dots near the pointer light up blue-white. */
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --hx: var(--mx, 72%); --hy: var(--my, 40%); transition: --hx 0.9s cubic-bezier(.2,.8,.2,1), --hy 0.9s cubic-bezier(.2,.8,.2,1);
  background: radial-gradient(circle, rgba(170, 200, 255, 0.85) 1px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(260px circle at var(--hx) var(--hy), #000, transparent 75%), radial-gradient(ellipse 65% 60% at 62% 45%, rgba(0, 0, 0, 0.14), transparent 80%);
  mask-image: radial-gradient(260px circle at var(--hx) var(--hy), #000, transparent 75%), radial-gradient(ellipse 65% 60% at 62% 45%, rgba(0, 0, 0, 0.14), transparent 80%);
}
/* No pointer (touch): keep only the faint matrix, no parked bright patch. */
@media (hover: none) { .home-hero::before { -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 30%, rgba(0, 0, 0, 0.14), transparent 80%); mask-image: radial-gradient(ellipse 65% 60% at 50% 30%, rgba(0, 0, 0, 0.14), transparent 80%); } }
@media (prefers-reduced-motion: reduce) { .home-hero__glow::before, .home-hero__glow::after { animation: none; } .home-hero__glow, .home-hero::before { transition: none; } }
/* Intro: copy rises in once the loader opens (motion.js adds .is-in to the h1). */
.js .home-hero__copy.intro > :not(h1) { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .home-hero__copy.intro.is-in > :not(h1) { opacity: 1; transform: none; }
.home-hero__copy.intro > .pill { transition-delay: .05s; }
.home-hero__copy.intro > .lead { transition-delay: .45s; }
.home-hero__copy.intro > .btn-row { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .js .home-hero__copy.intro > :not(h1) { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; align-items: center; }
.about__media { position: relative; aspect-ratio: 1; }
.about__copy > * + * { margin-top: 22px; }
.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.025);
}
.checks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 8px; background: rgba(0,85,255,0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239cc0ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid rgba(0,85,255,0.5);
}
.about__copy .btn-row { margin-top: 34px; }

/* Four pillars strip */
.pillar-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); }
.pillar-strip > div { padding: 28px 26px; position: relative; transition: background .3s; }
.pillar-strip > div + div { border-left: 1px solid var(--line); }
.pillar-strip > div:hover { background: rgba(0, 85, 255, 0.08); }
.pillar-strip .icon { width: 44px; height: 44px; box-shadow: none; }
.pillar-strip h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.4px; margin-top: 18px; }
.pillar-strip p { color: var(--muted); font-size: 15px; line-height: 23px; margin-top: 6px; }
.pillar-strip__label { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 18px 26px !important; border-left: 0 !important; color: var(--muted); }
.pillar-strip__label a { color: #8fb2ff; }

/* ---------- Service lines ---------- */

/* ---------- Case studies carousel ---------- */

/* ---------- How we work: pinned particle journey ---------- */
.journey__body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 40px; }
.journey__stage { position: sticky; top: 90px; height: calc(100vh - 90px); max-height: 820px; }
.journey__stage::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 70, 230, 0.22), transparent 65%); z-index: -1; }
.journey__field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.journey__hud { position: absolute; left: 0; top: 30px; display: flex; align-items: baseline; gap: 16px; pointer-events: none; }
.journey__num { font-size: 64px; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(143, 178, 255, 0.6); font-variant-numeric: tabular-nums; }
.journey__name { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: #8fb2ff; }
.journey__name.is-swap { animation: swapIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.journey__rail { position: absolute; left: 0; right: 0; bottom: 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.journey__rail i { height: 2px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.journey__rail i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0055fe, #8fb2ff); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.journey__rail i.is-on::after { transform: none; }
.journey__steps { list-style: none; margin: 0; padding: 0; }
.journey__step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 0.25; transition: opacity .6s ease; }
.journey__step.is-active { opacity: 1; }
.journey__step:last-child { min-height: min(calc(100vh - 90px), 820px); }
.journey__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #8fb2ff; }
.journey__label i { font-style: normal; color: var(--subtle); }
.journey__title { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 400; }
.journey__title .journey__sub { display: block; color: var(--heading-muted); font-size: 0.5em; line-height: 1.3; letter-spacing: -0.02em; margin-top: 6px; }
.journey__step .note { color: rgba(255,255,255,0.85); padding-left: 14px; border-left: 2px solid var(--blue); }
.journey__step .chips { margin-top: 6px; }
.journey__cta { text-align: center; margin-top: 20px; }

/* ---------- Frameworks feature ---------- */
.frameworks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.fwk { display: flex; flex-direction: column; }
.fwk > * + * { margin-top: 16px; }
.fwk .pill { align-self: flex-start; }
.fwk__visual { margin-top: 30px !important; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,0.35); }
.offer__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #8fb2ff; font-weight: 500; transition: gap .25s, color .25s; }
.fwk .offer__link { padding-top: 28px; }
.fwk:hover .offer__link { gap: 12px; }

/* mini SDLC loop */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; }
.loop::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: linear-gradient(90deg, #0055fe, #7fa8ff); opacity: .5; }
.loop span { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 14px; text-align: center; color: rgba(255,255,255,0.8); }
.loop span b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 13px; color: #dbe7ff; background: #05070d; border: 1px solid rgba(120,160,255,0.4); }
.loop span:nth-child(1) b { animation: lit 10s infinite; }
.loop span:nth-child(2) b { animation: lit 10s 2s infinite; }
.loop span:nth-child(3) b { animation: lit 10s 4s infinite; }
.loop span:nth-child(4) b { animation: lit 10s 6s infinite; }
.loop span:nth-child(5) b { animation: lit 10s 8s infinite; }
@keyframes lit { 0%, 18% { background: var(--blue); box-shadow: 0 0 24px var(--blue-glow); border-color: rgba(170,200,255,0.8); } 22%, 100% { background: #05070d; box-shadow: none; } }
.planes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(143,178,255,0.3); align-items: center; }
.planes > span:first-child { color: var(--subtle); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.planes .chip { border-style: dashed; border-color: rgba(143,178,255,0.45); }

/* mini enablement ladder */
.ladder { display: grid; gap: 8px; }
.ladder div { display: grid; grid-template-columns: 26px 170px 1fr; gap: 12px; align-items: center; font-size: 14px; }
.ladder b { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 500; font-size: 12px; background: #070b16; border: 1px solid rgba(255,255,255,0.14); }
.ladder i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ladder i::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1d63ff, #7fa8ff); border-radius: inherit; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.is-visible .ladder i::after, .ladder.is-visible i::after { width: var(--w); }
.ladder div:nth-child(2) i::after { transition-delay: .1s; }
.ladder div:nth-child(3) i::after { transition-delay: .2s; }
.ladder div:nth-child(4) i::after { transition-delay: .3s; }
.ladder div:nth-child(5) i::after { transition-delay: .4s; }
.ladder span { color: rgba(255,255,255,0.8); }
.ladder .ladder__band { margin-top: 10px; padding-top: 14px; border-top: 1px dashed rgba(143,178,255,0.3); }
.ladder .ladder__band b { border-style: dashed; border-color: rgba(143,178,255,0.5); }
.ladder .ladder__band i { background: repeating-linear-gradient(90deg, rgba(0,85,255,0.5) 0 8px, transparent 8px 14px); }
.ladder .ladder__band i::after { display: none; }

/* ---------- Benefits bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.tile { grid-column: span 2; padding: 0; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.tile > * + * { margin-top: 0; }
.tile:hover { border-color: rgba(0, 85, 255, 0.45); transform: translateY(-4px); }
.tile--wide { grid-column: span 4; flex-direction: row; }
.tile__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile--wide .tile__media { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
.tile__body { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.tile__body > * + * { margin-top: 12px; }
.tile__body .card__rule { margin-top: 18px; }
.tile__body .btn-row { margin-top: auto; padding-top: 24px; }
.values .chip { transition: border-color .2s, color .2s; }
.values .chip:hover { border-color: rgba(0,85,255,0.5); color: #fff; }
.values-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 40px; }
.values-row .values { margin-top: 0; }

/* ---------- Client voices: one featured voice, an index of roles beside it ---------- */
.voices__head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end; }
.voices__head > div > * + * { margin-top: 22px; }
.voices { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); }
.voices__stage { position: relative; padding: 56px 56px 44px; min-height: 460px; display: grid;
  background: radial-gradient(70% 60% at 0% 0%, rgba(0,85,255,0.16), transparent 65%); }
.voices__mark { position: absolute; top: 6px; left: 40px; font-size: 180px; line-height: 1; font-family: Georgia, "Times New Roman", serif; color: rgba(77,139,255,0.22); pointer-events: none; }
.voice { margin: 0; display: flex; flex-direction: column; grid-area: 1 / 1; position: relative; }
.voice[hidden] { display: none; }
.voice blockquote { margin: 40px 0 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.38; letter-spacing: -0.02em; font-weight: 400; color: #fff; text-wrap: pretty; }
.voice .voice__cap { margin-top: auto; padding-top: 36px; }
.voice__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.voice__meta dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.voice__meta dd { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.85); }
.voice__out { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.85); }
.voice__out span { padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb2ff; border: 1px solid rgba(120,165,255,0.45); background: rgba(0,85,255,0.12); }
.voice__link { display: inline-block; margin-top: 18px; font-size: 14px; color: #8fb2ff; }
.voice__link:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .voice:not([hidden]) blockquote { animation: voiceIn .6s cubic-bezier(.2,.7,.2,1) both; }
  .voice:not([hidden]) .voice__cap { animation: voiceIn .6s cubic-bezier(.2,.7,.2,1) .12s both; }
}
@keyframes voiceIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

.voices__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.voices__list li { flex: 1; display: flex; }
.voices__list li + li { border-top: 1px solid var(--line); }
.voice-tab { position: relative; flex: 1; text-align: left; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 16px 26px; transition: background .3s; }
.voice-tab::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: #0055fe; transform: scaleY(0); transition: transform .35s ease; }
.voice-tab b { display: block; font-size: 15px; font-weight: 500; line-height: 21px; color: rgba(255,255,255,0.6); transition: color .3s; }
.voice-tab span { display: block; margin-top: 3px; font-size: 13px; line-height: 18px; color: var(--subtle); }
.voice-tab:hover { background: rgba(255,255,255,0.025); }
.voice-tab:hover b { color: #fff; }
.voice-tab[aria-selected="true"] { background: rgba(0,85,255,0.08); }
.voice-tab[aria-selected="true"]::before { transform: none; box-shadow: 0 0 14px #0055fe; }
.voice-tab[aria-selected="true"] b { color: #fff; }
.voice-tab[aria-selected="true"] span { color: #8fb2ff; }
.voice-tab:focus-visible { outline-offset: -3px; }

.voices__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; font-size: 13px; color: var(--subtle); }
.voices__foot a { color: #8fb2ff; }
.voices__foot a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile { grid-column: span 1; }
  .tile--wide { grid-column: 1 / -1; }
  .pillar-strip { grid-template-columns: repeat(2, 1fr); }
  .pillar-strip > div:nth-child(4) { border-left: 0; }
  .pillar-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .home-hero { padding-top: 70px; }
  .about, .frameworks { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; }
  .home-hero__grid { padding-top: 360px; }
  .home-hero::after { background: radial-gradient(60% 30% at 50% 230px, rgba(0, 60, 220, 0.3), transparent 70%); }
  .about { gap: 50px; }
  .about__media { max-width: 520px; }
  .voices__head, .voices { grid-template-columns: 1fr; }
  .voices__list { border-left: 0; border-top: 1px solid var(--line); }
  .voice-tab::before { left: 0; }
  .voices__stage { min-height: 420px; padding: 44px 28px 32px; }
  .voices__mark { left: 20px; }
  .journey__body { grid-template-columns: 1fr; gap: 0; }
  .journey__stage { top: 72px; height: 44vh; z-index: 2; background: linear-gradient(180deg, #000 80%, transparent); }
  .journey__hud { top: 12px; }
  .journey__num { font-size: 44px; }
  .journey__rail { bottom: 10px; }
  .journey__step { min-height: 62vh; justify-content: flex-start; padding-top: 6vh; }
  .journey__step:last-child { min-height: 50vh; }
}
@media (max-width: 640px) {
  .home-hero .stats { margin-top: 60px; }
  .home-hero__grid { padding-top: 330px; }
  .pillar-strip { grid-template-columns: 1fr; }
  .voice__meta { grid-template-columns: 1fr; gap: 12px; }
  .pillar-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { flex-direction: column; }
  .tile--wide .tile__media { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .tile__body { padding-left: 22px; padding-right: 22px; }
  .ladder div { grid-template-columns: 26px 1fr; }
  .ladder i { grid-column: 1 / -1; }
  .loop span { font-size: 12px; }
  .loop span b { width: 36px; height: 36px; }
  .loop::before { top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .loop span b { animation: none !important; }
  .ladder i::after { transition: none; }
}

/* ---------- What we do: three service lines with live glyphs and linked solutions ---------- */
.wwd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #05080f, #020308); }
.wwd-line { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: 36px 32px 32px; overflow: hidden; transition: background .4s; }
.wwd-line + .wwd-line { border-left: 1px solid var(--line); }
.wwd-line::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(0,85,255,0.16), transparent 70%); }
.wwd-line:hover::before { opacity: 1; }
.wwd-line__top { display: flex; justify-content: space-between; align-items: flex-start; }
.wwd-line__num { font-size: 56px; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(143,178,255,0.5); transition: color .4s; }
.wwd-line:hover .wwd-line__num { color: rgba(0,85,255,0.35); }
.wwd-line__title { font-size: 26px; line-height: 1.15; font-weight: 400; letter-spacing: -0.035em; }
.wwd-line__title span { display: block; color: var(--heading-muted); }
.wwd-line__caps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.wwd-line__caps li { padding: 11px 0; border-top: 1px solid var(--line); color: rgba(255,255,255,0.8); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.wwd-line__caps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4d8bff; box-shadow: 0 0 8px #4d8bff; flex: none; }
.wwd-line__sols { margin-top: auto; padding-top: 10px; }
.wwd-line__sols p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.wwd-line__sols ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wwd-line__sols a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 13px; color: rgba(255,255,255,0.8); border: 1px solid var(--line); background: rgba(255,255,255,0.03); transition: border-color .25s, color .25s, background .25s; }
.wwd-line__sols a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--rc)); box-shadow: 0 0 8px rgb(var(--rc)); }
.wwd-line__sols a:hover { color: #fff; border-color: rgba(var(--rc),0.6); background: rgba(var(--rc),0.1); }
.wwd-line__link { color: #8fb2ff; font-weight: 500; display: inline-flex; gap: 6px; transition: gap .25s, color .25s; }
.wwd-line__link:hover { gap: 12px; color: #fff; }
.wwd-glyph { width: 92px; height: 92px; fill: none; stroke: rgba(143,178,255,0.75); stroke-width: 1.3; overflow: visible; }
.wwd-glyph--advise circle:not(.core) { stroke-dasharray: 3 5; }
.wwd-glyph--advise .needle path { fill: rgba(0,85,255,0.35); stroke: #8fb2ff; }
.wwd-glyph--advise .core { fill: #fff; stroke: none; }
.wwd-glyph--build path { fill: rgba(0,85,255,0.14); stroke: #8fb2ff; }
.wwd-glyph--build .l3 path { fill: rgba(0,85,255,0.45); }
.wwd-glyph--enable .b { fill: rgba(0,85,255,0.25); stroke: #8fb2ff; }
.wwd-glyph--enable .trend { stroke: #fff; stroke-width: 1.6; stroke-dasharray: 120; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .wwd-glyph--advise .needle { transform-origin: 60px 60px; animation: wwd-needle 6s ease-in-out infinite; }
  .wwd-glyph--advise circle:nth-child(1) { transform-origin: 60px 60px; animation: wwd-spin 30s linear infinite; }
  .wwd-glyph--build .l { animation: wwd-float 4s ease-in-out infinite; }
  .wwd-glyph--build .l2 { animation-delay: -.6s; } .wwd-glyph--build .l1 { animation-delay: -1.2s; }
  .wwd-glyph--enable .b { transform-box: fill-box; transform-origin: bottom; animation: wwd-grow 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .18s); }
  .wwd-glyph--enable .trend { animation: wwd-draw 3.6s ease-in-out infinite; }
}
@keyframes wwd-needle { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(32deg); } }
@keyframes wwd-spin { to { transform: rotate(360deg); } }
@keyframes wwd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wwd-grow { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
@keyframes wwd-draw { 0% { stroke-dashoffset: 120; } 45%, 100% { stroke-dashoffset: 0; } }
.wwd-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.wwd-entry { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,0.02); transition: border-color .3s, background .3s; }
.wwd-entry b { font-size: 40px; font-weight: 400; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(180deg, #fff, #4d8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wwd-entry strong { display: block; font-weight: 500; color: #fff; }
.wwd-entry span { color: var(--muted); font-size: 14px; line-height: 21px; }
.wwd-entry i { font-style: normal; color: #8fb2ff; transition: transform .3s; }
.wwd-entry:hover { border-color: rgba(0,85,255,0.5); background: rgba(0,85,255,0.07); }
.wwd-entry:hover i { transform: translateX(5px); }

.cases-foot { margin-top: 40px; text-align: center; color: var(--muted); }
.cases-foot strong { color: #fff; font-weight: 400; }

/* ---------- Our results: sector tabs with an auto-playing featured case ---------- */
.res { margin-top: 56px; }
.res-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.res-tab { position: relative; text-align: left; font: inherit; color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 18px; cursor: pointer; overflow: hidden; transition: color .3s, border-color .3s, background .3s; }
.res-tab small { display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--rc)); }
.res-tab span { display: block; margin-top: 4px; font-size: 15px; line-height: 21px; }
.res-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,0.06); }
.res-tab i::after { content: ""; position: absolute; inset: 0; background: rgb(var(--rc)); transform: scaleX(0); transform-origin: left; }
.res-tab[aria-selected="true"] { color: #fff; border-color: rgba(var(--rc),0.55); background: rgba(var(--rc),0.08); }
.res-tab[aria-selected="true"] i::after { transform: scaleX(1); }
.res.is-playing .res-tab[aria-selected="true"] i::after { transform: scaleX(0); animation: res-bar var(--t, 8s) linear forwards; }
@keyframes res-bar { to { transform: scaleX(1); } }
.res-tab:hover { color: #fff; }
.res-panels { position: relative; margin-top: 14px; }
.res-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: var(--radius); border: 1px solid rgba(var(--rc),0.28); overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, rgba(var(--rc),0.14), transparent 60%), #04060c; min-height: 520px; }
.res-panel[hidden] { display: none; }
.res-panel__media { position: relative; overflow: hidden; }
.res-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #04060c), linear-gradient(0deg, rgba(0,0,0,0.5), transparent 40%); }
.res-panel__count { position: absolute; z-index: 1; left: 22px; bottom: 18px; font-size: 44px; letter-spacing: -0.05em; color: #fff; }
.res-panel__count i { font-style: normal; font-size: 15px; color: rgba(255,255,255,0.6); margin-left: 6px; letter-spacing: 0; }
.res-panel__body { padding: 44px 46px; display: flex; flex-direction: column; gap: 14px; }
.res-panel__sector { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--rc)); }
.res-panel__title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 400; }
.res-panel__metrics { list-style: none; margin: 14px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.res-panel__metrics li { padding: 18px 18px 0 0; }
.res-panel__metrics li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.res-panel__metrics b { display: block; font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.res-panel__metrics li > span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 21px; }
.res-panel .btn { align-self: flex-start; margin-top: auto; }
@media (prefers-reduced-motion: no-preference) {
  .res-panel:not([hidden]) .res-panel__media img { animation: res-zoom 1.1s cubic-bezier(.2,.75,.15,1) both; }
  .res-panel:not([hidden]) .res-panel__body > * { animation: res-in .7s cubic-bezier(.2,.75,.15,1) both; }
  .res-panel:not([hidden]) .res-panel__body > :nth-child(2) { animation-delay: .06s; }
  .res-panel:not([hidden]) .res-panel__body > :nth-child(3) { animation-delay: .12s; }
  .res-panel:not([hidden]) .res-panel__body > :nth-child(n+4) { animation-delay: .18s; }
}
@keyframes res-zoom { from { transform: scale(1.12); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes res-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .wwd { grid-template-columns: 1fr; }
  .wwd-line + .wwd-line { border-left: 0; border-top: 1px solid var(--line); }
  .wwd-entries { grid-template-columns: 1fr; }
  .res-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; padding-bottom: 6px; }
  .res-panel { grid-template-columns: 1fr; }
  .res-panel__media { min-height: 280px; }
  .res-panel__media::after { background: linear-gradient(0deg, #04060c, transparent 60%); }
  .res-panel__body { padding: 28px 24px; }
}
@media (max-width: 640px) { .res-panel__metrics { grid-template-columns: 1fr; } .res-panel__metrics li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; } }
.wwd-line > .pill { align-self: flex-start; }
.res-tab { display: flex; flex-direction: column; justify-content: flex-start; }

/* Keep the hero copy clear of the particle mark (centred at 76% of the width) on laptop screens */
@media (min-width: 961px) { .home-hero__grid { grid-template-columns: minmax(0, min(880px, 56vw)); } }

/* Portrait tablets (e.g. iPad, iPad Pro upright): stack the hero like phones, with the mark centred above the copy.
   home.js measures the mark and sets --hero-logo-pad so the copy starts just below it. */
@media (min-width: 600px) and (max-width: 960px) {
  .home-hero__grid { padding-top: var(--hero-logo-pad, 420px); }
}
@media (min-width: 961px) and (max-width: 1366px) and (orientation: portrait) {
  .home-hero { min-height: 0; padding-top: 70px; }
  .home-hero__grid { grid-template-columns: minmax(0, 760px); padding-top: var(--hero-logo-pad, 480px); }
  .home-hero::after { background: radial-gradient(60% 30% at 50% 300px, rgba(0, 60, 220, 0.3), transparent 70%); }
}
@media (max-width: 640px) { .journey__step { min-height: 44vh; padding-top: 4vh; } .journey__step:last-child { min-height: 40vh; } }

/* Our Results on phones: pinned while you scroll; vertical scroll steps through the five cases (home.js). */
.res-track { position: relative; }
.res.is-pinned { position: sticky; top: 80px; margin-top: 28px; }
.res.is-pinned .res-tabs { scroll-behavior: smooth; }
.res.is-pinned .res-panel__media { min-height: 0; height: 120px; }
.res.is-pinned .res-panel__count { font-size: 30px; bottom: 10px; left: 16px; }
.res.is-pinned .res-panel__body { padding: 18px 18px 20px; gap: 8px; }
.res.is-pinned .res-panel__title { font-size: 26px; }
.res.is-pinned .res-panel__body > p.tagline { display: none; }
.res.is-pinned .res-panel__body > p.muted-text, .res.is-pinned .res-panel__body > p:not([class]) { font-size: 14px; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.res.is-pinned .res-panel__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 4px; }
.res.is-pinned .res-panel__metrics li { padding: 12px 8px 0 0; }
.res.is-pinned .res-panel__metrics li + li { padding-left: 10px; }
.res.is-pinned .res-panel__metrics b { font-size: 24px; }
.res.is-pinned .res-panel__metrics li > span { font-size: 11.5px; line-height: 15px; }
.res.is-pinned .res-panel .btn { margin-top: 6px; }
.res.is-pinned .res-tab[aria-selected="true"] i::after { transform: scaleX(var(--p, 0)); animation: none; }
.res-cue { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb2ff; }
.res-cue::before { content: ""; width: 14px; height: 20px; border-radius: 8px; border: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) 50% 4px / 2px 5px no-repeat; animation: resWheel 1.6s ease-in-out infinite; }
@keyframes resWheel { 50% { background-position: 50% 10px; } }
@media (prefers-reduced-motion: reduce) { .res-cue::before { animation: none; } }

/* Client voices on phones: a swipeable row of quote cards (all voices shown; role list hidden). */
@media (max-width: 640px) {
  .voices { display: block; border: 0; background: none; border-radius: 0; margin-top: 32px; }
  .voices__list, .voices__mark { display: none; }
  .voices__stage { display: flex; gap: 12px; min-height: 0; padding: 0 20px 4px; margin: 0 -20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: none; }
  .voices__stage::-webkit-scrollbar { display: none; }
  .voice, .voice[hidden] { display: flex; flex: 0 0 86%; scroll-snap-align: center; padding: 24px 20px 20px; border-radius: 18px; border: 1px solid var(--line);
    background: radial-gradient(90% 60% at 0% 0%, rgba(0,85,255,0.16), transparent 65%), #05070d; }
  .voice::before { content: "“"; font: 64px/0.6 Georgia, "Times New Roman", serif; color: rgba(77,139,255,0.35); height: 26px; }
  .voice blockquote { margin-top: 8px; font-size: 19px; line-height: 1.4; animation: none !important; }
  .voice .voice__cap { padding-top: 18px; animation: none !important; }
  .voice__meta { display: block; padding-top: 14px; }
  .voice__meta div { display: inline; }
  .voice__meta dt { display: none; }
  .voice__meta dd { display: inline; margin: 0; font-size: 13px; color: var(--muted); }
  .voice__meta div:first-child dd { display: block; font-size: 14px; color: #fff; font-weight: 500; margin-bottom: 2px; }
  .voice__meta div:nth-child(2) dd::after { content: " · "; }
  .voice__out { margin-top: 12px; font-size: 14px; }
  .voice__link { margin-top: 10px; }
}

/* Phones: two pinned scenes back to back. Each carries its own label so a fast flick never lands you somewhere unexplained. */
.journey__ctx { display: none; }
.res-kicker { display: none; }
@media (max-width: 960px) {
  .journey__ctx { display: flex; flex-direction: column; position: absolute; z-index: 3; right: 0; top: 14px; text-align: right; pointer-events: none; }
  .journey__ctx b { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
  .journey__ctx span { font-size: 11px; color: var(--subtle); margin-top: 2px; }
}
@media (max-width: 640px) {
  .res.is-pinned .res-kicker { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtle); }
  .res.is-pinned .res-kicker b { font-weight: 500; color: #fff; }
  .res.is-pinned .res-kicker span { font: 12px ui-monospace, "SF Mono", Menlo, monospace; color: #8fb2ff; letter-spacing: 0.06em; }
  .res-cue.is-next { color: #fff; }
  .res-cue.is-next::before { display: none; }
  .res-track { margin-bottom: 18vh; }  /* breathing room before the next pinned scene */
  #how-we-work { padding-top: 40px; }
}
@media (max-width: 640px) { .journey__ctx span { display: none; } .journey__ctx { top: 18px; } }
