/* Project, paywall and signal records sit under a white public header. */
.public-project-page .marketing-header,
.public-project-page .marketing-mobile-nav { background: #fff; }

/* Subscription invitation for a non-showcase project in a public signal. */
.signal-story-project-subscription { display: block; }
.signal-story-project-subscription .project-subscription { max-width: 720px; }
.project-subscription-label { margin: 0 0 14px; color: #126d67; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-subscription-title { margin: 0; color: #15383a; font-family: var(--font-editorial, Georgia, serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.project-subscription-meta { margin: 12px 0 0; color: #4f6867; font-size: 15px; }
.project-subscription-lead { margin: 24px 0 0; color: #15383a; font-size: 18px; line-height: 1.6; }
.project-subscription-includes { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid #dce5e1; list-style: none; display: grid; gap: 12px; }
.project-subscription-includes li { position: relative; padding-left: 22px; color: #4f6867; font-size: 16px; line-height: 1.5; }
.project-subscription-includes li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #126d67; }
.project-subscription-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
@media (max-width: 760px) {
  .project-subscription-page { background-image: url("/assets/project_intelligence/project-gradient-03-mobile-eb3f9b01.webp"); }
}

/* The free project preview (PROJECT_INTELLIGENCE.md "Public preview"): each
   restricted section keeps its place and shape, blurred, with one way in.
   The shapes are structure only; the project's values are never in the page. */
.project-preview-veil { position: relative; min-height: 104px; margin-top: 14px; padding: 14px 18px; border: 1px solid #e3ece9; border-radius: 10px; background: linear-gradient(180deg, #f6faf9, #fbfdfc); }
.project-preview-veil:is(.is-none, .is-card) { margin-top: 0; padding: 0; border: 0; background: none; }
.project-preview-veil-shapes { display: grid; gap: 16px; padding: 8px 0 4px; filter: blur(3px); opacity: .9; user-select: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); }
.project-preview-veil-row { display: flex; align-items: center; gap: 16px; }
.project-preview-veil-row i { display: block; height: 11px; border-radius: 6px; background: #c5d6d2; }
.project-preview-veil-row i:nth-child(1) { flex: 0 0 84px; }
.project-preview-veil-row i:nth-child(2) { flex: 0 1 58%; }
.project-preview-veil-row i:nth-child(3) { flex: 0 0 72px; margin-left: auto; background: #d6e4e0; }
.project-preview-veil-row:nth-child(2) i:nth-child(2) { flex-basis: 44%; }
.project-preview-veil-row:nth-child(3) i:nth-child(2) { flex-basis: 66%; }
.project-preview-veil-row:nth-child(4) i:nth-child(2) { flex-basis: 38%; }
/* Dated lists (changes, history, sources): a date, then a line. */
.project-preview-veil.is-list .project-preview-veil-row i:nth-child(1) { flex-basis: 64px; background: #b9ccc8; }
.project-preview-veil.is-list .project-preview-veil-row i:nth-child(3) { display: none; }
/* Contract packages: a bar on the timeline. */
.project-preview-veil.is-timeline .project-preview-veil-row i:nth-child(1) { flex-basis: 180px; }
.project-preview-veil.is-timeline .project-preview-veil-row i:nth-child(2) { flex-basis: 24%; height: 18px; margin-left: 8%; background: #9fc3bc; }
.project-preview-veil.is-timeline .project-preview-veil-row:nth-child(2) i:nth-child(2) { margin-left: 22%; }
.project-preview-veil.is-timeline .project-preview-veil-row i:nth-child(3) { display: none; }
.project-preview-veil.is-card .project-preview-veil-row i:nth-child(1) { flex-basis: 96px; height: 20px; border-radius: 10px; }
/* One way in, set over the blurred shapes. */
.project-preview-veil-unlock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px; }
.project-preview-veil.is-none { min-height: 0; }
.project-preview-veil.is-none .project-preview-veil-unlock { position: static; justify-content: flex-start; padding: 16px 0 0; }
.project-preview-veil .owner-research-unlock { font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid #cfe0dc; border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgba(23, 56, 58, .1); color: #17625e; font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.project-preview-veil .owner-research-unlock .owner-unlock-lock { margin-top: 0; }
.project-preview-veil .owner-research-unlock:is(:hover, :focus-visible) { border-color: #17625e; }
.project-preview-veil .owner-research-unlock:focus-visible { outline: 2px solid #17625e; outline-offset: 3px; }
.project-preview-veil.is-none .owner-research-unlock { box-shadow: none; }
/* A stage, or a participant role, whose value is in the subscription. */
.project-preview-veil-line { display: inline-block; width: 72%; max-width: 120px; height: 10px; border-radius: 6px; background: #c5d6d2; filter: blur(2.5px); vertical-align: middle; }
.project-page-stage.is-veiled .project-page-stage-mark { border-style: dashed; }
.project-page-stage.is-veiled p { margin-top: 6px; }
.project-page-card.is-veiled { display: block; min-height: 112px; }
.project-preview-closing { margin-top: 40px; }
@media (max-width: 760px) {
  .project-preview-veil-row i:nth-child(3) { display: none; }
  .project-preview-veil.is-timeline .project-preview-veil-row i:nth-child(1) { flex-basis: 96px; }
  .project-preview-veil .owner-research-unlock { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
}

/* The free contact preview (CONTACT_INTELLIGENCE.md "Public preview"). */
.contact-intelligence-section > .project-preview-veil { margin: 4px 20px 20px; }
.contact-sidebar-card > .project-preview-veil { margin: 12px 0 0; padding: 12px; }
.contact-sidebar-card > .project-preview-veil .owner-research-unlock { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
.contact-preview-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 20px 0; padding: 0; list-style: none; }
.contact-preview-kinds li { padding: 4px 10px; border: 1px solid #dce5e2; border-radius: 999px; background: #f5f9f8; color: #27554f; font-size: 12px; font-weight: 700; }
.contact-intelligence-page .project-preview-veil-line { width: 48px; }
.contact-intelligence-layout > .project-preview-closing { grid-column: 1 / -1; margin-top: 8px; }

/* A preview whose status rests on research leaves it out of the hero: the
   actions sit under the name, without the checkpoint card. */
.project-page-hero-grid.is-actions-only { grid-template-columns: 1fr; margin-top: 22px; }
.project-page-hero-grid.is-actions-only .project-page-checkpoint { justify-self: start; padding: 0; border: 0; background: none; box-shadow: none; }
