/* =========================================================
   DVS Closing Agency — Design System
   Palette: #0B0F14 #151B23 #9CA6B5 #F5F7FA #B8FF3D
   Type: Poppins
   ========================================================= */

:root {
  --bg: #0B0F14;
  --surface: #151B23;
  --surface-2: #1B2430;
  --muted: #9CA6B5;
  --light: #F5F7FA;
  --lime: #B8FF3D;
  --lime-dim: rgba(184, 255, 61, 0.14);
  --line: rgba(156, 166, 181, 0.16);
  --line-strong: rgba(156, 166, 181, 0.32);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-lime: 0 18px 44px -18px rgba(184, 255, 61, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff: "Poppins", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  background: var(--bg);
  color: var(--light);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.1; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-weight: 800; }
p { margin: 0; }

::selection { background: var(--lime); color: var(--bg); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 84px); }
.section--surface { background: var(--surface); }

.grid { display: grid; gap: 28px; }
@media (min-width: 720px)  { .cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px)  { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--lime);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.display {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  letter-spacing: -0.03em;
}
.h-section { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-sub { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.hl { color: var(--lime); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15.5px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--lime); color: #0B0F14; box-shadow: var(--shadow-lime); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(184,255,61,.6); }

.btn-ghost { background: rgba(245,247,250,0.04); color: var(--light); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn-dark { background: var(--bg); color: var(--light); }
.btn-dark:hover { transform: translateY(-2px); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--light);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow .arrow { color: var(--lime); transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--lime); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
/* Blur lives on a pseudo-element so the header does NOT become the containing
   block for the position:fixed mobile menu nested inside it. */
.site-header::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.72);
  transition: background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { background: rgba(11, 15, 20, 0.9); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.brand img { height: 30px; width: auto; }
.nav-links {
  display: none;
  align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 15px;
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--light); }
.nav-links a.active { color: var(--light); background: rgba(245,247,250,0.06); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; width: 18px;
  background: var(--lime); border-radius: 2px; margin: 3px auto 0;
}
.nav-cta { display: none; }
@media (min-width: 992px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
  margin-right: -10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--light); border-radius: 2px; transition: .3s var(--ease); }
@media (min-width: 992px) { .nav-toggle { display: none; } }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 78px; right: 0; bottom: 0; left: 0; z-index: 99;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
body.nav-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  display: block; padding: 16px 4px;
  font-size: 20px; font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--light);
}
.mobile-menu a.active { color: var(--lime); }
.mobile-menu .btn { margin-top: 26px; }
@media (min-width: 992px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(70px, 12vw, 150px); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(184,255,61,0.13), transparent 60%),
    radial-gradient(50% 50% at 12% 90%, rgba(184,255,61,0.06), transparent 60%);
}
.hero .diagonal {
  position: absolute; top: -20%; right: -10%; width: 55%; height: 140%;
  background: linear-gradient(135deg, rgba(184,255,61,0.10), transparent 55%);
  transform: skewX(-14deg); z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
/* Optional hero photo (the closer). Add assets/img/hero-closer.jpg to activate. */
.hero-photo { position: absolute; top: 0; right: 0; height: 100%; width: 62%; object-fit: cover; object-position: right center; z-index: 0; filter: contrast(1.04) brightness(0.82) saturate(1.05); -webkit-mask-image: linear-gradient(90deg, transparent, #000 52%); mask-image: linear-gradient(90deg, transparent, #000 52%); }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--bg) 28%, rgba(11,15,20,0.45) 62%, rgba(11,15,20,0.72)); }
.hero-scene { position: absolute; top: 0; right: 0; height: 100%; width: 56%; object-fit: cover; object-position: left center; z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48%); mask-image: linear-gradient(90deg, transparent, #000 48%); }
@media (max-width: 820px) { .hero-photo { width: 100%; opacity: 0.28; } .hero-scene { width: 100%; opacity: 0.32; } }

/* ---------- Social proof / avatars ---------- */
.proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -12px;
  background: var(--surface-2); display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: var(--lime);
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--lime); letter-spacing: 2px; font-size: 15px; }

/* ---------- Logo band ---------- */
.logo-band { border-block: 1px solid var(--line); }
.logo-band .container { display: flex; flex-direction: column; gap: 22px; }
.logo-band .row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 72px); flex-wrap: wrap;
}
.logo-band .chip {
  font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--muted); letter-spacing: -0.01em;
  opacity: .75; transition: opacity .25s var(--ease), color .25s var(--ease);
}
.logo-band .chip:hover { opacity: 1; color: var(--light); }
.logo-band .chip .dot { color: var(--lime); }
.logo-band .pilot {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--light); opacity: 1; font-weight: 800;
}
.logo-band .pilot .tag {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime); border: 1px solid var(--lime); border-radius: 999px;
  padding: 3px 9px; font-weight: 600;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  height: 100%;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card--accent:hover { border-color: rgba(184,255,61,0.5); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.icon-circle {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--lime-dim); color: var(--lime);
  border: 1px solid rgba(184,255,61,0.25);
}
.icon-circle svg { width: 26px; height: 26px; }

