/* Inner Circle Creative — Shared Design System & Lightweight Motion */

html, body {
  overflow-x: clip;
}

body {
  background-color: #F4F7FA;
  color: #081E38;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Modern ICC blueprint grid */
.icc-blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(100, 152, 206, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(100, 152, 206, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Warm natural workbench surface for Workbench sections */
.natural-bench-surface {
  background-color: #F6F4EF;
  background-image:
    radial-gradient(rgba(143, 93, 39, 0.045) 1px, transparent 0),
    linear-gradient(180deg, rgba(235, 242, 248, 0.72) 0%, rgba(246, 244, 239, 0.88) 45%, rgba(242, 237, 228, 0.75) 100%);
  background-size: 18px 18px, 100% 100%;
}

/* Division signature edge dividers */
.bench-edge-bar {
  background: linear-gradient(90deg, #003366 0%, #006699 35%, #6498CE 65%, #B57B3A 100%);
}

.digital-edge-bar {
  background: linear-gradient(90deg, #003366 0%, #006699 40%, #D97706 80%, #F59E0B 100%);
}

.studio-edge-bar {
  background: linear-gradient(90deg, #003366 0%, #006699 45%, #6498CE 75%, #EBF2F8 100%);
}

.stamp-badge {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Continuous slow ambient spin for ICC geometric watermark */
@keyframes iccSlowSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.icc-slow-spin {
  animation: iccSlowSpin 60s linear infinite;
  will-change: transform;
}

/* Blueprint drafting-lamp cursor spotlight */
.icc-spotlight {
  position: relative;
}

.icc-spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(100, 152, 206, 0.16),
    rgba(181, 123, 58, 0.05) 45%,
    transparent 72%
  );
  z-index: 1;
}

.icc-spotlight:hover::after {
  opacity: 1;
}

.icc-spotlight > * {
  position: relative;
  z-index: 2;
}

/* Scroll-triggered reveal */
.icc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.icc-reveal.icc-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tactile card lift */
.icc-card-lift {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              border-color 0.25s ease;
}

.icc-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(4, 18, 34, 0.18);
}

/* Pointer-magnetic button smoothness */
.icc-magnet {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
  will-change: transform;
}

/* Subtle pulsing status beacon */
@keyframes iccPulseBeacon {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(100, 152, 206, 0.65);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(100, 152, 206, 0);
  }
}

.icc-pulse-dot {
  animation: iccPulseBeacon 2.4s ease-out infinite;
}

/* Floating contact drawer slide-up */
@keyframes iccPopIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.icc-pop-in {
  animation: iccPopIn 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Respect accessibility motion preferences */
@media (prefers-reduced-motion: reduce) {
  .icc-slow-spin,
  .icc-pulse-dot,
  .icc-pop-in {
    animation: none !important;
  }
  .icc-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .icc-card-lift:hover,
  .icc-magnet {
    transform: none !important;
  }
  .icc-spotlight::after {
    display: none;
  }
}
