/* ============================================================
   Page-shared styles
   - Persona hero (used by For Insurers / Insurtechs / Investors)
   - Outcome cards
   - Numbered timeline (mandate model, 60-day framework, etc.)
   - Advisory cards
   - Tier cards
   ============================================================ */

/* ---------- Persona hero (warm sunken band + cinematic photo) ---------- */
.phero {
  background: var(--paper-sunken);
  color: var(--ink);
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.phero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(34, 81, 255, 0.18);
  border-radius: 999px;
  pointer-events: none;
}
.phero__crumb {
  display: none; /* Breadcrumb hidden site-wide */
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.phero__crumb a { color: var(--ink-muted); text-decoration: none; }
.phero__crumb a:hover { color: var(--ink); }
.phero__crumb .sep { opacity: 0.4; }
.phero__crumb .here { color: var(--blue); }

.phero__copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.phero__copy h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 14ch;
}
.phero__copy h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.phero--insurtech .phero__copy h1 em { color: var(--clay); }
.phero__rhs { display: flex; flex-direction: column; gap: 24px; max-width: 480px; }
.phero__deck {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-muted);
}
.phero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Centered persona-hero variant ---------- */
.phero__copy--centered {
  display: block;
  grid-template-columns: none;
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.phero__copy--centered h1 {
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}
.phero__kicker {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 24px;
}
.phero__copy--centered .phero__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 20px auto 0;
}
.phero__copy--centered .phero__deck {
  max-width: 56ch;
  margin: 24px auto 0;
}
.phero__copy--centered .phero__actions {
  justify-content: center;
  margin-top: 44px;
}

.phero__cobrand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raised);
  margin: 28px auto 0;
}
.phero__cobrand-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.phero__cobrand-logo {
  height: 22px;
  width: auto;
}

/* ---------- Corridor pill + partner credit (Corridor hero) ---------- */
.phero__corridor-pill {
  display: inline-block;
  padding: 7px 18px;
  margin: 0 auto 24px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.phero__partner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.phero__partner-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.2;
  text-align: center;
}
.phero__partner-logo {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 520px) {
  .phero__partner { gap: 10px; }
  .phero__partner-logo { height: 48px; }
}

.phero__photo--filled {
  padding: 0 !important;
  background: var(--ink) !important;
}
.phero__photo--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phero__photo--filled::after { display: none !important; }

.phero__photo {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(10, 10, 15, 0.06) 0,
      rgba(10, 10, 15, 0.06) 16px,
      rgba(10, 10, 15, 0.02) 16px,
      rgba(10, 10, 15, 0.02) 32px
    );
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.phero__photo::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(10, 10, 15, 0.18);
  pointer-events: none;
}
.phero__photo .tag {
  position: absolute;
  top: 20px;
  left: 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  z-index: 1;
}
.phero__photo .cap {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 380px;
  z-index: 1;
  color: var(--ink);
}
.phero__photo .cap .label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  display: block;
  margin-bottom: 6px;
}
.phero__photo .cap .desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

/* Stat strip overlay */
.phero__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.phero__strip .pcol {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phero__strip .pcol:last-child { border-right: none; }

/* Edge columns inherit the page gutter so their content aligns with the
   rest of the page (.container uses the same --gutter). Floors at 24px so
   the original inner padding is never reduced on narrow viewports. */
.phero__strip .pcol:first-child { padding-left: max(24px, var(--gutter)); }
.phero__strip .pcol:last-child  { padding-right: max(24px, var(--gutter)); }

.phero__strip .pcol .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.phero__strip .pcol .label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .phero__copy { grid-template-columns: 1fr; align-items: stretch; gap: 24px; }
  .phero__photo { aspect-ratio: 4 / 3; }
  .phero__strip { grid-template-columns: 1fr 1fr; }
  .phero__strip .pcol:nth-child(2) { border-right: none; }
  .phero__strip .pcol:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* In 2-col mode, odd children are left-edge, even are right-edge. */
  .phero__strip .pcol:nth-child(odd)  { padding-left: max(24px, var(--gutter)); padding-right: 24px; }
  .phero__strip .pcol:nth-child(even) { padding-right: max(24px, var(--gutter)); padding-left: 24px; }
}
@media (max-width: 560px) {
  .phero__strip { grid-template-columns: 1fr; }
  .phero__strip .pcol { border-right: none; border-top: 1px solid var(--line); }
  .phero__strip .pcol:first-child { border-top: none; }
  /* Every cell is both left- and right-edge in 1-col mode. */
  .phero__strip .pcol,
  .phero__strip .pcol:nth-child(odd),
  .phero__strip .pcol:nth-child(even) {
    padding-left: max(24px, var(--gutter));
    padding-right: max(24px, var(--gutter));
  }
}



