/* Careers Practitioner Network by Career Calling: a staffroom noticeboard. White paper, navy ink, a deep teal accent and
   an amber highlight. Self-hosted fonts, light-first, everything reads without JavaScript. Target: WCAG 2.2 AA. */
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Variable'; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --teal: #0B6E69; --teal-ink: #08534F; --teal-soft: #E3F2F0; --teal-line: #BFDCD8;
  --navy: #01216E; --ink: #14213D; --ink-2: #3B4660; --muted: #586274;
  --amber: #E8A317; --amber-soft: #FFF5DF; --amber-line: #F0D9A8; --ok: #0B6B47; --bad: #A11D1D; --bad-soft: #FDECEC;
  --paper: #FFFFFF; --mist: #F2F8F7; --line: #DCE7E5; --line-2: #C6D6D3; --field: #586274;
  --maxw: 1200px; --r: 16px;
  --sans: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --disp: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 18px 40px -24px rgba(20, 33, 61, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }   /* 17px body text */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); overflow-x: clip; }
::selection { background: var(--amber); color: var(--ink); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal-ink); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--navy); text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px #fff; }
h1, h2, h3, .h3, .h4 { font-family: var(--disp); color: var(--navy); font-weight: 700; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.2; letter-spacing: -.01em; }
h3, .h3 { font-size: 1.15rem; line-height: 1.3; }
.h4 { font-size: .95rem; line-height: 1.35; margin: 0 0 .5em; }
h1 mark { background: linear-gradient(transparent 62%, var(--amber) 62% 90%, transparent 90%); color: inherit; padding: 0 .06em; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 70ch; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; max-width: 68ch; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.kicker { font-weight: 700; color: var(--teal-ink); letter-spacing: .05em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6em; }
.sec { padding: clamp(44px, 6vw, 80px) 0; }
.sec-tint { background: var(--mist); }
.sec-head { max-width: 780px; margin-bottom: 26px; }
.sec-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.ico-ext { width: .72em; height: .72em; margin-left: .25em; vertical-align: 0; }
.arr { display: inline-block; transition: transform .3s var(--ease); }
a:hover > .arr, a:hover .arr { transform: translateX(4px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .55em 1.25em; border-radius: 999px; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--teal-ink); color: var(--teal-ink); }
.btn-ghost:hover { background: var(--teal-ink); color: #fff; }
.btn-sm { min-height: 44px; padding: .4em 1em; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.filebtn:focus-within { outline: 3px solid var(--navy); outline-offset: 3px; }
.linkish { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; color: var(--teal-ink); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.linkish.danger { color: var(--bad); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--mist), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-note { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .9rem; }
.hero-note li { display: flex; align-items: center; gap: .45em; margin: 0; }
.hero-note .ico { color: var(--teal); }

/* ---------- three tools ---------- */
.tri { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tri li { margin: 0; max-width: none; }
.tri a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.tri a:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.tri b { font-family: var(--disp); color: var(--navy); font-size: 1.15rem; }
.tri span { color: var(--ink-2); font-size: .95rem; }
.tri .tri-go { margin-top: auto; color: var(--teal-ink); font-weight: 700; padding-top: 6px; }
.tri-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-ink) !important; display: grid; place-items: center; }
.tri-ico .ico { width: 26px; height: 26px; }
.tri-sm a { flex-direction: row; align-items: center; }

/* ---------- panels, notes and page heads ---------- */
.panel { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.sec-tint .panel { border-color: var(--line-2); }
.note { background: var(--amber-soft); border: 1.5px solid var(--amber-line); border-left: 6px solid var(--amber); border-radius: 12px; padding: 14px 18px; margin-bottom: 26px; }
.note p { margin: 0; max-width: none; }
.phead { padding: clamp(28px, 4vw, 50px) 0 clamp(24px, 3.5vw, 38px); background: var(--mist); border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .85rem; color: var(--ink-2); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted); }
.crumbs a { color: var(--ink-2); display: inline-block; padding: 6px 0; }
.lmeta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .9rem; margin-top: 4px; }
.lmeta span { display: inline-flex; align-items: center; gap: .4em; }
.prose h2 { margin-top: 1.5em; }
.prose > h2:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.6em; }
.ticks li::before { content: ""; position: absolute; left: .1em; top: .4em; width: .9em; height: .5em; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { margin: 0; padding: 22px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line-2); display: flex; flex-direction: column; }
.fact strong { font-family: var(--disp); font-size: 2rem; color: var(--teal-ink); line-height: 1.1; margin-bottom: .25em; }
.fact p { margin: 0 0 .8em; font-size: .95rem; }
.fact figcaption { margin-top: auto; font-size: .8rem; color: var(--ink-2); }

/* ---------- PD log ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.pd-form { position: sticky; top: 100px; }
.pd-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pd-bar h2 { margin: 0; }
.inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.inline select { min-height: 44px; padding: .3em .6em; border: 2px solid var(--field); border-radius: 10px; font: 400 .95rem var(--sans); background: #fff; color: var(--ink); }
.pd-totals { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tot { background: var(--teal-soft); border-radius: 12px; padding: 10px 14px; min-width: 120px; }
.tot b { display: block; font-family: var(--disp); font-size: 1.4rem; color: var(--teal-ink); line-height: 1.15; }
.tot span { font-size: .8rem; color: var(--ink-2); }
.pd-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.pd-item { margin: 0; max-width: none; padding: 16px 18px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; }
.pd-item h3 { margin: 0 0 .2em; font-size: 1.05rem; }
.pd-item .meta { font-size: .85rem; color: var(--muted); margin: 0 0 .5em; }
.pd-item .refl { white-space: pre-line; font-size: .95rem; margin: 0 0 .5em; }
.pd-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pd-empty { padding: 22px; border: 2px dashed var(--line-2); border-radius: 14px; color: var(--ink-2); }
.pd-tools h2 { margin-top: 0; }
.pd-me { margin-top: 14px; }
.pd-me summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.prompts { margin: -8px 0 16px; color: var(--ink-2); }
.prompts p { margin: 0; }
.prompts ul { margin: .2em 0 0; }
.pd-sheet { display: none; }

/* ---------- library ---------- */
.lib-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.lib-side { position: sticky; top: 100px; }
.lib-side ul { list-style: none; padding: 0; margin: 0 0 24px; }
.lib-side li { margin: 0; }
.lib-side nav a { display: block; padding: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: .35em .95em; border-radius: 999px; border: 2px solid var(--line-2); background: #fff; font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.lib-sec { margin-bottom: 44px; }
.lib-sec > p { margin-top: -.3em; }
.res-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.res { margin: 0; max-width: none; padding: 20px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; display: flex; flex-direction: column; }
.res h3 { font-size: 1.05rem; margin-bottom: .4em; }
.res p { font-size: .93rem; margin-bottom: .6em; }
.res-use { color: var(--ink-2); }
.tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { margin: 0; font-size: .75rem; font-weight: 700; color: var(--teal-ink); background: var(--teal-soft); border-radius: 999px; padding: 3px 10px; }

/* ---------- briefing ---------- */
.issues { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.iss { margin: 0; max-width: none; }
.iss a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); text-decoration: none; }
.iss a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.iss-n { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-ink); }
.iss b { font-family: var(--disp); font-size: 1.25rem; color: var(--navy); }
.iss-meta { font-size: .85rem; color: var(--muted); }
.brief-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 60px); align-items: start; }
.brief-side { position: sticky; top: 100px; }
.brief-side .fld-2 { grid-template-columns: minmax(0, 1fr); }
.trybox { background: var(--amber-soft); border: 2px solid var(--amber-line); border-radius: var(--r); padding: 22px 24px; margin: 32px 0; }
.trybox h2 { display: flex; align-items: center; gap: .45em; margin: 0 0 .5em; font-size: 1.25rem; }
.trybox ol { margin: 0; }
.tbl { overflow-x: auto; margin-bottom: 1em; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-weight: 700; color: var(--navy); background: var(--mist); }
.srcs li { margin-bottom: .6em; }
.blank td { height: 64px; }

