/* Project explanation keeps the approved light identity and hands estimates to one simulator. */
@media screen {
  .identity-page.project-page .brand-logo { direction:ltr; }
  .identity-page.project-page .project-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:26px; }
  .identity-page.project-page .project-hero-actions .btn-primary { margin-top:0; }
  .identity-page.project-page .project-question-link { color:var(--color-primary); font-weight:500; line-height:1.65; display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:5px; }
  .identity-page.project-page .project-partnership-summary { max-width:900px; padding-bottom:32px; }
  .identity-page.project-page .project-partnership-summary .partnership-explanation { margin-top:0; padding-top:28px; }
  .identity-page.project-page .project-partnership-summary h3 { font-size:clamp(25px,3vw,32px); }
  .identity-page.project-page .project-partnership-summary p { max-width:75ch; }
  .identity-page.project-page .project-partnership-summary .partnership-terms { max-width:75ch; }
  .identity-page.project-page .project-next-step { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); align-items:center; gap:32px 60px; padding-block:42px; border-top:1px solid var(--color-border); }
  .identity-page.project-page .project-next-step h2 { font-size:clamp(26px,3.2vw,38px); margin:0 0 12px; }
  .identity-page.project-page .project-next-step p { margin:0; max-width:65ch; }
  .identity-page.project-page #project-amount-context { margin-top:16px; color:var(--color-primary); font-weight:500; font-variant-numeric:tabular-nums; }
  .identity-page.project-page #project-amount-context bdi { display:inline-block; direction:ltr; unicode-bidi:isolate; white-space:nowrap; overflow-wrap:normal; }
  .identity-page.project-page .project-next-actions { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
  .identity-page.project-page .project-next-actions .btn-primary { text-align:center; }
  .identity-page.project-page .project-detail-card,.identity-page.project-page .spotlight-copy,.identity-page.project-page .project-next-step > * { min-width:0; overflow-wrap:anywhere; }
  .identity-page.project-page .project-quick-amounts { grid-column:1/-1; padding:20px 24px; border:1px solid var(--color-border,#cfdef1); border-radius:16px; background:linear-gradient(145deg,#f8fbff 0%,#eef6ff 100%); display:flex; flex-direction:column; gap:14px; }
  html[data-theme=dark] .identity-page.project-page .project-quick-amounts { background:linear-gradient(145deg,#0f1c31 0%,#132541 100%); border-color:#263b59; }
  .identity-page.project-page .project-quick-label { font-weight:700; font-size:.95rem; color:var(--color-heading,#0a2247); }
  .identity-page.project-page .project-quick-chips { display:flex; flex-wrap:wrap; gap:10px; }
  .identity-page.project-page .project-quick-chip { min-height:42px; padding:8px 16px; border:1px solid #bfd6f6; border-radius:10px; background:#fff; color:#0b2345; font:700 .9rem var(--ui-font,inherit); cursor:pointer; transition:all 150ms ease; }
  .identity-page.project-page .project-quick-chip[aria-pressed="true"] { background:#086de8; border-color:#086de8; color:#fff; box-shadow:0 8px 20px rgba(8,109,232,.24); }
  html[data-theme=dark] .identity-page.project-page .project-quick-chip { background:#162946; border-color:#2b4468; color:#e6f0ff; }
  html[data-theme=dark] .identity-page.project-page .project-quick-chip[aria-pressed="true"] { background:#086de8; border-color:#38bdf8; color:#fff; }
  .identity-page.project-page .project-quick-readout { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding-top:12px; border-top:1px solid rgba(8,109,232,.16); }
  .identity-page.project-page .pqr-metrics { display:grid; grid-template-columns:repeat(3,minmax(130px,1fr)); gap:12px; flex:1; }
  .identity-page.project-page .pqr-metrics div { padding:10px 14px; border-radius:12px; background:rgba(255,255,255,.85); border:1px solid rgba(8,109,232,.15); }
  html[data-theme=dark] .identity-page.project-page .pqr-metrics div { background:#0b1628; border-color:#243a5a; }
  .identity-page.project-page .pqr-metrics span { display:block; font-size:.78rem; color:var(--color-muted,#526b88); }
  .identity-page.project-page .pqr-metrics strong { display:block; margin-top:3px; font-size:1.05rem; font-weight:800; color:#086de8; }
  html[data-theme=dark] .identity-page.project-page .pqr-metrics strong { color:#7dd3fc; }
  @media(prefers-reduced-motion:no-preference) {
    @keyframes proj-rise { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
    @keyframes step-ring { 0%,100% { box-shadow:0 0 0 0 rgba(8,109,232,.35); } 50% { box-shadow:0 0 0 6px rgba(8,109,232,0); } }
    .identity-page.project-page :is(.corsa-exec-card,.project-detail-card) { animation:proj-rise 420ms cubic-bezier(.22,1,.36,1) both; }
    .identity-page.project-page :is(.corsa-exec-card:nth-child(2),.project-detail-card:nth-child(2)) { animation-delay:70ms; }
    .identity-page.project-page :is(.corsa-exec-card:nth-child(3),.project-detail-card:nth-child(3)) { animation-delay:140ms; }
    .identity-page.project-page .corsa-step-index { animation:step-ring 2.4s ease-in-out infinite; }
  }
}
@media screen and (max-width:700px) {
  .identity-page.project-page .project-next-step { grid-template-columns:minmax(0,1fr); gap:24px; padding-block:30px; }
  .identity-page.project-page .project-next-actions { align-items:stretch; }
  .identity-page.project-page .project-next-actions .project-question-link { align-self:center; }
  .identity-page.project-page .project-hero-actions { flex-direction:column; align-items:stretch; gap:8px; margin-top:22px; }
  .identity-page.project-page .project-hero-actions .project-question-link { align-self:flex-start; }
  .identity-page.project-page .project-partnership-summary { padding-bottom:24px; }
}
