.signal-on-dark {
  color: #94c9bf;
}

.signal-accent.signal-accent,
.signal-step .text-sm {
  color: #28675d;
}

.signal-card.signal-card,
.signal-step.signal-step {
  border-top-color: #609b90;
}

.partnership-wash {
  background: linear-gradient(115deg, rgb(96 155 144 / 22%), transparent 60%, rgb(192 38 211 / 10%));
}

@media (prefers-color-scheme: dark) {
  .signal-accent.signal-accent,
  .signal-step .text-sm {
    color: #94c9bf;
  }
}

a:focus-visible {
  outline: 2px solid #c026d3;
  outline-offset: 4px;
}

nav a[aria-current="page"]:not(.bg-fuchsia-500) {
  color: #f0abfc;
}

@media (prefers-color-scheme: dark) {
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Data page */
.data-check-card {
  padding: 1.5rem;
  border: 1px solid #e7e5e4;
  border-top: 4px solid #609b90;
  border-radius: 1rem;
  background: #fafaf9;
}

.data-checklist {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #44403c;
}

.data-checklist li {
  position: relative;
  padding-left: 1.75rem;
}

.data-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #059669 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.region-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid #3f3f46;
  border-radius: 999px;
  background: #18181b;
  color: #e4e4e7;
}

.region-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px rgb(52 211 153 / 20%);
}

@media (prefers-color-scheme: dark) {
  .data-check-card {
    background: #18181b;
    border-color: #3f3f46;
    border-top-color: #609b90;
  }

  .data-checklist {
    color: #d4d4d8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compounding-graphic .ci-flow { display: none; }
}

.data-ticker-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.9rem 0;
  animation: data-ticker 45s linear infinite;
}

.data-ticker-track li {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
}

.data-ticker-track li::after {
  content: "\2726";
  font-size: 0.8em;
}

@keyframes data-ticker {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .data-ticker-track { animation: none; }
}

/* Griffin Group wordmark */
.gg-wordmark {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

/* Charts: always drawn on a dark panel so one validated palette works in light and dark mode. */
.chart-card {
  border: 1px solid #27272a;
  border-radius: 1.5rem;
  background: #18181b;
  color: #e4e4e7;
  padding: 1.5rem;
}

.chart-card svg text { font-family: Inter, system-ui, sans-serif; }

.chart-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #a1a1aa;
}

.chart-table summary {
  cursor: pointer;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #a1a1aa;
}

.chart-table table {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 0.8rem;
  border-collapse: collapse;
}

.chart-table th,
.chart-table td {
  text-align: left;
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #27272a;
}

.chart-table td:last-child,
.chart-table th:last-child { text-align: right; }

[data-tip] { cursor: default; }

[data-tip]:hover,
[data-tip]:focus { opacity: 0.85; outline: none; }

.chart-tooltip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  max-width: 16rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #3f3f46;
  border-radius: 0.6rem;
  background: #09090b;
  color: #f4f4f5;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgb(0 0 0 / 35%);
}

/* Partner flow */
.flow-step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid #3f3f46;
  border-radius: 1rem;
  background: #18181b;
}

@media (min-width: 768px) {
  .flow-step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    right: -1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: #e879f9;
    font-weight: 700;
  }
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid #d6d3d1;
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  color: #292524;
  transition: border-color 160ms ease;
}

