/* Shared styles for /fragmentation and /fragmentation/apply — matched to the OCPSG project posting PDF */
:root {
  --navy: #001b54;
  --crimson: #c01d3f;
  --ink: #1d1f24;
  --muted: #5b5f68;
  --rule: #001b54;
  --soft: #f3f5f9;
  --line: #d8dce4;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  background: #fff;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
  padding: 40px 16px 72px;
}
.page { max-width: 760px; margin: 0 auto; }

/* Letterhead */
.letterhead {
  display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  padding-bottom: 18px; border-bottom: 1.5px solid var(--rule); margin-bottom: 30px;
}
.letterhead a { display: block; line-height: 0; }
.letterhead .ocpsg { height: 66px; width: auto; }

/* Headings: Jost, navy; sub-heads crimson */
h1, h2, h3, .btn, .label, .eyebrow {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
}
h1 { color: var(--navy); font-weight: 600; font-size: 1.95rem; line-height: 1.2; margin-bottom: 14px; }
h2 { color: var(--navy); font-weight: 600; font-size: 1.2rem; margin: 34px 0 6px; }
h3 { color: var(--crimson); font-weight: 600; font-size: 1rem; margin: 18px 0 4px; }
h1 + h2 { margin-top: 18px; }

p { margin-bottom: 10px; text-align: justify; hyphens: auto; }
.role { font-style: italic; margin-bottom: 10px; text-align: left; }
.contact-top { text-align: left; margin-bottom: 4px; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--crimson); }

ul { list-style: none; margin: 0 0 10px; }
li { position: relative; padding-left: 1.1em; margin-bottom: 3px; }
li::before {
  content: ""; position: absolute; left: 0.15em; top: 0.68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--crimson);
}
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.cols p { text-align: left; }

/* Buttons */
.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 10px 20px; border-radius: 2px; border: 1.5px solid var(--navy);
}
.btn:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.btn.ghost { background: #fff; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }

.footer {
  margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: "Jost", Arial, sans-serif; font-size: 0.85rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer a { color: var(--muted); }

/* Label above title + preamble */
.kicker {
  font-family: "Jost", Arial, sans-serif; color: var(--crimson); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.07em; text-transform: uppercase;
  text-align: left; margin: 0 0 8px;
}
.standfirst {
  font-style: italic; font-size: 1.05rem; line-height: 1.55; text-align: left;
  color: var(--ink); margin: 4px 0 4px; max-width: 680px; hyphens: none;
}

/* Contact / apply panel */
.cta {
  background: var(--soft); border-left: 3px solid var(--crimson);
  padding: 16px 22px 18px; margin: 20px 0 8px;
}
.cta h3 { margin: 0 0 10px; }
.cta .btn { font-size: 0.92rem; padding: 9px 18px; }
.cta p { margin: 12px 0 0; text-align: left; hyphens: none; font-size: 0.96rem; color: var(--muted); line-height: 1.5; }
.cta p a { font-weight: 600; }
.cta p a.contact { color: var(--muted); }

/* Apply page: mirrored form */
.deadline {
  font-family: "Jost", Arial, sans-serif; font-weight: 600; color: var(--navy);
  border-left: 3px solid var(--crimson); padding: 6px 0 6px 12px; margin: 14px 0;
}
.form { border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: 4px; margin-top: 12px; }
.form-head { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.form-head .eyebrow { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--crimson); }
.q { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: 0; }
.q .label { font-weight: 500; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.q .help { color: var(--muted); font-size: 0.92rem; font-style: italic; margin-bottom: 6px; text-align: left; }
.q .field { height: 30px; border-bottom: 1px dashed #b9bfcb; margin-top: 6px; max-width: 420px; }
.q .field.long { height: 64px; max-width: none; border: 1px dashed #b9bfcb; border-radius: 3px; }
.opts { list-style: none; margin: 6px 0 0; }
.opts li { padding-left: 1.7em; margin-bottom: 5px; }
.opts li::before {
  width: 13px; height: 13px; top: 0.3em; left: 0; background: #fff;
  border: 1.5px solid #8a91a1; border-radius: 50%;
}
.opts.check li::before { border-radius: 2px; }
.opts li.mine { color: var(--navy); font-weight: 600; }
.opts li.mine::before { border-color: var(--crimson); background: radial-gradient(circle, var(--crimson) 0 3px, #fff 3.5px); }
.tag {
  display: inline-block; font-family: "Jost", Arial, sans-serif; font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--crimson);
  padding: 1px 7px; border-radius: 2px; margin-left: 6px; vertical-align: 2px;
}
.q ul.notes li { font-size: 0.95rem; }
.pagebreak {
  padding: 10px 20px; background: var(--soft); color: var(--muted);
  font-family: "Jost", Arial, sans-serif; font-size: 0.85rem; text-align: right;
}

@media (max-width: 640px) {
  body { font-size: 16px; padding: 24px 16px 56px; }
  .letterhead .ocpsg { height: 42px; }
  h1 { font-size: 1.5rem; }
  p { text-align: left; }
  .cols { grid-template-columns: 1fr; }
  .q, .form-head { padding: 14px; }
  .cta { padding: 14px 16px 16px; }
  .cta .btn { display: block; text-align: center; font-size: 0.86rem; padding: 10px 12px; }
}
@media print {
  body { padding: 0; }
  .actions, .footer { display: none; }
}
