/* =========================================================
   PixelProfiter — Stylesheet
   ========================================================= */

:root {
  /* Colours */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --line: #e7e5e4;
  --bg: #ffffff;
  --soft: #f8f7f4;
  --brand: #f97316;
  --brand-600: #ea580c;
  --brand-700: #c2410c;
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --dark: #0b1120;
  --grad: linear-gradient(135deg, #fbbf24 0%, #f97316 55%, #ea580c 100%);

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
  --fs-h1: 3.75rem;
  --fs-h2: 2.75rem;

  /* Layout */
  --topbar-h: 40px;
  --nav-h: 76px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
  --section-y: 104px;
  --container-x: 32px;
  --radius: 18px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 12px 32px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, .28);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* Gentle section snapping on desktop: scrolling settles with each
   section's content centred below the fixed header. */
@media (min-width: 961px) and (min-height: 640px) {
  html { scroll-snap-type: y proximity; scroll-padding-top: var(--header-h); }
  .hero { scroll-snap-align: start; }
  .section > .container { scroll-snap-align: center; }
  .footer { scroll-snap-align: end; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 20px; line-height: 1; font-style: normal;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); }
.section { padding: var(--section-y) 0; position: relative; }
.section-soft { background: var(--soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }

.section-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.03em; }
.section-lead { font-size: 1.0625rem; color: var(--muted); margin-top: 16px; max-width: 580px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.text-accent {
  background: linear-gradient(135deg, #f97316, #c2410c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons (animated, no arrows) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font); font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s ease, box-shadow .4s ease;
}
/* sliding fill */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .5s var(--ease);
}
/* light sweep */
.btn::after {
  content: ""; position: absolute; top: 0; left: -75%; z-index: -1;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary::before { background: var(--grad); }
.btn-primary:hover { color: #1c0d02; box-shadow: 0 14px 30px -10px rgba(234, 88, 12, .55); }

.btn-brand { background: var(--grad); color: #1c0d02; }
.btn-brand::before { background: #fff; }
.btn-brand:hover { color: var(--ink); box-shadow: 0 14px 34px -10px rgba(249, 115, 22, .6); }

.btn-ghost { background: #fff; color: var(--ink); border-color: #d6d3d1; }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; border-color: var(--ink); box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .45); }

.btn-outline { background: transparent; color: var(--brand-700); border-color: var(--brand); }
.btn-outline::before { background: var(--grad); }
.btn-outline:hover { color: #1c0d02; border-color: transparent; box-shadow: 0 12px 26px -10px rgba(249, 115, 22, .55); }

.btn-lg { height: 54px; padding: 0 32px; font-size: 1rem; }
.btn-sm { height: 42px; padding: 0 22px; font-size: .875rem; }
.btn-block { width: 100%; }

/* ---------- Header (fixed) ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .35s ease;
}
.topbar {
  height: var(--topbar-h);
  background: var(--dark); color: #cbd5e1;
  font-size: .8125rem;
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-links { display: flex; gap: 28px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar-item .icon { font-size: 15px; color: #fb923c; }
a.topbar-item:hover { color: #fff; }

.header-main {
  position: relative;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.scrolled .header-main { box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.03em; }
.brand-name span { color: var(--brand-600); }
.brand-tag { font-size: .625rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: block; padding: 8px 14px;
  font-size: .9375rem; font-weight: 500; color: var(--text);
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-mobile-contact { display: none; }

.menu-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (full screen, photo background) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(24px, 5vh, 64px)) 0 clamp(56px, 9vh, 96px);
  background: var(--dark); color: #cbd5e1;
}
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: kenburns 24s ease-in-out infinite alternate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(249, 115, 22, .28), transparent 65%),
    linear-gradient(100deg, rgba(11, 17, 32, .96) 0%, rgba(11, 17, 32, .88) 42%, rgba(11, 17, 32, .62) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 8px; margin-bottom: clamp(14px, 2.6vh, 24px);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: .8125rem; font-weight: 500; color: #e2e8f0;
}
.badge-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(249, 115, 22, .2); display: grid; place-items: center; }
.badge-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 1.8s infinite; }

/* Font size scales with both width and height so the hero always fits one screen */
.hero h1 {
  font-size: clamp(2.1rem, min(5vw, 8vh), 4.25rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.06; color: #fff;
}
.hero .text-accent { background-image: var(--grad); }
.lead { font-size: clamp(.95rem, min(1.3vw, 2.3vh), 1.1875rem); color: #cbd5e1; margin-top: clamp(12px, 2.4vh, 24px); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(18px, 4vh, 36px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(16px, 3.6vh, 32px); font-size: .9375rem; font-weight: 500; color: #e2e8f0; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { font-size: 18px; color: #fb923c; }

.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(8px); }
.btn-glass::before { background: #fff; }
.btn-glass:hover { color: var(--ink); border-color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

/* Glass stats card */
.hero-card {
  position: relative; padding: clamp(20px, 3.4vh, 30px);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(251, 191, 36, .6), transparent 40%, transparent 70%, rgba(249, 115, 22, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-card-title { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fdba74; }
.hero-card-title .icon { font-size: 16px; }
.hero-stats { display: grid; gap: clamp(8px, 1.6vh, 14px); margin-top: clamp(12px, 2.4vh, 20px); }
.hero-stats li {
  display: flex; align-items: center; gap: 16px; padding: clamp(10px, 1.8vh, 14px) 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px;
  transition: background .3s, border-color .3s, transform .3s;
}
.hero-stats li:hover { background: rgba(249, 115, 22, .1); border-color: rgba(249, 115, 22, .4); transform: translateX(4px); }
.hs-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #1c0d02; }
.hs-icon .icon { font-size: 22px; }
.hero-stats strong { display: block; font-family: var(--display); font-size: clamp(1.4rem, 3.6vh, 1.75rem); font-weight: 800; line-height: 1.1; color: #fff; }
.hero-stats small { font-size: .875rem; color: #94a3b8; }
.hero-card-link {
  display: flex; align-items: center; gap: 12px; margin-top: clamp(12px, 2.4vh, 20px); padding-top: clamp(12px, 2.4vh, 18px);
  border-top: 1px solid rgba(255, 255, 255, .1); font-weight: 600; color: #fff; transition: color .25s;
}
.hero-card-link .icon { font-size: 26px; color: #4ade80; }
.hero-card-link small { display: block; font-size: .75rem; font-weight: 500; color: #94a3b8; }
.hero-card-link:hover { color: #fb923c; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; left: 50%; bottom: clamp(14px, 3vh, 28px); transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px;
}
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fb923c; animation: scrollDot 1.8s ease-in-out infinite; }
.hero-scroll:hover { border-color: #fb923c; }

/* ---------- Capabilities ribbons ---------- */
.ribbons {
  position: relative; height: 150px; overflow: hidden;
  background: linear-gradient(180deg, var(--dark) 0 50%, #fff 50% 100%);
}
.ribbon { position: absolute; left: -4%; right: -4%; top: 50%; padding: 18px 0; }
.ribbon-front {
  z-index: 2; background: var(--grad); transform: translateY(-50%) rotate(-2.4deg);
  box-shadow: 0 22px 40px -18px rgba(234, 88, 12, .7);
}
.ribbon-back {
  z-index: 1; background: #141d33; transform: translateY(-50%) rotate(2.4deg);
  border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-reverse { animation-direction: reverse; animation-duration: 48s; }
.ribbons:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
.ribbon li {
  display: flex; align-items: center; gap: 14px; padding-right: 54px; white-space: nowrap;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
}
.ribbon-front li { font-size: 1.25rem; color: #1c0d02; }
.ribbon-front li i {
  width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0;
  background: #1c0d02; color: #fbbf24; border-radius: 50%; font-size: 19px;
  animation: spinPop 6s ease-in-out infinite;
}
.ribbon-back li { font-size: 1.5rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .4); }
.ribbon-back li::after { content: ""; width: 10px; height: 10px; margin-left: 40px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.about-copy p { font-size: 1.0625rem; color: var(--muted); margin-bottom: 28px; }
.stats-viewport { margin-top: 64px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-dup { display: none; }
.stat {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.stat strong { display: block; font-family: var(--display); font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat strong span:not(.count) { color: var(--brand-600); }
.stat p { margin-top: 10px; font-size: .9375rem; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-top { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.icon-box {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); transition: background .35s, color .35s, transform .35s;
}
.icon-box .icon { font-size: 26px; }
.service-card:hover .icon-box { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.service-num { font-family: var(--display); font-weight: 800; font-size: 1rem; color: #cbd5e1; }
.service-card h3 { font-size: 1.5rem; font-weight: 700; }
.service-card > p { margin-top: 10px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tags li { padding: 5px 12px; font-size: .8125rem; font-weight: 500; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.service-btn { margin-top: auto; }

.toolkit {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px;
  padding: 24px 28px; background: #fff; border: 1px dashed #d6d3d1; border-radius: 18px;
}
.toolkit-label { font-family: var(--display); font-weight: 700; font-size: .9375rem; color: var(--ink); }
.toolkit ul { display: flex; flex-wrap: wrap; gap: 8px; }
.toolkit li { padding: 6px 14px; font-size: .875rem; font-weight: 500; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; }

/* ---------- Why us (dark) ---------- */
.section-dark { background: var(--dark); color: #cbd5e1; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .18), transparent 65%); pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #fdba74; }
.section-dark .text-accent { background-image: var(--grad); }
.why-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-intro p { margin: 20px 0 32px; max-width: 480px; font-size: 1.0625rem; color: #94a3b8; }
.why-list { display: grid; gap: 16px; }
.why-item {
  display: flex; gap: 20px; padding: 28px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
  transition: border-color .3s, background .3s, transform .3s;
}
.why-item:hover { border-color: rgba(249, 115, 22, .45); background: rgba(249, 115, 22, .06); transform: translateX(6px); }
.why-item .icon-box { background: rgba(249, 115, 22, .12); color: #fb923c; }
.why-item h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.why-item p { font-size: .9375rem; color: #94a3b8; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
a.contact-card:hover .icon-box { background: var(--grad); color: #fff; }
.contact-card .icon-box { margin-bottom: 18px; }
.contact-card small { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { margin-top: 6px; font-family: var(--display); font-size: 1.125rem; color: var(--ink); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #94a3b8; font-size: .9375rem; }
.footer-cta {
  position: relative; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-cta h2 { color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.footer-cta p { margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding: 56px 0; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: #94a3b8; }
.footer-about { max-width: 320px; margin-top: 20px; }
.footer-title { margin-bottom: 18px; font-size: 1rem; font-weight: 700; color: #fff; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { position: relative; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: #fb923c; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { font-size: 17px; color: #fb923c; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem;
}
.back-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #e2e8f0; transition: color .25s; }
.back-top .icon { font-size: 16px; transition: transform .3s; }
.back-top:hover { color: #fb923c; }
.back-top:hover .icon { transform: translateY(-3px); }

/* ---------- Popup enquiry modal ---------- */
.modal {
  width: min(600px, calc(100% - 32px)); max-width: none;
  height: auto; max-height: calc(100dvh - 40px);
  padding: 0; margin: auto; border: 0; border-radius: 22px;
  background: transparent; overflow: visible;
}
.modal::backdrop { background: rgba(11, 17, 32, .65); backdrop-filter: blur(5px); }
.modal[open] { animation: modalIn .4s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .3s ease; }

/* Card = fixed header + scrollable body + fixed footer: always fits the screen */
.modal-card {
  display: flex; flex-direction: column;
  max-height: calc(100dvh - 40px); overflow: hidden;
  background: #fff; border-radius: 22px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .5);
}
.modal-header {
  position: relative; overflow: hidden; flex-shrink: 0;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px;
  padding: 22px 24px 18px;
  background: var(--dark); color: #cbd5e1;
}
.modal-header::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 65%); pointer-events: none;
}
.modal-header > img {
  width: 44px; height: 44px; object-fit: contain; padding: 6px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
}
.modal-heading { position: relative; min-width: 0; }
.modal-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fdba74; }
.modal-heading h2 { margin-top: 2px; font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.modal-close {
  position: relative; width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; color: #fff;
  transition: background .3s, transform .4s var(--ease);
}
.modal-close .icon { font-size: 18px; }
.modal-close:hover { background: var(--brand); transform: rotate(90deg); }
.modal-trust {
  position: relative; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem; color: #cbd5e1;
}
.modal-trust li { display: flex; align-items: center; gap: 6px; }
.modal-trust .icon { font-size: 15px; color: #fb923c; }

.modal-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.modal-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 8px; }
.modal-footer { flex-shrink: 0; padding: 14px 24px 18px; background: #fff; border-top: 1px solid var(--line); }
.modal-footer .btn { height: 50px; }

/* Fields */
fieldset.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field legend, .field label { padding: 0; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.field legend { margin-bottom: 10px; }
.req { color: var(--brand-600); }
.optional { font-weight: 400; color: var(--muted); }

.service-options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.option span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px;
  font-size: .875rem; font-weight: 500; color: var(--ink-2);
  background: var(--soft); border: 1.5px solid var(--line); border-radius: 999px;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.option:hover span { border-color: var(--brand); transform: translateY(-1px); }
.option input:checked + span { background: var(--grad); border-color: transparent; color: #1c0d02; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(249, 115, 22, .7); }
.option input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; font-size: .9375rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: none; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #a8a29e; }
.field input:hover, .field textarea:hover { border-color: #d6d3d1; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(249, 115, 22, .14); }
.field input:user-invalid { border-color: #dc2626; background: #fef2f2; }
.form-note { margin-top: 10px; font-size: .75rem; color: var(--muted); text-align: center; }
.form-note.success { color: #15803d; font-weight: 600; }
/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal-left { transform: translateX(-48px); }
.js .reveal-right { transform: translateX(48px); }
.js .reveal-zoom { transform: translateY(36px) scale(.94); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.visible .icon-box { animation: iconPop .7s var(--ease) .25s backwards; }


/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, .5); } 100% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }
@keyframes ripple { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes spinPop { 0%, 80%, 100% { transform: rotate(0) scale(1); } 88% { transform: rotate(-12deg) scale(1.15); } 94% { transform: rotate(8deg) scale(1.05); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes iconPop { 0% { opacity: 0; transform: scale(.4) rotate(-20deg); } 70% { transform: scale(1.12) rotate(4deg); } 100% { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */

/* Laptop / small desktop */
@media (max-width: 1100px) {
  :root { --fs-h1: 3.25rem; --fs-h2: 2.4rem; --section-y: 88px; }
  .nav { gap: 16px; }
  .nav-link { padding: 8px 10px; }
  .nav-link::after { left: 10px; right: 10px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* Tablet — mobile navigation */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 12px var(--container-x) 32px; overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 15px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { left: 4px; right: auto; width: 28px; bottom: -1px; }
  .nav-link.active { color: var(--brand-700); }
  .nav-mobile-contact { display: grid; gap: 12px; font-size: .9375rem; color: var(--text); }
  .nav-mobile-contact a { display: flex; align-items: center; gap: 10px; }
  .nav-mobile-contact .icon { font-size: 18px; color: var(--brand-600); }
  .nav-cta { width: 100%; height: 50px; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { max-width: 680px; }
  .hero-card-title, .hero-card-link { display: none; }
  .hero-card { padding: 14px; border-radius: 18px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin: 0; gap: 10px; }
  .hero-stats li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .hero-stats li:hover { transform: none; }
  .hero-scroll { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}

/* Mobile — reduced section sizes and fonts */
@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
    --nav-h: 64px;
    --fs-h1: 2.125rem;
    --fs-h2: 1.625rem;
    --section-y: 60px;
    --container-x: 20px;
    --radius: 14px;
  }
  body { font-size: 15px; line-height: 1.6; }
  .js .reveal-left { transform: translateX(-24px); }
  .js .reveal-right { transform: translateX(24px); }
  .js .reveal-zoom { transform: translateY(24px) scale(.96); }
  .topbar { display: none; }

  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.125rem; }
  .brand-tag { font-size: .5625rem; letter-spacing: .16em; margin-top: 4px; }
  .menu-toggle { width: 40px; height: 40px; border-radius: 10px; }

  .btn { height: 46px; padding: 0 22px; font-size: .875rem; }
  .btn-lg { height: 48px; padding: 0 24px; font-size: .9375rem; }
  .btn-sm { height: 40px; padding: 0 18px; font-size: .8125rem; }
  .btn:hover { transform: none; }

  .eyebrow { font-size: .6875rem; margin-bottom: 10px; gap: 8px; }
  .eyebrow::before { width: 16px; }
  .section-lead { font-size: .9375rem; margin-top: 10px; }
  .section-head { margin-bottom: 32px; }

  /* Hero */
  .hero { padding: calc(var(--header-h) + 28px) 0 40px; }
  .hero-bg img { object-position: 30% center; }
  .hero::before { background: radial-gradient(80% 50% at 90% 10%, rgba(249, 115, 22, .25), transparent 65%), linear-gradient(180deg, rgba(11, 17, 32, .9), rgba(11, 17, 32, .94)); }
  .hero h1 { font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1.12; }
  .badge { font-size: .75rem; padding: 4px 12px 4px 6px; margin-bottom: 14px; }
  .badge-dot { width: 18px; height: 18px; }
  .lead { font-size: .9375rem; margin-top: 12px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-points { display: none; }
  .hero-grid { gap: 26px; }
  .hero-card { padding: 10px; border-radius: 16px; }
  .hero-stats { gap: 8px; }
  .hero-stats li { gap: 8px; padding: 12px 10px; border-radius: 12px; }
  .hs-icon { width: 32px; height: 32px; border-radius: 9px; }
  .hs-icon .icon { font-size: 17px; }
  .hero-stats strong { font-size: 1.25rem; }
  .hero-stats small { font-size: .6875rem; line-height: 1.3; display: block; }



  /* About */
  .about-copy p { font-size: .9375rem; margin-bottom: 20px; }

  /* Stats — looping auto-scroll strip */
  .stats-viewport {
    margin: 32px calc(-1 * var(--container-x)) 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .stats { display: flex; width: max-content; gap: 0; animation: marquee 20s linear infinite; }
  .stats-viewport:active .stats { animation-play-state: paused; }
  .stat, .stat-dup { display: block; flex: 0 0 190px; margin-right: 12px; padding: 18px; }
  .stat:hover { transform: none; }
  .stat strong { font-size: 1.75rem; }
  .stat p { font-size: .8125rem; margin-top: 6px; line-height: 1.45; }

  /* Ribbons */
  .ribbons { height: 104px; }
  .ribbon { padding: 11px 0; }
  .ribbon li { gap: 10px; padding-right: 32px; }
  .ribbon-front li { font-size: .875rem; }
  .ribbon-front li i { width: 28px; height: 28px; font-size: 14px; }
  .ribbon-back li { font-size: 1rem; }
  .ribbon-back li::after { width: 7px; height: 7px; margin-left: 24px; }



  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 22px; border-radius: 16px; }
  .service-card:hover { transform: none; }
  .service-top { margin-bottom: 16px; }
  .icon-box { width: 44px; height: 44px; border-radius: 12px; }
  .icon-box .icon { font-size: 22px; }
  .service-card h3 { font-size: 1.1875rem; }
  .service-card > p { font-size: .875rem; margin-top: 6px; }
  .tags { gap: 6px; margin: 16px 0 20px; }
  .tags li { font-size: .75rem; padding: 4px 10px; }
  .toolkit { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 18px; border-radius: 14px; }
  .toolkit-label { font-size: .875rem; }
  .toolkit li { font-size: .75rem; padding: 4px 11px; }

  /* Why */
  .why-grid { gap: 32px; }
  .why-intro p { font-size: .9375rem; margin: 14px 0 22px; }
  .why-list { gap: 12px; }
  .why-item { padding: 18px; gap: 14px; border-radius: 14px; }
  .why-item:hover { transform: none; }
  .why-item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
  .why-item p { font-size: .875rem; }


  /* Contact */
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 16px 18px; border-radius: 14px; }
  .contact-card .icon-box { margin: 0; grid-row: span 2; }
  .contact-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 0; }
  .contact-card small { font-size: .6875rem; }
  .contact-card strong { margin-top: 0; font-size: 1rem; }
  .contact-actions { margin-top: 28px; }

  /* Footer */
  .footer { font-size: .875rem; }
  .footer-cta { padding: 40px 0; gap: 20px; }
  .footer-cta h2 { font-size: 1.375rem; }
  .footer-cta p { font-size: .875rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0; }
  .footer-about { margin-top: 14px; font-size: .875rem; }
  .footer-title { font-size: .9375rem; margin-bottom: 12px; }
  .footer-links { gap: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; padding: 20px 0; font-size: .8125rem; }

  /* Modal — bottom sheet on phones */
  .modal { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .modal-card { max-height: 92dvh; border-radius: 20px 20px 0 0; }
  .modal[open] { animation: sheetIn .4s var(--ease); }
  .modal-header { padding: 18px 18px 14px; gap: 2px 12px; }
  .modal-header > img { width: 38px; height: 38px; padding: 5px; border-radius: 10px; }
  .modal-heading h2 { font-size: 1.0625rem; }
  .modal-kicker { font-size: .625rem; }
  .modal-close { width: 34px; height: 34px; }
  .modal-trust { margin-top: 12px; padding-top: 12px; gap: 6px 14px; font-size: .75rem; }
  .modal-body { padding: 18px 18px 6px; }
  .modal-footer { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
  .modal-footer .btn { height: 48px; }
  .field legend, .field label { font-size: .8125rem; }
  .service-options { gap: 6px; }
  .option span { height: 34px; padding: 0 12px; font-size: .8125rem; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .field input, .field textarea { font-size: 16px; padding: 10px 13px; border-radius: 10px; } /* 16px prevents iOS zoom */
  .field textarea { min-height: 72px; }}
}

/* Small phones */
@media (max-width: 480px) {
  :root { --fs-h1: 1.875rem; --fs-h2: 1.5rem; --section-y: 52px; --container-x: 16px; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; gap: 8px; }
  .stat { padding: 16px; }
  .stat strong { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta .btn { width: 100%; }
}

@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.modal-card:focus { outline: none; }

/* Fit 7 nav links on small laptops */
@media (min-width: 961px) and (max-width: 1140px) { .nav-list li:first-child { display: none; } }

/* =========================================================
   Compact mobile sizing (overrides above) — phones
   ========================================================= */
@media (max-width: 768px) {
  :root { --nav-h: 60px; --fs-h1: 1.875rem; --fs-h2: 1.4375rem; --section-y: 48px; --container-x: 18px; }
  body { font-size: 14px; line-height: 1.55; }

  /* Header */
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 1.0625rem; }
  .brand-tag { font-size: .5rem; }
  .menu-toggle { width: 38px; height: 38px; }
  .nav-link { padding: 12px 4px; font-size: .9375rem; }

  /* Buttons */
  .btn { height: 42px; padding: 0 18px; font-size: .8125rem; }
  .btn-lg { height: 46px; padding: 0 22px; font-size: .875rem; }
  .btn-sm { height: 36px; padding: 0 16px; font-size: .75rem; }

  /* Headings */
  .eyebrow { font-size: .625rem; margin-bottom: 8px; letter-spacing: .12em; }
  .section-title { line-height: 1.2; }
  .section-lead { font-size: .875rem; margin-top: 8px; }
  .section-head { margin-bottom: 26px; }

  /* Hero */
  .hero { padding: calc(var(--header-h) + 24px) 0 32px; }
  .badge { font-size: .6875rem; margin-bottom: 12px; }
  .lead { font-size: .875rem; margin-top: 10px; line-height: 1.6; }
  .hero-actions { margin-top: 18px; }
  .hero-grid { gap: 22px; }
  .hero-stats li { padding: 10px 8px; }
  .hero-stats strong { font-size: 1.125rem; }
  .hero-stats small { font-size: .625rem; }

  /* Ribbons strip */
  .ribbons { height: 84px; }
  .ribbon { padding: 8px 0; }
  .ribbon li { gap: 8px; padding-right: 26px; }
  .ribbon-front li { font-size: .75rem; }
  .ribbon-front li i { width: 24px; height: 24px; font-size: 12px; }
  .ribbon-back li { font-size: .875rem; }
  .ribbon-back li::after { width: 6px; height: 6px; margin-left: 20px; }

  /* About + stats */
  .about-grid { gap: 16px; }
  .about-copy p { font-size: .875rem; margin-bottom: 16px; }
  .stats-viewport { margin-top: 26px; }
  .stat, .stat-dup { flex-basis: 170px; padding: 16px; margin-right: 10px; }
  .stat strong { font-size: 1.5rem; }
  .stat p { font-size: .75rem; }

  /* Services */
  .services-grid { gap: 12px; }
  .service-card { padding: 18px; border-radius: 14px; }
  .service-top { margin-bottom: 12px; }
  .icon-box { width: 40px; height: 40px; border-radius: 10px; }
  .icon-box .icon { font-size: 20px; }
  .service-num { font-size: .8125rem; }
  .service-card h3 { font-size: 1.0625rem; }
  .service-card > p { font-size: .8125rem; }
  .tags { gap: 5px; margin: 12px 0 16px; }
  .tags li { font-size: .6875rem; padding: 3px 9px; }
  .toolkit { padding: 16px; margin-top: 16px; gap: 10px; }
  .toolkit li { font-size: .6875rem; padding: 3px 10px; }


  /* Why us */
  .why-grid { gap: 24px; }
  .why-intro p { font-size: .875rem; margin: 10px 0 18px; }
  .why-list { gap: 10px; }
  .why-item { padding: 14px; gap: 12px; }
  .why-item h3 { font-size: .9375rem; }
  .why-item p { font-size: .8125rem; }


  /* Contact */
  .contact-cards { gap: 10px; }
  .contact-card { padding: 12px 14px; column-gap: 12px; }
  .contact-card strong { font-size: .875rem; }
  .contact-card small { font-size: .625rem; }
  .contact-actions { margin-top: 20px; }

  /* Footer */
  .footer { font-size: .8125rem; }
  .footer-cta { padding: 32px 0; gap: 16px; }
  .footer-cta h2 { font-size: 1.1875rem; }
  .footer-cta p { font-size: .8125rem; margin-top: 6px; }
  .footer-grid { gap: 26px 16px; padding: 32px 0; }
  .footer-about { font-size: .8125rem; }
  .footer-title { font-size: .875rem; margin-bottom: 10px; }
  .footer-links { gap: 8px; }
  .footer-bottom { font-size: .75rem; padding: 16px 0; }
}

@media (max-width: 480px) {
  :root { --fs-h1: 1.75rem; --fs-h2: 1.3125rem; --section-y: 44px; --container-x: 16px; }
}

@media (max-width: 360px) {
  :root { --fs-h1: 1.5625rem; --fs-h2: 1.1875rem; --section-y: 40px; --container-x: 14px; }
  body { font-size: 13.5px; }
  .hero-stats small { display: none; }
  .stat, .stat-dup { flex-basis: 150px; }
}

/* Keep paired buttons on one line on phones */
@media (max-width: 768px) {
  .hero-actions, .contact-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 0; width: auto; min-width: 0; padding: 0 10px; }
}
@media (max-width: 360px) {
  .hero-actions .btn, .contact-actions .btn { font-size: .75rem; padding: 0 8px; }
}

/* Footer — single centred column on phones (Services below Quick links) */
@media (max-width: 768px) {
  .footer { text-align: center; }
  .footer-cta { align-items: center; text-align: center; }
  .footer-cta .btn { width: auto; min-width: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .footer-brand-col { display: flex; flex-direction: column; align-items: center; }
  .footer-about { margin-left: auto; margin-right: auto; max-width: 340px; }
  .footer-links { justify-items: center; }
  .footer-contact li { justify-content: center; }
  .footer-grid > div + div { width: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .footer-bottom { align-items: center; }
}

/* =========================================================
   Process — zig-zag animated timeline
   ========================================================= */
.timeline { position: relative; max-width: 1040px; margin: 0 auto; --p: 0; }
.timeline-track {
  position: absolute; top: 0; height: 100%; left: 50%; width: 4px; margin-left: -2px;
  background: #ece9e4; border-radius: 4px;
}
.timeline-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #fbbf24, #f97316 50%, #ea580c); transform-origin: top center; transform: scaleY(var(--p)); }
.timeline-spark {
  position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: #fff; border: 4px solid var(--brand);
  box-shadow: 0 0 0 7px rgba(249, 115, 22, .16), 0 0 26px rgba(249, 115, 22, .9);
  opacity: min(1, calc(var(--p) * 30));
}
.process-grid { position: relative; display: grid; gap: 34px; }
.step { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; column-gap: 36px; }
.step-node {
  grid-column: 2; grid-row: 1; position: relative; z-index: 1; justify-self: center;
  width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 2px solid #e2e8f0; color: #94a3b8;
  font-family: var(--display); font-size: 1.375rem; font-weight: 800;
  transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease), box-shadow .5s;
}
.step-node::before, .step-node::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.step.active .step-node { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.08); box-shadow: 0 18px 34px -12px rgba(234, 88, 12, .7); }
.step.active .step-node::before { animation: ripple 2.4s ease-out infinite; }
.step.active .step-node::after { animation: ripple 2.4s ease-out 1.2s infinite; }

.step-card {
  grid-row: 1; position: relative; padding: 26px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .5s var(--ease), box-shadow .5s ease, border-color .5s;
}
.step:nth-child(odd) .step-card { grid-column: 1; }
.step:nth-child(even) .step-card { grid-column: 3; }
/* pointer towards the node */
.step-card::after {
  content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: #fff; border: 1px solid var(--line); transform: rotate(45deg); transition: border-color .5s;
}
.step:nth-child(odd) .step-card::after { right: -9px; border-left: 0; border-bottom: 0; }
.step:nth-child(even) .step-card::after { left: -9px; border-right: 0; border-top: 0; }
/* accent bar on the side facing the timeline */
.step-card::before {
  content: ""; position: absolute; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--grad);
  transform: scaleY(0); transition: transform .7s var(--ease) .2s;
}
.step:nth-child(odd) .step-card::before { right: -1px; }
.step:nth-child(even) .step-card::before { left: -1px; }
.step.active .step-card { border-color: var(--brand-100); box-shadow: 0 22px 44px -24px rgba(234, 88, 12, .45); }
.step.active .step-card::after { border-color: var(--brand-100); }
.step.active .step-card::before { transform: scaleY(1); }
.step-card:hover { transform: translateY(-6px); }

.step-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.step-icon {
  width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px;
  background: var(--brand-50); color: var(--brand-600); transition: background .5s, color .5s, transform .6s var(--ease);
}
.step-icon .icon { font-size: 24px; }
.step.active .step-icon { background: var(--grad); color: #fff; transform: rotate(-8deg); }
.step-num { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); }
.step h3 { font-size: 1.3125rem; margin-top: 2px; }
.step p { font-size: .9375rem; color: var(--muted); }
.step-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.step-points li {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
}
.step-points .icon { font-size: 14px; color: #16a34a; }

/* Tablet & phone: single line on the left */
@media (max-width: 960px) {
  .timeline-track { left: 32px; }
  .timeline-spark { left: 50%; }
  .step { grid-template-columns: 64px 1fr; column-gap: 20px; }
  .step-node { grid-column: 1; width: 60px; height: 60px; font-size: 1.125rem; }
  .step:nth-child(odd) .step-card, .step:nth-child(even) .step-card { grid-column: 2; }
  .step:nth-child(odd) .step-card::after { right: auto; left: -9px; border: 1px solid var(--line); border-right: 0; border-top: 0; }
  .step:nth-child(odd) .step-card::before { right: auto; left: -1px; }
}
@media (max-width: 768px) {
  .timeline-track { left: 22px; }
  .process-grid { gap: 14px; }
  .step { grid-template-columns: 44px 1fr; column-gap: 14px; }
  .step-node { width: 44px; height: 44px; font-size: .9375rem; }
  .step-node::before, .step-node::after { inset: -6px; }
  .step-card { padding: 16px; border-radius: 16px; }
  .step-card::after { width: 12px; height: 12px; margin-top: -6px; }
  .step:nth-child(odd) .step-card::after, .step:nth-child(even) .step-card::after { left: -7px; }
  .step-card:hover { transform: none; }
  .step-card-head { gap: 10px; margin-bottom: 8px; }
  .step-icon { width: 36px; height: 36px; border-radius: 10px; }
  .step-icon .icon { font-size: 18px; }
  .step-num { font-size: .5625rem; }
  .step h3 { font-size: 1rem; }
  .step p { font-size: .8125rem; }
  .step-points { gap: 6px; margin-top: 10px; }
  .step-points li { font-size: .6875rem; padding: 3px 9px 3px 6px; }
}


/* =========================================================
   Our work — device showcase with auto-scrolling websites
   ========================================================= */
.showcases { display: grid; gap: 96px; }
.showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.showcase-reverse .showcase-stage { order: 2; }

.showcase-stage {
  position: relative; isolation: isolate; aspect-ratio: 4 / 3.1;
  display: flex; align-items: center; justify-content: center;
  padding: 7% 13% 9% 5%; border-radius: 28px; overflow: hidden;
}
.showcase-anc .showcase-stage { background: radial-gradient(120% 120% at 0% 0%, #7f1d1d 0%, #4a0d18 45%, #1f0a0f 100%); }
.showcase-aer .showcase-stage { background: radial-gradient(120% 120% at 0% 0%, #1d4ed8 0%, #12317a 45%, #0a1a40 100%); }
.showcase-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%); mask-image: linear-gradient(135deg, #000, transparent 75%);
}
.stage-glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -15%; bottom: -30%; border-radius: 50%; filter: blur(30px); animation: glowPulse 6s ease-in-out infinite; }
.showcase-anc .stage-glow { background: radial-gradient(circle, rgba(234, 179, 8, .55), transparent 65%); }
.showcase-aer .stage-glow { background: radial-gradient(circle, rgba(16, 185, 129, .45), transparent 65%); }

/* Laptop */
.laptop { position: relative; width: 100%; animation: deviceFloat 7s ease-in-out infinite; }
.laptop-screen {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  aspect-ratio: 16 / 10.6; padding: 0; background: #0b0b0f;
  border: 10px solid #111318; border-bottom-width: 14px; border-radius: 16px 16px 0 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 70px -24px rgba(0, 0, 0, .7);
}
.laptop-bar { flex-shrink: 0; display: flex; align-items: center; gap: 5px; padding: 6px 10px; background: #f1f5f9; }
.laptop-bar i { width: 7px; height: 7px; border-radius: 50%; background: #fca5a5; }
.laptop-bar i:nth-child(2) { background: #fcd34d; }
.laptop-bar i:nth-child(3) { background: #86efac; }
.laptop-bar span { flex: 1; max-width: 60%; margin-left: 8px; padding: 1px 8px; font-size: .625rem; color: var(--muted); background: #fff; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.laptop-base {
  position: relative; height: 14px; margin: 0 -9%;
  background: linear-gradient(180deg, #d4d4d8, #a1a1aa 60%, #71717a); border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .6);
}
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; margin-left: -8%; background: #8f8f97; border-radius: 0 0 8px 8px; }

/* The website scrolls inside the screen */
.site-scroll {
  flex: 1; width: 100%; background-color: #fff;
  background-repeat: no-repeat; background-size: 100% auto; background-position: center 0%;
  animation: siteScroll 22s cubic-bezier(.45, 0, .55, 1) infinite;
}
.showcase:hover .site-scroll { animation-duration: 11s; }

/* Phone */
.phone {
  position: absolute; right: 5%; bottom: 7%; z-index: 2; width: 23%; aspect-ratio: 9 / 19;
  padding: 6px; background: #0b0b0f; border-radius: 22px;
  box-shadow: 0 0 0 2px #2a2d34, 0 30px 50px -16px rgba(0, 0, 0, .75);
  display: flex; flex-direction: column; animation: deviceFloat 6s ease-in-out -2s infinite;
}
.phone-notch { position: absolute; top: 9px; left: 50%; z-index: 2; width: 34%; height: 9px; margin-left: -17%; background: #0b0b0f; border-radius: 0 0 8px 8px; }
.site-scroll-phone { border-radius: 16px; animation-duration: 16s; animation-delay: -4s; }

.live-badge {
  position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; font-size: .75rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; backdrop-filter: blur(8px);
}
.live-badge span { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: livePulse 1.8s infinite; }

/* Info */
.showcase-info { position: relative; }
.project-cat { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); }
.showcase-info h3 { margin: 8px 0 14px; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.showcase-info > p { color: var(--muted); }
.showcase-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 24px 0 30px; }
.showcase-features li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.showcase-features .icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; font-size: 17px;
  background: var(--brand-50); color: var(--brand-600);
}
.showcase-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes siteScroll { 0%, 6% { background-position: center 0%; } 50%, 56% { background-position: center 100%; } 100% { background-position: center 0%; } }
@keyframes deviceFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glowPulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } 100% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }

@media (max-width: 1100px) {
  .showcase { gap: 40px; }
  .showcase-info h3 { font-size: 1.75rem; }
}
@media (max-width: 960px) {
  .showcases { gap: 64px; }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase-reverse .showcase-stage { order: 0; }
  .showcase-stage { max-width: 680px; width: 100%; margin: 0 auto; }
}
@media (max-width: 768px) {
  .showcases { gap: 44px; }
  .showcase { gap: 20px; }
  .showcase-stage { border-radius: 18px; padding: 9% 14% 10% 5%; }
  .laptop-screen { border-width: 6px; border-bottom-width: 9px; border-radius: 10px 10px 0 0; }
  .laptop-bar { padding: 4px 6px; gap: 3px; }
  .laptop-bar i { width: 5px; height: 5px; }
  .laptop-bar span { font-size: .5rem; padding: 0 5px; margin-left: 4px; }
  .laptop-base { height: 9px; }
  .phone { padding: 4px; border-radius: 14px; }
  .phone-notch { top: 6px; height: 6px; }
  .site-scroll-phone { border-radius: 10px; }
  .live-badge { top: 10px; left: 10px; padding: 4px 9px; font-size: .625rem; gap: 6px; }
  .live-badge span { width: 6px; height: 6px; }
  .project-cat { font-size: .625rem; }
  .showcase-info h3 { font-size: 1.25rem; margin: 6px 0 8px; }
  .showcase-info > p { font-size: .8125rem; }
  .showcase-features { gap: 8px 10px; margin: 16px 0 20px; }
  .showcase-features li { font-size: .75rem; gap: 7px; }
  .showcase-features .icon { width: 26px; height: 26px; font-size: 13px; border-radius: 8px; }
  .showcase-actions { flex-wrap: nowrap; gap: 8px; }
  .showcase-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
}
/* Process — related photo opposite each card, revealed while scrolling */
.step-media {
  grid-row: 1; position: relative; margin: 0; overflow: hidden; align-self: stretch; min-height: 220px;
  border-radius: 22px; background: #f1f0ee;
  clip-path: inset(0 0 0 100% round 22px);
  transition: clip-path 1s var(--ease), box-shadow .6s ease;
}
.step:nth-child(odd) .step-media { grid-column: 3; }
.step:nth-child(even) .step-media { grid-column: 1; clip-path: inset(0 100% 0 0 round 22px); }
.step-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.6s var(--ease); }
.step-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 17, 32, .65)), linear-gradient(135deg, rgba(249, 115, 22, .25), transparent 60%);
}
.step-media figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(10px); transition: opacity .6s ease .6s, transform .6s var(--ease) .6s;
}
.step.active .step-media { clip-path: inset(0 0 0 0 round 22px); box-shadow: 0 28px 50px -26px rgba(15, 23, 42, .5); }
.step.active .step-media img { transform: scale(1); }
.step.active .step-media figcaption { opacity: 1; transform: none; }
.step-media:hover img { transform: scale(1.06); }

@media (max-width: 960px) {
  .step { grid-template-rows: auto auto; row-gap: 12px; }
  .step-node { grid-row: 1 / span 2; align-self: center; }
  .step:nth-child(odd) .step-media, .step:nth-child(even) .step-media { grid-column: 2; grid-row: 1; min-height: 0; aspect-ratio: 16 / 7; clip-path: inset(0 100% 0 0 round 18px); }
  .step:nth-child(odd) .step-card, .step:nth-child(even) .step-card { grid-row: 2; }
  .step.active .step-media { clip-path: inset(0 0 0 0 round 18px); }
  .step-card::after { display: none; }
}
@media (max-width: 768px) {
  .step { row-gap: 8px; }
  .step-media { border-radius: 14px; }
  .step-media figcaption { left: 10px; bottom: 8px; padding: 3px 9px; font-size: .5625rem; }
}

/* =========================================================
   About — redesigned
   ========================================================= */
.about { overflow: hidden; }
.about-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-visual { position: relative; padding: 0 12% 14% 0; }
.about-img { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.06); }
.about-img-main { aspect-ratio: 8 / 9; }
.about-img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 8px solid #fff; border-radius: 24px; animation: deviceFloat 7s ease-in-out infinite;
}
.about-visual::before {
  content: ""; position: absolute; left: -28px; top: -28px; z-index: -1; width: 160px; height: 160px; border-radius: 24px;
  background-image: radial-gradient(var(--brand) 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .35;
}
.exp-badge {
  position: absolute; left: -6%; bottom: 20%; width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; background: var(--dark); color: #fff;
  box-shadow: 0 20px 40px -14px rgba(11, 17, 32, .6);
}
.exp-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.exp-badge text { font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: 2.4px; fill: #fdba74; }
.exp-badge div { text-align: center; line-height: 1; }
.exp-badge strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.exp-badge span { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #cbd5e1; }
.about-float {
  position: absolute; left: 8%; top: 7%; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255, 255, 255, .95); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  animation: deviceFloat 6s ease-in-out -3s infinite;
}
.about-float-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #dcfce7; color: #16a34a; }
.about-float-icon .icon { font-size: 20px; }
.about-float strong { display: block; font-family: var(--display); font-size: .9375rem; color: var(--ink); line-height: 1.2; }
.about-float small { font-size: .75rem; color: var(--muted); }

.about-content > p { margin-top: 18px; font-size: 1.0625rem; color: var(--muted); }
.about-points { display: grid; gap: 14px; margin: 28px 0 32px; }
.about-points li {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.about-points li:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateX(6px); }
.ap-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); transition: background .35s, color .35s, transform .5s var(--ease); }
.ap-icon .icon { font-size: 22px; }
.about-points li:hover .ap-icon { background: var(--grad); color: #fff; transform: rotate(-8deg); }
.about-points strong { display: block; font-family: var(--display); font-size: 1.0625rem; color: var(--ink); }
.about-points span { font-size: .9375rem; color: var(--muted); }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stats band */
.stats-viewport {
  position: relative; overflow: hidden; margin-top: 80px; padding: 8px;
  background: var(--dark); border-radius: 26px;
}
.stats-viewport::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(249, 115, 22, .3), transparent 60%); pointer-events: none; }
.stats { position: relative; gap: 0; }
.stats .stat {
  padding: 30px 28px; background: transparent; border: 0; border-radius: 0; text-align: left;
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.stats .stat:first-child { border-left: 0; }
.stats .stat:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .03); }
.stats .stat strong { color: #fff; font-size: 2.75rem; }
.stats .stat strong span:not(.count) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats .stat p { color: #94a3b8; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) { .about-grid { gap: 48px; } }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats .stat:nth-child(3) { border-left: 0; }
  .stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 768px) {
  .about-grid { gap: 28px; }
  .about-visual { padding: 0 10% 12% 0; max-width: 400px; }
  .about-visual::before { left: -12px; top: -12px; width: 90px; height: 90px; }
  .about-img { border-radius: 18px; }
  .about-img-small { border-width: 5px; border-radius: 16px; }
  .exp-badge { width: 92px; height: 92px; left: -3%; }
  .exp-badge text { font-size: 10px; letter-spacing: 2px; }
  .exp-badge strong { font-size: 1.375rem; }
  .exp-badge span { font-size: .5625rem; }
  .about-float { padding: 8px 11px; gap: 8px; border-radius: 12px; left: 5%; top: 5%; }
  .about-float-icon { width: 28px; height: 28px; border-radius: 8px; }
  .about-float-icon .icon { font-size: 15px; }
  .about-float strong { font-size: .75rem; }
  .about-float small { font-size: .625rem; }
  .about-content > p { font-size: .875rem; margin-top: 12px; }
  .about-points { gap: 10px; margin: 18px 0 20px; }
  .about-points li { padding: 12px; gap: 12px; border-radius: 12px; }
  .about-points li:hover { transform: none; }
  .ap-icon { width: 34px; height: 34px; border-radius: 10px; }
  .ap-icon .icon { font-size: 17px; }
  .about-points strong { font-size: .875rem; }
  .about-points span { font-size: .75rem; }
  .about-actions { flex-wrap: nowrap; gap: 8px; }
  .about-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }

  /* Stats band → looping strip */
  .stats-viewport { margin: 32px 0 0; padding: 4px; border-radius: 18px; -webkit-mask-image: none; mask-image: none; }
  .stats .stat, .stats .stat-dup { flex: 0 0 170px; margin: 0; padding: 18px 16px; border-left: 1px solid rgba(255, 255, 255, .08); border-top: 0; }
  .stats .stat strong { font-size: 1.625rem; }
  .stats .stat p { font-size: .75rem; }
}

/* =========================================================
   Header — floating glass pill with sliding indicator
   ========================================================= */
:root { --nav-h: 84px; }
.header { transition: transform .45s var(--ease); }
.header.scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
.topbar { background: linear-gradient(90deg, #0b1120, #1a1430 60%, #2a1608); }
.header-main {
  height: var(--nav-h); display: flex; align-items: center;
  background: transparent; border-bottom: 0;
}
.header.scrolled .header-main { box-shadow: none; }
.header-inner {
  width: calc(100% - 2 * var(--container-x)); max-width: 1180px; height: 64px; margin: 0 auto;
  padding: 0 8px 0 22px;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px;
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 12px 32px -14px rgba(15, 23, 42, .35);
  transition: box-shadow .4s ease, background .4s ease, height .4s var(--ease);
}
.header.scrolled .header-inner { background: rgba(255, 255, 255, .97); box-shadow: 0 16px 40px -14px rgba(15, 23, 42, .4); height: 60px; }
.brand img { transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }

.nav { gap: 12px; }
.nav-pill { position: relative; display: flex; padding: 5px; background: #f4f2ee; border-radius: 999px; }
.nav-list { position: relative; z-index: 1; gap: 0; }
.nav-link { padding: 8px 15px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--text); transition: color .35s; }
.nav-link::after { display: none; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.is-current { color: #1c0d02; }
.nav-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; z-index: 0; border-radius: 999px; opacity: 0;
  background: var(--grad); box-shadow: 0 8px 18px -8px rgba(234, 88, 12, .8);
  transition: left .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.nav-phone {
  position: relative; width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-600); transition: background .3s, color .3s, transform .3s;
}
.nav-phone .icon { font-size: 19px; }
.nav-phone::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ripple 2.2s ease-out infinite; }
.nav-phone:hover { background: var(--grad); color: #fff; transform: rotate(-12deg); }
.nav-cta { height: 46px; padding: 0 22px; }

@media (min-width: 961px) and (max-width: 1180px) {
  .nav-link { padding: 8px 11px; font-size: .8125rem; }
  .brand-tag { display: none; }
}

@media (max-width: 960px) {
  .header-inner { border-radius: 20px; padding: 0 8px 0 16px; }
  .nav {
    top: calc(100% - 6px); left: var(--container-x); right: var(--container-x);
    height: auto; max-height: calc(100dvh - var(--header-h) - 12px);
    padding: 14px 18px 20px; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .4);
  }
  .nav-pill { display: block; padding: 0; background: none; }
  .nav-indicator, .nav-phone { display: none; }
  .nav-link { border-radius: 0; font-size: .9375rem; }
  .nav-link.active { color: var(--brand-700); }
  .nav-cta { height: 48px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .header-inner { height: 52px; border-radius: 16px; padding: 0 6px 0 12px; }
  .header.scrolled .header-inner { height: 50px; }
}

/* Phone mockup shows a static view of the site (no auto-scroll) */
.site-scroll-phone, .showcase:hover .site-scroll-phone { animation: none; background-position: center top; }

/* Mobile menu: full-size quote button */
@media (max-width: 960px) { .nav .nav-cta { height: 46px; margin-top: 6px; font-size: .875rem; } }

/* =========================================================
   Services — redesigned cards (dark spotlight on hover)
   ========================================================= */
.services-grid { gap: 22px; }
.service-card {
  isolation: isolate; padding: 32px 30px 30px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: background .5s ease, border-color .5s, transform .5s var(--ease), box-shadow .5s ease;
}
/* cursor spotlight */
.service-card::before {
  content: ""; position: absolute; inset: 0; top: 0; height: auto; z-index: -1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(249, 115, 22, .28), transparent 45%);
  opacity: 0; transform: none; transition: opacity .4s ease;
}
/* decorative ring */
.service-card::after {
  content: ""; position: absolute; top: -90px; right: -90px; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  border: 28px solid var(--brand-50); border-right-color: transparent;
  transition: transform .9s var(--ease), border-color .5s;
}
.service-card:hover {
  background: var(--dark); border-color: transparent; transform: translateY(-10px);
  box-shadow: 0 34px 60px -28px rgba(11, 17, 32, .6);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: rotate(200deg) scale(1.08); border-color: rgba(249, 115, 22, .18); border-right-color: transparent; }

.service-top { margin-bottom: 26px; }
.service-card .icon-box {
  width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff;
  box-shadow: 0 14px 26px -12px rgba(234, 88, 12, .7);
}
.service-card .icon-box .icon { font-size: 28px; }
.service-card:hover .icon-box { transform: translateY(-4px) rotate(-8deg); background: #fff; color: var(--brand-600); }
.service-num {
  padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); background: var(--soft); border: 1px solid var(--line); transition: color .5s, background .5s, border-color .5s;
}
.service-card:hover .service-num { color: #fdba74; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.service-card h3 { font-size: 1.375rem; transition: color .5s; }
.service-card > p { margin-top: 8px; font-size: .9375rem; transition: color .5s; }
.service-card:hover h3 { color: #fff; }
.service-card:hover > p { color: #94a3b8; }

.service-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; width: 100%;
  margin: 22px 0 26px; padding-top: 20px; border-top: 1px dashed var(--line); transition: border-color .5s;
}
.service-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .875rem; font-weight: 500; line-height: 1.4; color: var(--ink-2); transition: color .5s; }
.service-list .icon {
  width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; font-size: 12px;
  background: var(--brand-50); color: var(--brand-600); transition: background .5s, color .5s;
}
.service-card:hover .service-list { border-color: rgba(255, 255, 255, .12); }
.service-card:hover .service-list li { color: #e2e8f0; }
.service-card:hover .service-list .icon { background: rgba(249, 115, 22, .2); color: #fb923c; }
.service-card:hover .service-btn { background: var(--grad); color: #1c0d02; border-color: transparent; }

@media (max-width: 768px) {
  .service-card { padding: 20px 18px; border-radius: 18px; }
  .service-card:hover { background: #fff; transform: none; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); border-color: var(--line); }
  .service-card:hover::before { opacity: 0; }
  .service-card:hover h3 { color: var(--ink); }
  .service-card:hover > p { color: var(--muted); }
  .service-card:hover .service-list li { color: var(--ink-2); }
  .service-card:hover .service-list { border-color: var(--line); }
  .service-card:hover .service-list .icon { background: var(--brand-50); color: var(--brand-600); }
  .service-card:hover .icon-box { transform: none; background: var(--grad); color: #fff; }
  .service-card:hover .service-num { color: var(--muted); background: var(--soft); border-color: var(--line); }
  .service-card::after { width: 150px; height: 150px; top: -70px; right: -70px; border-width: 20px; }
  .service-top { margin-bottom: 14px; }
  .service-card .icon-box { width: 44px; height: 44px; border-radius: 13px; }
  .service-card .icon-box .icon { font-size: 21px; }
  .service-num { font-size: .625rem; padding: 3px 8px; }
  .service-card h3 { font-size: 1.0625rem; }
  .service-card > p { font-size: .8125rem; }
  .service-list { gap: 7px 10px; margin: 14px 0 18px; padding-top: 14px; }
  .service-list li { font-size: .75rem; gap: 6px; }
  .service-list .icon { width: 15px; height: 15px; font-size: 10px; }
}

/* Centre the Enquire button in service cards */
.service-card .service-btn { align-self: center; }

/* =========================================================
   Header v3 — transparent over hero, solid white on scroll
   ========================================================= */
:root { --topbar-h: 0px; --nav-h: 84px; }
.topbar { display: none; }
.header, .header.scrolled { transform: none; }
.header-main {
  height: var(--nav-h); background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: height .4s var(--ease), background .4s ease, border-color .4s, box-shadow .4s;
}
.header.scrolled .header-main, .header.menu-open .header-main {
  height: 70px; background: rgba(255, 255, 255, .96); border-color: var(--line);
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35);
}
.header-inner, .header.scrolled .header-inner {
  width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 var(--container-x);
  background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* Brand: light over hero, dark when solid */
.header .brand-name { color: #fff; transition: color .4s; }
.header .brand-tag { color: #cbd5e1; transition: color .4s; }
.header.scrolled .brand-name, .header.menu-open .brand-name { color: var(--ink); }
.header.scrolled .brand-tag, .header.menu-open .brand-tag { color: var(--muted); }
.header .brand-tag { display: block; }

/* Links */
.nav { gap: 26px; }
.nav-pill { padding: 0; background: none; }
.nav-indicator { display: none; }
.nav-list { gap: 4px; }
.nav-link, .nav-link.is-current {
  position: relative; padding: 10px 14px; border-radius: 0;
  font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .82); transition: color .3s;
}
.nav-link::after {
  content: ""; display: block; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.header.scrolled .nav-link { color: var(--text); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--ink); }

/* Call block */
.nav-call { display: flex; align-items: center; gap: 10px; color: #fff; transition: color .4s; }
.nav-call-icon {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fb923c;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.nav-call-icon .icon { font-size: 18px; }
.nav-call-icon::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--brand); animation: ripple 2.4s ease-out infinite; }
.nav-call-text { display: flex; flex-direction: column; font-family: var(--display); font-size: .9375rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.nav-call-text small { font-family: var(--font); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #cbd5e1; transition: color .4s; }
.nav-call:hover .nav-call-icon { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(-12deg); }
.header.scrolled .nav-call { color: var(--ink); }
.header.scrolled .nav-call-text small { color: var(--muted); }
.header.scrolled .nav-call-icon { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-600); }
.nav-cta { height: 46px; padding: 0 24px; }

/* Hamburger: light over hero */
.menu-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); transition: background .3s, border-color .3s; }
.menu-toggle span { background: #fff; }
.header.scrolled .menu-toggle, .header.menu-open .menu-toggle { background: #fff; border-color: var(--line); }
.header.scrolled .menu-toggle span, .header.menu-open .menu-toggle span { background: var(--ink); }

@media (min-width: 961px) and (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav-link, .nav-link.is-current { padding: 10px 9px; font-size: .875rem; }
  .nav-link::after { left: 9px; right: 9px; }
  .nav-call-text { display: none; }
  .header .brand-tag { display: none; }
}

/* Tablet & phone menu */
@media (max-width: 960px) {
  .nav {
    top: 100%; left: 0; right: 0; height: auto; max-height: calc(100dvh - 70px);
    padding: 8px var(--container-x) 24px; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 22px 22px;
    background: #fff; box-shadow: 0 30px 50px -20px rgba(15, 23, 42, .35);
  }
  .nav-link, .nav-link.is-current { padding: 15px 4px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-link::after { left: 4px; right: auto; width: 28px; bottom: -1px; }
  .nav-link:hover, .nav-link.active { color: var(--brand-700); }
  .nav-call { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .header.scrolled .header-main, .header.menu-open .header-main { height: 60px; }
  .nav { max-height: calc(100dvh - 60px); }
}

.nav-link { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1360px) { .nav-call-text { display: none; } .nav { gap: 18px; } }

/* Laptop: slow scroll from hero to footer, short pause, glide back to top */
.laptop .site-scroll { animation: siteScrollFull 45s linear infinite; }
.showcase-aer .laptop .site-scroll { animation-duration: 70s; }
.showcase:hover .laptop .site-scroll { animation-play-state: paused; }
@keyframes siteScrollFull {
  0%, 4%   { background-position: center 0%; }
  90%, 95% { background-position: center 100%; }
  100%     { background-position: center 0%; }
}

/* Phones & tablets: hero sizes to its content (no empty space above/below) */
@media (max-width: 960px) {
  .hero { min-height: 0; justify-content: flex-start; padding: calc(var(--nav-h) + 40px) 0 48px; }
}
@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 22px) 0 30px; }
}
