/* =========================================================
   Bluwin Infotech: creative page components
   Full-bleed heroes, horizontal galleries, hover-reveal lists,
   sticky stories, expanding panels, compare slider, demos.
   ========================================================= */

/* ---------- Full-bleed image hero ---------- */
.page-hero--media { min-height: 100svh; align-items: flex-end; background: #0b0a22; }
.page-hero--media .page-hero__glow, .page-hero--media .page-hero__mark { display: none; }
.page-hero__media {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(9% 7% 9% 7% round 28px);
  transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1);
}
.page-hero--media.is-open .page-hero__media { clip-path: inset(0 0 0 0 round 0); }
.page-hero__media img {
  width: 100%; height: 115%; object-fit: cover; display: block;
  transform: translateY(var(--hy, 0px)) scale(var(--hs, 1.18));
  transition: transform 2.4s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.page-hero--media.is-open .page-hero__media img { --hs: 1.04; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,10,34,.55) 0%, rgba(11,10,34,.05) 30%, rgba(11,10,34,.25) 55%, rgba(11,10,34,.92) 100%),
    linear-gradient(90deg, rgba(11,10,34,.55), transparent 60%);
}
.page-hero--media .page-hero__inner { z-index: 3; }
.page-hero__tag { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--font-body); letter-spacing: .04em; color: #D2DCF0; }
.page-hero__tag::before { content: "#"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }
.page-hero__credit { position: absolute; right: var(--gutter); bottom: 22px; z-index: 3; font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.page-hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 1px; height: 54px; background: rgba(255,255,255,.25); overflow: hidden; }
.page-hero__scroll::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cue 2s var(--ease) infinite; }
@media (max-width: 760px) {
  .page-hero__media { clip-path: inset(4% 3% 4% 3% round 18px); }
  .page-hero--media { min-height: 92svh; }
  .page-hero__scroll { display: none; }
}

/* ---------- Image reveal (clip wipe) ---------- */
[data-img-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); }
[data-img-reveal] img { transform: scale(1.25); transition: transform 1.8s cubic-bezier(.22, 1, .36, 1); }
[data-img-reveal].is-in { clip-path: inset(0 0 0 0); }
[data-img-reveal].is-in img { transform: scale(1); }

