/* Depth (all pages, specs/design.md §5/§6): layered shadows on buttons and cards.
   Radii stay 2–4 px. Shadows are tinted with the navy ink, never pure black.
   To turn depth off, remove depth.css from the pages. */

:root {
  --depth-1: 0 1px 2px rgba(11, 21, 48, .06), 0 4px 12px rgba(11, 21, 48, .06);
  --depth-2: 0 2px 4px rgba(11, 21, 48, .07), 0 14px 32px rgba(11, 21, 48, .12);
  --depth-dark-1: 0 1px 2px rgba(0, 0, 0, .25), 0 8px 22px rgba(0, 0, 0, .28);
  --depth-dark-2: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 40px rgba(0, 0, 0, .38);
  --lift: translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn {
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); transition-duration: 80ms; }

/* Primary: a touch of light on top, a short firm shadow and a long soft red-tinted glow */
.btn--primary {
  background: linear-gradient(180deg, #D6303A 0%, var(--red-600) 55%, #B91D27 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 1px 2px rgba(11, 21, 48, .22),
    0 6px 14px rgba(200, 32, 42, .26),
    0 14px 28px rgba(11, 21, 48, .10);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #C92A33 0%, var(--red-700) 60%, #A51A22 100%);
  transform: var(--lift);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 2px 4px rgba(11, 21, 48, .22),
    0 10px 22px rgba(200, 32, 42, .32),
    0 20px 40px rgba(11, 21, 48, .14);
}
.btn--primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18), 0 1px 2px rgba(11, 21, 48, .2);
}

/* Secondary on light backgrounds: a solid white face that sits on the page */
.btn--secondary {
  background: var(--white);
  box-shadow: inset 0 -2px 0 rgba(11, 21, 48, .06), var(--depth-1);
}
.btn--secondary:hover { transform: var(--lift); box-shadow: var(--depth-2); }
.btn--secondary:active { box-shadow: inset 0 2px 3px rgba(11, 21, 48, .15); }

/* Secondary and ghost on dark backgrounds */
.on-dark .btn--secondary, .section--dark .btn--secondary,
.btn--ghost {
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), var(--depth-dark-1);
}
.on-dark .btn--secondary:hover, .section--dark .btn--secondary:hover,
.btn--ghost:hover {
  transform: var(--lift);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--depth-dark-2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .10); }

/* Menu button and small chips */
.menu-toggle, .jump-nav a, .filter button { box-shadow: var(--depth-1); }

/* ---------- Cards ---------- */
.service-card, .audience, .coming-soon:not(.coming-soon--dark) {
  box-shadow: var(--depth-1);
  transition: border-color var(--dur) var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.service-card:hover, .service-card:focus-within, .audience:hover {
  box-shadow: var(--depth-2);
  transform: translateY(-4px);
}

/* Project cards and dark surfaces */
.project-card__link {
  box-shadow: var(--depth-1);
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.section--dark .project-card__link { box-shadow: var(--depth-dark-1); }
.project-card__link:hover, .project-card__link:focus-visible { transform: translateY(-4px); box-shadow: var(--depth-2); }
.section--dark .project-card__link:hover, .section--dark .project-card__link:focus-visible { box-shadow: var(--depth-dark-2); }

.testimonial figure, .contact-card, .coming-soon--dark { box-shadow: var(--depth-dark-1); }

/* Photos inside the About and Services blocks */
.about__media img, .service-detail__media img { box-shadow: var(--depth-2); }

/* ---------- Header ---------- */
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--stone-200), 0 10px 30px rgba(11, 21, 48, .10); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .service-card:hover, .service-card:focus-within, .audience:hover,
  .project-card__link:hover, .project-card__link:focus-visible { transform: none; }
}