/* number badge */
.step-num {
  font-size: 14px; font-weight: 700; color: var(--lime);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(184,255,61,0.4);
  display: grid; place-items: center; margin-bottom: 18px;
}

/* ---------- Stats ---------- */
.stats { display: grid; gap: 20px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  text-align: center; padding: 34px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}
.stat .num {
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800;
  color: var(--lime); letter-spacing: -0.03em; line-height: 1;
}
.stat .label { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--media-first .media { order: -1; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.media-frame.duotone::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: color;
  background: linear-gradient(135deg, rgba(11,15,20,0.6), rgba(184,255,61,0.28));
}
.media-frame .stamp {
  position: absolute; right: 18px; bottom: 18px; width: 92px; height: 92px;
  opacity: .95; z-index: 2;
}

/* ---------- Brand visual (image-free media panel) ---------- */
.brand-visual {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 85% 10%, rgba(184,255,61,0.16), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg));
  min-height: 340px;
  display: grid; place-items: center;
}
.brand-visual .diag {
  content: ""; position: absolute; top: -30%; right: -20%; width: 70%; height: 160%;
  background: linear-gradient(135deg, rgba(184,255,61,0.14), transparent 60%);
  transform: skewX(-16deg);
}
.brand-visual .glyph {
  position: relative; z-index: 2; width: 110px; height: 110px; color: var(--lime);
  filter: drop-shadow(0 12px 30px rgba(184,255,61,0.35));
}
.brand-visual .glyph svg { width: 100%; height: 100%; }
.brand-visual .stamp {
  position: absolute; right: 20px; bottom: 20px; width: 92px; z-index: 3; opacity: .9;
}
.brand-visual .caption {
  position: absolute; left: 22px; bottom: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(11,15,20,0.72); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
}
.brand-visual .caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.brand-visual.tall { min-height: 440px; }
.brand-visual.ratio { aspect-ratio: 4/3; min-height: 0; }
/* Drop-in real photo: add <img class="cover" ... onerror="this.remove()"
   onload="this.parentElement.classList.add('has-photo')"> inside .brand-visual */
.brand-visual > img.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.brand-visual > img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; filter: contrast(1.05) brightness(0.92) saturate(1.05); }
.brand-visual.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(11,15,20,0.25), transparent 40%, rgba(11,15,20,0.85)); }
.brand-visual.has-photo .glyph { display: none; }
.brand-visual .caption, .brand-visual .stamp { z-index: 3; }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--light); }
.checklist li .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime-dim); color: var(--lime);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist li .tick svg { width: 14px; height: 14px; }
.checklist li span.txt { color: var(--muted); font-size: 15.5px; }
.checklist li b { color: var(--light); font-weight: 600; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
}
.quote .stars { margin-bottom: 16px; }
.quote p { font-size: 1.05rem; color: var(--light); }
.quote .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote .who .ava {
  width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2);
  display: grid; place-items: center; font-weight: 700; color: var(--lime);
}
.quote .who .name { font-weight: 600; font-size: 15px; }
.quote .who .role { color: var(--muted); font-size: 13px; }

