/* Pro-flow Drainage — one-page site
   Palette: white / cyan-blue / magenta + near-black text from the logo
   Display: Space Grotesk · Body: Inter */

:root {
  --white: #ffffff;
  --paper: #f3fafc;
  --paper-2: #e5f4f8;

  --ink: #111820;      /* primary text on light */
  --ink-2: #3f4d58;    /* secondary text on light */
  --ink-3: #687783;

  --navy: #07151e;     /* deep hero base */
  --navy-2: #0c2b39;

  --blue: #159fc5;     /* cyan-blue from the logo */
  --blue-bright: #19b4d8;
  --purple: #159fc5;   /* retained variable name for existing components */
  --pink: #e00082;     /* magenta from the logo */
  --coral: #f04478;    /* emergency accent */

  --line: rgba(11, 16, 48, 0.10);
  --line-2: rgba(11, 16, 48, 0.06);
  --line-dark: rgba(255, 255, 255, 0.12);

  --flow: linear-gradient(100deg, var(--blue) 0%, var(--pink) 50%, var(--blue-bright) 100%);
  --flow-soft: linear-gradient(100deg, #70d5e8 0%, #f05aaf 50%, #7bd6e8 100%);

  --shadow-sm: 0 2px 8px rgba(11, 16, 48, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(11, 16, 48, 0.18);
  --shadow-lg: 0 30px 70px -24px rgba(48, 24, 120, 0.35);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px -20px rgba(123, 63, 242, 0.55);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-b: "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.hero h1 { font-weight: 800; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgba(255, 45, 155, 0.28); color: var(--ink); }

/* themed scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--blue-bright));
  border-radius: 999px;
  border: 3px solid var(--paper);
}
html { scrollbar-color: var(--purple) var(--paper); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

section { position: relative; }

/* ---- icon system: injected duotone SVGs fill their span ---- */
[class^="ico-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  line-height: 0;
}
[class^="ico-"] svg { width: 100%; height: 100%; fill: currentColor; display: block; }
[data-stars] svg { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.12em; }
[data-stars] svg + svg { margin-left: 1px; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: #ffffff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
  transition: box-shadow .4s var(--ease), transform .5s var(--ease);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links.left { justify-content: flex-end; }
.nav-links.right { justify-content: flex-start; }
.nav-links a {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(123, 63, 242, 0.08); }
.nav-links a.cta {
  color: var(--white);
  background: var(--flow);
  background-size: 160% 160%;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(123, 63, 242, 0.7);
  animation: flowShift 8s var(--ease) infinite alternate;
}
.nav-links a.cta:hover { color: var(--white); filter: brightness(1.06); }

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  flex: none;
}
.nav-logo img { height: 30px; width: auto; min-width: 120px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(150px, 22vh, 240px) 0 clamp(80px, 10vh, 120px);
  background: radial-gradient(120% 90% at 80% -10%, #124655 0%, var(--navy-2) 40%, var(--navy) 100%);
  color: #eef1ff;
  overflow: hidden;
  isolation: isolate;
}
/* animated flow ribbon backdrop */
.hero-flow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -1;
  filter: blur(2px);
  opacity: 0.9;
  animation: flowSlide 20s ease-in-out infinite alternate;
}
/* travelling light pulse running along the wave */
.flow-spark {
  filter: drop-shadow(0 0 6px rgba(255, 154, 210, 0.7));
  stroke-dasharray: 210 2200;
  stroke-dashoffset: 2410;
  animation: flowPulse 6s linear infinite;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -2;
  opacity: 0.55;
}
.hero-orb.a { width: 520px; height: 520px; background: var(--purple); top: -120px; right: -60px; animation: drift 18s ease-in-out infinite alternate; }
.hero-orb.b { width: 460px; height: 460px; background: var(--pink); bottom: -160px; left: -80px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-orb.c { width: 380px; height: 380px; background: var(--blue-bright); top: 30%; left: 40%; opacity: 0.35; animation: drift 26s ease-in-out infinite alternate; }
.hero-inner {
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: var(--flow-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #c3caf2;
  max-width: 62ch;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease), background .3s var(--ease);
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  color: #fff;
  background: var(--flow);
  background-size: 180% 180%;
  box-shadow: 0 16px 40px -12px rgba(255, 45, 155, 0.6);
  animation: flowShift 8s var(--ease) infinite alternate;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 22px 50px -12px rgba(255, 45, 155, 0.75); }
.btn-ghost {
  color: #eef1ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); }
.btn-coral {
  color: #fff;
  background: linear-gradient(120deg, #ff5a4d, var(--coral));
  box-shadow: 0 16px 40px -12px rgba(248, 58, 58, 0.55);
}
.btn-coral:hover { transform: translateY(-2px); filter: brightness(1.05); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: #d6dcff;
}
.chip [class^="ico-"] { width: 17px; height: 17px; color: var(--pink); }

/* Checkatrade trust line — centred under the chips, no border/pill */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #b9c0ea;
}
.hero-trust b { color: #fff; font-weight: 700; }
.hero-trust-text { letter-spacing: 0.01em; }
.hero-trust .stars { color: #ffc63c; font-size: 0.95rem; display: inline-flex; }
.hero-trust .cat {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--flow);
  color: #fff;
}

/* section shared */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
/* full-bleed eyebrow band — extends to the right page edge and fades out */
.section-tag {
  display: flex;
  align-items: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 30px;
  padding-block: 12px;
  padding-left: max(var(--pad), calc((100vw - var(--maxw)) / 2));
  padding-right: var(--pad);
  background: linear-gradient(90deg,
    var(--purple) 0%,
    #42b8d2 26%,
    var(--pink) 48%,
    rgba(255, 45, 155, 0.35) 74%,
    rgba(255, 45, 155, 0) 96%);
  color: #fff;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.about .section-tag,
.reviews .section-tag { margin-top: 0; }
.section h2 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  margin-bottom: 18px;
}
.section-head p { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

/* ============ ABOUT ============ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-copy p { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 20px; }
.about-copy p:first-child { font-size: 1.28rem; color: var(--ink); font-weight: 500; }
.about-copy strong { color: var(--ink); font-weight: 600; }

.about-card {
  position: relative;
  padding: 6px;
  border-radius: var(--r-lg);
  background: var(--flow);
  box-shadow: var(--shadow-lg);
}
.about-card-inner {
  background: var(--navy);
  border-radius: 21px;
  padding: 34px 32px;
  color: #eef1ff;
  overflow: hidden;
  position: relative;
}
.about-card-inner::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; top: -60px;
  background: radial-gradient(circle, rgba(255,45,155,0.5), transparent 70%);
  filter: blur(30px);
}
.about-card h3 { font-size: 1.35rem; margin-bottom: 22px; position: relative; }
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.about-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  font-size: 0.92rem;
  font-weight: 500;
}
.about-badge [class^="ico-"] { width: 22px; height: 22px; color: var(--pink); }

/* ============ SERVICES ============ */
.services { background: var(--paper); position: relative; }
.services::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,16,48,0.05) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(#000, transparent 70%);
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  pointer-events: none;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--pad);
}
@media (max-width: 1240px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-2);
}
.svc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.svc:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 22px 24px 26px; }
.svc h3 { font-size: 1.14rem; margin-bottom: 9px; letter-spacing: -0.02em; }
.svc p { font-size: 0.95rem; color: var(--ink-3); }

/* the one dark tile — 24-hour clearance */
.svc.dark { background: var(--navy); border-color: transparent; }
.svc.dark .svc-body { color: #eef1ff; }
.svc.dark p { color: #c3caf2; }

/* ============ GALLERY ============ */
.gallery { background: var(--white); overflow: hidden; padding-top: clamp(18px, 3vw, 36px); }
/* heading aligned to the eyebrow band's left edge (pulled left, no stagger) */
.gallery-head {
  padding-left: max(var(--pad), calc((100vw - var(--maxw)) / 2));
  padding-right: var(--pad);
  margin-bottom: 52px;
}
.gallery-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 16px; }
.gallery-head p { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.marquee-rev .marquee-track { animation-direction: reverse; }

/* ============ PIPELINE DIVIDER (background video: Pro-flow through a pipe) ============
   Full-bleed video band dropped into the white gaps between sections.
   <div class="pipeline-divider" data-direction="ltr|rtl" data-speed="s"> */
.pipeline-divider {
  position: relative;
  width: 100%;
  height: clamp(150px, 20vw, 280px);
  overflow: hidden;
  pointer-events: none;
  /* fade the band's top & bottom into the surrounding white space */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%);
}
.pipe-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Desktop: smaller, centred video with all four edges faded into the section.
   Mobile keeps the full-bleed band (looks better on phones). */
@media (min-width: 601px) {
  .pipeline-divider {
    height: clamp(116px, 12vw, 176px);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pipe-video {
    left: 50%;
    right: auto;
    width: min(860px, 62%);
    transform: translateX(-50%);
    /* soft multi-stop radial fade: solid pulled in toward the pipe, fully transparent
       well before the box edge so there is no visible cut-off line */
    -webkit-mask-image: radial-gradient(ellipse 66% 74% at 50% 50%, #000 0%, rgba(0,0,0,0.92) 10%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.2) 62%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse 66% 74% at 50% 50%, #000 0%, rgba(0,0,0,0.92) 10%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.2) 62%, rgba(0,0,0,0) 80%);
  }
}
/* tighten the white gap directly below each pipe video (all sections after a divider) */
.pipeline-divider + .section {
  padding-top: clamp(14px, 2.2vw, 30px);
  margin-top: clamp(-22px, -1.6vw, -8px);
}
/* circular Pro-flow emblem in the white space either side of the centred video */
.pipe-side { display: none; }
@media (min-width: 601px) {
  .pipe-side {
    display: block;
    position: absolute;
    top: 50%;
    width: clamp(42px, 4.8vw, 64px);
    height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.92;
    filter: drop-shadow(0 6px 16px rgba(214, 20, 138, 0.28));
  }
  .pipe-side--l { left: 9.5%; }
  .pipe-side--r { left: 90.5%; }
}
.gallery-item {
  width: 340px;
  flex: none;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============ REVIEWS ============ */
.reviews {
  background: linear-gradient(180deg, var(--paper), var(--white));
  overflow: hidden;
}
.reviews-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin-bottom: 52px; }
.reviews-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.reviews-score {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.reviews-score .big {
  font-family: var(--font-d); font-size: 2.4rem; font-weight: 700;
  background: var(--flow); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.reviews-score .big .slash { font-size: 1.1rem; color: var(--ink-3); font-weight: 500; -webkit-text-fill-color: var(--ink-3); }
.reviews-score .stars { color: #ffb400; }
.reviews-score small { display: block; color: var(--ink-3); font-size: 0.82rem; margin-top: 2px; }

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.review {
  width: 380px;
  flex: none;
  padding: 28px 26px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-score {
  font-family: var(--font-d); font-weight: 700; font-size: 1rem;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 11px; color: var(--purple);
  background: linear-gradient(150deg, rgba(123,63,242,0.14), rgba(255,45,155,0.14));
}
.review-stars { color: #ffb400; font-size: 0.9rem; display: inline-flex; }
.review h4 { font-size: 1.05rem; letter-spacing: -0.02em; }
.review p { font-size: 0.95rem; color: var(--ink-2); flex: 1; }
.review-meta { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink-3); border-top: 1px solid var(--line-2); padding-top: 13px; }
.review-meta .verified { display: inline-flex; align-items: center; gap: 5px; color: #16a34a; font-weight: 600; }
.review-meta .verified .vico { width: 15px; height: 15px; display: inline-flex; }
.review-meta .verified .vico svg { width: 100%; height: 100%; fill: currentColor; }
.review-meta .loc {
  margin-left: auto;
  font-family: var(--font-d); font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2);
}

/* ============ CONTACT ============ */
.contact {
  background: radial-gradient(120% 100% at 10% 0%, #124655, var(--navy));
  color: #eef1ff;
  position: relative;
  overflow: hidden;
}
.contact .orb {
  position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0;
}
.contact .orb.a { width: 480px; height: 480px; background: var(--purple); top: -140px; left: -100px; opacity: 0.4; }
.contact .orb.b { width: 420px; height: 420px; background: var(--pink); bottom: -160px; right: -80px; opacity: 0.35; }
.contact-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-info h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 18px; color: #fff; }
.contact-info h2 .grad { background: var(--flow-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-info > p { color: #c3caf2; font-size: 1.1rem; margin-bottom: 34px; max-width: 46ch; }
.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.contact-map img { width: 100%; height: auto; display: block; }
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-detail:last-of-type { border-bottom: 1px solid var(--line-dark); }
.contact-detail .ci {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 13px; background: rgba(255,255,255,0.07); border: 1px solid var(--line-dark);
  color: var(--pink);
}
.contact-detail .ci [class^="ico-"] { width: 22px; height: 22px; }
.contact-detail > span:last-child { display: flex; flex-direction: column; }
.contact-detail .cl { display: block; font-size: 0.74rem; color: #9aa2d8; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 3px; font-weight: 600; }
.contact-detail .cv { display: block; font-size: 1.06rem; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.contact-detail a.cv:hover { color: var(--pink); }

.contact-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.contact-badges .chip { background: rgba(255,255,255,0.05); }

.form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 38px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem; font-weight: 600; color: #c3caf2; margin-bottom: 7px;
  font-family: var(--font-d); letter-spacing: 0.01em;
}
.field label .req { color: var(--pink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-family: var(--font-b);
  font-size: 0.98rem;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: #8790c4; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff2d9b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field select option { background: var(--navy-2); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 45, 155, 0.16);
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-card .btn:disabled { cursor: wait; opacity: 0.82; }
.form-card .btn.is-sending { animation: none; }
.form-card.sent .btn { background: linear-gradient(100deg, #159fc5, #35c88c); }
.form-card.send-error .btn { background: linear-gradient(100deg, #d92c72, #f04478); }
.form-error { color: #ff9a8f; font-size: 0.78rem; margin-top: 6px; display: none; }
.field.invalid .form-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b5c; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: #9aa2d8;
  padding: 40px 0;
  border-top: 1px solid var(--line-dark);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { height: 26px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer .fright { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; flex-wrap: wrap; }
.footer a:hover { color: #fff; }
.footer .fnum { font-variant-numeric: tabular-nums; }

/* ============ scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ keyframes ============ */
@keyframes flowShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes flowSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-70px); } }
@keyframes flowPulse { 0% { stroke-dashoffset: 2410; } 100% { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,107,92,0.6); } 70% { box-shadow: 0 0 0 12px rgba(255,107,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,92,0); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 4px;
    padding: 9px 12px 9px 16px;
    transition: padding .35s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  }
  .nav-logo { order: 1; justify-content: flex-start; }
  .nav-toggle { display: grid; order: 2; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s var(--ease), opacity .3s var(--ease), padding .3s var(--ease);
  }
  .nav-links.right { order: 4; }
  .nav.open { padding-bottom: 12px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.92); }
  .nav.open .nav-links { max-height: 260px; opacity: 1; padding-top: 6px; }
  .nav.open .nav-links.right { padding-top: 0; padding-bottom: 4px; }
  .nav-links a { text-align: center; padding: 13px; }
  .nav-links a.cta { margin-top: 2px; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-badges { grid-template-columns: 1fr; }
  .review { width: 300px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
@media (max-width: 600px) {
  .pipeline-divider { height: clamp(120px, 34vw, 170px); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-orb, .btn-primary, .nav-links a.cta { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-flow, .flow-spark { animation: none; }
  /* pipeline video is left paused on its poster frame by script.js */
}

/* ============ legal / privacy page ============ */
.legal-top { background: var(--navy); padding: 16px 0; }
.legal-top .wrap { display: flex; align-items: center; gap: 16px; }
.legal-top img { height: 26px; filter: brightness(0) invert(1); }
.legal-top a.home { margin-left: auto; color: #fff; font-family: var(--font-d); font-weight: 700; }
.legal-top a.home:hover { color: var(--pink); }
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: #fff; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 700; color: var(--purple); margin-bottom: 24px; }
.legal .back svg { width: 16px; height: 16px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; color: var(--ink); }
.legal .updated { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 36px; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.3rem; margin: 34px 0 12px; color: var(--ink); }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 1.03rem; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; }
.legal-body a { color: var(--purple); font-weight: 600; }
.legal-body strong { color: var(--ink); }