/* ---------- Big statement over image ---------- */
.quote-band { position: relative; min-height: 90svh; display: grid; align-items: center; overflow: hidden; color: #fff; }
.quote-band__img { position: absolute; inset: -12% 0; }
.quote-band__img img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--qy, 0px)); }
.quote-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,34,.88), rgba(11,10,34,.35)); }
.quote-band .wrap { position: relative; z-index: 2; display: grid; gap: 22px; }
.quote-band blockquote { margin: 0; font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 24ch; }
.quote-band blockquote em { font-style: normal; color: #D2DCF0; }
.quote-band p { color: rgba(255,255,255,.75); max-width: 50ch; }

/* ---------- Hover-reveal list ---------- */
.hover-list { border-top: 1px solid var(--line-c); position: relative; }
.hover-list li { border-bottom: 1px solid var(--line-c); }
.hover-list__row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 24px; align-items: center;
  padding: 30px 6px; position: relative; transition: padding .5s var(--ease), color .3s;
}
.hover-list__no { font-size: 13px; font-weight: 600; color: var(--blue); }
.hover-list__title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.hover-list__text { color: var(--fg-muted); font-size: 15px; }
.hover-list__arrow { justify-self: end; font-size: 22px; opacity: .3; transform: rotate(-45deg); transition: transform .5s var(--ease), opacity .3s; }
.hover-list li:hover .hover-list__title { transform: translateX(14px); color: var(--blue); }
.hover-list li:hover .hover-list__arrow { opacity: 1; transform: none; }
.hover-list__thumb { display: none; }
.hover-float {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; width: 340px; aspect-ratio: 4 / 3;
  border-radius: 16px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(20,18,46,.6);
}
.hover-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.hover-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.hover-float img.is-active { opacity: 1; }
@media (max-width: 760px), (pointer: coarse) {
  .hover-list__row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .hover-list__no, .hover-list__arrow { display: none; }
  .hover-list__thumb { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
  .hover-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hover-float { display: none; }
}

/* ---------- Horizontal scroll gallery (pinned) ---------- */
.hscroll { position: relative; }
.hscroll__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hscroll__track { display: flex; gap: 22px; padding: 0 var(--gutter); will-change: transform; width: max-content; }
.hscroll__item { flex: 0 0 auto; width: min(62vw, 820px); display: grid; gap: 14px; }
.hscroll__item--tall { width: min(34vw, 440px); }
.hscroll__img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; background: #0c0a24; box-shadow: 0 40px 80px -40px rgba(20,18,46,.6); }
.hscroll__item--tall .hscroll__img { aspect-ratio: 3 / 4; }
.hscroll__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateX(var(--ix, 0px)); transition: transform 1.2s var(--ease); }
.hscroll__item:hover .hscroll__img img { transform: scale(1.12) translateX(var(--ix, 0px)); }
.hscroll__cap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.hscroll__cap b { font-size: var(--fs-h3); letter-spacing: -.01em; }
.hscroll__cap span { color: var(--fg-muted); font-size: 14px; }
.hscroll__progress { height: 2px; background: var(--line-c); border-radius: 2px; overflow: hidden; }
.hscroll__progress i { display: block; height: 100%; background: var(--blue); transform: scaleX(var(--hp, 0)); transform-origin: 0 50%; }
.hscroll__count { font-size: 13px; font-weight: 600; color: var(--fg-muted); }
@media (max-width: 760px) {
  .hscroll { height: auto !important; }
  .hscroll__pin { position: relative; height: auto; padding: 70px 0; }
  .hscroll__track { overflow-x: auto; width: auto; transform: none !important; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .hscroll__item, .hscroll__item--tall { width: 82vw; scroll-snap-align: start; }
}

/* ---------- Timeline cards inside hscroll ---------- */
.tl-card { width: min(40vw, 520px); background: var(--navy); color: #fff; border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.tl-card__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.tl-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-card__day { position: absolute; left: 18px; top: 18px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.tl-card__body { padding: 24px 26px 28px; display: grid; gap: 8px; align-content: start; }
.tl-card__body h3 { font-size: var(--fs-h3); }
.tl-card__body p { color: rgba(255,255,255,.72); font-size: 15px; }
.tl-card--accent { background: var(--blue); }
@media (max-width: 760px) { .tl-card { width: 82vw; } }

/* ---------- Sticky story ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__media { position: sticky; top: 12vh; height: 76vh; border-radius: 24px; overflow: hidden; background: #0c0a24; }
.story__media figure { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1); }
.story__media figure.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.story__media figure.is-past { clip-path: inset(0 0 0 0); z-index: 1; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2s var(--ease); }
.story__media figure.is-active img { transform: scale(1); }
.story__counter { position: absolute; left: 22px; bottom: 20px; z-index: 5; color: #fff; font-weight: 600; font-size: 14px; background: rgba(11,10,34,.55); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.story__steps { display: grid; gap: 0; }
.story__step { min-height: 70vh; display: grid; align-content: center; gap: 14px; opacity: .28; transition: opacity .6s var(--ease); }
.story__step.is-active { opacity: 1; }
.story__step .k { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .14em; text-transform: uppercase; }
.story__step h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.02em; }
.story__step p { color: var(--fg-muted); max-width: 46ch; }
.story__step ul { display: grid; gap: 6px; color: var(--fg-muted); font-size: 15px; }
.story__step ul li::before { content: "→ "; color: var(--blue); }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
  .story__media { position: sticky; top: 70px; height: 38vh; z-index: 2; }
  .story__step { min-height: 60vh; }
}

/* ---------- Expanding panels ---------- */
.panels { display: flex; gap: 10px; height: min(78vh, 680px); }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; color: #fff; cursor: pointer;
  transition: flex 1s cubic-bezier(.22, 1, .36, 1);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.panel.is-open { flex: 4.2; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.7) brightness(.75); }
.panel.is-open img { transform: scale(1); filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11,10,34,.9)); }
.panel__no { position: absolute; left: 22px; top: 20px; z-index: 2; font-weight: 600; font-size: 14px; }
.panel__label { position: absolute; left: 50%; bottom: 28px; z-index: 2; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-weight: 600; font-size: 18px; white-space: nowrap; transition: opacity .3s; }
.panel.is-open .panel__label { opacity: 0; }
.panel__body { position: relative; z-index: 2; padding: 28px; display: grid; gap: 10px; opacity: 0; transform: translateY(20px); transition: opacity .5s .25s, transform .7s .25s var(--ease); max-width: 520px; }
.panel.is-open .panel__body { opacity: 1; transform: none; }
.panel__body h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.panel__body p { color: rgba(255,255,255,.8); font-size: 15px; }
.panel__body .link-arrow { color: #fff; width: max-content; }
@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-open { flex: none; min-height: 300px; }
  .panel img { filter: none; transform: none; }
  .panel__label { display: none; }
  .panel__body { opacity: 1; transform: none; }
}