.logo-chip:hover { border-color: #c026d3; color: #a21caf; }

@media (prefers-color-scheme: dark) {
  .logo-chip { background: #18181b; border-color: #52525b; color: #e4e4e7; }
  .logo-chip:hover { border-color: #e879f9; color: #f0abfc; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-chip { transition: none; }
}

/* Private client nav link: gold pill, as on ideastbc.com. */
.vip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(251 191 36 / 55%);
  border-radius: 999px;
  color: #fde68a;
  font-weight: 600;
  background: linear-gradient(110deg, rgb(251 191 36 / 8%) 30%, rgb(253 230 138 / 28%) 50%, rgb(251 191 36 / 8%) 70%) 0 0 / 250% 100%;
  animation: vip-sheen 4s ease-in-out infinite;
  transition: border-color 160ms ease, color 160ms ease;
}

.vip-link:hover { border-color: #fbbf24; color: #fff7d6; }
.vip-link-star { font-size: 0.8em; color: #fbbf24; }

@keyframes vip-sheen {
  0%, 60% { background-position: 100% 0; }
  100% { background-position: -50% 0; }
}

/* VIP pass upgrade overlay, played on click before navigating (gold), or before the enquiry form (platinum). */
.vip-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 45%, rgb(120 53 15 / 45%), rgb(9 9 11 / 94%) 60%);
  backdrop-filter: blur(6px);
  animation: vip-fade 300ms ease both;
  perspective: 1200px;
}

.vip-overlay.is-leaving { animation: vip-fade-out 350ms ease forwards; }

.vip-pass {
  position: relative;
  width: min(360px, 88vw);
  aspect-ratio: 1.6;
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  overflow: hidden;
  color: #e4e4e7;
  background: linear-gradient(135deg, #27272a, #18181b);
  border: 1px solid #3f3f46;
  box-shadow: 0 30px 80px rgb(0 0 0 / 55%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: Inter, system-ui, sans-serif;
  animation: vip-card-in 600ms cubic-bezier(.2, .9, .3, 1.2) both;
  transition: background 500ms ease, border-color 500ms ease, color 500ms ease, box-shadow 500ms ease;
}

.vip-pass.is-upgraded {
  color: #422006;
  background: linear-gradient(135deg, #fde68a, #f59e0b 45%, #fcd34d 70%, #b45309);
  border-color: #fde68a;
  box-shadow: 0 0 0 1px rgb(253 230 138 / 60%), 0 30px 90px rgb(245 158 11 / 45%);
  animation: vip-flip 700ms ease both;
}

.vip-pass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 70%) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

.vip-pass.is-upgraded::after { animation: vip-shine 900ms 450ms ease forwards; }

.vip-pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vip-pass-tier {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
}

.vip-pass-tier small {
  display: block;
  margin-top: 0.35rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}

.vip-pass-stamp {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  padding: 0.25rem 0.7rem;
  border: 2px solid #422006;
  border-radius: 0.4rem;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #422006;
  opacity: 0;
  transform: rotate(-12deg) scale(2.2);
}

.vip-pass.is-upgraded .vip-pass-stamp { animation: vip-stamp 380ms 650ms cubic-bezier(.3, 1.6, .5, 1) forwards; }

.vip-caption {
  margin-top: 1.5rem;
  text-align: center;
  color: #fde68a;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.5em;
}

.vip-sparkle {
  position: fixed;
  z-index: 101;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fde68a;
  box-shadow: 0 0 10px #fbbf24;
  pointer-events: none;
  animation: vip-burst 900ms ease-out forwards;
}

/* Platinum tier: starts as the gold pass and upgrades to an iridescent diamond card. */
.vip-overlay.is-platinum {
  background: radial-gradient(circle at 50% 45%, rgb(148 163 184 / 35%), rgb(9 9 11 / 96%) 62%);
}

.vip-overlay.is-platinum .vip-pass:not(.is-platinum) {
  color: #422006;
  background: linear-gradient(135deg, #fde68a, #f59e0b 45%, #fcd34d 70%, #b45309);
  border-color: #fde68a;
}

.vip-pass.is-platinum {
  color: #0f172a;
  background:
    linear-gradient(120deg, rgb(244 114 182 / 25%), rgb(125 211 252 / 30%) 35%, rgb(167 243 208 / 25%) 60%, rgb(196 181 253 / 30%)) 0 0 / 300% 300%,
    linear-gradient(135deg, #f8fafc, #cbd5e1 40%, #f1f5f9 60%, #94a3b8);
  border-color: #f8fafc;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 70%), 0 0 60px rgb(186 230 253 / 45%), 0 30px 100px rgb(148 163 184 / 50%);
  animation: vip-flip 700ms ease both, vip-iridesce 3s 700ms linear infinite;
}

.vip-pass.is-platinum::after { animation: vip-shine 900ms 450ms ease forwards; }

.vip-pass.is-platinum .vip-pass-stamp {
  border-color: #0f172a;
  color: #0f172a;
  animation: vip-stamp 380ms 650ms cubic-bezier(.3, 1.6, .5, 1) forwards;
}

.vip-pass-value {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.vip-overlay.is-platinum .vip-caption { color: #e2e8f0; }

.vip-sparkle.is-diamond {
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: linear-gradient(135deg, #fff, #bae6fd 50%, #f5d0fe);
  box-shadow: 0 0 12px #e0f2fe;
  animation-name: vip-burst-diamond;
}

@keyframes vip-fade { from { opacity: 0; } }
@keyframes vip-fade-out { to { opacity: 0; } }
@keyframes vip-card-in { from { opacity: 0; transform: translateY(40px) scale(.9) rotateX(20deg); } }
@keyframes vip-flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(1.04); } 100% { transform: rotateY(0) scale(1.04); } }
@keyframes vip-shine { to { transform: translateX(120%); } }
@keyframes vip-stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes vip-burst { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
@keyframes vip-burst-diamond { from { transform: rotate(45deg); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(225deg) scale(.3); } }
@keyframes vip-iridesce { to { background-position: 300% 300%, 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .vip-link { animation: none; }
}

/* Partners section motion. Hidden states only apply once site.js adds .pa-ready, so content shows without JS. */
.pa-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.pa-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.partner-flow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.partner-flow::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 40%, rgb(96 155 144 / 22%), transparent 35%),
    radial-gradient(circle at 70% 60%, rgb(192 38 211 / 18%), transparent 35%);
  animation: partner-drift 14s ease-in-out infinite alternate;
}

.partner-flow .flow-step {
  transition: transform 250ms ease;
  animation: partner-step-glow 6s ease-in-out infinite;
}

.partner-flow .flow-step:nth-child(1) { --glow: 148 201 191; }
.partner-flow .flow-step:nth-child(2) { --glow: 232 121 249; animation-delay: 2s; }
.partner-flow .flow-step:nth-child(3) { --glow: 244 244 245; animation-delay: 4s; }
.partner-flow .flow-step:hover { transform: translateY(-4px); }

@media (min-width: 768px) {
  .partner-flow .flow-step:not(:last-child)::after { animation: partner-arrow 1.6s ease-in-out infinite; }
}

.partner-badge {
  background-image: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 45%) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: partner-sheen 3.5s ease-in-out infinite;
}

.partner-x {
  display: inline-block;
  animation: partner-x-pulse 2.8s ease-in-out infinite;
}

.pa-ready .partner-feature:not(.is-visible) .partner-x { animation: none; transform: rotate(-180deg) scale(0); }
.pa-ready .partner-feature.is-visible .partner-x { animation: partner-x-in 800ms 400ms cubic-bezier(.3, 1.6, .5, 1) both, partner-x-pulse 2.8s 1.2s ease-in-out infinite; }

.pa-ready .partner-ticks li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 450ms ease, transform 450ms ease;
  transition-delay: var(--tick-delay, 0ms);
}

.pa-ready .partner-ticks li::before { transform: scale(0); transition: transform 400ms cubic-bezier(.3, 1.6, .5, 1); transition-delay: var(--tick-delay, 0ms); }
.pa-ready .is-visible .partner-ticks li { opacity: 1; transform: none; }
.pa-ready .is-visible .partner-ticks li::before { transform: scale(1); }

.partner-card { transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease; }
#partners .partner-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgb(9 9 11 / 12%); }
#partners .partner-card-cta:hover { border-color: #e879f9; box-shadow: 0 18px 40px rgb(192 38 211 / 22%); }


@keyframes partner-drift { to { transform: translate(8%, -6%) rotate(8deg); } }
@keyframes partner-step-glow {
  0%, 40%, 100% { border-color: #3f3f46; box-shadow: none; }
  15% { border-color: rgb(var(--glow) / 80%); box-shadow: 0 0 0 1px rgb(var(--glow) / 35%), 0 0 30px rgb(var(--glow) / 25%); }
}
@keyframes partner-arrow {
  0%, 100% { transform: translate(-3px, -50%); opacity: .55; }
  50% { transform: translate(4px, -50%); opacity: 1; }
}
@keyframes partner-sheen {
  0%, 55% { background-position: 100% 0; }
  100% { background-position: -50% 0; }
}
@keyframes partner-x-pulse {
  0%, 100% { transform: none; text-shadow: none; }
  50% { transform: scale(1.18); text-shadow: 0 0 18px rgb(217 70 239 / 60%); }
}
@keyframes partner-x-in { from { transform: rotate(-180deg) scale(0); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .partner-flow::before,
  .partner-flow .flow-step,
  .partner-flow .flow-step::after,
  .partner-badge,
  .partner-x { animation: none !important; }
  #partners .partner-card:hover { transform: none; }
}