/* ---------- Dual CTA ---------- */
.dual-cta { display: grid; gap: 24px; }
@media (min-width: 800px) { .dual-cta { grid-template-columns: 1fr 1fr; } }
.cta-panel {
  border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.cta-panel.lime { background: var(--lime); color: #0B0F14; border-color: transparent; }
.cta-panel.lime .muted, .cta-panel.lime p { color: rgba(11,15,20,0.75); }
.cta-panel.lime .eyebrow { color: #0B0F14; }
.cta-panel.lime .eyebrow::before { background: #0B0F14; }
.cta-panel h3 { font-size: 1.55rem; }
.cta-panel .grow { flex: 1; }

/* big CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(50% 120% at 50% 0%, rgba(184,255,61,0.14), transparent 60%);
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--light); letter-spacing: .01em; }
.field label .req { color: var(--lime); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--light);
  padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(156,166,181,0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(184,255,61,0.14);
}
.field select { appearance: none; 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='%239CA6B5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

/* segmented toggle */
.segment {
  display: inline-flex; padding: 5px; gap: 5px;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}
.segment button {
  border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--muted); padding: 10px 20px; border-radius: var(--radius-pill);
  transition: .25s var(--ease);
}
.segment button.active { background: var(--lime); color: #0B0F14; }

.form-note { font-size: 13px; color: var(--muted); }
.form-success { display: none; text-align: center; padding: 22px 8px; }
.form-success.show { display: block; animation: successIn .5s var(--ease) both; }
@keyframes successIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.success-check { width: 78px; height: 78px; margin: 0 auto 8px; border-radius: 50%; background: var(--lime-dim); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(184,255,61,0.35); animation: successPulse 1.6s var(--ease) .5s; }
.success-check svg { width: 46px; height: 46px; }
.success-check .sc-circle { stroke: var(--lime); stroke-width: 3; fill: none; stroke-dasharray: 151; stroke-dashoffset: 151; animation: scDraw .5s var(--ease) .1s forwards; }
.success-check .sc-check { stroke: var(--lime); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 42; stroke-dashoffset: 42; animation: scDraw .35s var(--ease) .5s forwards; }
@keyframes scDraw { to { stroke-dashoffset: 0; } }
@keyframes successPulse { 0% { box-shadow: 0 0 0 0 rgba(184,255,61,0.4); } 100% { box-shadow: 0 0 0 22px rgba(184,255,61,0); } }
.form-success h3 { font-size: 1.25rem; color: var(--light); margin-top: 8px; }
.form-success p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 40ch; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) {
  .form-success.show { animation: none; }
  .success-check, .success-check .sc-circle, .success-check .sc-check { animation: none; }
  .success-check .sc-circle, .success-check .sc-check { stroke-dashoffset: 0; }
}

/* ---------- Info cards / contact ---------- */
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--lime-dim); color: var(--lime); display: grid; place-items: center;
  border: 1px solid rgba(184,255,61,0.2);
}
.info-item .ic svg { width: 20px; height: 20px; }
.info-item .k { font-size: 13px; color: var(--muted); }
.info-item .v { font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(60px, 9vw, 110px); border-bottom: 1px solid var(--line); }
.page-hero .hero-bg { opacity: .8; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { margin-inline: 8px; opacity: .5; }

/* ---------- Table (commission grid) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.grid-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.grid-table th, table.grid-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
table.grid-table thead th { background: var(--surface-2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
table.grid-table tbody tr:last-child td { border-bottom: 0; }
table.grid-table tbody tr:hover { background: rgba(245,247,250,0.02); }
table.grid-table .accent { color: var(--lime); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #080B0F; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.site-footer .emblem-wm {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; opacity: 0.05; pointer-events: none;
}
.footer-grid { display: grid; gap: 40px; padding-block: 64px; position: relative; z-index: 1; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 34ch; }
.footer-brand .tagline { color: var(--lime); font-weight: 600; margin-top: 14px; letter-spacing: .02em; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--light); opacity: .8; font-size: 15px; transition: .2s var(--ease); }
.footer-col a:hover { color: var(--lime); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--muted); font-size: 13.5px; position: relative; z-index: 1;
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); transition: .2s var(--ease);
}
.footer-bottom .socials a:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- Image slot (drop-in real photos, keeps text legible) ---------- */
.img-slot { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(120% 90% at 82% 6%, rgba(184,255,61,0.10), transparent 55%), linear-gradient(160deg, var(--surface-2), var(--bg)); }
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.35) contrast(1.06) brightness(0.92); }
.img-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,20,0.15) 0%, transparent 35%, rgba(11,15,20,0.88) 100%); pointer-events: none; }
.img-slot .overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 3; }