/* ---------- Outcome cards (4-up) ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.outcome {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  position: relative;
  transition: background var(--dur-base) var(--ease-out);
}
.outcome:hover { background: var(--paper-raised); }
.outcome__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.outcome__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin-top: -4px;
}
.outcome__copy {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 32ch;
}
@media (max-width: 1100px) {
  .outcomes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .outcomes { grid-template-columns: 1fr; }
}

/* ---------- Numbered timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.tstep {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 16px;
}
.tstep__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  position: relative;
}
.tstep__num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.tstep:hover .tstep__num::after { opacity: 1; }
.tstep__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin-top: 8px;
}
.tstep__phase {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tstep__copy {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 36ch;
}
@media (max-width: 1100px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Advisory cards ---------- */
.advisory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.adv {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.adv:hover { border-color: var(--ink); transform: translateY(-2px); }
.adv__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.adv__icon svg { width: 22px; height: 22px; }
.adv__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.adv__copy {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .advisory { grid-template-columns: 1fr; }
}

/* ---------- Two-column section heads with side meta ---------- */
.split-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.split-head__copy { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.split-head__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: right;
  letter-spacing: 0.04em;
  max-width: 220px;
}
@media (max-width: 760px) {
  .split-head { grid-template-columns: 1fr; }
  .split-head__meta { text-align: left; }
}

/* ---------- Proof block (heading + paragraph + logo strip) ---------- */
.proof-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: 48px;
}
.proof-intro h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; }
.proof-intro p { color: var(--ink-muted); font-size: 1.0625rem; line-height: 1.55; }
.proof-link {
  margin-top: 32px;
  text-align: center;
}
@media (max-width: 760px) {
  .proof-intro { grid-template-columns: 1fr; align-items: stretch; }
}

