/* =========================================================
   POLARIS — Color play & photo support (layer on top)
   ========================================================= */

:root {
  --gold: #e8c074;
  --gold-deep: #b8893a;
  --violet: #7c6cf0;
  --emerald: #34d399;
}

/* ---------- Richer hero aurora: add a violet band ---------- */
.aurora__blob.d {
  position: absolute;
  width: 46vw; height: 28vw;
  bottom: -14%; left: 18%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 50%, var(--violet), transparent 62%);
  animation: drift 22s ease-in-out infinite;
  animation-delay: -9s;
  pointer-events: none;
}

/* ---------- Section accent tints (alternating cool hues) ---------- */
.section--tint-teal { position: relative; }
.section--tint-teal::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 12% 0%, rgba(45,212,191,0.10), transparent 60%);
}
.section--tint-blue::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 88% 0%, rgba(47,109,246,0.12), transparent 60%);
}
.section--tint-gold::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 50% at 85% 10%, rgba(232,192,116,0.10), transparent 60%);
}
.section--tint-teal > .container,
.section--tint-blue > .container,
.section--tint-gold > .container { position: relative; z-index: 1; }

/* ---------- System cards: distinct accent per system ---------- */
.system-card--flake:hover {
  border-color: var(--emerald);
  box-shadow: 0 24px 50px -24px rgba(52,211,153,0.45);
}
.system-card--metallic:hover {
  border-color: var(--cyan);
  box-shadow: 0 24px 50px -24px rgba(34,211,238,0.45);
}
.system-card--garage:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 50px -24px rgba(232,192,116,0.4);
}
.system-card--flake .tag { color: var(--emerald); }
.system-card--garage .tag { color: var(--gold); }

/* ---------- Gold-accented CTA button variant ---------- */
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1c1407;
  box-shadow: 0 14px 30px -12px rgba(232,192,116,0.55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(232,192,116,0.65); }

/* ---------- Eyebrow color modifiers ---------- */
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow--violet { color: var(--violet); }
.eyebrow--violet::before { background: linear-gradient(90deg, transparent, var(--violet)); }

/* =========================================================
   REAL PHOTO SUPPORT
   ========================================================= */
/* <img class="ph"> fills its box and crops nicely */
img.ph { object-fit: cover; display: block; }
.coverage__img img.ph,
.swatch__sample img.ph,
.project-tile img.ph,
.gallery-item img.ph { width: 100%; height: 100%; }

/* div.ph with an inline background-image (resolves relative to the PAGE,
   unlike url() inside a custom property which resolves against the CSS file) */
.ph[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph[style*="background-image"]::before { opacity: 0.28; }  /* tone down aurora sheen */
.ph[style*="background-image"]::after  { opacity: 0.22; }  /* tone down scan lines */

/* =========================================================
   PHOTO PAGE HERO
   ========================================================= */
.page-hero--photo { padding-top: calc(78px + clamp(4rem, 9vw, 7rem)); }
.page-hero__media {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--navy-700);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
}
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,13,24,0.92) 0%, rgba(5,13,24,0.7) 45%, rgba(5,13,24,0.35) 100%),
    linear-gradient(0deg, var(--navy-900), transparent 55%);
}
.page-hero--photo .container { position: relative; z-index: 2; }

/* ---------- Feature split (text + photo) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--rev .split__media { order: -1; }
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.split__media .ph { height: 100%; }
.split ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.9rem; }
.split li { display: flex; gap: 0.8rem; color: var(--text-soft); }
.split li svg { color: var(--teal); flex: none; margin-top: 3px; }
.split li b { color: var(--text); font-weight: 600; display: block; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

/* ---------- Stat band ---------- */
.statband {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; text-align: center;
}
.statband .s { padding: 1.6rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.statband .s .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem,3vw,2.3rem); color: var(--teal); }
.statband .s .l { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }
@media (max-width: 700px){ .statband { grid-template-columns: repeat(2,1fr); } }