/* ---------- formats, tiers, faq ---------- */
.fmts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fmt { margin: 0; padding: 22px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line-2); max-width: none; }
.fmt p { margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tier { padding: 24px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line-2); display: flex; flex-direction: column; }
.tier > p:last-child { margin: auto 0 0; padding-top: 10px; }
.tier-school { border-color: var(--teal); box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; color: var(--navy); position: relative; list-style: none; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding-bottom: 12px; }

/* ---------- forms ---------- */
.form-panel { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.form-panel h2 { margin-top: 0; }
.fld { display: block; margin-bottom: 16px; font-weight: 600; font-size: .93rem; }
.fld input, .fld textarea, .fld select { display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: .5em .7em; border: 2px solid var(--field); border-radius: 10px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: end; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; margin: 4px 0 18px; line-height: 1.5; }
.consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--teal); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--bad); }
[aria-invalid="true"] { border-color: var(--bad) !important; }

/* ---------- policies ---------- */
.policy { max-width: 860px; }
.policy h2 { font-size: 1.25rem; margin-top: 1.6em; }
.cq-policy-updated { color: var(--muted); font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-grid, .pd { grid-template-columns: minmax(0, 1fr); }
  .brief-side, .pd-form { position: static; }
  .pd-form { order: -1; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .split, .split-wide, .lib-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 340px; }
  .lib-side { position: static; }
  .tri, .facts { grid-template-columns: minmax(0, 1fr); }
  .fmts, .res-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .facts-4, .fld-2 { grid-template-columns: minmax(0, 1fr); }
  .btns .btn { width: 100%; }
  .hero-art { display: none; }
}

/* ---------- print: a briefing or a PD summary on paper ---------- */
@media print {
  html { font-size: 11pt; }
  body { background: #fff; color: #000; }
  .no-print, .crumbs, .phead .btns, .hero-art, .brief-side, .form-panel, .pd-tools, .note { display: none !important; }
  .phead, .sec-tint { background: #fff; border: 0; }
  .sec { padding: 12px 0; }
  .brief-grid, .lib-grid { grid-template-columns: 1fr; }
  .facts-4 { grid-template-columns: repeat(2, 1fr); }
  .fact, .panel, .trybox, .res { box-shadow: none; break-inside: avoid; }
  a { color: #000; }
  .ext::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
  body.print-pd .phead, body.print-pd main > .sec:not(.pd-sec) { display: none !important; }
  body.print-pd .pd-sec .wrap > *:not(.pd-sheet) { display: none !important; }
  body.print-pd .pd-sheet { display: block !important; }
  .pd-sheet h2 { font-size: 16pt; color: #000; }
  .pd-sheet table { font-size: 9.5pt; }
  .pd-sheet td.refl { white-space: pre-line; }
}