/* ---------- Image marquee (tilted rows) ---------- */
.img-marquee { overflow: hidden; padding: 30px 0; display: grid; gap: 16px; }
.img-marquee__row { display: flex; gap: 16px; width: max-content; animation: mq 60s linear infinite; }
.img-marquee__row--rev { animation-direction: reverse; animation-duration: 70s; }
.img-marquee__row img { height: clamp(160px, 22vw, 280px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.img-marquee--tilt { transform: rotate(-4deg) scale(1.08); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Phone reels strip ---------- */
.reels { display: flex; gap: 18px; justify-content: center; flex-wrap: nowrap; padding: 20px 0; }
.reel-phone { position: relative; width: clamp(150px, 15vw, 220px); aspect-ratio: 9 / 18; border-radius: 30px; background: #111; padding: 8px; box-shadow: 0 40px 80px -30px rgba(20,18,46,.6); transform: translateY(var(--ry, 0px)) rotate(var(--rr, 0deg)); }
.reel-phone__screen { position: absolute; inset: 8px; border-radius: 24px; overflow: hidden; }
.reel-phone__screen img { width: 100%; height: 100%; object-fit: cover; animation: kb 12s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.18) translate(-4%, -3%); } }
.reel-phone__ui { position: absolute; inset: 8px; border-radius: 24px; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 60%, rgba(0,0,0,.75)); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #fff; font-size: 12px; gap: 4px; }
.reel-phone__ui b { font-size: 13px; }
.reel-phone__play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,.25); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; font-size: 16px; }
@media (max-width: 760px) { .reels { overflow-x: auto; justify-content: flex-start; padding: 20px var(--gutter); } .reel-phone { flex: 0 0 44vw; width: 44vw; } }

/* ---------- Compare slider (drawing to render) ---------- */
.compare { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; --pos: 50%; user-select: none; touch-action: pan-y; background: #0c0a24; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { filter: grayscale(1) contrast(1.4) brightness(1.15); mix-blend-mode: normal; }
.compare__before::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(rgba(53, 88, 166,.55), rgba(40, 38, 99,.75)),
  repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 32px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 32px); mix-blend-mode: multiply; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); }
