/* Try It by Career Calling: a first day at work, on a screen. Bright paper white, a teal lanyard, navy ink and a marigold
   highlighter. The visitor pass is the signature: every page treats the visitor as someone who has just been handed one.
   Fonts are self-hosted. Everything reads without JavaScript; simulations turn into one step at a time when it runs. */
@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: #00736F; --teal-ink: #005B58; --teal-soft: #E2F4F2; --teal-line: #B5E0DC;
  --navy: #01216E; --ink: #0F1D3F; --ink-2: #3A4766; --muted: #5A6583;
  --sun: #FFC233; --sun-soft: #FFF4D6; --coral: #C8402C; --coral-soft: #FDECE8; --ok: #0B6B47; --ok-soft: #E3F5EC;
  --paper: #FFFFFF; --mist: #F4F8F8; --line: #DFE7E8; --line-2: #C6D3D5; --field: #6F7C8E;
  --blue: var(--teal); --blue-ink: var(--navy); --blue-deep: var(--teal-ink); --sky: var(--teal-soft); --grid: var(--line); --cream: var(--mist); --ring: rgba(0, 115, 111, .3);
  --maxw: 1240px; --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(15, 29, 63, .06), 0 20px 44px -24px rgba(15, 29, 63, .32);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-color: var(--line-2) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17.5px/1.6 var(--sans); overflow-x: clip; caret-color: var(--teal); }
