/* Brawnd deep-wine palette
   A restrained darkening of the core brand wine. This layer intentionally
   loads after the main/hero styles so legacy hard-coded wine accents stay in
   the same family without changing the site's neutral palette. */

:root {
  --wine: #4e0e23;
  --wine2: #68162f;
  --wine-soft: rgba(78, 14, 35, .18);
  --wine-glow: rgba(78, 14, 35, .34);
}

/* Global wine atmosphere and interaction accents. */
.hero::before {
  background: radial-gradient(circle, rgba(78,14,35,.36), rgba(78,14,35,.10) 44%, transparent 70%);
}

.hero::after {
  background: linear-gradient(110deg, transparent 0 55%, rgba(78,14,35,.04) 70%, transparent 88%);
}

.eyebrow::before {
  box-shadow: 0 0 24px rgba(78,14,35,.82);
}

.btn-primary {
  box-shadow: 0 14px 46px rgba(78,14,35,.20);
}

.btn-primary:hover {
  background: #5c112a;
  box-shadow: 0 22px 60px rgba(78,14,35,.30);
}

.orb {
  border-color: rgba(78,14,35,.38);
}

.core {
  background: radial-gradient(circle at 35% 30%, #681733, var(--wine) 49%, #21050e 100%);
  box-shadow: 0 0 105px rgba(78,14,35,.32), inset 0 1px 0 rgba(255,255,255,.08);
}

.card::after {
  background: radial-gradient(circle, rgba(78,14,35,.18), transparent 70%);
}

.card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(78,14,35,.022));
}

.card .num,
.service-card li::before {
  color: #77203d;
}

/* Hero block: deepen the object itself, including the small inset pieces. */
.brawnd-piece {
  background: linear-gradient(145deg, #68162f 0%, #4e0e23 48%, #2d0713 100%);
}

.brawnd-piece.p5,
.brawnd-piece.p6 {
  background: linear-gradient(145deg, #76213f, #571028 62%, #3f0a1c);
}

.brawnd-piece.p7 {
  background: linear-gradient(145deg, #76213f, #5b112a 62%, #410a1d);
}

.brawnd-block-stage.is-refine .p7 {
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 12px 34px rgba(78,14,35,.32);
}

/* The lighter theme keeps the same deeper wine family at lower opacity. */
html[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(78,14,35,.18), rgba(78,14,35,.055) 44%, transparent 70%) !important;
}

html[data-theme="light"] .hero::after {
  background: linear-gradient(110deg, transparent 0 55%, rgba(78,14,35,.03) 70%, transparent 88%) !important;
}

html[data-theme="light"] .card {
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(78,14,35,.015)) !important;
}

html[data-theme="light"] .card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(78,14,35,.028)) !important;
}

html[data-theme="light"] .service-card.featured-service {
  border-color: rgba(78,14,35,.26) !important;
  background: linear-gradient(145deg, rgba(78,14,35,.065), rgba(255,255,255,.76)) !important;
}

html[data-theme="light"] .growth-row:hover,
html[data-theme="light"] .process-row:hover {
  background: linear-gradient(90deg, rgba(78,14,35,.048), transparent 78%) !important;
}

html[data-theme="light"] .project-field input:focus,
html[data-theme="light"] .project-field textarea:focus {
  border-color: rgba(78,14,35,.52) !important;
  box-shadow: 0 0 0 3px rgba(78,14,35,.09) !important;
}