.compare__knob { position: absolute; top: 50%; left: var(--pos); width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.35); cursor: ew-resize; }
.compare__tag { position: absolute; top: 18px; z-index: 2; background: rgba(11,10,34,.6); color: #fff; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.compare__tag--l { left: 18px; } .compare__tag--r { right: 18px; }
.compare input { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; width: 100%; height: 100%; margin: 0; }

/* ---------- Parallax mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; height: min(120vh, 1100px); overflow: hidden; }
.mosaic__col { display: grid; gap: 16px; align-content: start; transform: translateY(var(--my, 0px)); will-change: transform; }
.mosaic__col img { width: 100%; border-radius: 18px; object-fit: cover; }
.mosaic__col img:nth-child(odd) { aspect-ratio: 4 / 5; }
.mosaic__col img:nth-child(even) { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; height: 100vh; } .mosaic__col:nth-child(3) { display: none; } }

/* ---------- Device showcase ---------- */
.devices { position: relative; height: min(80vh, 640px); }
.laptop { position: absolute; left: 4%; top: 6%; width: 74%; transform: translateY(var(--dy1, 0px)); }
.laptop__screen { background: #111; border-radius: 16px 16px 0 0; padding: 12px; aspect-ratio: 16 / 10; }
.laptop__screen div { width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: #fff; }
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__base { height: 18px; background: linear-gradient(#cfd3dd, #9aa0ad); border-radius: 0 0 14px 14px; margin: 0 -5%; }
.phone { position: absolute; right: 4%; bottom: 0; width: 22%; aspect-ratio: 9 / 19; background: #111; border-radius: 34px; padding: 9px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: translateY(var(--dy2, 0px)); }
.phone > div { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 760px) { .devices { height: 62vw; } .phone { width: 30%; } }

/* ---------- WhatsApp chat demo ---------- */
.chat { max-width: 420px; margin: 0 auto; background: #0b1410; border-radius: 34px; padding: 10px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.6); }
.chat__screen { background: #e9e2d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23d6cdbf'/%3E%3C/svg%3E"); border-radius: 26px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.chat__top { background: #075e54; color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.chat__av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); font-weight: 700; }
.chat__top b { display: block; font-size: 15px; } .chat__top span { font-size: 12px; opacity: .8; }
.chat__body { padding: 16px 14px; display: grid; gap: 10px; align-content: start; flex: 1; }
.msg { max-width: 82%; padding: 10px 12px 18px; border-radius: 12px; font-size: 14px; line-height: 1.45; position: relative; color: #111; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s, transform .5s var(--ease); }
.msg.is-in { opacity: 1; transform: none; }
.msg small { position: absolute; right: 10px; bottom: 4px; font-size: 10px; color: #667; }
.msg--in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.msg--out { background: #d9fdd3; justify-self: end; border-top-right-radius: 2px; }
.msg__card { margin-top: 8px; border-radius: 8px; overflow: hidden; background: #f3f3f3; font-size: 12px; }
.msg__card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.msg__card span { display: block; padding: 6px 8px; font-weight: 600; }
.typing { justify-self: start; background: #fff; border-radius: 12px; padding: 10px 14px; display: none; gap: 4px; }
.typing.is-on { display: flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 50% { transform: translateY(-4px); opacity: .5; } }

/* ---------- Funnel bars ---------- */
.funnel { display: grid; gap: 12px; }
.funnel__row { display: grid; grid-template-columns: 180px 1fr 110px; gap: 16px; align-items: center; }
.funnel__label { font-weight: 600; }
.funnel__label small { display: block; font-weight: 400; color: var(--fg-muted); font-size: 13px; }
.funnel__bar { height: 54px; border-radius: 12px; background: var(--tile); overflow: hidden; position: relative; }
.funnel__bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--navy), var(--blue)); border-radius: 12px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.22, 1, .36, 1); }
.funnel.is-in .funnel__bar i { transform: scaleX(1); }
.funnel__row:nth-child(2) i { transition-delay: .15s; } .funnel__row:nth-child(3) i { transition-delay: .3s; } .funnel__row:nth-child(4) i { transition-delay: .45s; } .funnel__row:nth-child(5) i { transition-delay: .6s; }
.funnel__val { font-size: clamp(20px, 2vw, 28px); font-weight: 600; color: var(--navy); text-align: right; }
.funnel__note { color: var(--fg-muted); font-size: 13px; margin-top: 12px; }
@media (max-width: 760px) { .funnel__row { grid-template-columns: 1fr 80px; } .funnel__bar { grid-column: 1 / -1; grid-row: 2; height: 34px; } }

/* ---------- Metrics board (performance) ---------- */
.board { background: #0f0d2b; color: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; box-shadow: 0 50px 100px -50px rgba(0,0,0,.7); }
.board__tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 18px; display: grid; gap: 6px; }
.board__tile > span { font-size: 13px; color: rgba(255,255,255,.6); }
.board__tile strong { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; }
.board__tile em { font-style: normal; font-size: 13px; color: #7ee2a8; }
.board__chart { grid-column: 1 / 4; grid-row: span 2; background: rgba(255,255,255,.04); border-radius: 16px; padding: 18px; display: grid; gap: 8px; }
.board__chart svg { width: 100%; height: 100%; min-height: 220px; }
.board__chart path.line { fill: none; stroke: #5078BD; stroke-width: 3; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s cubic-bezier(.22, 1, .36, 1); }
.board__chart path.line--2 { stroke: #7ee2a8; transition-delay: .3s; }
.board__chart path.area { fill: url(#bgrad); opacity: 0; transition: opacity 1.2s .8s; }
.board.is-in .board__chart path.line { stroke-dashoffset: 0; }
.board.is-in .board__chart path.area { opacity: 1; }
.board__legend { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,.7); }
.board__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.board__channels { display: grid; gap: 10px; }
.board__ch { display: grid; grid-template-columns: 1fr auto; font-size: 14px; gap: 6px; }
.board__ch i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.board__ch i b { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #3558A6, #5078BD); transform: scaleX(0); transform-origin: 0; transition: transform 1.4s .4s var(--ease); }
.board.is-in .board__ch i b { transform: scaleX(1); }
.board__note { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .board { grid-template-columns: 1fr 1fr; } .board__chart { grid-column: 1 / -1; } }

/* ---------- Orbit (channels) ---------- */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-c); animation: spin 40s linear infinite; }
.orbit__ring--2 { inset: 18%; animation-duration: 28s; animation-direction: reverse; }
.orbit__core { position: absolute; inset: 36%; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 15px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(40, 38, 99,.6); }
.orbit__chip { position: absolute; transform: translate(-50%, -50%); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px -14px rgba(20,18,46,.4); white-space: nowrap; animation: counter 40s linear infinite; }
.orbit__ring--2 .orbit__chip { animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* ---------- Next service ---------- */
.next { position: relative; display: block; overflow: hidden; color: #fff; min-height: 70svh; }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,34,.4), rgba(11,10,34,.85)); transition: background .6s; }
.next:hover img { transform: scale(1); }
.next .wrap { position: relative; z-index: 2; min-height: 70svh; display: grid; align-content: end; gap: 12px; padding-bottom: clamp(40px, 8vh, 90px); }
.next__k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #D2DCF0; }
.next__t { font-size: clamp(30px, 4.4vw, 60px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; display: flex; align-items: center; gap: 18px; }
.next__t span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 26px; transition: transform .5s var(--ease); }
.next:hover .next__t span { transform: rotate(-45deg); }
.next__p { color: rgba(255,255,255,.75); max-width: 50ch; }

/* ---------- Two-col intro with big stat ---------- */
.intro2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro2__media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.intro2__media img { width: 100%; height: 100%; object-fit: cover; }
.intro2__badge { position: absolute; right: 18px; bottom: 18px; background: #fff; color: var(--navy); border-radius: 18px; padding: 16px 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); display: grid; gap: 2px; }
.intro2__badge strong { font-size: 28px; letter-spacing: -.02em; }
.intro2__badge span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .intro2 { grid-template-columns: 1fr; } .intro2__media { aspect-ratio: 4 / 3; } }

/* ---------- Chips cloud ---------- */
.chips-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-cloud span { padding: 10px 16px; border-radius: 999px; background: var(--tile); font-weight: 500; font-size: 14px; transition: background .3s, color .3s, transform .3s; }
.chips-cloud span:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* ---------- Stats band over image ---------- */
.stat-band { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 14vh, 160px) 0; }
.stat-band > img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--qy, 0px)); }
.stat-band::after { content: ""; position: absolute; inset: 0; background: rgba(11,10,34,.78); }
.stat-band .wrap { position: relative; z-index: 2; }
.stat-band .stats { border-top-color: rgba(255,255,255,.2); }
.stat-band .stats strong { color: #fff; }
.stat-band .stats span:not([data-count]) { color: rgba(255,255,255,.7); }

/* light sections inside dark body: keep text dark */
.section--light-fixed { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .page-hero__media, [data-img-reveal] { clip-path: none !important; }
  .img-marquee__row, .orbit__ring, .orbit__chip, .reel-phone__screen img { animation: none !important; }
}

/* ---------- City cards (about) ---------- */
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.city { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; color: #fff; }
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
.city:hover img { transform: scale(1.06); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,10,34,.85)); }
.city__body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: grid; gap: 4px; }
.city__body span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #D2DCF0; }
.city__body h3 { margin: 0; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.city__body p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; }
@media (max-width: 760px) { .cities { grid-template-columns: 1fr; } }

/* ---------- Six-service panels ---------- */
.panels--six .panel__body h3 { font-size: clamp(22px, 2.2vw, 30px); }
@media (min-width: 761px) and (max-width: 1100px) { .panels--six { height: 70vh; } }

/* ---------- Work: big numbers + category feature ---------- */
.work-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-intro li { border-top: 1px solid var(--line-c); padding-top: 18px; }
.work-intro strong { display: block; font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.work-intro span { color: var(--muted); }
@media (max-width: 760px) { .work-intro { grid-template-columns: 1fr; } }

/* ---------- Contact: office cards with photos ---------- */
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reach a { position: relative; display: grid; gap: 6px; padding: 26px; border-radius: 22px; background: var(--tile); transition: background .4s, color .4s, transform .4s; }
.reach a:hover { background: var(--navy); color: #fff; transform: translateY(-4px); }
.reach a span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.reach a b { font-size: clamp(18px, 1.6vw, 22px); }
@media (max-width: 760px) { .reach { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .orbit { width: 74%; margin-top: 40px; } .orbit__chip { font-size: 12px; padding: 8px 12px; } }

/* ---------- Client logos: 18-tile grid + wordmark fallback ---------- */
.clients__grid--wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.clients__grid--wide .tile { min-width: 0; overflow: hidden; }
.tile__word { font: 600 clamp(14px, 1.25vw, 18px)/1.15 var(--font-body); letter-spacing: -.01em; color: var(--navy); opacity: .62; text-align: center; padding: 0 10px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tile:hover .tile__word { opacity: 1; transform: scale(1.06); }
.clients__grid:hover .tile:not(:hover) .tile__word { opacity: .35; }
.clients__grid--wide .tile img { max-width: 70%; max-height: clamp(44px, 4vw, 58px); }
@media (max-width: 1100px) { .clients__grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .clients__grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile__word { font-size: 12px; } }
@media (max-width: 420px) { .clients__grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ---------- Every-industry cards (services page) ---------- */
.every-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.every-card { display: grid; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.every-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20,18,46,.35); }
.every-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.every-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.every-card:hover .every-card__img img { transform: scale(1.06); }
.every-card__body { display: grid; gap: 8px; padding: 18px 20px 22px; color: var(--ink); }
.every-card__body b { font-size: 19px; color: var(--navy); }
.every-card__body > span:not(.link-arrow) { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 1000px) { .every-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .every-grid { grid-template-columns: 1fr; } }
.svc-sep { list-style: none; padding: 26px 0 8px; font: 600 12px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.hero__copy h1[data-swap] { min-height: 3.4em; }
@media (min-width: 761px) { .hero__copy h1[data-swap] ~ .hero__sub { min-height: 6.4em; } }
