/* ---------------------------------------------------------------------
   Event Portfolio Scorecard ([peilmark_scorecard], /scorecard/)
   Built from the approved review preview. Everything is scoped to .pm-sc,
   and the brand colours are declared here because the palette variables
   only live in the homepage stylesheet.
   --------------------------------------------------------------------- */

.pm-sc {
	--pm-sc-ink: #0F1A2E;
	--pm-sc-soft: rgba(15, 26, 46, 0.68);
	--pm-sc-faint: rgba(15, 26, 46, 0.45);
	--pm-sc-line: rgba(15, 26, 46, 0.14);
	--pm-sc-cerise: #CA4271;
	--pm-sc-cerise-ink: #B53A65;
	--pm-sc-wash: rgba(202, 66, 113, 0.10);
	--pm-sc-plum: #3D2241;
	--pm-sc-paper: #FAF7F2;
	--pm-sc-surface: #FFFFFF;
	--pm-sc-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

	max-width: 760px;
	margin: 0 auto;
	padding-block: 8px 48px;
	color: var(--pm-sc-ink);
	font-size: 16px;
	line-height: 1.55;
}

.pm-sc * { box-sizing: border-box; }
.pm-sc p { margin: 0; }
.pm-sc svg { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }

.pm-sc-eyebrow {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pm-sc-faint);
}

.pm-sc .pm-sc-h1,
.pm-sc .pm-sc-h2,
.pm-sc .pm-sc-h3 {
	margin: 0;
	font-family: var(--pm-sc-serif);
	font-weight: 400;
	color: var(--pm-sc-ink);
	text-wrap: balance;
}
.pm-sc .pm-sc-h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.01em; }
.pm-sc .pm-sc-h2 { font-size: clamp(26px, 4.4vw, 36px); line-height: 1.15; }
.pm-sc .pm-sc-h3 { font-size: 22px; line-height: 1.25; }

.pm-sc-lead  { font-size: 22px; line-height: 1.5; font-weight: 500; color: rgba(15, 26, 46, 0.84); max-width: 34em; }
.pm-sc-small { font-size: 15px; color: var(--pm-sc-soft); max-width: 40em; }

.pm-sc .pm-sc-btn {
	display: inline-block;
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	font-family: inherit;
	background: var(--pm-sc-cerise-ink);
	color: var(--pm-sc-paper);
	border: 0;
	border-radius: 2px;
	padding: 17px 26px;
	cursor: pointer;
	text-decoration: none;
}
.pm-sc .pm-sc-btn:hover,
.pm-sc .pm-sc-btn:focus-visible { background: var(--pm-sc-ink); color: var(--pm-sc-paper); }
.pm-sc .pm-sc-btn[disabled] { opacity: 0.55; cursor: wait; }

.pm-sc .pm-sc-quiet {
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	font-family: inherit;
	background: none;
	border: 0;
	color: var(--pm-sc-soft);
	padding: 17px 4px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pm-sc :focus-visible { outline: 2px solid var(--pm-sc-cerise); outline-offset: 2px; }

.pm-sc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Intro */
.pm-sc-intro { display: grid; gap: 28px; }
.pm-sc-intro-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pm-sc-intro-copy { display: grid; gap: 22px; }
.pm-sc-example { margin: 0; display: grid; gap: 4px; justify-items: center; }
.pm-sc-example .pm-sc-radar { max-width: 300px; }
.pm-sc-example figcaption { font-size: 13px; color: var(--pm-sc-faint); text-align: center; max-width: 26em; }

.pm-sc-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0; border-block: 1px solid var(--pm-sc-line); }
.pm-sc-facts div { display: grid; gap: 2px; }
.pm-sc-facts b { font-family: var(--pm-sc-serif); font-weight: 500; font-size: 22px; }
.pm-sc-facts span { font-size: 13px; color: var(--pm-sc-soft); }

