/* =========================================================
   Build Smart Pakistan — premium site
   ========================================================= */
:root {
  --bg: #060A1C;
  --bg-2: #0A1029;
  --bg-3: #111A3D;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #EEF0F8;
  --muted: #8A92B4;
  --dim: #555E85;
  --brand: #2B3FD6;
  --brand-2: #5B6CFF;
  --accent: #FF4B36;
  --accent-2: #FF8A5C;
  --ivory: #F4F1EA;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

/* subtle film grain */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,75,54,.18); animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 8px rgba(255,75,54,0); } }

.section-title {
  margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1;
  font-size: clamp(40px, 6.2vw, 92px);
}
.section-title em { color: var(--accent-2); }
.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section-lede { max-width: 380px; color: var(--muted); margin: 0; }

/* split-text helpers */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; overflow: hidden;
  padding: 16px 26px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-45deg); }
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid::before { background: var(--ivory); }
.btn--solid:hover { color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); }
.btn--pill { padding: 11px 20px; font-size: 14px; background: var(--text); color: var(--bg); }
.btn--pill::before { background: var(--accent); }
.btn--pill:hover { color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-items: center;
}
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__hex { width: 46px; overflow: visible; }
.loader__hex-line {
  fill: transparent; stroke: var(--brand-2); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 300; stroke-dashoffset: 300; animation: hexDraw 1.6s var(--ease) forwards;
}
.loader__hex-line.l3 { stroke: var(--accent); }
@keyframes hexDraw { 70% { fill: transparent; } to { stroke-dashoffset: 0; fill: rgba(91,108,255,.18); } }
.loader__count { font-size: clamp(56px, 9vw, 110px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__count sup { font-size: .32em; color: var(--muted); margin-left: 4px; }
.loader__label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor__label { font-size: 12px; font-weight: 600; color: #000; opacity: 0; transition: opacity .3s; letter-spacing: .02em; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(255,255,255,.12); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 100;
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(10, 16, 41, .78); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform .6s var(--ease), background .4s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 17px; height: 34px; --mark-a: #5566F5; --mark-b: #C9CFE3; transition: transform .8s var(--ease); transform-origin: bottom; }
.nav__brand:hover .nav__mark { transform: scaleY(1.12); }
.nav__word { display: flex; flex-direction: column; line-height: 1.05; }
.nav__word b { font-size: 17px; letter-spacing: .02em; }
.nav__word small { font-size: 10px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; font-size: 14px; color: var(--muted); border-radius: 999px;
  transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--surface-2); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
body.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease);
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-size: clamp(40px, 11vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; display: flex; align-items: baseline; gap: 16px; }
.menu nav a em { font-size: 14px; color: var(--accent); font-family: var(--sans); font-style: normal; }
.menu__foot { margin-top: auto; display: grid; gap: 6px; color: var(--muted); }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,63,214,.38), rgba(43,63,214,0) 62%);
  filter: blur(20px); animation: drift 14s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; width: 700px; height: 700px; left: -300px; bottom: -380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,75,54,.22), rgba(255,75,54,0) 60%); filter: blur(30px);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 70%, var(--bg)); }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; }
.hero__title { margin: 0 0 28px; font-size: clamp(52px, 8.6vw, 136px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite; padding-right: .06em;
}
@keyframes shine { to { background-position: 200% center; } }
.hero__lede { max-width: 520px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); margin: 0 0 30px; }