/* ---------- Portrait cards — DVS network of closers ---------- */
.portraits { display: grid; gap: 22px; }
@media (min-width: 640px) { .portraits { grid-template-columns: repeat(3, 1fr); } }
.portrait {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 78% 0%, rgba(184,255,61,0.12), transparent 52%),
    linear-gradient(165deg, #121A23 0%, #0B0F14 90%);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.portrait:hover { transform: translateY(-6px); border-color: rgba(184,255,61,0.45); }
.portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(0.4) contrast(1.08) brightness(0.9); z-index: 0; }
.portrait .side-light { position: absolute; top: 0; right: 0; width: 55%; height: 100%; background: linear-gradient(255deg, rgba(184,255,61,0.14), transparent 70%); z-index: 1; }
.portrait .silhouette { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(156,166,181,0.22); z-index: 1; }
.portrait .silhouette svg { width: 46%; height: 46%; }
.portrait .meta { position: relative; z-index: 3; padding: 22px; background: linear-gradient(180deg, transparent, rgba(8,11,15,0.92) 62%); }
.portrait .role { color: var(--lime); font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.portrait .pname { font-weight: 700; margin-top: 5px; font-size: 1.05rem; }
.portrait .ploc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.portrait .badge { position: absolute; top: 16px; left: 16px; z-index: 3; }

/* ---------- DVS Network concept diagram ---------- */
.network-wrap { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 0%, rgba(184,255,61,0.06), transparent 60%), var(--surface); padding: clamp(24px, 5vw, 48px); overflow: hidden; }
.network-svg { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.network-svg .edge { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.network-svg .edge-flow { stroke: var(--lime); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 6 14; animation: dvsflow 1.4s linear infinite; filter: drop-shadow(0 0 5px rgba(184,255,61,0.6)); }
.network-svg .halo { fill: rgba(184,255,61,0.10); animation: dvspulse 3s ease-in-out infinite; }
.network-svg .node-c { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; }
.network-svg .node-hub { fill: var(--lime); }
.network-svg .node-dot { fill: var(--lime); animation: dvspulse 2.4s ease-in-out infinite; }
.network-svg .nlabel { fill: var(--light); font-family: var(--ff); font-weight: 600; font-size: 15px; }
.network-svg .nlabel-sm { fill: var(--muted); font-family: var(--ff); font-weight: 500; font-size: 12px; letter-spacing: .05em; }
.network-svg .hub-label { fill: #0B0F14; font-family: var(--ff); font-weight: 800; font-size: 20px; }
@keyframes dvsflow { to { stroke-dashoffset: -40; } }
@keyframes dvspulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .network-svg .edge-flow, .network-svg .halo, .network-svg .node-dot { animation: none; } }

/* ---------- Pipeline (LEAD -> ... -> CLOSED) ---------- */
.pipeline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.pipeline .node { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); font-weight: 600; font-size: 13.5px; letter-spacing: .05em; color: var(--muted); background: var(--surface); white-space: nowrap; transition: .3s var(--ease); }
.pipeline .node:hover { color: var(--light); border-color: var(--line-strong); }
.pipeline .node.done { background: var(--lime); color: #0B0F14; border-color: transparent; box-shadow: var(--shadow-lime); }
.pipeline .sep { color: var(--line-strong); font-size: 16px; }
@media (max-width: 560px) { .pipeline { flex-direction: column; } .pipeline .sep { transform: rotate(90deg); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; color: var(--muted);
}
.pill-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 40px; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* App login link (Connexion) — same responsive behaviour as .nav-cta */
.nav-login { display: none; }
@media (min-width: 992px) { .nav-login { display: inline-flex; } }