.pm-sc .pm-sc-method {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pm-sc-step;
}
.pm-sc .pm-sc-method li { display: grid; gap: 4px; margin: 0; font-size: 15px; }
.pm-sc .pm-sc-method li::before {
	counter-increment: pm-sc-step;
	content: counter(pm-sc-step);
	font-family: var(--pm-sc-serif);
	font-size: 28px;
	line-height: 1;
	color: var(--pm-sc-cerise);
}

/* Progress and questions */
.pm-sc-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 36px; }
.pm-sc-progress span { height: 3px; background: var(--pm-sc-line); border-radius: 2px; }
.pm-sc-progress span.done { background: var(--pm-sc-ink); }
.pm-sc-progress span.now { background: var(--pm-sc-cerise); }

.pm-sc-area-head { display: grid; gap: 10px; margin-bottom: 30px; }
.pm-sc-area-num { font-family: var(--pm-sc-serif); font-size: 15px; color: var(--pm-sc-cerise-ink); }
.pm-sc-frame { font-size: 15px; color: var(--pm-sc-soft); }

.pm-sc .pm-sc-stmt { border: 0; margin: 0; padding: 22px 0; border-top: 1px solid var(--pm-sc-line); display: grid; gap: 14px; min-width: 0; }
.pm-sc .pm-sc-stmt legend { padding: 0; font-size: 17px; line-height: 1.45; max-width: 40em; float: left; width: 100%; }
.pm-sc .pm-sc-stmt legend + * { clear: both; }

.pm-sc-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pm-sc-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-sc-scale input,
.pm-sc-choices input { position: absolute; opacity: 0; pointer-events: none; }
.pm-sc-scale label,
.pm-sc-choices label {
	display: block;
	margin: 0;
	font-size: 14px;
	border: 1px solid var(--pm-sc-line);
	border-radius: 2px;
	background: var(--pm-sc-surface);
	cursor: pointer;
	transition: border-color .12s, background .12s;
}
.pm-sc-scale label { text-align: center; padding: 10px 4px; }
.pm-sc-choices label { padding: 9px 14px; }
.pm-sc-scale label:hover,
.pm-sc-choices label:hover { border-color: var(--pm-sc-faint); }
.pm-sc-scale input:checked + label,
.pm-sc-choices input:checked + label {
	background: var(--pm-sc-cerise-ink);
	border-color: var(--pm-sc-cerise-ink);
	color: var(--pm-sc-paper);
	font-weight: 600;
}
.pm-sc-scale input:focus-visible + label,
.pm-sc-choices input:focus-visible + label { outline: 2px solid var(--pm-sc-cerise); outline-offset: 2px; }

.pm-sc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.pm-sc-msg { font-size: 14px; font-weight: 600; color: var(--pm-sc-cerise-ink); }

