/* =========================================
   HOMEPAGE-SPECIFIC STYLES
   Safe isolation from shared rebrand-styles.css.
   Changes here only affect index.html.
   ========================================= */

/* -----------------------------------------
   1. ACCESSIBILITY — Motion Preferences
   ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .animate-blur-in {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .animate-on-scroll {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .message-feed-track {
    animation: none !important;
  }
}

/* -----------------------------------------
   2. SVG ICON UTILITIES
   ----------------------------------------- */
.icon-dots {
  display: inline-block;
  vertical-align: middle;
}

/* -----------------------------------------
   3. SECTION LABEL PILL
   (Repeated in Model, Specialties, Values)
   ----------------------------------------- */
.section-label-pill {
  background: white;
  padding: 8px 16px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-label-line {
  width: 100px;
  height: 1px;
  background-image: linear-gradient(to right, #000 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

/* -----------------------------------------
   4. GRID UTILITIES
   ----------------------------------------- */
.grid-no-margin {
  margin-bottom: 0;
}

.gap-60 {
  gap: 60px;
}

/* -----------------------------------------
   5. BENTO / MARKET CARDS
   ----------------------------------------- */
.bento-card-tall {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.bento-heading-sm {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.bento-body-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.bullet-list-clean {
  list-style: none;
  padding-left: 0;
}

.bullet-accent {
  color: var(--accent-color);
  margin-right: 12px;
}

.bullet-accent-sm {
  color: var(--accent-color);
  margin-right: 8px;
}

.bullet-accent-lg {
  color: var(--accent-color);
  margin-right: 16px;
}

/* -----------------------------------------
   6. IMAGES
   ----------------------------------------- */
.img-cover-container {
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Smaller image variant used in case studies */
.img-cover-container-sm {
  height: 280px;
  background: #e0e0e0;
  position: relative;
}

/* Medium variant (leadership section) */
.img-cover-container-md {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

/* -----------------------------------------
   7. TECH TAGS
   ----------------------------------------- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  border: 1px solid #ddd;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-family: 'Space Mono', monospace;
}

/* -----------------------------------------
   8. CARD PADDING OVERRIDES
   ----------------------------------------- */
.p-80 {
  padding: 80px;
}

/* -----------------------------------------
   9. WAVEFORM VISUAL — FALLBACK
   ----------------------------------------- */
#waveform-visual {
  min-height: 300px;
  background:
    radial-gradient(circle at 30% 40%, rgba(234,50,26,0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.02) 0%, transparent 50%),
    linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 12px;
  position: relative;
}

#waveform-visual::before {
  content: 'Network visualization loading...';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#waveform-visual canvas {
  position: relative;
  z-index: 1;
}

/* Hide fallback text once JS activates the container */
#waveform-visual.network-active::before {
  display: none;
}