/* ---------- Centered CTA row ---------- */
.cta-row {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ---------- Two routes (dual programme cards) ---------- */
.routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.route {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.route:hover { border-color: var(--ink); transform: translateY(-2px); }
.route--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.route--featured .route__copy { color: var(--ink-subtle); }
.route--featured .route__flow {
  background: rgba(229, 226, 218, 0.08);
  border-color: rgba(229, 226, 218, 0.2);
  color: var(--paper);
}
.route--featured .route__flow .step-arrow { color: var(--blue); }
.route--featured .btn--secondary {
  border-color: rgba(229, 226, 218, 0.4);
  color: var(--paper);
}
.route--featured .btn--secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.route__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}
.route--featured .route__tag {
  background: rgba(229, 226, 218, 0.1);
  border-color: rgba(229, 226, 218, 0.25);
  color: var(--paper);
}
.route__tag .badge-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--blue);
}
.route__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: inherit;
}
.route__copy {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.route__flow {
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.route__flow .step-arrow {
  color: var(--blue);
  margin: 0 6px;
}
.route__cta { margin-top: 4px; }

@media (max-width: 960px) {
  .routes { grid-template-columns: 1fr; }
}

/* ---------- Capabilities (5-up bento) ---------- */
.caps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cap-cell {
  background: var(--paper);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background var(--dur-base) var(--ease-out);
}
.cap-cell:hover { background: var(--paper-raised); }
.cap-cell--wide-3 { grid-column: span 3; }
.cap-cell--wide-2 { grid-column: span 2; }
.cap-cell__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.cap-cell__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
}
.cap-cell__copy {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 44ch;
}
@media (max-width: 1100px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .cap-cell--wide-3, .cap-cell--wide-2 { grid-column: auto; }
}
@media (max-width: 560px) {
  .caps { grid-template-columns: 1fr; }
}

/* ---------- Tier cards ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.tier {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.tier:hover { border-color: var(--ink); transform: translateY(-2px); }
.tier--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tier--featured .tier__name { color: var(--paper); }
.tier--featured .tier__includes li { color: var(--ink-subtle); }
.tier--featured .tier__includes li::before {
  background: var(--blue);
}
.tier--rare {
  background: var(--sand);
  border-color: var(--sand-deep);
}
.tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.tier__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.022em;
}
.tier__badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}
.tier--featured .tier__badge {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}
.tier--rare .tier__badge {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
}
.tier__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tier--featured .tier__sub { color: var(--ink-subtle); }
.tier__includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  flex: 1;
}
.tier__includes li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}
.tier__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}
@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; }
}

/* ---------- Stat cards (KSA opportunity) ---------- */
.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.statcell {
  background: var(--paper);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  position: relative;
  transition: background var(--dur-base) var(--ease-out);
}
.statcell:hover { background: var(--paper-raised); }
.statcell__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.statcell--accent .statcell__num { color: var(--blue); }
.statcell__label {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-top: auto;
  max-width: 22ch;
}
.statcell__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
@media (max-width: 1100px) { .statgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .statgrid { grid-template-columns: 1fr; } }

/* ---------- Powered-by relationship band ---------- */
.poweredby {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.poweredby__copy { display: flex; flex-direction: column; gap: 16px; }
.poweredby__copy .eyebrow { color: var(--blue); }
.poweredby__copy h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--paper);
}
.poweredby__copy p { color: var(--ink-subtle); font-size: 1rem; line-height: 1.55; max-width: 52ch; }
.poweredby__viz {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.poweredby__brand {
  background: rgba(229, 226, 218, 0.08);
  border: 1px solid rgba(229, 226, 218, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.poweredby__brand img { height: 28px; }
.poweredby__brand .role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.poweredby__connector {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.poweredby__brand--child {
  background: var(--paper);
  border-color: var(--paper);
}
.poweredby__brand--child img { height: 32px; }
.poweredby__brand--child .role { color: var(--ink-muted); }
@media (max-width: 960px) {
  .poweredby { grid-template-columns: 1fr; }
}

/* InsurTech sister-brand accent: navy header bar above hero (was clay/orange) */
.phero--insurtech::before {
  border-color: rgba(14, 30, 92, 0.32);
}
.phero--insurtech .phero__crumb .here { color: var(--clay); }
.phero--insurtech .phero__copy h1 em { color: var(--clay); }

/* ---------- Filter chip row ---------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.filter-chip .count {
  font-size: 0.6875rem;
  opacity: 0.6;
}

/* ---------- Partner cards grid ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.pcard:hover { border-color: var(--ink); transform: translateY(-2px); }
.pcard__logo {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Reserve room on the right so wide logos don't collide with the region tag */
  padding-right: 72px;
}
.pcard__logo img {
  max-height: 100%;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: none;
}
.pcard--featured .pcard__logo img {
  /* Logos are dark-on-transparent; invert on dark featured cards */
  filter: invert(1) brightness(1.1);
}
.pcard__logo .placeholder {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.pcard__logo .placeholder small {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pcard__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pcard__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
  flex: 1;
}
.pcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcard__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--paper-sunken);
}
.pcard.is-hidden { display: none; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }

/* ---------- Thesis (essay block) ---------- */
.thesis {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.thesis__head {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.thesis__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.thesis__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 64ch;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
}
.thesis__body p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 -2px;
  color: var(--blue);
}
.thesis__body em {
  font-style: italic;
  color: var(--ink);
}
@media (max-width: 960px) {
  .thesis { grid-template-columns: 1fr; }
  .thesis__head { position: static; }
}

/* ============================================================
   Insur-Studio (product page only)
   ============================================================ */

/* Hero — product variant: dark band + beta pill */
.phero--studio {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.phero--studio::before { border-color: rgba(34, 81, 255, 0.35); }
.phero--studio .phero__crumb { color: var(--ink-subtle); }
.phero--studio .phero__crumb a { color: var(--ink-subtle); }
.phero--studio .phero__crumb a:hover { color: var(--paper); }
.phero--studio .phero__copy h1 { color: var(--paper); }
.phero--studio .phero__copy h1 em { color: var(--blue); }
.phero--studio .phero__deck { color: var(--ink-subtle); }

.phero--studio .phero__photo {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(34, 81, 255, 0.18) 0, rgba(34, 81, 255, 0) 50%),
    radial-gradient(ellipse at 80% 70%, rgba(232, 223, 201, 0.06) 0, rgba(232, 223, 201, 0) 60%),
    repeating-linear-gradient(
      135deg,
      rgba(232, 223, 201, 0.05) 0,
      rgba(232, 223, 201, 0.05) 14px,
      rgba(232, 223, 201, 0.02) 14px,
      rgba(232, 223, 201, 0.02) 28px
    );
  border-top: 1px solid rgba(229, 226, 218, 0.18);
}
.phero--studio .phero__photo::after { border-color: rgba(229, 226, 218, 0.18); }
.phero--studio .phero__photo .tag { background: var(--paper); color: var(--ink); }
.phero--studio .phero__photo .cap {
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(229, 226, 218, 0.18);
  color: var(--paper);
}
.phero--studio .phero__photo .cap .desc { color: var(--paper); }

/* Beta pill */
.phero__betatag {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(34, 81, 255, 0.18);
  border: 1px solid rgba(34, 81, 255, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-top: 16px;
  margin-bottom: 24px;
}
.phero__betatag .pulse {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(34, 81, 255, 0.6);
  animation: studio-pulse 2.4s ease-out infinite;
}
@keyframes studio-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 81, 255, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 81, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 81, 255, 0); }
}