/* Result */
.pm-sc-result { display: grid; gap: 44px; }
.pm-sc-summary { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pm-sc-summary .pm-sc-h2 { margin-bottom: 12px; }
.pm-sc-score { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.pm-sc-score b { font-family: var(--pm-sc-serif); font-weight: 400; font-size: 76px; line-height: 0.9; font-variant-numeric: tabular-nums; }
.pm-sc-score span { font-size: 15px; color: var(--pm-sc-soft); }
.pm-sc-chip {
	display: inline-block;
	justify-self: start;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 2px;
	background: var(--pm-sc-wash);
	color: var(--pm-sc-cerise-ink);
}
.pm-sc-peer { font-size: 14px; color: var(--pm-sc-soft); margin-top: 14px; }
.pm-sc-peer span { color: var(--pm-sc-faint); }
.pm-sc-radar { width: 100%; max-width: 360px; justify-self: center; }
.pm-sc-legend { display: flex; gap: 18px; justify-content: center; font-size: 13px; color: var(--pm-sc-soft); margin-top: 6px; }
.pm-sc-legend i { display: inline-block; width: 18px; height: 0; vertical-align: middle; margin-right: 6px; }
.pm-sc-legend .you i { border-top: 3px solid var(--pm-sc-cerise); }
.pm-sc-legend .avg i { border-top: 2px dashed var(--pm-sc-plum); }

.pm-sc-challenge,
.pm-sc-cta {
	display: grid;
	gap: 14px;
	padding: 32px;
	background: var(--pm-sc-surface);
	border: 1px solid var(--pm-sc-line);
	border-radius: 2px;
}
.pm-sc-challenge .pm-sc-eyebrow { margin: 0; color: var(--pm-sc-cerise-ink); }
.pm-sc-challenge p:not(.pm-sc-eyebrow) { max-width: 40em; color: var(--pm-sc-soft); }
.pm-sc-challenge strong { color: var(--pm-sc-ink); font-weight: 600; }

.pm-sc-area { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px 32px; padding: 28px 0; border-top: 1px solid var(--pm-sc-line); }
.pm-sc-area:last-child { border-bottom: 1px solid var(--pm-sc-line); }
.pm-sc-area-meta { display: grid; gap: 10px; align-content: start; }
.pm-sc-num { font-family: var(--pm-sc-serif); color: var(--pm-sc-cerise-ink); font-size: 15px; }
.pm-sc-bar { position: relative; height: 8px; background: var(--pm-sc-line); border-radius: 4px; margin-top: 4px; }
.pm-sc-bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--pm-sc-cerise); border-radius: 4px; }
.pm-sc-bar .tick { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--pm-sc-plum); }
.pm-sc-bar-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--pm-sc-soft); font-variant-numeric: tabular-nums; }
.pm-sc-area-body { display: grid; gap: 10px; align-content: start; }
.pm-sc-area-body .pm-sc-eyebrow { margin: 0; }
.pm-sc-focus { font-family: var(--pm-sc-serif); font-size: 21px; line-height: 1.3; }
.pm-sc-note { font-size: 15px; padding: 12px 16px; margin-bottom: 6px; background: var(--pm-sc-wash); border-radius: 2px; }
.pm-sc-note strong { color: var(--pm-sc-cerise-ink); }
.pm-sc .pm-sc-more { justify-self: start; font-size: 15px; font-weight: 600; color: var(--pm-sc-cerise-ink); text-decoration: underline; text-underline-offset: 3px; }
.pm-sc .pm-sc-more::after { content: " \2193"; }
.pm-sc .pm-sc-more:hover { color: var(--pm-sc-ink); }
.pm-sc-more-done { font-size: 14px; color: var(--pm-sc-soft); }

.pm-sc-gate { display: grid; gap: 16px; padding: 32px; background: var(--pm-sc-ink); color: var(--pm-sc-paper); border-radius: 2px; }
.pm-sc-gate .pm-sc-h3 { color: var(--pm-sc-paper); }
.pm-sc-gate .pm-sc-eyebrow { margin: 0; color: var(--pm-sc-paper); opacity: 0.7; }
.pm-sc-gate p { max-width: 40em; font-size: 15px; opacity: 0.85; }
.pm-sc-gate a { color: inherit; }
.pm-sc-gate form { display: grid; gap: 14px; }
.pm-sc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pm-sc-gate .pm-sc-row { gap: 10px; }
.pm-sc-gate input[type="email"] {
	flex: 1 1 240px;
	min-width: 0;
	font: inherit;
	font-size: 16px;
	padding: 14px 16px;
	border: 1px solid rgba(250, 247, 242, 0.35);
	border-radius: 2px;
	background: transparent;
	color: var(--pm-sc-paper);
}
.pm-sc-gate input[type="email"]::placeholder { color: rgba(250, 247, 242, 0.5); }
.pm-sc .pm-sc-gate .pm-sc-btn { background: var(--pm-sc-cerise); }
.pm-sc .pm-sc-gate .pm-sc-btn:hover,
.pm-sc .pm-sc-gate .pm-sc-btn:focus-visible { background: var(--pm-sc-paper); color: var(--pm-sc-ink); }
.pm-sc-opt { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; opacity: 0.85; cursor: pointer; }
.pm-sc-opt input { margin-top: 3px; flex: none; accent-color: var(--pm-sc-cerise); }
.pm-sc-gate .pm-sc-legal { font-size: 12px; opacity: 0.65; }
.pm-sc-gate .pm-sc-done { font-weight: 600; opacity: 1; }