.hero__ticker {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; margin-bottom: 36px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px;
}
.hero__ticker-label { padding: 5px 12px; border-radius: 999px; background: rgba(255,75,54,.14); color: var(--accent-2); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.hero__ticker-word { display: inline-block; min-width: 200px; font-weight: 500; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__emblem { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; }
.emblem__ring { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.emblem__ring text { font-size: 15.5px; letter-spacing: .32em; fill: var(--muted); font-weight: 500; }
.emblem__orbit { position: absolute; inset: 0; animation: spin 12s linear infinite reverse; }
.emblem__orbit circle { fill: none; stroke: var(--line-2); stroke-dasharray: 2 8; }
.emblem__orbit .emblem__sat { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 10px var(--accent)); }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem__core { position: absolute; inset: 25%; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.emblem__mark { grid-area: 1 / 1; width: 100%; height: 100%; --mark-a: url(#gNavy); --mark-b: url(#gGrey); filter: drop-shadow(0 30px 60px rgba(43,63,214,.55)); }
.emblem__mark--back { --mark-a: var(--accent); --mark-b: var(--brand-2); opacity: .5; transform: translate(14px, 14px); filter: blur(20px); }
@keyframes float { 50% { transform: translateY(-16px) rotate(-2deg); } }

.hero__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: clamp(40px, 7vh, 90px); }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero__meta span::before { content: "◆"; margin-right: 10px; color: var(--accent); font-size: 8px; vertical-align: middle; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__emblem { position: absolute; right: -30%; top: -12%; width: 90vw; max-width: 520px; opacity: .35; z-index: -1; }
  .hero__ticker-word { min-width: 0; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { padding: clamp(28px, 4vw, 52px) 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee__row { display: flex; width: max-content; }
.marquee__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-size: clamp(36px, 6vw, 88px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.2px rgba(238,240,248,.55); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.marquee i { font-style: normal; color: var(--accent); font-size: clamp(20px, 2.4vw, 34px); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- About ---------- */
.about { padding: clamp(100px, 14vw, 200px) var(--gutter); }
.about__head { display: flex; justify-content: space-between; align-items: flex-start; }
.about__stamp img { width: clamp(90px, 10vw, 140px); height: auto; filter: invert(1) brightness(1.4) hue-rotate(180deg) saturate(.4); opacity: .35; animation: spin 30s linear infinite; }
.about__statement { margin: 0; font-size: clamp(28px, 3.9vw, 60px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; max-width: 1180px; }
.about__statement .w { opacity: .14; transition: opacity .2s; }
.about__grid { margin-top: clamp(70px, 9vw, 130px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 10px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(48px, 5.6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; }
.stat__num small { font-size: .45em; color: var(--accent); margin-left: 2px; }
.stat p { margin: 0; color: var(--muted); font-size: 15px; max-width: 220px; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Services / Bento ---------- */
.services { padding: clamp(60px, 8vw, 120px) 0 clamp(100px, 12vw, 180px); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 420px;
  transition: border-color .5s, transform .6s var(--ease);
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91,108,255,.16), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .5s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255,138,92,.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card--a { grid-column: span 7; } .card--b { grid-column: span 5; }
.card--c, .card--d, .card--e { grid-column: span 4; }
.card--h { grid-column: span 5; } .card--f { grid-column: span 7; }
.card--g { grid-column: span 7; }
.card--cta { grid-column: span 5; }

.bento > * { min-width: 0; }
.card__art { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 28px 28px 0; min-height: 210px; }
@media (max-width: 640px) { .term { font-size: 11.5px; } .card__art { padding: 22px 18px 0; } }
.card__body { padding: 24px 28px 28px; position: relative; }
.card__no { font-size: 12px; color: var(--accent); letter-spacing: .14em; font-weight: 600; }
.card h3 { margin: 6px 0 8px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; font-weight: 600; line-height: 1.15; }
.card p { margin: 0; color: var(--muted); font-size: 15px; max-width: 460px; }

@media (max-width: 1000px) {
  .card--a, .card--b, .card--f, .card--g, .card--cta { grid-column: span 12; }
  .card--c, .card--d, .card--e, .card--h { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento > .card { grid-column: span 12; min-height: 360px; }
}

/* Art – shared */
.art { width: 100%; max-height: 210px; overflow: visible; }
.art * { vector-effect: non-scaling-stroke; }
.art .art-line { stroke: var(--line-2); stroke-width: 1.5; }

/* Procurement: conveyor */
.art--proc .belt circle { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 4; animation: spin 2s linear infinite; transform-box: fill-box; transform-origin: center; }
.art--proc .box rect { fill: rgba(91,108,255,.12); stroke: var(--brand-2); stroke-width: 1.5; }
.art--proc .box line { stroke: var(--brand-2); stroke-width: 1.5; }
.art--proc .box { animation: convey 6s linear infinite; }
.art--proc .box--2 { animation-delay: -2s; } .art--proc .box--3 { animation-delay: -4s; }
@keyframes convey { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(440px); opacity: 0; } }
.art--proc .scan rect { fill: rgba(255,75,54,.25); }
.art--proc .scan circle { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); animation: blink 2s steps(2) infinite; }
.art--proc .tick circle { fill: none; stroke: var(--accent-2); stroke-width: 1.5; }
.art--proc .tick path { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; animation: tick 2s var(--ease) infinite; }
@keyframes tick { 0%, 20% { stroke-dashoffset: 30; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: .3; } }

/* IT: terminal */
.term { width: 100%; max-width: 440px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(3,6,18,.75); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term__bar i:first-child { background: var(--accent); }
.term__bar span { margin-left: 10px; color: var(--dim); font-size: 12px; }
.term__body { padding: 14px 16px 18px; }
.t { margin: 0 0 6px; white-space: nowrap; overflow: hidden; width: 0; color: #C9CEE6; }
.t b { color: var(--accent-2); font-weight: 400; } .t s { color: #6CE3A6; text-decoration: none; }
.t1 { animation: type1 8s steps(32) infinite; } .t2 { animation: type2 8s steps(28) infinite; }
.t3 { animation: type3 8s steps(26) infinite; } .t4 { animation: type4 8s steps(28) infinite; }
@keyframes type1 { 0% { width: 0 } 15%, 100% { width: 100% } }
@keyframes type2 { 0%, 22% { width: 0 } 32%, 100% { width: 100% } }
@keyframes type3 { 0%, 38% { width: 0 } 48%, 100% { width: 100% } }
@keyframes type4 { 0%, 55% { width: 0 } 72%, 100% { width: 100% } }
.caret { display: inline-block; width: 8px; height: 14px; background: var(--accent); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.card--accent { background: radial-gradient(120% 90% at 100% 0%, rgba(43,63,214,.35), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); }

/* Furniture: line drawing */
.art--furn .draw, .art--furn .draw path { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art--furn .draw path, .art--furn path.draw { stroke-dasharray: 420; animation: drawLoop 7s var(--ease) infinite; }
.art--furn .lamp { stroke: var(--accent-2); }
.art--furn .lamp-glow { fill: rgba(255,138,92,.28); filter: blur(10px); animation: glow 7s ease-in-out infinite; }
@keyframes drawLoop { 0% { stroke-dashoffset: 420; } 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }
@keyframes glow { 0%, 35% { opacity: 0; } 50%, 80% { opacity: 1; } 100% { opacity: 0; } }

/* Cleaning */
.art--clean .bottle path, .art--clean .bottle line { fill: rgba(91,108,255,.10); stroke: var(--brand-2); stroke-width: 1.6; stroke-linejoin: round; }
.art--clean .bottle line { stroke: var(--line-2); }
.art--clean .bottle { transform-origin: 140px 190px; animation: squeeze 3s var(--ease) infinite; }
@keyframes squeeze { 0%, 60%, 100% { transform: rotate(0); } 12% { transform: rotate(-4deg); } 22% { transform: rotate(0); } }
.art--clean .spray circle { fill: var(--accent-2); animation: spray 3s ease-out infinite; transform-box: fill-box; }
.art--clean .spray circle:nth-child(2) { animation-delay: .08s; } .art--clean .spray circle:nth-child(3) { animation-delay: .14s; } .art--clean .spray circle:nth-child(4) { animation-delay: .2s; }
@keyframes spray { 0%, 10% { opacity: 0; transform: translate(-20px, 4px) scale(.4); } 18% { opacity: 1; } 45%, 100% { opacity: 0; transform: translate(40px, -6px) scale(1.2); } }
.art--clean .bubbles circle { fill: none; stroke: rgba(238,240,248,.45); stroke-width: 1.2; animation: rise 5s ease-in infinite; transform-box: fill-box; }
.art--clean .bubbles circle:nth-child(2) { animation-delay: -1.3s; } .art--clean .bubbles circle:nth-child(3) { animation-delay: -2.6s; } .art--clean .bubbles circle:nth-child(4) { animation-delay: -3.8s; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-170px) scale(1.1); opacity: 0; } }
.art--clean .sparkle { fill: var(--ivory); transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }

/* Safety */
.art--safe .helmet path { fill: rgba(255,75,54,.14); stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.art--safe .helmet .ribs { fill: none; stroke-opacity: .6; }
.art--safe .helmet { animation: float 4s ease-in-out infinite; transform-origin: center; }
.art--safe .pulse { fill: none; stroke: var(--accent); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
.art--safe .p2 { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }

/* Construction: crane */
.art--build .crane path, .art--build .crane rect { fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.art--build .crane rect { fill: rgba(238,240,248,.08); }
.art--build .cable { stroke: var(--muted); stroke-width: 1.2; transform-origin: 0 30px; animation: cable 6s var(--ease) infinite; }
.art--build .load rect { fill: rgba(255,75,54,.25); stroke: var(--accent); stroke-width: 1.5; }
.art--build .load { animation: load 6s var(--ease) infinite; }
.art--build .trolley { animation: trolley 6s var(--ease) infinite; }
.art--build .stack rect { fill: rgba(91,108,255,.12); stroke: var(--brand-2); stroke-width: 1.5; }
@keyframes trolley { 0%, 8% { transform: translateX(150px); } 40%, 70% { transform: translateX(283px); } 100% { transform: translateX(150px); } }
@keyframes cable { 0%, 40% { transform: scaleY(1); } 55%, 62% { transform: scaleY(1.32); } 75%, 100% { transform: scaleY(1); } }
@keyframes load { 0%, 40% { transform: translateY(0); opacity: 1; } 55%, 62% { transform: translateY(26px); opacity: 1; } 64% { opacity: 0; } 92% { opacity: 0; transform: translateY(0); } 100% { opacity: 1; } }

/* Consultancy: gantt */
.gantt { position: relative; width: 100%; max-width: 560px; display: grid; gap: 14px; padding: 8px 0; }
.gantt__row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.gantt__row i { position: relative; height: 22px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.gantt__row i::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w); border-radius: 7px;
  background: linear-gradient(90deg, rgba(91,108,255,.45), var(--brand-2)); transform-origin: left; animation: bar 6s var(--ease) infinite;
}
.gantt__row i.hot::after { background: linear-gradient(90deg, rgba(255,75,54,.5), var(--accent)); }
.gantt__row:nth-child(2) i::after { animation-delay: .25s; } .gantt__row:nth-child(3) i::after { animation-delay: .5s; } .gantt__row:nth-child(4) i::after { animation-delay: .75s; }
@keyframes bar { 0% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); opacity: 0; } }
.gantt__now { position: absolute; top: 0; bottom: 0; left: 84px; width: 1.5px; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: now 6s linear infinite; }
@keyframes now { 0% { left: 84px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 2px); opacity: 0; } }

/* Fire safety */
.card--fire { background: radial-gradient(90% 70% at 85% 100%, rgba(255,75,54,.18), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.art--fire .ext rect, .art--fire .ext path { fill: rgba(255,75,54,.16); stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.art--fire .ext .ext__label { fill: rgba(244,241,234,.12); stroke: rgba(244,241,234,.5); }
.art--fire .ext .ext__hose { fill: none; stroke: var(--text); }
.art--fire .ext .ext__nozzle { fill: var(--text); stroke: none; }
.art--fire .ext__lever { transform-box: fill-box; transform-origin: left center; animation: lever 5s var(--ease) infinite; }
@keyframes lever { 0%, 18% { transform: rotate(0); } 24%, 66% { transform: rotate(10deg); } 72%, 100% { transform: rotate(0); } }
.art--fire .mist circle { fill: rgba(238,240,248,.75); transform-box: fill-box; animation: mist 5s ease-out infinite; opacity: 0; }
.art--fire .mist circle:nth-child(2) { animation-delay: .12s; } .art--fire .mist circle:nth-child(3) { animation-delay: .24s; }
.art--fire .mist circle:nth-child(4) { animation-delay: .36s; } .art--fire .mist circle:nth-child(5) { animation-delay: .48s; }
@keyframes mist {
  0%, 22% { opacity: 0; transform: translate(0, 0) scale(.4); }
  26% { opacity: .9; }
  34% { opacity: 0; transform: translate(58px, 60px) scale(2.6); }
  35%, 100% { opacity: 0; transform: translate(0, 0) scale(.4); }
}
.art--fire .mist { animation: mistGroup 5s steps(1) infinite; }
@keyframes mistGroup { 0%, 21% { opacity: 0; } 22%, 66% { opacity: 1; } 67%, 100% { opacity: 0; } }
.art--fire .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flameLife 5s var(--ease) infinite; }
.art--fire .flame__outer { fill: #FF5A36; filter: drop-shadow(0 0 14px rgba(255,90,54,.8)); transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .5s ease-in-out infinite alternate; }
.art--fire .flame__inner { fill: #FFC46B; transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .35s ease-in-out infinite alternate-reverse; }
@keyframes flicker { from { transform: scale(1, 1) skewX(0); } to { transform: scale(.94, 1.06) skewX(3deg); } }
@keyframes flameLife { 0%, 24% { transform: scale(1); opacity: 1; } 60% { transform: scale(0); opacity: 0; } 82% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.art--fire .alarm rect { fill: rgba(238,240,248,.08); stroke: var(--line-2); stroke-width: 1.4; }
.art--fire .alarm__bulb { fill: var(--accent); animation: strobe .8s steps(2) infinite; }
.art--fire .alarm__glow { fill: rgba(255,75,54,.35); filter: blur(10px); animation: strobe .8s steps(2) infinite; }
@keyframes strobe { 50% { opacity: .15; } }

/* CTA card */
.card--cta { background: linear-gradient(130deg, var(--accent) 0%, #E2361F 55%, #B9220E 100%); border-color: transparent; padding: clamp(32px, 4vw, 52px); justify-content: flex-end; }
.card--cta::before { background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 50%); }
.card--cta::after { display: none; }
.cta-card__inner { position: relative; z-index: 1; max-width: 760px; }
.card--cta .eyebrow { color: rgba(255,255,255,.8); }
.card--cta .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.card--cta h3 { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.04em; line-height: 1.02; margin: 0 0 28px; color: #fff; }
.card--cta h3 em { color: #FFE3D6; }
.cta-card__btn { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; }
.cta-card__btn i { font-style: normal; transition: transform .5s var(--ease); }
.card--cta:hover .cta-card__btn i { transform: translateX(6px); }
.cta-card__mark { position: absolute; right: 6%; bottom: -12%; width: clamp(110px, 13vw, 180px); height: auto; aspect-ratio: 58/120; --mark-a: rgba(255,255,255,.2); --mark-b: rgba(255,255,255,.1); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.card--cta:hover .cta-card__mark { transform: translateY(-6%) scaleY(1.05); }
@media (max-width: 640px) { .cta-card__mark { opacity: .5; right: -4%; } }

/* ---------- Technology ---------- */
.tech { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 170px); overflow: hidden; }
.tech__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 45% at 70% 55%, rgba(43,63,214,.28), transparent 70%), radial-gradient(30% 30% at 15% 80%, rgba(255,75,54,.1), transparent 70%); }
.tech .wrap { position: relative; }
.tech__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }

.tech__tabs { display: grid; gap: 4px; align-content: start; }
.tab {
  position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; text-align: left;
  padding: 20px 18px 22px; border: 0; border-radius: 16px; background: transparent; color: var(--muted);
  font: inherit; cursor: pointer; overflow: hidden; transition: background .5s var(--ease), color .4s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--surface-2); color: var(--text); }
.tab__no { font-size: 12px; font-weight: 600; color: var(--dim); letter-spacing: .1em; transition: color .4s; }
.tab.is-active .tab__no { color: var(--accent); }
.tab__title { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.tab__desc {
  grid-column: 2; font-size: 15px; color: var(--muted); line-height: 1.55;
  display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .5s, margin .6s var(--ease);
}
.tab__desc { max-height: 0; overflow: hidden; }
.tab.is-active .tab__desc { max-height: 120px; opacity: 1; margin-top: 8px; }
.tab__bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.tab__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }
.tab.is-active .tab__bar { opacity: 1; }
.tab.is-active .tab__bar::after { animation: tabProgress var(--tab-dur, 6s) linear forwards; }
.tech.is-paused .tab.is-active .tab__bar::after, .tech.is-off .tab.is-active .tab__bar::after { animation-play-state: paused; }
@keyframes tabProgress { to { transform: scaleX(1); } }

.tech__stage {
  position: relative; border-radius: 26px; border: 1px solid var(--line-2); min-height: 460px;
  background: linear-gradient(180deg, rgba(17,26,61,.9), rgba(6,10,28,.95));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  display: flex; flex-direction: column; overflow: hidden;
}
.tech__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.stage__chrome { position: relative; display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--dim); }
.stage__chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.stage__chrome i:first-child { background: var(--accent); }
.stage__chrome span { margin-left: 12px; }
.stage__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #6CE3A6; font-weight: 600; letter-spacing: .1em; font-size: 11px; }
.stage__live s { width: 7px; height: 7px; border-radius: 50%; background: #6CE3A6; box-shadow: 0 0 10px #6CE3A6; animation: blink 1.2s steps(2) infinite; }
.stage__body { position: relative; flex: 1; }
.panel {
  position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(18px, 3vw, 36px);
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease), visibility 0s .7s;
}
.panel.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .1s, .1s, .1s, 0s; }

/* hardware panel */
.hw { width: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.hw__laptop { width: 100%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.hw__lid { fill: #1A2350; stroke: var(--line-2); }
.hw__screen { fill: #070B1F; }
.hw__logo { --mark-a: #5566F5; --mark-b: #C9CFE3; }
.hw__track { fill: rgba(255,255,255,.1); }
.hw__fill { fill: var(--accent); transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.panel.is-active .hw__fill { animation: boot 2.6s var(--ease) .3s forwards; }
@keyframes boot { to { transform: scaleX(1); } }
.hw__base { fill: #222C5E; stroke: var(--line-2); }
.hw__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hw__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; opacity: 0; transform: translateX(20px); }
.hw__list b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(108,227,166,.15); color: #6CE3A6; }
.panel.is-active .hw__list li { animation: slideIn .7s var(--ease) forwards; }
.panel.is-active .hw__list li:nth-child(1) { animation-delay: .6s; } .panel.is-active .hw__list li:nth-child(2) { animation-delay: 1.1s; }
.panel.is-active .hw__list li:nth-child(3) { animation-delay: 1.6s; } .panel.is-active .hw__list li:nth-child(4) { animation-delay: 2.1s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

/* network panel */
.net { width: 100%; max-height: 380px; overflow: visible; }
.net__links path { fill: none; stroke: rgba(120,134,255,.35); stroke-width: 1.4; stroke-dasharray: 3 6; animation: dash 1.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.net__packets circle { fill: var(--brand-2); filter: drop-shadow(0 0 6px var(--brand-2)); }
.net__packets circle.hot { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.net__nodes circle { fill: #111A3D; stroke: var(--line-2); stroke-width: 1.2; }
.net__nodes text { fill: var(--muted); font-size: 11px; text-anchor: middle; font-family: var(--sans); letter-spacing: .04em; }
.net__nodes text.ic { fill: var(--text); font-size: 15px; }
.net__nodes text.big { font-size: 22px; }
.net__core circle { fill: #2B3FD6; stroke: none; filter: drop-shadow(0 0 20px rgba(43,63,214,.8)); }
.net__core .ring { fill: none; stroke: var(--brand-2); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }

/* dashboard panel */
.dash { width: 100%; display: grid; gap: 16px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 2px; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi b { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: 12px; color: #6CE3A6; }
.dash__charts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash__bars, .dash__line { height: 170px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; padding: 16px; }
.dash__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--brand-2), rgba(43,63,214,.3)); transform: scaleY(0); transform-origin: bottom; }
.dash__bars i.hot { background: linear-gradient(180deg, var(--accent-2), rgba(255,75,54,.3)); }
.panel.is-active .dash__bars i { animation: grow 1s var(--ease) forwards; }
.panel.is-active .dash__bars i:nth-child(2) { animation-delay: .08s; } .panel.is-active .dash__bars i:nth-child(3) { animation-delay: .16s; }
.panel.is-active .dash__bars i:nth-child(4) { animation-delay: .24s; } .panel.is-active .dash__bars i:nth-child(5) { animation-delay: .32s; }
.panel.is-active .dash__bars i:nth-child(6) { animation-delay: .4s; } .panel.is-active .dash__bars i:nth-child(7) { animation-delay: .48s; }
@keyframes grow { to { transform: scaleY(1); } }
.dash__line { width: 100%; padding: 0; }
.dash__line .stroke { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }
.dash__line .area { fill: rgba(255,75,54,.12); opacity: 0; }
.panel.is-active .dash__line .stroke { animation: drawOnce 1.8s var(--ease) .3s forwards; }
.panel.is-active .dash__line .area { animation: fadeIn 1s ease 1.2s forwards; }
@keyframes drawOnce { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* cctv panel */
.cctv { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feed { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #18224F, #070B1F); border: 1px solid var(--line); }
.feed::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); pointer-events: none; }
.feed::before { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(91,108,255,.18), transparent); animation: scanY 3.5s linear infinite; z-index: 1; }
@keyframes scanY { to { top: 100%; } }
.feed__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed__scene path, .feed__scene rect { fill: rgba(120,134,255,.12); stroke: rgba(120,134,255,.4); stroke-width: 1; }
.feed__scene .car { fill: rgba(255,138,92,.3); stroke: var(--accent-2); animation: drive 6s linear infinite; }
@keyframes drive { from { transform: translateX(-80px); } to { transform: translateX(140px); } }
.feed__tag { position: absolute; left: 8px; bottom: 6px; z-index: 2; font-family: ui-monospace, Consolas, monospace; font-size: 10px; color: rgba(238,240,248,.75); }
.feed__rec { position: absolute; right: 8px; top: 6px; z-index: 2; font-family: ui-monospace, Consolas, monospace; font-size: 10px; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.feed__rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1s steps(2) infinite; }
.feed__detect { position: absolute; left: 58%; top: 26%; width: 24%; height: 44%; border: 1.5px solid #6CE3A6; z-index: 2; animation: detect 4s ease-in-out infinite; }
.feed__detect::after { content: "PERSON 98%"; position: absolute; left: -1px; top: -15px; font-size: 8px; font-family: ui-monospace, Consolas, monospace; background: #6CE3A6; color: #04140C; padding: 1px 4px; white-space: nowrap; }
@keyframes detect { 0%, 30% { opacity: 0; transform: scale(1.2); } 40%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.cctv__clock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; padding: 5px 12px; border-radius: 999px; background: rgba(6,10,28,.85); border: 1px solid var(--line-2); font-family: ui-monospace, Consolas, monospace; font-size: 12px; letter-spacing: .08em; }

/* support panel */
.tickets { position: relative; width: 100%; display: grid; gap: 10px; }
.ticket { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.ticket__id { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--dim); }
.ticket__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; min-width: 92px; text-align: center; background: rgba(255,186,73,.14); color: #FFBA49; }
.pill { transition: background .4s, color .4s; }
.pill.is-prog { background: rgba(91,108,255,.18); color: #9AA6FF; }
.pill.is-done { background: rgba(108,227,166,.15); color: #6CE3A6; }
.tickets__toast { justify-self: center; margin-top: 6px; padding: 10px 18px; border-radius: 999px; background: rgba(108,227,166,.12); border: 1px solid rgba(108,227,166,.35); color: #6CE3A6; font-size: 14px; opacity: 0; transform: translateY(10px); }
.tickets__toast b { margin-right: 6px; }
.panel.is-active .tickets__toast { animation: slideIn .7s var(--ease) 4s forwards; }

.tech__chips { margin-top: clamp(40px, 5vw, 64px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tech__chips-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.tech__chips-track span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); white-space: nowrap; }
.tech__chips:hover .tech__chips-track { animation-play-state: paused; }
.tech__chips-track { --shift: -50%; animation-name: marqueeHalf; }
@keyframes marqueeHalf { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .tech__grid { grid-template-columns: 1fr; }
  .tech__stage { min-height: 400px; }
}
@media (max-width: 560px) {
  .hw { grid-template-columns: 1fr; gap: 14px; }
  .hw__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hw__list li { font-size: 12px; padding: 9px 10px; }
  .dash__kpis { gap: 8px; } .kpi { padding: 10px; } .kpi small { font-size: 10px; }
  .dash__charts { grid-template-columns: 1fr; } .dash__bars, .dash__line { height: 110px; }
  .tech__stage { min-height: 440px; }
  .ticket { grid-template-columns: 1fr auto; } .ticket__id { display: none; }
}

/* ---------- Skyline ---------- */
.skyline { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, #0B1438 70%, #101C4C 100%); }
.skyline__pin { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding-top: 120px; }
.skyline__stars { position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 80% 40%, #fff, transparent), radial-gradient(1px 1px at 35% 12%, #fff, transparent), radial-gradient(1px 1px at 90% 10%, #fff, transparent), radial-gradient(1px 1px at 8% 50%, #fff, transparent), radial-gradient(1.2px 1.2px at 48% 44%, #fff, transparent); }
.skyline__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; z-index: 1; }
.skyline__title { margin: 0 0 clamp(60px, 12vh, 140px); font-size: clamp(48px, 7.4vw, 120px); line-height: .98; letter-spacing: -.05em; font-weight: 600; }
.skyline__title .sl { display: block; overflow: hidden; padding-bottom: .06em; }
.skyline__title .sl > span { display: inline-block; }
.skyline__title em { color: var(--accent); }
.skyline__art { width: 100%; max-height: 78vh; justify-self: end; overflow: visible; }
.skyline__art .tower { transform-box: fill-box; transform-origin: 50% 100%; }
.skyline__art .face-n { fill: url(#gNavy); }
.skyline__art .face-g { fill: url(#gGrey); opacity: .92; }
.skyline__art .win { fill: #FFD58A; opacity: .1; }
.skyline__art .win.on { opacity: .95; filter: drop-shadow(0 0 4px rgba(255,213,138,.9)); }
.skyline__art .beacon { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); animation: blink 1.4s steps(2) infinite; }
.skyline__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 40px 8px rgba(255,75,54,.35); }
@media (max-width: 860px) {
  .skyline__pin { min-height: 80vh; }
  .skyline__inner { grid-template-columns: 1fr; }
  .skyline__art { position: absolute; right: var(--gutter); bottom: 0; width: 55%; max-height: 70vh; opacity: .55; z-index: -1; }
  .skyline__title { margin-bottom: 80px; }
}

/* ---------- Process ---------- */
.process { position: relative; background: var(--ivory); color: var(--bg); overflow: hidden; }
.process__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(90px, 10vw, 130px) 0; gap: clamp(40px, 6vh, 70px); }
.process .eyebrow { color: #5B617E; }
.process .section-title em { color: var(--accent); }
.process__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.process__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.process__bar { width: 220px; height: 2px; background: rgba(6,10,28,.12); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.process__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.process__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; }
.step {
  position: relative; width: clamp(290px, 30vw, 420px); min-height: 360px; padding: 34px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(6,10,28,.08); display: flex; flex-direction: column;
  box-shadow: 0 20px 50px -30px rgba(6,10,28,.35); transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.step:hover { background: var(--bg); color: var(--text); transform: translateY(-8px); }
.step:hover p { color: var(--muted); }
.step__no { font-size: clamp(64px, 6vw, 96px); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.step h3 { margin: auto 0 10px; font-size: 26px; letter-spacing: -.03em; }
.step p { margin: 0; color: #5B617E; font-size: 15px; transition: color .5s; }
.step__icon { position: absolute; top: 30px; right: 30px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 18px; opacity: .5; }
@media (max-width: 900px) {
  .process__track { flex-direction: column; width: 100%; }
  .step { width: 100%; min-height: 260px; }
  .process__head { grid-template-columns: 1fr; }
  .process__bar { display: none; }
}

/* ---------- Sectors ---------- */
.sectors { padding: clamp(100px, 13vw, 190px) var(--gutter) clamp(60px, 8vw, 110px); }
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector-list li {
  position: relative; display: grid; grid-template-columns: 60px 1fr auto 50px; align-items: center; gap: 20px;
  padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); cursor: default; isolation: isolate;
}
.sector-list li::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.sector-list li:hover::before { transform: scaleY(1); transform-origin: top; }
.sector-list__no { font-size: 13px; color: var(--dim); transition: color .4s; }
.sector-list__name { font-size: clamp(26px, 4vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; transition: transform .6s var(--ease); }
.sector-list__tag { font-size: 13px; color: var(--muted); letter-spacing: .06em; transition: color .4s; }
.sector-list__arrow { font-size: 26px; justify-self: end; transition: transform .6s var(--ease); }
.sector-list li:hover .sector-list__name { transform: translateX(18px); }
.sector-list li:hover .sector-list__arrow { transform: rotate(45deg); }
.sector-list li:hover .sector-list__no, .sector-list li:hover .sector-list__tag { color: rgba(255,255,255,.85); }
@media (max-width: 700px) {
  .sector-list li { grid-template-columns: 36px 1fr 30px; }
  .sector-list__tag { display: none; }
}

/* ---------- Why ---------- */
.why { padding-bottom: clamp(100px, 13vw, 180px); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why__item { padding: 30px 26px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.why__item:hover { border-color: var(--line-2); transform: translateY(-6px); }
.why__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(43,63,214,.2); color: var(--brand-2); font-size: 13px; font-weight: 600; margin-bottom: 40px; }
.why__item h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.contact__bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 30%, rgba(43,63,214,.28), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(255,75,54,.16), transparent 70%); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__title { margin: 0 0 50px; font-size: clamp(64px, 10vw, 160px); font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.contact__title em { color: var(--accent); }
.contact__lines { display: grid; border-top: 1px solid var(--line); }
.contact__link { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: clamp(16px, 1.5vw, 20px); transition: color .3s, padding .5s var(--ease); }
a.contact__link:hover { color: var(--accent-2); padding-left: 10px; }
.contact__link small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 5px; }

.form { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: rgba(10,16,41,.7); border: 1px solid var(--line); backdrop-filter: blur(14px); display: grid; gap: 18px; }
.form h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 0 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--text); font: inherit; font-size: 16px; outline: none; resize: vertical; transition: border-color .3s;
}
.field label { position: absolute; left: 0; top: 20px; color: var(--muted); pointer-events: none; transition: all .35s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: 12px; color: var(--accent-2); letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: all .3s var(--ease); }
.chips label:hover span { border-color: var(--text); color: var(--text); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } .contact__link { grid-template-columns: 90px 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 20px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer__nav a:hover { color: var(--text); }
.footer__top-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; transition: background .4s, color .4s, transform .5s var(--ease); }
.footer__top-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.footer__giant { padding: 0 var(--gutter); }
.footer__giant span {
  display: block; text-align: center; white-space: nowrap; font-size: 14.2vw; font-weight: 700; letter-spacing: -.035em; line-height: .82;
  background: linear-gradient(180deg, rgba(238,240,248,.16), rgba(238,240,248,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: 20px;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); }

/* ---------- Service cards: open affordance ---------- */
.card[data-service] { cursor: pointer; }
.card[data-service]:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.card[data-service] .card__art > * { transition: transform 1s var(--ease), filter 1s; }
.card__body { z-index: 2; }
.card__open {
  position: absolute; top: 18px; right: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2);
  font-size: 13px; color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .5s var(--ease), color .5s, border-color .5s;
}
.card__open i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .card[data-service]:hover .card__art > * { transform: scale(1.07) translateY(-4px); filter: drop-shadow(0 20px 30px rgba(43,63,214,.35)); }
  .card[data-service]:hover .card__open { background: var(--accent); border-color: var(--accent); color: #fff; }
  .card[data-service]:hover .card__open i { transform: rotate(-45deg); }
}

/* ---------- Across Pakistan: illustrated landmarks ---------- */
.pk { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 160px); overflow: hidden; }
.pk__head { margin-bottom: clamp(30px, 4vw, 50px); }
.pk__scene { position: relative; max-width: 1500px; margin: 0 auto; overflow: hidden; }
.pk__scene::before { content: ""; position: absolute; inset: 10% 10% 20%; background: radial-gradient(50% 60% at 50% 70%, rgba(43,63,214,.28), transparent 70%); pointer-events: none; }
.pk__svg { position: relative; width: 100%; height: auto; overflow: visible; }
.pk__svg .ld { fill: none; stroke: rgba(238,240,248,.85); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pk__svg .ld--acc { stroke: var(--accent); }
.pk__svg .ld--brand { stroke: var(--brand-2); }
.pk__svg .lf { fill: rgba(91,108,255,0); transition: fill 1.2s ease; }
.pk__scene.is-in .ld { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) var(--d, 0s); }
.pk__scene.is-in .lf { fill: rgba(91,108,255,.08); transition-delay: calc(var(--d, 0s) + 1.4s); }
.pk__scene.is-in .ld--acc.lf { fill: rgba(255,75,54,.1); }
.pk__svg .lm { --d: 0s; }
.pk__svg .lm .ld { transition-delay: var(--d); }
.pk__svg .pk__ground { stroke: var(--line-2); }
.pk__sky circle { fill: #fff; animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pk__sky circle:nth-child(odd) { animation-delay: -1.4s; }
.pk__moon { fill: var(--ivory); filter: drop-shadow(0 0 14px rgba(244,241,234,.6)); opacity: .9; }
.pk__star { fill: var(--ivory); transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.pk__wins rect { fill: #FFD58A; opacity: 0; }
.pk__scene.is-in .pk__wins rect { animation: winOn 4s steps(1) infinite; }
.pk__wins rect:nth-child(2n) { animation-delay: -1.3s !important; } .pk__wins rect:nth-child(3n) { animation-delay: -2.6s !important; }
@keyframes winOn { 0%, 30% { opacity: .15; } 31%, 100% { opacity: .95; } }
.pk__road { fill: rgba(255,255,255,.03); }
.pk__dash { stroke: rgba(238,240,248,.35); stroke-width: 2; stroke-dasharray: 22 18; animation: road 1s linear infinite; }
@keyframes road { to { stroke-dashoffset: 40; } }
.pk__truck { animation: drivePk 16s linear infinite; }
@keyframes drivePk { from { transform: translate(-140px, 360px); } to { transform: translate(1460px, 360px); } }
.pk__truck-body { animation: bump .5s ease-in-out infinite alternate; }
@keyframes bump { to { transform: translateY(-1.5px); } }
.pk__truck .cargo { fill: var(--accent); }
.pk__truck .tlogo { --mark-a: #fff; --mark-b: rgba(255,255,255,.6); }
.pk__truck .cab { fill: #E8EBF5; }
.pk__truck .glass { fill: #1A2350; }
.pk__truck .wheel circle { fill: #0B1029; stroke: #8A92B4; stroke-width: 2; }
.pk__truck .wheel path { stroke: #8A92B4; stroke-width: 1.5; }
.pk__truck .wheel { animation: spinW .5s linear infinite; transform-box: view-box; transform-origin: 0 0; }
@keyframes spinW { to { rotate: 360deg; } }
.pk__exhaust { stroke: rgba(238,240,248,.4); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 6; animation: road .4s linear infinite reverse; }
.pin { opacity: 0; }
.pk__scene.is-in .pin { animation: pinIn .7s cubic-bezier(.34,1.56,.64,1) var(--d) forwards; }
@keyframes pinIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.pin__dot { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
.pin__ring { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.2s ease-out infinite; }
.pin text { fill: var(--text); font: 600 15px var(--sans); text-anchor: middle; letter-spacing: -.01em; }
.pk__cities { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(30px, 4vw, 48px); color: var(--muted); font-size: 15px; }
.pk__cities span { position: relative; }
.pk__cities span + span::before { content: "·"; position: absolute; left: -16px; color: var(--accent); }
@media (max-width: 760px) {
  .pk__svg { width: 1000px; max-width: none; animation: panPk 22s ease-in-out infinite alternate; }
  @keyframes panPk { from { transform: translateX(0); } to { transform: translateX(calc(-1000px + 100vw)); } }
}

/* ---------- Service detail overlay ---------- */
.sd { position: fixed; inset: 0; z-index: 200; background: var(--bg); visibility: hidden; clip-path: inset(50% 50% 50% 50% round 24px); }
.sd.is-open { visibility: visible; }
body.sd-open { overflow: hidden; }
body.sd-open .nav { transform: translate(-50%, -140%); }
.sd__scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sd__close {
  position: absolute; top: 20px; right: 20px; z-index: 5; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6,10,28,.6);
  color: var(--text); font: inherit; font-size: 14px; cursor: pointer; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .4s, border-color .4s;
}
.sd__close i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); font-style: normal; font-size: 12px; transition: transform .6s var(--ease); }
.sd__close:hover { background: var(--accent); border-color: var(--accent); }
.sd__close:hover i { transform: rotate(90deg); }

/* hero: title + big living illustration */
.sd__hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 100px 0 60px; }
.sd__amb { position: absolute; inset: 0; pointer-events: none; }
.sd__amb::after { content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 20%, transparent 75%); }
.sd__amb i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; }
.sd__amb .b1 { width: 560px; height: 560px; right: -120px; top: 6%; background: rgba(43,63,214,.55); animation: blob 14s ease-in-out infinite alternate; }
.sd__amb .b2 { width: 380px; height: 380px; left: -120px; bottom: -80px; background: rgba(255,75,54,.35); animation: blob 18s ease-in-out infinite alternate-reverse; }
.sd__amb .b3 { width: 260px; height: 260px; right: 30%; bottom: 10%; background: rgba(108,123,255,.35); animation: blob 11s ease-in-out infinite alternate; }
@keyframes blob { 50% { transform: translate(-60px, 40px) scale(1.15); } 100% { transform: translate(40px, -30px) scale(.9); } }
.sd__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sd__hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.sd__crumb { margin: 0 0 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,240,248,.75); }
.sd__crumb i { font-style: normal; margin: 0 6px; color: var(--accent); }
.sd__crumb b { color: var(--accent-2); }
.sd__title { margin: 0; font-size: clamp(46px, 6.8vw, 112px); font-weight: 600; letter-spacing: -.055em; line-height: .92; }
.sd__title .split-line > span { display: inline-block; }
.sd__tag { margin: 22px 0 0; font-size: clamp(20px, 2vw, 28px); font-weight: 400; letter-spacing: -.02em; color: rgba(238,240,248,.9); }
.sd__tag em { color: var(--accent-2); }
.sd__scrollhint { margin-top: 40px; display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sd__scrollhint span { width: 1px; height: 36px; background: var(--line-2); position: relative; overflow: hidden; }
.sd__scrollhint span::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }

.sd__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; display: grid; place-items: center; will-change: transform; }
.sd__rings { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.sd__rings circle { fill: none; stroke: var(--line-2); stroke-dasharray: 2 10; }
.sd__rings .r2 { stroke: rgba(91,108,255,.35); stroke-dasharray: 60 20 4 20; animation: spin 18s linear infinite reverse; transform-origin: center; transform-box: fill-box; }
.sd__rings .sat { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 10px var(--accent)); }
.sd__stage::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(43,63,214,.45), rgba(43,63,214,0) 70%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .7; } }
.sd__art { position: relative; width: 76%; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.sd__art > * { width: 100%; }
.sd__art .art { max-height: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.sd__art .art * { vector-effect: non-scaling-stroke; }
.sd__art .term { font-size: clamp(12px, 1.1vw, 15px); }
.sd__art .gantt { max-width: none; }
.sd__floats .float {
  position: absolute; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap;
  background: rgba(17,26,61,.8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); animation: float 5s ease-in-out infinite;
}
.sd__floats .float::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6CE3A6; margin-right: 8px; box-shadow: 0 0 8px #6CE3A6; }
.float--0 { top: 8%; left: 0; animation-delay: -1s !important; }
.float--1 { top: 22%; right: -4%; animation-delay: -2.5s !important; }
.float--2 { bottom: 18%; left: -6%; animation-delay: -3.5s !important; }
.float--3 { bottom: 5%; right: 6%; animation-delay: -.5s !important; }
.float--1::before, .float--3::before { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }

.sd__intro { padding-top: clamp(50px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); max-width: calc(1100px + 2 * var(--gutter)); }
.sd__lede { margin: 0; font-size: clamp(24px, 2.8vw, 42px); line-height: 1.22; letter-spacing: -.025em; font-weight: 500; }
.sd__facts { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sd__facts li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); background: var(--surface); }
.sd__facts li::before { content: "✓"; color: #6CE3A6; margin-right: 8px; }

.sd__sec-head { margin-bottom: clamp(32px, 4vw, 54px); }
.sd__sec-head h3 { margin: 0; font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.045em; line-height: 1; font-weight: 600; }
.sd__sec-head h3 em { color: var(--accent-2); }
.sd__items { padding-bottom: clamp(70px, 9vw, 130px); }
.sd__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: it; }
.sd__list li {
  position: relative; counter-increment: it; padding: 24px 22px 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  min-height: 190px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, transform .6s var(--ease), background .5s;
}
.sd__list li::before { content: counter(it, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--accent); margin-bottom: auto; padding-bottom: 28px; }
.sd__list li::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(91,108,255,.35), transparent 70%); opacity: 0; transition: opacity .5s; }
.sd__list li:hover { border-color: var(--line-2); transform: translateY(-6px); background: var(--surface-2); }
.sd__list li:hover::after { opacity: 1; }
.sd__list b { font-size: 18px; letter-spacing: -.02em; font-weight: 600; margin-bottom: 6px; }
.sd__list span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* animated vignettes */
.sd__vig { padding-bottom: clamp(80px, 10vw, 140px); }
.vig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vig-card { margin: 0; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(90% 80% at 50% 0%, rgba(43,63,214,.22), transparent 70%), var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.vig-card:hover { border-color: var(--line-2); transform: translateY(-6px); }
.vig-card__art { aspect-ratio: 3/2; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.vig-card figcaption { display: flex; align-items: center; gap: 12px; padding: 18px 22px 22px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.vig-card figcaption span { font-size: 12px; color: var(--accent); letter-spacing: .12em; font-weight: 600; }
.vig { width: 100%; height: 100%; overflow: visible; }
.vig * { vector-effect: non-scaling-stroke; }

/* truck */
.vig--truck .v-city { animation: cityPan 12s linear infinite; }
.vig--truck .v-city rect { fill: rgba(91,108,255,.14); stroke: rgba(120,134,255,.3); }
@keyframes cityPan { to { transform: translateX(-240px); } }
.vig--truck .v-road { fill: rgba(255,255,255,.04); }
.vig--truck .v-dash { stroke: rgba(238,240,248,.45); stroke-width: 2.5; stroke-dasharray: 16 14; animation: dashL .6s linear infinite; }
@keyframes dashL { to { stroke-dashoffset: 30; } }
.vig--truck .v-speed path { stroke: rgba(238,240,248,.5); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 40; animation: dashL .5s linear infinite; }
.vig--truck .v-bounce { animation: bump .35s ease-in-out infinite alternate; }
.vig--truck .v-cargo { fill: var(--accent); }
.vig--truck .v-logo { --mark-a: #fff; --mark-b: rgba(255,255,255,.55); }
.vig--truck .v-cab { fill: #E8EBF5; }
.vig--truck .v-glass { fill: #1A2350; }
.vig--truck .v-wheel { animation: spinW .45s linear infinite; transform-box: view-box; transform-origin: 0 0; }
.vig--truck .v-wheel circle { fill: #0B1029; stroke: #9AA3C7; stroke-width: 2.5; }
.vig--truck .v-wheel path { stroke: #9AA3C7; stroke-width: 2; }

/* checklist */
.vig--check .v-board { fill: rgba(244,241,234,.06); stroke: var(--line-2); stroke-width: 1.5; }
.vig--check .v-clip { fill: var(--brand); }
.vig--check .v-box { fill: none; stroke: rgba(238,240,248,.45); stroke-width: 1.5; }
.vig--check .v-txt { fill: rgba(238,240,248,.18); }
.vig--check .v-tick { fill: none; stroke: #6CE3A6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: tickRow 4.5s var(--ease) infinite; animation-delay: calc(var(--i) * .45s); }
.vig--check .v-row { animation: rowGlow 4.5s ease infinite; animation-delay: calc(var(--i) * .45s); }
@keyframes tickRow { 0%, 8% { stroke-dashoffset: 20; } 20%, 80% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 20; } }
@keyframes rowGlow { 10%, 22% { filter: drop-shadow(0 0 6px rgba(108,227,166,.6)); } }
.vig--check .v-badge { transform-box: fill-box; transform-origin: center; animation: badge 4.5s cubic-bezier(.34,1.56,.64,1) infinite; }
.vig--check .v-badge circle { fill: var(--accent); }
.vig--check .v-badge path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes badge { 0%, 38% { transform: scale(0); } 48%, 82% { transform: scale(1); } 92%, 100% { transform: scale(0); } }

/* calendar */
.vig--cal .v-cal { fill: rgba(244,241,234,.05); stroke: var(--line-2); stroke-width: 1.5; }
.vig--cal .v-calhead { fill: var(--brand); }
.vig--cal .v-calline { stroke: var(--line-2); }
.vig--cal .v-ring { stroke: var(--text); stroke-width: 4; stroke-linecap: round; }
.vig--cal .v-cells rect { fill: rgba(238,240,248,.08); }
.vig--cal .v-hop { fill: var(--accent); filter: drop-shadow(0 0 8px rgba(255,75,54,.7)); animation: hop 6s steps(1) infinite; }
@keyframes hop {
  0% { transform: translate(0, 0); } 14% { transform: translate(52px, 0); } 28% { transform: translate(104px, 26px); }
  42% { transform: translate(26px, 26px); } 56% { transform: translate(78px, 52px); } 70% { transform: translate(0, 52px); } 84% { transform: translate(104px, 0); }
}
.vig--cal .v-bell { transform-box: view-box; transform-origin: 0 -10px; }
.vig--cal .v-bell path, .vig--cal .v-bell circle { fill: var(--accent-2); }
.vig--cal .v-bell { animation: ringBell 2s ease-in-out infinite; }
@keyframes ringBell { 0%, 60%, 100% { rotate: 0deg; } 66% { rotate: 16deg; } 72% { rotate: -14deg; } 78% { rotate: 10deg; } 84% { rotate: -6deg; } }

/* docs + stamp */
.vig--docs .v-paper { fill: rgba(244,241,234,.08); stroke: var(--line-2); stroke-width: 1.5; }
.vig--docs .v-fold { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.vig--docs .v-lines rect { fill: rgba(238,240,248,.3); transform-box: fill-box; transform-origin: left; transform: scaleX(0); animation: writeLine 5s var(--ease) infinite; animation-delay: calc(var(--i) * .25s); }
@keyframes writeLine { 0%, 4% { transform: scaleX(0); } 18%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.vig--docs .v-stamp { transform-box: fill-box; transform-origin: center; animation: stamp 5s cubic-bezier(.2,1.6,.4,1) infinite; }
.vig--docs .v-stamp rect { fill: rgba(255,75,54,.12); stroke: var(--accent); stroke-width: 2.5; }
.vig--docs .v-stamp text { fill: var(--accent); font: 800 13px var(--sans); letter-spacing: .12em; text-anchor: middle; }
@keyframes stamp { 0%, 44% { transform: scale(2.4); opacity: 0; } 52%, 88% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(1); opacity: 0; } }

/* gears */
.vig--gears .teeth { fill: none; stroke: var(--brand-2); stroke-width: 10; stroke-dasharray: 7 6; }
.vig--gears .body { fill: #18225A; stroke: var(--brand-2); stroke-width: 1.5; }
.vig--gears .hub { fill: var(--bg); stroke: var(--brand-2); stroke-width: 1.5; }
.vig--gears .v-gear--b .teeth { stroke: var(--accent); stroke-width: 8; stroke-dasharray: 5 4.5; }
.vig--gears .v-gear--b .body, .vig--gears .v-gear--b .hub { stroke: var(--accent); }
.vig--gears .v-gear--c .teeth { stroke: #C9CFE3; stroke-width: 6; stroke-dasharray: 4 3.5; }
.vig--gears .v-gear > g { animation: spinW 6s linear infinite; }
.vig--gears .v-gear--b > g { animation-duration: 3.6s; animation-direction: reverse; }
.vig--gears .v-gear--c > g { animation-duration: 2.7s; animation-direction: reverse; }
.vig--gears .v-spark path { stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; animation: spark 1.2s ease-out infinite; }
@keyframes spark { 0% { opacity: 0; } 20% { opacity: 1; } 60%, 100% { opacity: 0; } }

/* chart */
.vig--chart .v-axis { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.vig--chart .v-bars rect { fill: rgba(91,108,255,.6); transform-box: fill-box; transform-origin: bottom; animation: barLoop 4s var(--ease) infinite; animation-delay: calc(var(--i) * .12s); }
.vig--chart .v-bars rect.hot { fill: var(--accent); }
@keyframes barLoop { 0% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.vig--chart .v-trend { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; animation: trend 4s var(--ease) infinite; }
@keyframes trend { 0%, 20% { stroke-dashoffset: 200; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -200; } }
.vig--chart .v-arrow path { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vig--chart .v-arrow { animation: arrowUp 4s var(--ease) infinite; }
@keyframes arrowUp { 0%, 50% { opacity: 0; transform: translate(-6px, 6px); } 60%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* route */
.vig--route .v-map { fill: rgba(91,108,255,.07); stroke: var(--line-2); stroke-width: 1.5; }
.vig--route .v-grid { stroke: var(--line); }
.vig--route .v-path { fill: none; stroke: rgba(238,240,248,.55); stroke-width: 2.5; stroke-dasharray: 6 7; animation: dashL 1s linear infinite reverse; }
.vig--route .v-mover { fill: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent-2)); }
.vig--route .v-pin--a circle { fill: var(--brand-2); }
.vig--route .v-pin--b path { fill: var(--accent); }
.vig--route .v-pin--b .core { fill: #fff; }
.vig--route .v-pin--b .pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }

/* team */
.vig--team .v-person circle, .vig--team .v-person path { fill: rgba(120,134,255,.35); stroke: var(--brand-2); stroke-width: 1.5; }
.vig--team .v-person--lead circle, .vig--team .v-person--lead path { fill: rgba(255,75,54,.25); stroke: var(--accent); }
.vig--team .v-person { animation: nod 3s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes nod { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.vig--team .v-bubble path { fill: #E8EBF5; }
.vig--team .v-bubble circle { fill: var(--bg); animation: typing 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.vig--team .v-bubble circle:nth-of-type(2) { animation-delay: .15s; } .vig--team .v-bubble circle:nth-of-type(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.vig--team .v-bubble { animation: bubble 3s cubic-bezier(.34,1.56,.64,1) infinite; transform-box: view-box; transform-origin: -10px 43px; }
@keyframes bubble { 0% { scale: 0; } 15%, 85% { scale: 1; } 100% { scale: 0; } }

.sd__steps { padding-bottom: clamp(80px, 10vw, 140px); }
.sd__steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.sd-step { position: relative; padding: 30px 26px; border-radius: 22px; background: var(--ivory); color: var(--bg); min-height: 240px; display: flex; flex-direction: column; }
.sd-step__no { font-size: 64px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.sd-step h4 { margin: auto 0 8px; font-size: 24px; letter-spacing: -.03em; }
.sd-step p { margin: 0; color: #5B617E; font-size: 15px; }

.sd__cta { text-align: center; padding-bottom: clamp(80px, 10vw, 130px); }
.sd__cta h3 { margin: 0 auto 34px; max-width: 900px; font-size: clamp(40px, 6vw, 92px); letter-spacing: -.05em; line-height: .98; font-weight: 600; }
.sd__cta h3 em { color: var(--accent); }
.sd__cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.sd__next {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 30px; width: 100%; min-height: 46vh; border: 0;
  padding: 60px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); cursor: pointer; text-align: left;
  color: var(--text); font: inherit; background: var(--bg-2); overflow: hidden; isolation: isolate;
}
.sd__next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 50%, rgba(43,63,214,.3), transparent 70%); transition: opacity .6s; opacity: .6; }
.sd__next:hover::before { opacity: 1; }
.sd__next-label { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sd__next-title { display: block; font-size: clamp(36px, 5.6vw, 88px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.sd__next-arrow { display: inline-grid; place-items: center; margin-top: 26px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); font-size: 22px; transition: transform .6s var(--ease); }
.sd__next:hover .sd__next-arrow { transform: translateX(8px); }
.sd__next-art { display: grid; place-items: center; max-width: 420px; justify-self: end; width: 100%; opacity: .75; transform: scale(.92) rotate(-3deg); transition: transform 1s var(--ease), opacity .6s; }
.sd__next-art > * { width: 100%; }
.sd__next-art .art { max-height: 240px; }
.sd__next:hover .sd__next-art { transform: none; opacity: 1; }

@media (max-width: 1000px) {
  .sd__hero-inner { grid-template-columns: 1fr; }
  .sd__stage { max-width: 420px; order: -1; margin-bottom: 10px; }
  .sd__list { grid-template-columns: 1fr 1fr; }
  .vig-grid { grid-template-columns: 1fr 1fr; }
  .sd__next { grid-template-columns: 1fr; }
  .sd__next-art { display: none; }
}
@media (max-width: 640px) {
  .sd__hero { padding-top: 70px; align-items: flex-start; }
  .sd__stage { max-width: 320px; }
  .sd__floats .float { font-size: 11px; padding: 7px 11px; }
  .float--1 { right: 0; } .float--2 { left: 0; }
  .sd__list { grid-template-columns: 1fr; }
  .sd__list li { min-height: 0; }
  .sd__list li::before { padding-bottom: 14px; }
  .vig-grid { grid-template-columns: 1fr; }
  .sd__steps-grid { grid-template-columns: 1fr; }
  .sd-step { min-height: 200px; }
  .sd__close span { display: none; }
  .sd__close { padding: 8px; }
}

.sd-rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease) var(--dl, 0s), transform 1.1s var(--ease) var(--dl, 0s); }
.sd-rv.is-in { opacity: 1; transform: none; }

/* ---------- Phone refinements ---------- */
.about__stamp { border-radius: 50%; overflow: hidden; line-height: 0; }
.tech__mdesc { display: none; }
@media (max-width: 960px) {
  .tech__tabs {
    position: relative; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px;
  }
  .tech__tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; grid-template-columns: auto auto; gap: 8px; align-items: center; padding: 12px 16px 14px; border: 1px solid var(--line-2); border-radius: 999px; scroll-snap-align: start; }
  .tab.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
  .tab__title { font-size: 15px; white-space: nowrap; }
  .tab__desc { display: none; }
  .tab__bar { left: 16px; right: 16px; bottom: 5px; }
  .tech__mdesc { display: block; margin: 0; min-height: 4.8em; color: var(--muted); font-size: 15px; line-height: 1.6; }
}
@media (max-width: 600px) {
  .hero__emblem { top: auto; bottom: 2%; right: -30%; width: 80vw; opacity: .2; }
}
@media (max-width: 860px) {
  .skyline__pin { min-height: 0; padding-top: 110px; }
  .skyline__inner { gap: 20px; }
  .skyline__title { margin-bottom: 0; }
  .skyline__art { position: relative; right: auto; bottom: auto; width: 64%; max-height: none; opacity: 1; z-index: auto; justify-self: end; }
}

/* ---------- Reveal (fallback when JS libs fail) ---------- */
.no-gsap [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  body::after { display: none; }
}