::selection { background: var(--sun); color: var(--ink); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--disp); color: var(--navy); font-weight: 700; text-wrap: balance; margin: 0 0 .45em; }
h1 { font-size: clamp(38px, 6vw, 74px); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.022em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
h1 mark, h2 mark { background: linear-gradient(transparent 62%, var(--sun) 62% 92%, transparent 92%); color: inherit; padding: 0 .06em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .4em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.48; color: var(--ink-2); max-width: 58ch; }
.small { font-size: 15px; }
.muted { color: var(--muted); }
.sec { padding: clamp(48px, 7vw, 92px) 0; }
.sec-tint { background: var(--mist); }
.sec-head { max-width: 760px; margin-bottom: 30px; }
.sec-head p { color: var(--ink-2); font-size: 18.5px; margin: 0; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-ext { width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; }
.arr { display: inline-block; transition: transform .3s var(--ease); }
a:hover > .arr, button:hover > .arr { transform: translateX(4px); }
.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: 14px; font-weight: 600; }
.tag-sim { background: var(--sun-soft); color: #6A4800; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 24px; border-radius: 999px; font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1.5px 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: transparent; border-color: var(--teal-ink); color: var(--teal-ink); }
.btn-ghost:hover { background: var(--teal-ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* ---------- hero with the visitor pass ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(52px, 7vw, 92px); background: linear-gradient(180deg, var(--mist), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.finder { margin-top: 26px; max-width: 620px; position: relative; }
.finder label { display: block; font-weight: 700; margin-bottom: 8px; }
.finder input { width: 100%; min-height: 60px; padding: 14px 20px; border-radius: 14px; border: 2px solid var(--teal); font: 500 19px var(--sans); color: var(--ink); background: #fff; }
.finder input:focus { outline: none; box-shadow: 0 0 0 4px var(--teal-line); }
.results { list-style: none; margin: 8px 0 0; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); max-height: 340px; overflow: auto; position: absolute; left: 0; right: 0; z-index: 40; }
.results li { margin: 0; }
.results a { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.results a span { color: var(--muted); font-weight: 400; font-size: 14.5px; text-align: right; }
.results a:hover, .results a.on { background: var(--teal-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s; }
.chips a:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); }

.pass { position: relative; max-width: 340px; margin: 34px auto 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 30px 26px 24px; transform: rotate(2deg); transform-origin: top center; }
.pass::before { content: ''; position: absolute; left: 50%; top: -86px; width: 26px; height: 92px; margin-left: -13px; background: var(--teal); clip-path: polygon(0 0, 100% 0, 100% 86%, 62% 100%, 38% 100%, 0 86%); }
.pass::after { content: ''; position: absolute; left: 50%; top: 10px; width: 54px; height: 9px; margin-left: -27px; border-radius: 9px; background: var(--mist); box-shadow: inset 0 1px 2px rgba(15, 29, 63, .25); }
.pass-top { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--teal-ink); }
.pass-sim { background: var(--sun); color: var(--ink); padding: 2px 9px; border-radius: 5px; }
.pass-name { font: 700 clamp(27px, 3vw, 34px)/1.08 var(--disp); color: var(--navy); margin: 26px 0 6px; letter-spacing: -.02em; min-height: 2.2em; }
.pass-label { font-size: 14.5px; color: var(--muted); margin: 0; }
.pass-rows { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-2); font-size: 15px; }
.pass-rows li { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.pass-rows b { font-weight: 700; }
.pass-bars { height: 26px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 10px); opacity: .85; border-radius: 2px; }

/* ---------- index lists ---------- */
.rows { border-top: 1.5px solid var(--navy); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 28px; gap: 24px; align-items: baseline; padding: 20px 2px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease); }
.row strong { font: 700 clamp(20px, 2vw, 25px)/1.2 var(--disp); color: var(--navy); letter-spacing: -.012em; }
.row span.ans { color: var(--ink-2); font-size: 16.5px; line-height: 1.45; }
.row .arr { color: var(--teal); font-size: 20px; justify-self: end; }
.row:hover { padding-left: 10px; color: var(--ink); }
.row:hover strong { color: var(--teal-ink); }
.az { columns: 3 260px; column-gap: 34px; list-style: none; margin: 0; padding: 0; }
.az li { break-inside: avoid; margin: 0 0 3px; }
.az a { display: inline-block; padding: 3px 0; }
.group-h { break-after: avoid; margin-top: 30px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.letters li { margin: 0; }
.letters a { display: grid; place-items: center; min-width: 38px; min-height: 38px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; font-weight: 700; }
.letters a:hover { background: var(--teal-soft); }
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0 34px; border-top: 1.5px solid var(--navy); }
.wp { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.wp i { border-radius: 8px; background: hsl(var(--h) 60% 38%); }
.wp strong { display: block; font: 700 19px/1.25 var(--disp); color: var(--navy); }
.wp span { font-size: 15.5px; color: var(--ink-2); }
.wp:hover strong { color: var(--teal-ink); }

/* ---------- page head ---------- */
.phead { padding: clamp(30px, 4.5vw, 56px) 0 clamp(26px, 3.5vw, 42px); background: var(--mist); border-bottom: 1px solid var(--line); }
.phead h1 { font-size: clamp(34px, 4.8vw, 58px); max-width: 20ch; margin-bottom: .3em; }
.phead-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 16px; padding: 0; font-size: 14.5px; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }

/* ---------- occupation layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 72px); align-items: start; padding-top: clamp(30px, 4vw, 52px); padding-bottom: clamp(48px, 6vw, 80px); }
.split section { margin-bottom: clamp(36px, 4.5vw, 52px); }
.split section:last-child { margin-bottom: 0; }
.side { position: sticky; top: 100px; }
.panel { background: var(--mist); border-radius: var(--r); padding: 22px 24px; margin-bottom: 18px; }
.panel h2, .panel h3 { font-size: 20px; margin-bottom: 8px; }
.panel ul { margin: 0; padding-left: 1.1em; font-size: 16px; }
.panel p:last-child { margin-bottom: 0; }
.note { background: var(--sun-soft); border-radius: 10px; padding: 14px 18px; margin: 1em 0; font-size: 16.5px; }
.note p:last-child { margin-bottom: 0; }
.src { font-size: 14.5px; color: var(--muted); margin-top: 1em; }
.src a { color: var(--ink-2); }

/* ---------- task sorter ---------- */
.sorter { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.sorter li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: center; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sorter .acts { display: none; gap: 6px; }
.js .sorter .acts { display: flex; }
.sorter button { min-height: 40px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 600 14.5px var(--sans); color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s; }
.sorter button:hover { border-color: var(--teal); }
.sorter button[aria-pressed=true][data-v=yes] { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.sorter button[aria-pressed=true][data-v=maybe] { background: var(--sun-soft); border-color: #A97C00; color: #6A4800; }
.sorter button[aria-pressed=true][data-v=no] { background: var(--coral-soft); border-color: var(--coral); color: var(--coral); }
.sort-out { margin-top: 14px; font-weight: 600; }

/* ---------- simulation ---------- */
.sim { background: var(--mist); border-radius: 22px; padding: clamp(20px, 3vw, 36px); }
.sim-head { max-width: 62ch; margin-bottom: 20px; }
.sim-head h3 { font-size: clamp(23px, 2.6vw, 30px); }
.step { margin: 0 0 22px; }
.js .sim .step:not(.live) { display: none; }
.bubble { background: #fff; border-radius: 4px 18px 18px 18px; padding: 15px 20px; max-width: 64ch; box-shadow: 0 1px 2px rgba(15, 29, 63, .07); }
.bubble b { display: block; color: var(--teal-ink); font-size: 14.5px; margin-bottom: 2px; }
.bubble p { margin: 0; }
.opts { margin: 12px 0 0 clamp(0px, 3vw, 34px); }
.opts details { background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; margin-bottom: 8px; transition: border-color .2s, opacity .2s; }
.opts summary { list-style: none; cursor: pointer; padding: 13px 18px; font-weight: 600; }
.opts summary::-webkit-details-marker { display: none; }
.opts details:hover { border-color: var(--teal); }
.opts details[open] { border-color: var(--teal); }
.opts .res { padding: 0 18px 14px; }
.opts .res p { margin: 0; }
.res .verdict { display: inline-block; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.verdict.strong { background: var(--ok-soft); color: var(--ok); }
.verdict.mixed { background: var(--sun-soft); color: #6A4800; }
.verdict.risky { background: var(--coral-soft); color: var(--coral); }
.js .opts.done details:not([open]) { opacity: .45; pointer-events: none; }
.next-step { display: none; margin: 10px 0 0 clamp(0px, 3vw, 34px); }
.js .opts.done + .next-step { display: inline-flex; }
.sim-end { background: #fff; border-radius: 16px; padding: 20px 24px; }
.js .sim-end:not(.live) { display: none; }
.sim-end h4 { font: 700 21px var(--disp); color: var(--navy); margin: 0 0 6px; }
.tally { font-weight: 600; margin: 10px 0 0; }

/* ---------- case study ---------- */
.case { max-width: 70ch; }
.case h3 { font-size: 18px; color: var(--teal-ink); margin: 1.1em 0 .3em; }

/* ---------- mission ---------- */
.mail { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 20px; margin-bottom: 14px; }
.mail-h { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.mail-h b { color: var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { margin: 0; border-bottom: 1px solid var(--line); }
.tick { position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 12px 2px; cursor: pointer; line-height: 1.45; }
.tick input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.tick-box { flex: none; width: 26px; height: 26px; border: 1.5px solid var(--field); border-radius: 7px; background: #fff; display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.tick-box svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .3s var(--ease); }
.tick input:checked + .tick-box { background: var(--teal); border-color: var(--teal); }
.tick input:checked + .tick-box svg { stroke-dashoffset: 0; }
.tick input:focus-visible + .tick-box { outline: 3px solid var(--navy); outline-offset: 2px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0; }
.tool-state { font-weight: 700; color: var(--navy); margin-right: auto; font-variant-numeric: tabular-nums; }

/* ---------- my list ---------- */
.mylist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy); }
.mylist li { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mylist a { font: 700 20px var(--disp); }
.mylist button { background: none; border: 0; color: var(--coral); font: 600 14.5px var(--sans); cursor: pointer; min-height: 40px; padding: 0 8px; }

/* ---------- forms ---------- */
.fld { display: block; margin-bottom: 16px; font-weight: 600; font-size: 15.5px; }
.fld input, .fld textarea { display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 10px 13px; border: 1.5px solid var(--field); border-radius: 10px; font: 400 16.5px/1.45 var(--sans); color: var(--ink); background: #fff; }
.fld textarea { min-height: 112px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-line); }
.fld .opt { font-weight: 400; color: var(--muted); }
.fld-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 4px 0 16px; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 2px 0 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; font-size: 15.5px; min-height: 1.4em; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--coral); }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.form-panel h2 { font-size: 26px; }
.policy { max-width: 72ch; }
.policy h2 { font-size: 26px; margin-top: 1.5em; }
.policy h3 { font-size: 20px; }
.cq-policy-updated { color: var(--muted); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .pass { margin-top: 90px; }
  .row { grid-template-columns: minmax(0, 1fr) 26px; gap: 4px 12px; }
  .row span.ans { grid-column: 1; grid-row: 2; }
  .row .arr { grid-column: 2; grid-row: 1; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .fld-2 { grid-template-columns: minmax(0, 1fr); }
  .sorter li { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .toolbar .btn, .next-step.btn { width: auto; }
  .pass { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  #cqbar, .site-h, .cqf3, .btns, .toolbar .btn, .crumbs, .skip, .acts, .finder { display: none !important; }
  body { font-size: 12pt; background: #fff; }
  .phead, .sim, .panel { background: #fff; }
  .split { display: block; padding: 0; }
  .js .sim .step, .js .sim-end { display: block !important; }
  .ticks li, .step { break-inside: avoid; }
  a { text-decoration: none; }
}
