/* Corporate Maestro: tokens, reset, shared primitives. Component CSS lives in its own file. */
:root {
	--red-500: #E8344E; --red-600: #D12A48; --red-700: #B01F3A;
	--navy-900: #0F1A3D; --navy-800: #14234F; --navy-700: #1B3066; --navy-500: #3D5190; --navy-200: #C9CFE6; --navy-100: #F1F2F8;
	--gold: oklch(0.82 0.1 85);
	--white: #FFFFFF;
	--ink: var(--navy-800); --ink-muted: #4A5578;
	--text-heading: var(--navy-800); --text-body: #2A3358;
	--focus-ring: rgba(232, 52, 78, .4);

	--font-display: "Noto Serif Display", Georgia, serif;
	--font-body: "Montserrat", system-ui, sans-serif;
	--fs-body: 17px; --fs-small: 14px; --fs-eyebrow: 13px; --ls-eyebrow: .16em;
	--fs-h2: clamp(28px, 3.4vw, 42px);

	--radius-card: 25px; --radius-media: 16px; --radius-pill: 999px; --radius-control: 25px; /* form inputs, textareas, selects */
	--shadow-card: 0 1px 2px rgba(15,26,61,.06), 0 12px 32px rgba(15,26,61,.08);
	--shadow-lift: 0 2px 4px rgba(15,26,61,.08), 0 24px 48px rgba(15,26,61,.16);
	--shadow-btn: 0 1px 2px rgba(15,26,61,.12), 0 8px 20px -6px rgba(15,26,61,.35);
	--ls-display: -.012em;
	--ease: cubic-bezier(.2,.7,.2,1); --dur: 220ms;

	--container: 1200px;
	--pad-x: 48px;
	--section-y: 112px;
	--section-y-sm: 96px;
}
@media (max-width: 720px) {
	:root { --pad-x: 20px; --section-y: 72px; --section-y-sm: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--text-body); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--text-heading); line-height: 1.15; letter-spacing: var(--ls-display); margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
a { color: var(--red-600); text-decoration: none; text-underline-offset: .18em; text-decoration-thickness: 1.5px; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
a:hover { color: var(--red-700); text-decoration: underline; }

/* Browser surfaces carry the brand too. */
::selection { background: var(--red-500); color: var(--white); }
input, textarea, select { caret-color: var(--red-500); accent-color: var(--red-500); }
::placeholder { color: var(--ink-muted); opacity: 1; }
html { scrollbar-color: var(--navy-500) var(--navy-100); scroll-padding-top: 100px; }
.cm-proof__number, .cm-keynote__price-value, .cm-training__tile-value, .cm-training__gallery-title { font-variant-numeric: lining-nums tabular-nums; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

.cm-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.cm-eyebrow { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important; }
.cm-skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--navy-900); padding: 12px 20px; border-radius: var(--radius-pill); }

/* Buttons (design system: pill, red primary) */
.cm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1; padding: 16px 28px; border-radius: var(--radius-pill); border: 1.5px solid var(--red-500); background: var(--red-500); color: #fff; cursor: pointer; text-decoration: none; letter-spacing: .01em; -webkit-tap-highlight-color: transparent; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.cm-btn:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; text-decoration: none; }
/* Quiet lift on hover, settles on press. Shadow carries offset + blur, never a halo. */
.cm-btn:hover, .cm-btn:focus-visible { transform: translateY(-1px); box-shadow: var(--shadow-btn); }
.cm-btn:active { transform: translateY(0); box-shadow: none; transition-duration: 80ms; }
.cm-btn--sm { font-size: 14px; padding: 10px 18px; }
.cm-btn--lg { font-size: 17px; padding: 18px 32px; }
.cm-btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.cm-btn--outline:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.cm-btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.cm-btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--navy-800); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Motion (assets/js/motion.js). html.cm-motion is set by an inline head script only when reduced motion is off.
   Hero copy stays hidden until motion.js primes it (html.cm-motion-ready); the head script drops cm-motion after 3 s if it never does. */
html.cm-motion:not(.cm-motion-ready) :is(.cm-hero__eyebrow, .cm-hero__title, .cm-hero__lead, .cm-hero__actions > *, .cm-page-hero__eyebrow, .cm-page-hero__title, .cm-page-hero__lead, .cm-page-hero__actions > *, .cm-aboutpage__title, .cm-aboutpage__lead, .cm-aboutpage__actions > *, .cm-aboutpage__portrait) { opacity: 0; }
@media print {
	html.cm-motion [data-cm-m] { opacity: 1 !important; translate: none !important; scale: none !important; }
}
