/* ============================================================
   VINOVE — PixelCrayons Framing Page
   VNV-VIS-001 v1.0 · VNV-VOX-001 v4.1
   Colour token: --pxl: #0400F5

   §0  Hero       — dark, electric blue glow
   §1  Deliver    — light, three-column cards
   §2  Serve      — dark, client type grid
   §3  Standard   — light warm, Vinove parent bridge
   §4  CTA        — dark close
   ============================================================ */

:root {
  --pxl:        #0400F5;
  --pxl-hover:  #0300CC;
  --pxl-tint:   rgba(4,0,245,.08);
  --pxl-glow:   rgba(4,0,245,.18);
}


/* ╔═══════════════════════════════════════════════════════╗
   §0  HERO
   ╚═══════════════════════════════════════════════════════╝ */

#pxl-hero {
  min-height: 100svh;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}

/* Electric blue radial glow */
#pxl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 65% 30%, rgba(4,0,245,.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(4,0,245,.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* Subtle grid texture */
#pxl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(4,0,245,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4,0,245,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 3;
}

/* ── Hero background image ── */
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Hero overlay (keeps text legible over photo) ── */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(9,12,21,.9) 0%, rgba(9,12,21,.6) 45%, rgba(9,12,21,.82) 100%),
    linear-gradient(to right, rgba(9,12,21,.6) 0%, transparent 65%);
}

.pxl-hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem));
}

/* ── Company badge ── */
.pxl-co-badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 2rem;
}

.pxl-co-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--pxl);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(4,0,245,.6);
}

.pxl-co-badge-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.18);
}

/* ── Headline ── */
.pxl-hero-headline {
  font-family: var(--font);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.5rem);
  max-width: 14ch;
}

.pxl-hero-headline em {
  font-style: normal;
  color: var(--pxl);
}

/* ── Sub ── */
.pxl-hero-sub {
  font-family: var(--font);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-text-body);
  max-width: 54ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* ── CTA row ── */
.pxl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.pxl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 700;
  padding: .8rem 1.75rem;
  border-radius: var(--r-full);
  background: var(--pxl);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  white-space: nowrap;
}

.pxl-btn-primary:hover {
  background: var(--pxl-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(4,0,245,.35);
}

.pxl-btn-primary svg {
  width: 13px; height: 13px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* ── Hero stat row ── */
.pxl-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.1);
}

.pxl-stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.pxl-stat-num {
  font-family: var(--font);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
}

.pxl-stat-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-text-muted);
  text-transform: uppercase;
}


/* ╔═══════════════════════════════════════════════════════╗
   §1  WHAT THEY DELIVER — light
   ╚═══════════════════════════════════════════════════════╝ */

#pxl-deliver {
  background: var(--paper);
  padding-block: clamp(5rem, 9vw, 8rem);
  padding-inline: var(--gutter);
}

.pxl-deliver-inner {
  max-width: var(--max);
  margin-inline: auto;
}

.pxl-deliver-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.pxl-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pxl);
  margin-bottom: 1.25rem;
}

.pxl-section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--pxl);
  flex-shrink: 0;
}

.pxl-deliver-h2 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--text-strong);
  line-height: 1.1;
  max-width: 28ch;
  margin: 0;
}

/* Three-column cards */
.pxl-deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pxl-deliver-card {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.pxl-deliver-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pxl);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}

.pxl-deliver-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(14,19,32,.09);
  transform: translateY(-3px);
}

.pxl-deliver-card:hover::before {
  transform: scaleX(1);
}

/* Card icon */
.pxl-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--pxl-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pxl-card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--pxl);
  stroke-width: 1.75;
  fill: none;
}

.pxl-card-title {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-strong);
  line-height: 1.3;
}

.pxl-card-body {
  font-family: var(--font);
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--text-body);
  flex: 1;
}

.pxl-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}

.pxl-tag {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--pxl);
  background: var(--pxl-tint);
  border-radius: var(--r-full);
  padding: .25rem .625rem;
}


/* ╔═══════════════════════════════════════════════════════╗
   §2  WHO THEY SERVE — dark
   ╚═══════════════════════════════════════════════════════╝ */

#pxl-serve {
  background: var(--ink);
  padding-block: clamp(5rem, 9vw, 8rem);
  padding-inline: var(--gutter);
  position: relative;
  overflow: hidden;
}

#pxl-serve::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(4,0,245,.09) 0%, transparent 65%);
  pointer-events: none;
}

