/* CMO Hiring Guide 2026 — Calibre One
   Blue comes from the main site theme; navy is the report's own page colour, so the page and PDF match. */

/* Caros is licensed via Fonts.com for calibreone.com and self-hosted by the WordPress theme.
   We reference the theme's files (same origin) rather than duplicating them. */
@font-face { font-family: "Caros"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/wp-content/themes/calibreone/assets/font/caros/eeaa67dc-ea90-4d0a-9224-2950a0cb3e3f.woff2") format("woff2"); }
@font-face { font-family: "Caros"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/wp-content/themes/calibreone/assets/font/caros/d4871560-6315-40ac-b72e-b5d7e187e570.woff2") format("woff2"); }
@font-face { font-family: "Caros"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/wp-content/themes/calibreone/assets/font/caros/68aa3048-2518-4251-a747-6f98963aa16b.woff2") format("woff2"); }
@font-face { font-family: "Caros"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/wp-content/themes/calibreone/assets/font/caros/e37a768a-0190-4a41-9352-16346a9456ec.woff2") format("woff2"); }
@font-face { font-family: "Caros"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("/wp-content/themes/calibreone/assets/font/caros/fd3ae29d-8829-4eda-94ee-e7182131d937.woff2") format("woff2"); }

:root {
  --blue: #4158ff;
  --navy: #0b1560;
  --mist: #f5f5fa;
  --text: #4a4a4a;
  --line: #d8dbe2;
  --line-strong: #b9bfd6;
  --error: #a10808;
  --white: #fff;

  --font: "Caros", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-wrap: pretty; }
h2 { font-size: clamp(30px, 2.4vw + 16px, 46px); letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Two-column layout for "Download". Text widths come from the grid columns,
   not from max-widths on individual elements. */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 88px; } }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons — square corners, as on the main site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 0;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--navy); }
.btn--outline { border-color: var(--blue); background: transparent; color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(4, 10, 57, .04);
  backdrop-filter: saturate(1.4) blur(8px);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__logo img { width: auto; height: 38px; }
/* The guide's name sits beside the logo, split by the same thin rule the wordmark uses. */
.site-header__title {
  display: none;
  padding-left: 24px; border-left: 1px solid var(--line-strong);
  color: var(--navy); font-size: 15px; line-height: 30px; white-space: nowrap;
}
.site-header__nav { display: none; gap: 28px; margin-left: auto; }
.site-header__nav a { color: var(--navy); font-size: 15px; text-decoration: none; }
.site-header__nav a:hover { color: var(--blue); }
.site-header .btn { margin-left: auto; }
@media (min-width: 600px) { .site-header__title { display: block; } }
@media (min-width: 900px) {
  .site-header__nav { display: flex; }
  .site-header .btn { margin-left: 8px; }
}

/* Hero */
.hero { background: var(--mist); }
.hero__grid { display: grid; gap: 56px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero__title {
  font-size: clamp(38px, 3.4vw + 18px, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero__title span { display: block; color: var(--blue); }
.hero__intro { margin-top: 28px; font-size: 18px; }
.hero__intro p + p { margin-top: 16px; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 88px; }
}

/* The real report cover, with a second page underneath so it reads as a document */
.hero__cover { position: relative; justify-self: center; width: min(100% - 20px, 360px); margin: 0 20px 20px 0; }
.hero__cover::before {
  content: ""; position: absolute; inset: 0; transform: translate(20px, 20px);
  background: var(--white); border: 1px solid var(--line);
}
.hero__cover img { position: relative; width: 100%; box-shadow: 0 30px 60px -24px rgba(11, 21, 96, .45); }
@media (max-width: 959px) { .hero__cover { width: min(100% - 20px, 300px); } }

/* Inside the report: navy like the report's own pages, with its artwork for each topic */
.inside { padding: var(--section-y) 0; background: var(--navy); color: rgba(255, 255, 255, .8); }
.inside h2 { margin-bottom: clamp(36px, 5vw, 56px); color: var(--white); }
.inside :focus-visible { outline-color: var(--white); }
.inside .btn--primary:hover { background: var(--white); color: var(--navy); }
.inside .actions { margin-top: clamp(44px, 5vw, 64px); }
.topics { display: grid; gap: 48px 32px; margin: 0; padding: 0; list-style: none; }
.topic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.topic h3 { margin-top: 28px; color: var(--white); font-size: clamp(28px, 1.2vw + 18px, 36px); line-height: 1.08; letter-spacing: -0.02em; }
.topic p { margin-top: 14px; }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* From the guide: the circled statistic and the pull quote follow the report's own style */
.proof { padding: var(--section-y) 0; }
.proof__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .proof__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; } }
.stat {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  justify-self: center; width: min(100%, 320px); aspect-ratio: 1; padding: 44px;
  border: 1.5px solid var(--navy); border-radius: 50%; text-align: center;
}
.stat__figure { color: var(--blue); font-size: clamp(64px, 4vw + 36px, 92px); font-weight: 700; font-style: italic; line-height: 1; letter-spacing: -0.03em; }
.stat__caption { margin-top: 12px; color: var(--navy); font-size: 18px; font-weight: 700; font-style: italic; line-height: 1.35; }
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--navy); font-size: clamp(22px, 1.1vw + 15px, 30px); font-weight: 700; font-style: italic; line-height: 1.35; }
.quote blockquote p::before { content: "\201C"; display: block; height: .55em; color: var(--blue); font-size: 2.6em; line-height: 1; }
.quote__by { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 15px; line-height: 1.4; }
.quote__by img { width: 64px; height: 64px; border-radius: 50%; }
.quote__by strong { display: block; color: var(--navy); font-size: 17px; }