/* Four-stage loop — connected pipeline */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.loop__stage {
  position: relative;
  padding: 36px 32px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  transition: background var(--dur-base) var(--ease-out);
}
.loop__stage:last-child { border-right: none; }
.loop__stage:hover { background: var(--paper-raised); }
.loop__stage::after {
  /* chevron joining stages */
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  z-index: 2;
}
.loop__stage:last-child::after { display: none; }
.loop__stage:hover::after { background: var(--paper-raised); }

.loop__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.loop__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.loop__verb {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.loop__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.625rem;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
}
.loop__copy {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 32ch;
}
.loop__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 4px;
}
.loop__icon svg { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .loop { grid-template-columns: 1fr 1fr; }
  .loop__stage:nth-child(2)::after { display: none; }
  .loop__stage:nth-child(2) { border-right: none; }
  .loop__stage:nth-child(3),
  .loop__stage:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .loop { grid-template-columns: 1fr; }
  .loop__stage { border-right: none; border-bottom: 1px solid var(--line); }
  .loop__stage::after {
    right: 50%;
    top: auto;
    bottom: -10px;
    transform: translateX(50%) rotate(135deg);
  }
}

/* Studio tier cards — extend tier with pricing line */
.tier__price {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.tier--featured .tier__price {
  background: rgba(229, 226, 218, 0.1);
  border-color: rgba(229, 226, 218, 0.25);
  color: var(--paper);
}
.tier--rare .tier__price { background: var(--paper); }
.tier__cta { margin-top: 12px; }
.tier--featured .tier__cta .btn--secondary {
  border-color: rgba(229, 226, 218, 0.4);
  color: var(--paper);
}
.tier--featured .tier__cta .btn--secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}