.pm-sc-fine { font-size: 13px; color: var(--pm-sc-faint); max-width: 44em; }

@media (max-width: 640px) {
	.pm-sc-intro-top,
	.pm-sc-summary,
	.pm-sc-area { grid-template-columns: 1fr; }
	.pm-sc-scale { gap: 4px; }
	.pm-sc-scale label { font-size: 12px; padding: 10px 2px; }
	.pm-sc-score b { font-size: 64px; }
	.pm-sc-lead { font-size: 19px; }
	.pm-sc-challenge,
	.pm-sc-cta,
	.pm-sc-gate { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.pm-sc * { transition: none !important; }
}

/* Scorecard ID and the confirmation step */
.pm-sc-id { font-size: 14px; color: var(--pm-sc-soft); margin-top: 10px; }
.pm-sc-id strong { color: var(--pm-sc-ink); letter-spacing: 0.04em; }
.pm-sc-gate .pm-sc-h2 { color: var(--pm-sc-paper); }
.pm-sc-confirm { max-width: 640px; margin: 24px auto; }
.pm-sc-confirm strong { letter-spacing: 0.04em; }
.pm-sc-keep { display: grid; gap: 12px; margin: 8px 0 4px; padding: 22px 0 6px; border-top: 1px solid rgba(250, 247, 242, 0.2); }
.pm-sc .pm-sc-gate .pm-sc-btn-light { background: transparent; border: 1px solid rgba(250, 247, 242, 0.5); color: var(--pm-sc-paper); }
.pm-sc .pm-sc-gate .pm-sc-btn-light:hover,
.pm-sc .pm-sc-gate .pm-sc-btn-light:focus-visible { background: var(--pm-sc-paper); color: var(--pm-sc-ink); }

/* EPM block on the result (2026-10-13): Aubergine like the homepage EPM band. */
.pm-sc-epm {
	margin-top: 48px;
	padding: 40px;
	background: #3D2241;
	color: #FAF7F2;
	border-radius: 2px;
}
.pm-sc-epm .pm-sc-eyebrow { margin: 0; color: #FAF7F2; opacity: 0.7; }
.pm-sc .pm-sc-epm .pm-sc-h3 { margin-top: 10px; color: #FAF7F2; max-width: 30em; }
.pm-sc-epm p { max-width: 40em; color: rgba(250, 247, 242, 0.82); }
.pm-sc-epm .pm-sc-epm-when { font-size: 14px; color: rgba(250, 247, 242, 0.6); }
.pm-sc-epm-go {
	display: inline-block;
	margin-top: 12px;
	padding: 12px 20px;
	font-weight: 600;
	color: #FAF7F2;
	text-decoration: none;
	border: 1.5px solid currentColor;
	border-radius: 2px;
}
.pm-sc-epm-go:hover,
.pm-sc-epm-go:focus-visible { background: #FAF7F2; color: #3D2241; }
@media (max-width: 700px) { .pm-sc-epm { padding: 28px 24px; } }
/* 13 Oct: example radar card, no caption, facts band removed. */
.pm-sc-example .pm-sc-radar { max-width: 340px; }
.pm-sc-radar svg { display: block; width: 100%; height: auto; }

/* 13 Oct: lead in two paragraphs, room around the start button. */
.pm-sc-intro-copy .pm-sc-lead + .pm-sc-lead { margin-top: 14px; }
.pm-sc-intro-copy > div:last-child { margin: 34px 0 40px; }

/* 13 Oct: tighter gap between the two lead paragraphs. */
.pm-sc-intro-copy .pm-sc-lead { margin-bottom: 0; }