.pxl-serve-inner {
  max-width: var(--max);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.pxl-serve-head {
  max-width: 52ch;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* Dark eyebrow variant */
.pxl-section-eyebrow--dim {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-text-muted);
  margin-bottom: 1.25rem;
}

.pxl-section-eyebrow--dim::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink-border);
  flex-shrink: 0;
}

.pxl-serve-h2 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink-text-strong);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.pxl-serve-sub {
  font-family: var(--font);
  font-size: clamp(.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink-text-body);
  margin: 0;
}

/* Client type grid */
.pxl-serve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pxl-serve-item {
  background: rgba(255,255,255,.025);
  padding: 2rem 2.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: background var(--dur-base) var(--ease);
}

.pxl-serve-item:hover {
  background: rgba(4,0,245,.07);
}

.pxl-serve-num {
  font-family: var(--font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  /* Brand blue at 25% was invisible on the dark section — brightened ghost */
  color: rgba(124,142,255,.42);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.pxl-serve-text {
  padding-top: .35rem;
}

.pxl-serve-title {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink-text-strong);
  margin-bottom: .5rem;
  transition: color .2s var(--ease);
}

.pxl-serve-item:hover .pxl-serve-title {
  color: var(--pxl);
}

.pxl-serve-desc {
  font-family: var(--font);
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--ink-text-body);
}


/* ╔═══════════════════════════════════════════════════════╗
   §3  VINOVE STANDARD — light warm
   ╚═══════════════════════════════════════════════════════╝ */

#pxl-standard {
  background: var(--surface-2);
  padding-block: clamp(5rem, 9vw, 8rem);
  padding-inline: var(--gutter);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pxl-standard-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.pxl-standard-left {}

.pxl-standard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pxl-standard-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.pxl-standard-h2 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--text-strong);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.pxl-standard-body {
  font-family: var(--font);
  font-size: clamp(.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 2rem;
}

.pxl-standard-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--terra);
  transition: gap var(--dur-base) var(--ease);
}

.pxl-standard-link:hover { gap: .7rem; }

.pxl-standard-link svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Right: proof pillars */
.pxl-standard-pillars {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pxl-pillar {
  background: var(--paper);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

.pxl-pillar:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}

.pxl-pillar-check {
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  background: var(--pxl-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .125rem;
}

.pxl-pillar-check svg {
  width: 11px; height: 11px;
  stroke: var(--pxl);
  stroke-width: 2.5;
  fill: none;
}

.pxl-pillar-text {}

.pxl-pillar-title {
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text-strong);
  margin-bottom: .25rem;
}

.pxl-pillar-desc {
  font-family: var(--font);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-body);
}


/* ╔═══════════════════════════════════════════════════════╗
   §4  CTA — dark close
   ╚═══════════════════════════════════════════════════════╝ */

#pxl-cta {
  background: #080B14;
  padding-block: clamp(5rem, 9vw, 8rem);
  padding-inline: var(--gutter);
  position: relative;
  overflow: hidden;
}

#pxl-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(4,0,245,.1) 0%, transparent 70%);
  pointer-events: none;
}

.pxl-cta-inner {
  max-width: var(--max);
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pxl-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-text-muted);
  margin-bottom: 1.5rem;
}

.pxl-cta-eyebrow::before,
.pxl-cta-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.15);
}

.pxl-cta-h2 {
  font-family: var(--font);
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
  max-width: 28ch;
  margin: 0 auto 1.5rem;
}

.pxl-cta-sub {
  font-family: var(--font);
  font-size: clamp(.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-text-body);
  max-width: 48ch;
  margin: 0 auto 2.5rem;
}

.pxl-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Ghost white button */
.pxl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  padding: .8rem 1.75rem;
  border-radius: var(--r-full);
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  white-space: nowrap;
}

.pxl-btn-ghost:hover {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}

.pxl-btn-ghost svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}


/* ╔═══════════════════════════════════════════════════════╗
   RESPONSIVE
   ╚═══════════════════════════════════════════════════════╝ */

@media (max-width: 900px) {
  .pxl-deliver-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pxl-serve-grid {
    grid-template-columns: 1fr;
  }

  .pxl-standard-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .pxl-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pxl-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .pxl-hero-stats {
    gap: 1.5rem;
  }

  .pxl-serve-item {
    gap: .875rem;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxl-btn-primary,
  .pxl-btn-ghost,
  .pxl-deliver-card,
  .pxl-serve-item,
  .pxl-serve-title,
  .pxl-pillar,
  .pxl-standard-link { transition: none; }

  .pxl-deliver-card::before { display: none; }
  .pxl-pillar:hover { transform: none; }
}