/* ---------- Leadership (shared) ---------- */
.leadership {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.leadership__copy h2 { margin-bottom: 24px; }
.leadership__copy p {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.leadership__copy ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.leadership__copy li {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.leadership__copy li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-family: var(--font-mono);
}
.leadership__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.leader {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.leader__portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-sunken) 0,
      var(--paper-sunken) 12px,
      var(--sand) 12px,
      var(--sand) 24px
    );
  border: 1px dashed rgba(10,10,15,0.18);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader__portrait::before {
  content: "Portrait";
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,15,0.32);
}
.leader__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.leader__role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: -8px;
}
@media (max-width: 1100px) {
  .leadership { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .leadership__cards { grid-template-columns: 1fr; }
  .leader { flex-direction: row; align-items: center; }
  .leader__portrait { width: 96px; flex-shrink: 0; aspect-ratio: 1; }
}

/* ============================================================
   MOTION — page-level enhancements
   ============================================================ */

/* ---------- Partner cards: category accents (#9) ---------- */
.pcard {
  position: relative;
  overflow: hidden;
}
.pcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line);
  transition: background var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out);
}
.pcard:hover::before { width: 5px; }
.pcard[data-cats~="gov"]::before        { background: var(--blue); }
.pcard[data-cats~="commercial"]::before { background: var(--blue-deep); }
.pcard[data-cats~="hubs"]::before       { background: var(--blue-soft); }
.pcard[data-cats~="capital"]::before    { background: var(--blue-navy); }

/* Logo monogram tile colour echoes category */
.pcard[data-cats~="gov"] .pcard__logo .placeholder        { color: var(--blue-deep); }
.pcard[data-cats~="commercial"] .pcard__logo .placeholder { color: var(--blue-deep); }
.pcard[data-cats~="hubs"] .pcard__logo .placeholder       { color: var(--blue); }
.pcard[data-cats~="capital"] .pcard__logo .placeholder    { color: var(--blue-navy); }

/* Hover depth (#10) */
.pcard {
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.pcard:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Region pulse dot (#12) */
.pcard__region {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  z-index: 1;
}
.pcard__region .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 0 currentColor;
  animation: pcard-pulse 2.4s ease-out infinite;
}
.pcard[data-cats~="commercial"] .pcard__region .dot { background: var(--blue-deep); }
.pcard[data-cats~="hubs"] .pcard__region .dot       { background: var(--blue-soft); }
.pcard[data-cats~="capital"] .pcard__region .dot    { background: var(--blue-navy); }
@keyframes pcard-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 81, 255, 0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 81, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 81, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pcard__region .dot { animation: none; }
}

/* Photo backdrop on featured partners (#11) */
.pcard--featured {
  position: relative;
  isolation: isolate;
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}
.pcard--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pcard-photo, none);
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: -1;
  transition: opacity var(--dur-base) var(--ease-out), transform 800ms var(--ease-out);
}
.pcard--featured > * { position: relative; z-index: 1; }
/* Region label must stay absolute-positioned in the top-right
   even on featured cards (the > * rule above would otherwise
   demote it to relative and pull it inline-top-left). */
.pcard--featured > .pcard__region { position: absolute; }
.pcard--featured::before {
  background: var(--blue-navy);
}
.pcard--featured .pcard__name { color: var(--paper); }
.pcard--featured .pcard__desc { color: rgba(251, 250, 247, 0.78); }
.pcard--featured .pcard__logo .placeholder {
  color: var(--paper);
  background: rgba(251, 250, 247, 0.06);
  border-color: rgba(251, 250, 247, 0.18);
}
.pcard--featured .pcard__tag {
  background: rgba(251, 250, 247, 0.08);
  border-color: rgba(251, 250, 247, 0.18);
  color: rgba(251, 250, 247, 0.82);
}
.pcard--featured .pcard__region { color: rgba(251, 250, 247, 0.7); }
.pcard--featured:hover { transform: translateY(-3px); border-color: transparent; }
.pcard--featured:hover::after { opacity: 0.7; transform: scale(1.04); }

/* Use a labelled hatch placeholder when no photo URL is supplied */
.pcard--featured:not([style*="--pcard-photo"])::after {
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(251, 250, 247, 0.08) 0,
      rgba(251, 250, 247, 0.08) 14px,
      rgba(251, 250, 247, 0.02) 14px,
      rgba(251, 250, 247, 0.02) 28px
    );
  opacity: 1;
}