/* Questions (executive summary) */
.questions { padding: var(--section-y) 0; background: var(--navy); color: rgba(255, 255, 255, .78); }
.questions h2 { margin-bottom: clamp(36px, 5vw, 56px); }
.questions h2, .questions h3 { color: var(--white); }
.questions :focus-visible { outline-color: var(--white); }
.questions .btn--primary:hover { background: var(--white); color: var(--navy); }
.qa-grid { display: grid; gap: 40px; }
.qa { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.qa h3 { font-size: clamp(19px, .6vw + 16px, 23px); line-height: 1.25; }
.qa p { margin-top: 14px; font-size: 16px; }
.questions .actions { margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 760px) { .qa-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 64px; } }

/* Download */
.download { padding: var(--section-y) 0; }
.download__copy > p { margin-top: 24px; font-size: 18px; }

.talk { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.talk h3 { font-size: 22px; }
.talk p { margin-top: 8px; font-size: 16px; }
.talk .btn { margin-top: 20px; }

.form-card { padding: clamp(24px, 4vw, 44px); background: var(--mist); }
.form-card__notice { margin-bottom: 24px; padding: 14px 16px; background: var(--white); border-left: 3px solid var(--blue); color: var(--navy); font-size: 15px; }
.lead-form h3 { margin-bottom: 24px; font-size: 24px; }

.field + .field { margin-top: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 15px; font-weight: 700; }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 0;
  color: var(--navy); font: inherit; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover { border-color: var(--navy); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(65, 88, 255, .22); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: 6px; color: var(--error); font-size: 14px; }

.choices { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.choices legend { margin-bottom: 6px; padding: 0; color: var(--navy); font-size: 15px; font-weight: 700; }
.choices[aria-invalid="true"] legend { color: var(--error); }
/* Scoped to .choices so it outranks the bold ".field label" style */
.choices .choice { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 5px 0; color: var(--text); font-size: 15px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.choices .choice input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error { margin-top: 20px; padding: 12px 14px; background: #fbeeee; color: var(--error); font-size: 15px; }
.lead-form .btn--block { margin-top: 24px; }
.fineprint { margin-top: 14px; font-size: 13px; line-height: 1.5; }

/* Thank-you message: the page's panel, and the stand-alone page submit.php shows without JavaScript */
.thanks h3, .thanks h1 { font-size: 28px; }
.thanks h3:focus { outline: none; }
.thanks p { margin-top: 14px; }
.thanks .btn { margin: 8px 0 6px; }
.thanks--page { max-width: 640px; margin: 0 auto; }

/* Footer */
.site-footer { padding: 48px 0; background: var(--navy); color: rgba(255, 255, 255, .7); font-size: 14px; }
.site-footer__inner { display: grid; gap: 24px; }
.site-footer__logo img { width: 150px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer a, .linklike { color: var(--white); text-decoration: none; }
.site-footer a:hover, .linklike:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--white); }
.linklike { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .site-footer__links { justify-content: center; }
}