/* ---------- Thesis vertical rule draw (#13) ---------- */
.thesis__body {
  position: relative;
  padding-left: clamp(20px, 3vw, 32px);
}
.thesis__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--blue);
  opacity: 0.6;
  transition: height 1400ms var(--ease-out);
}
.thesis.is-in .thesis__body::before,
.thesis__body.is-in::before {
  height: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .thesis__body::before { height: 100%; transition: none; }
}

/* ---------- Leadership polaroid (#14, #15) ---------- */
.leader {
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform 420ms var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.leadership__cards .leader:nth-child(1) { transform: rotate(-1.4deg); }
.leadership__cards .leader:nth-child(2) { transform: rotate(0.8deg); }
.leadership__cards .leader:nth-child(3) { transform: rotate(-0.6deg); }
.leadership__cards .leader:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border-color: var(--ink);
}
.leader__portrait { overflow: hidden; }
.leader__portrait--photo {
  background: var(--paper-sunken);
  border: 1px solid var(--line);
  padding: 0;
}
.leader__portrait--photo::before { content: none; }
.leader__portrait--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin-top: -4px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  align-self: flex-start;
  background: var(--paper);
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.leader__linkedin:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.leader__linkedin-icon { display: block; }
.leader__bio {
  position: absolute;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.leader__bio p {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--paper);
}
.leader__bio a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  margin-top: 4px;
}
.leader:hover .leader__bio,
.leader:focus-within .leader__bio {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.leader__portrait { position: relative; }
@media (max-width: 640px) {
  .leadership__cards .leader { transform: none !important; }
}

/* ---------- Tier hover sweep + badge shimmer (#16, #17) ---------- */
.tier {
  position: relative;
  overflow: hidden;
}
.tier::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(34, 81, 255, 0.10) 50%,
    transparent 100%
  );
  transform: skewX(-12deg);
  pointer-events: none;
  transition: left 800ms var(--ease-out);
}
.tier:hover::after { left: 140%; }
.tier--rare::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(34, 81, 255, 0.12) 50%,
    transparent 100%
  );
}
.tier--featured::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(251, 250, 247, 0.10) 50%,
    transparent 100%
  );
}
.tier__badge { position: relative; overflow: hidden; }
.tier--featured .tier__badge::after,
.tier--rare .tier__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: badge-shimmer 3.4s ease-in-out infinite;
}
@keyframes badge-shimmer {
  0%, 60% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .tier--featured .tier__badge::after,
  .tier--rare .tier__badge::after { animation: none; display: none; }
}

/* Tier stagger rise on entry (#17) */
.tiers.reveal-stagger > .tier:nth-child(1) { transition-delay: 0ms; }
.tiers.reveal-stagger > .tier:nth-child(2) { transition-delay: 80ms; }
.tiers.reveal-stagger > .tier:nth-child(3) { transition-delay: 180ms; }

/* ---------- Hero photo parallax wrapper helper (DISABLED) ----------
   Parallax has been removed site-wide. The .parallax class may remain
   in markup but no scroll-linked transform is applied. */
.phero__photo.parallax img {
  transform: none !important;
  transition: none;
  will-change: auto;
}

/* ---------- Hero strip count-up: lock width so digits don't reflow ---------- */
.phero__strip .pcol .num { font-variant-numeric: tabular-nums; }
.stat__num, .statcell__num { font-variant-numeric: tabular-nums; }


/* ============================================================
   Differentiated card pattern (extends tier system to other
   card families — personas, routes, advisory). One card in each
   group is "featured" (primary/recommended, dark ink fill) and
   one is "rare" (standout/exclusive, warm sand fill). Both gain
   a diagonal hover sweep and a small badge if present. The plain
   default cards keep the neutral paper-raised look.
   ============================================================ */

/* ----- 1. Featured (dark ink) variants -----
   Doubled-class selectors (e.g. .persona.persona--featured) bump
   specificity above sibling rules in home.css that target a single
   .persona class with a background, regardless of file load order. */
.persona.persona--featured,
.route.route--featured,
.adv.adv--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.persona.persona--featured .persona__title,
.route.route--featured .route__title,
.adv.adv--featured .adv__title { color: var(--paper); }

.persona.persona--featured .persona__num,
.persona.persona--featured .persona__tagline,
.route.route--featured .route__copy,
.adv.adv--featured .adv__copy { color: var(--ink-subtle); }

.persona.persona--featured .persona__pitch { color: rgba(251, 250, 247, 0.78); }

.persona.persona--featured .persona__tagline {
  border-top-color: rgba(229, 226, 218, 0.18);
}
.persona.persona--featured .persona__cta { color: var(--paper); }
.persona.persona--featured:hover .persona__cta { color: var(--paper); opacity: 0.9; }

.adv.adv--featured .adv__icon {
  background: rgba(229, 226, 218, 0.1);
  border-color: rgba(229, 226, 218, 0.2);
  color: var(--paper);
}

/* ----- 2. Rare (warm sand) variants ----- */
.persona.persona--rare,
.route.route--rare,
.adv.adv--rare {
  background: var(--sand);
  border-color: var(--sand-deep);
}
.persona.persona--rare .persona__tagline { border-top-color: var(--sand-deep); }
.adv.adv--rare .adv__icon {
  background: rgba(34, 81, 255, 0.08);
  border-color: rgba(34, 81, 255, 0.22);
  color: var(--blue-navy);
}

/* ----- 3. Hover sweep (matches tier sweep timing/feel) ----- */
.persona,
.route,
.adv { position: relative; overflow: hidden; }
.persona::after,
.route::after,
.adv::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(34, 81, 255, 0.10) 50%,
    transparent 100%
  );
  transform: skewX(-12deg);
  pointer-events: none;
  transition: left 800ms var(--ease-out);
  z-index: 0;
}
.persona:hover::after,
.route:hover::after,
.adv:hover::after { left: 140%; }
.persona--rare::after,
.route--rare::after,
.adv--rare::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(34, 81, 255, 0.12) 50%,
    transparent 100%
  );
}
.persona--featured::after,
.route--featured::after,
.adv--featured::after {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(251, 250, 247, 0.10) 50%,
    transparent 100%
  );
}
/* Keep card content above the sweep layer */
.persona > *,
.route > *,
.adv > * { position: relative; z-index: 1; }

/* ----- 4. Optional small badge for non-tier cards ----- */
.card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper-sunken);
  color: var(--ink-muted);
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}
.persona--featured .card-badge,
.route--featured .card-badge,
.adv--featured .card-badge {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}
.persona--rare .card-badge,
.route--rare .card-badge,
.adv--rare .card-badge {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
}
/* Reuse the existing badge-shimmer keyframe (defined above) */
.persona--featured .card-badge::after,
.persona--rare .card-badge::after,
.route--featured .card-badge::after,
.route--rare .card-badge::after,
.adv--featured .card-badge::after,
.adv--rare .card-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: badge-shimmer 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .persona--featured .card-badge::after,
  .persona--rare .card-badge::after,
  .route--featured .card-badge::after,
  .route--rare .card-badge::after,
  .adv--featured .card-badge::after,
  .adv--rare .card-badge::after { animation: none; display: none; }
}

/* ----- 5. Stagger entry timings (match tier pattern) ----- */
.personas.reveal-stagger > .persona:nth-child(1),
.routes.reveal-stagger    > .route:nth-child(1),
.advisory.reveal-stagger  > .adv:nth-child(1)   { transition-delay: 0ms; }
.personas.reveal-stagger > .persona:nth-child(2),
.routes.reveal-stagger    > .route:nth-child(2),
.advisory.reveal-stagger  > .adv:nth-child(2)   { transition-delay: 80ms; }
.personas.reveal-stagger > .persona:nth-child(3),
.routes.reveal-stagger    > .route:nth-child(3),
.advisory.reveal-stagger  > .adv:nth-child(3)   { transition-delay: 180ms; }

