/* Health Career Explorer — "career fair" theme: bright daylight paper, navy ink, one color per pathway. */
:root {
  --paper: #f7f9fc; --paper2: #eaf1f8; --card: #fff; --ink: #1d2b4d; --ink2: #4a5878; --rule: #d7e0ec;
  --coral: #ef6a4c; --sky: #5a9bf6; --violet: #7a5cc7; --amber: #f0a92c; --teal: #1f9d9b; --green: #3fa767;
  --font-d: "Oswald", "Arial Narrow", sans-serif;
  --font-b: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --r: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-b); color: var(--ink); font-size: 18px; line-height: 1.4; min-height: 100vh;
  background: var(--paper);
  background-image: linear-gradient(rgba(29, 43, 77, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 43, 77, .045) 1px, transparent 1px);
  background-size: 28px 28px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
img { max-width: 100%; }

/* nav */
.hc-nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 6px 16px;
  background: var(--ink); color: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.hc-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--font-d);
  font-size: 21px; text-transform: uppercase; letter-spacing: .04em; }
.hc-spacer { flex: 1; }
.hc-who { font-size: 15px; opacity: .85; }
.hc-save { font-size: 14px; color: #bfe9d0; }
.hc-save.warn { color: #ffd38a; }
.hc-navbtn { color: #fff; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 5px 14px; font-size: 15px; white-space: nowrap; }
@media (max-width: 760px) { .hc-who, .hc-navbtn { display: none; } .hc-brand span { font-size: 17px; } }

.hc-wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 70px; }
.hc-view { display: none; }
.hc-wrap[data-view="loading"] [data-for="loading"], .hc-wrap[data-view="home"] [data-for="home"],
.hc-wrap[data-view="survey"] [data-for="survey"], .hc-wrap[data-view="results"] [data-for="results"],
.hc-wrap[data-view="explore"] [data-for="explore"], .hc-wrap[data-view="top"] [data-for="top"] {
  display: block; animation: hc-in .35s ease both; }
@keyframes hc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hc-loading { text-align: center; padding: 120px 0; font-size: 20px; }

/* home */
.hc-hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 320px; border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  /* the art is scaled to the hero's HEIGHT and pinned right, so its people never slide under the
     text (cover-cropping pushed them left on narrow screens); the cream matches the art's own */
  background: #faf5e1 url(art/hero.jpg) right bottom / auto 100% no-repeat; }
.hc-hero-text { position: relative; padding: 28px 30px; max-width: min(600px, 55%); }
@media (max-width: 760px) {
  .hc-hero { background-size: auto 190px; padding-bottom: 170px; }
  .hc-hero-text { max-width: none; }
}
.hc-kicker { margin: 0; font-family: var(--font-d); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--teal); }
.hc-hero h1 { font-family: var(--font-d); font-size: 50px; line-height: 1; margin: 6px 0 8px; text-transform: uppercase; }
.hc-ver { font-size: 15px; vertical-align: middle; background: var(--amber); color: #fff; border-radius: 6px; padding: 2px 8px; }
.hc-tag { font-size: 20px; color: var(--ink2); margin: 0 0 12px; }
.hc-note { background: #fff6e2; border: 2px solid var(--amber); border-radius: 10px; padding: 8px 12px; font-size: 16px; margin: 0 0 10px; }
.hc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
@media (max-width: 820px) { .hc-steps { grid-template-columns: 1fr; } }
.hc-step { position: relative; text-align: left; background: #fff; border: 3px solid var(--ink); border-radius: var(--r); padding: 16px 18px;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.hc-step:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.hc-step .day { font-family: var(--font-d); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: #fff;
  background: var(--sc, var(--teal)); border-radius: 6px; padding: 2px 10px; }
.hc-step b { display: block; font-family: var(--font-d); font-size: 26px; text-transform: uppercase; margin: 8px 0 2px; }
.hc-step small { font-size: 16px; color: var(--ink2); display: block; }
.hc-step .done { position: absolute; top: 12px; right: 14px; font-size: 14px; font-weight: 700; color: var(--green); }
.hc-step .meter { height: 8px; border-radius: 99px; background: var(--paper2); margin-top: 10px; overflow: hidden; }
.hc-step .meter i { display: block; height: 100%; background: var(--sc, var(--teal)); border-radius: 99px; }
.hc-pathways { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 980px) { .hc-pathways { grid-template-columns: repeat(2, 1fr); } }
.hc-pw { background: #fff; border-radius: 14px; border: 2px solid var(--rule); border-top: 7px solid var(--pc); padding: 10px 12px; }
.hc-pw b { font-family: var(--font-d); text-transform: uppercase; font-size: 16px; display: block; color: var(--pc); }
.hc-pw p { margin: 4px 0 0; font-size: 15px; color: var(--ink2); }
.hc-pw small { font-size: 13px; color: var(--ink2); }

/* shared */
.hc-pagehead { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.hc-pagehead h2 { flex: 1; font-family: var(--font-d); text-transform: uppercase; font-size: 32px; margin: 0; }
.hc-back { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 22px; }
.hc-primary { font-family: var(--font-d); text-transform: uppercase; letter-spacing: .05em; font-size: 20px; padding: 10px 24px; border-radius: 14px;
  border: 3px solid var(--ink); background: var(--teal); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.hc-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.hc-primary[disabled] { opacity: .45; cursor: default; }
.hc-ghost { font-family: var(--font-d); text-transform: uppercase; letter-spacing: .04em; font-size: 16px; padding: 7px 16px; border-radius: 12px;
  border: 2px solid var(--ink); background: #fff; }
.hc-explain { font-size: 18px; color: var(--ink2); max-width: 900px; }
.hc-h3 { font-family: var(--font-d); text-transform: uppercase; font-size: 22px; margin: 18px 0 6px; }
.hc-pill { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--pc, var(--teal)); border-radius: 99px; padding: 1px 9px; }

/* survey */
.hc-count { font-family: var(--font-d); font-size: 18px; }
.hc-qbar { height: 14px; border-radius: 99px; background: #fff; border: 2px solid var(--ink); overflow: hidden; margin-bottom: 16px; }
.hc-qbar i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .4s; }
.hc-qcard { background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); padding: 28px 30px; }
.hc-qcard.enter { animation: hc-card .35s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes hc-card { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.hc-q { font-size: 30px; line-height: 1.25; margin: 0 0 20px; }
.hc-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 700px) { .hc-scale { grid-template-columns: repeat(2, 1fr); } .hc-q { font-size: 23px; } }
.hc-scale button, .hc-opt { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 14px 8px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-d); font-size: 20px; text-transform: uppercase; transition: transform .1s, background .15s; }
.hc-scale button span { display: block; font-size: 40px; line-height: 1.1; }
.hc-scale button:hover, .hc-opt:hover { background: #eef9f8; transform: translate(-1px, -2px); }
.hc-scale button.on, .hc-opt.on { background: #d9f2f0; border-color: var(--teal); }
.hc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.hc-qnav { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; }

/* results */
.hc-results { display: grid; gap: 10px; margin: 10px 0 18px; }
.hc-res { display: grid; grid-template-columns: 46px 64px 1fr 200px; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--rule);
  border-left: 8px solid var(--pc); border-radius: 14px; padding: 10px 14px; text-align: left; transition: transform .12s; }
.hc-res:hover { transform: translateX(4px); }
.hc-res .rk { font-family: var(--font-d); font-size: 28px; color: var(--ink2); text-align: center; }
.hc-res b { font-family: var(--font-d); font-size: 22px; text-transform: uppercase; display: block; }
.hc-res small { color: var(--ink2); font-size: 15px; }
.hc-match { font-family: var(--font-d); font-size: 15px; }
.hc-match .bar { height: 10px; border-radius: 99px; background: var(--paper2); overflow: hidden; margin-top: 3px; }
.hc-match .bar i { display: block; height: 100%; background: var(--pc, var(--teal)); }
@media (max-width: 700px) { .hc-res { grid-template-columns: 34px 48px 1fr; } .hc-res .hc-match { grid-column: 2 / -1; } }

/* pictures with an emoji fallback */
.hc-pic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--paper2); overflow: hidden; flex: none; }
.hc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hc-pic.has .em { visibility: hidden; }   /* the emoji is only the fallback for a missing picture */
.hc-pic .em { font-size: 34px; }
.hc-pic.big { width: 120px; height: 120px; border-radius: 22px; }
.hc-pic.big .em { font-size: 64px; }

/* explore */
.hc-goal { font-family: var(--font-d); font-size: 17px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 4px 14px; }
.hc-goal.met { background: #e3f6e9; border-color: var(--green); }
.hc-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.hc-search { flex: 1; min-width: 200px; padding: 9px 14px; border: 2px solid var(--ink); border-radius: 12px; font-size: 18px; }
.hc-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hc-chip { border: 2px solid var(--pc, var(--ink)); color: var(--pc, var(--ink)); background: #fff; border-radius: 99px; padding: 4px 12px; font-size: 15px; font-weight: 700; }
.hc-chip[aria-pressed="true"] { background: var(--pc, var(--ink)); color: #fff; }
.hc-sel select { padding: 6px 8px; border: 2px solid var(--ink); border-radius: 10px; margin-left: 4px; background: #fff; }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.hc-card { position: relative; text-align: left; background: #fff; border: 2px solid var(--rule); border-top: 8px solid var(--pc); border-radius: 16px;
  padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: transform .12s, box-shadow .12s; }
.hc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(29, 43, 77, .12); }
.hc-card .top { display: flex; gap: 12px; align-items: center; }
.hc-card b { font-family: var(--font-d); font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.hc-card .facts { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink2); }
.hc-card .facts strong { color: var(--ink); font-size: 17px; }
.hc-card .badge { position: absolute; top: 8px; right: 10px; font-size: 20px; }
.hc-card .mt { font-size: 13px; font-weight: 700; color: var(--teal); }

/* detail modal */
.hc-modal { position: fixed; inset: 0; z-index: 80; background: rgba(15, 22, 40, .55); display: grid; place-items: center; padding: 14px; }
.hc-modal-box { position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; width: 100%; max-width: 980px; max-height: 92vh; overflow: auto;
  box-shadow: 10px 10px 0 var(--ink); animation: hc-in .25s ease both; }
.hc-modal-x { position: sticky; float: right; top: 10px; margin: 10px 12px 0 0; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 24px; z-index: 2; }
.hc-dhead { display: flex; gap: 18px; align-items: center; padding: 20px 24px 14px; border-bottom: 3px solid var(--pc); background: #fff; border-radius: 19px 19px 0 0; }
.hc-dhead h2 { font-family: var(--font-d); text-transform: uppercase; font-size: 36px; margin: 2px 0; line-height: 1.05; }
.hc-dbody { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; padding: 18px 24px 24px; }
@media (max-width: 820px) { .hc-dbody { grid-template-columns: 1fr; } .hc-dhead h2 { font-size: 28px; } }
.hc-box { background: #fff; border: 2px solid var(--rule); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.hc-box h3 { margin: 0 0 6px; font-family: var(--font-d); text-transform: uppercase; font-size: 18px; letter-spacing: .03em; }
.hc-ic { width: 30px; height: 30px; object-fit: contain; vertical-align: middle; margin: -4px 8px 0 0; }
.hc-box p { margin: 4px 0; }
.hc-box ul { margin: 4px 0 0; padding-left: 20px; }
.hc-pay { display: grid; gap: 10px; }
.hc-payrow small { display: block; font-size: 14px; color: var(--ink2); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.hc-bar { display: grid; grid-template-columns: 112px 1fr; gap: 8px; align-items: center; font-size: 15px; margin-top: 3px; }
.hc-bar .track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hc-bar .track i { display: block; height: 22px; border-radius: 6px; background: var(--pc); flex: none; animation: hc-grow .8s ease both; transform-origin: left; }
@keyframes hc-grow { from { transform: scaleX(0); } }
.hc-bar .track i.avg { background: #a9b6c9; }
.hc-bar .track span { font-weight: 700; font-size: 15px; white-space: nowrap; }
.hc-cmp { font-size: 16px; margin: 4px 0 0; }
.hc-src { font-size: 13px; color: var(--ink2); }
.hc-edu { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 17px; }
.hc-edu dt { font-weight: 700; }
.hc-edu dd { margin: 0; }
.hc-yrs { font-family: var(--font-d); font-size: 34px; color: var(--pc); line-height: 1; }
.hc-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hc-courses ul { font-size: 16px; }
.hc-day { list-style: none; margin: 4px 0 0; padding: 0; position: relative; }
.hc-day::before { content: ""; position: absolute; left: 75px; top: 6px; bottom: 6px; width: 3px; background: var(--pc); opacity: .35; border-radius: 3px; }
.hc-day li { display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding: 5px 0; position: relative; font-size: 16px; }
.hc-day li::after { content: ""; position: absolute; left: 70px; top: 11px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--pc); }
.hc-day time { font-family: var(--font-d); font-size: 15px; text-align: right; color: var(--ink2); }
.hc-rate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hc-rate button { background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; padding: 8px 4px; font-weight: 700; font-size: 16px; }
.hc-rate button span { display: block; font-size: 28px; }
.hc-rate button.on { background: #d9f2f0; border-color: var(--teal); }
.hc-learn { width: 100%; border: 2px solid var(--ink); border-radius: 10px; padding: 8px 10px; font-size: 17px; resize: vertical; }
.hc-starbtn { width: 100%; margin-top: 10px; }

/* top 5 */
.hc-topgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
@media (max-width: 900px) { .hc-topgrid { grid-template-columns: 1fr; } }
.hc-toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: t; }
.hc-top { background: #fff; border: 2px solid var(--rule); border-left: 8px solid var(--pc); border-radius: 14px; padding: 10px 12px; }
.hc-top .row { display: flex; gap: 10px; align-items: center; }
.hc-top .n { font-family: var(--font-d); font-size: 26px; width: 30px; text-align: center; }
.hc-top b { flex: 1; font-family: var(--font-d); font-size: 20px; text-transform: uppercase; }
.hc-top .mv { width: 32px; height: 32px; border-radius: 8px; border: 2px solid var(--ink); background: #fff; font-size: 15px; }
.hc-top label { display: block; font-size: 14px; font-style: italic; color: var(--ink2); margin: 6px 0 2px; }
.hc-top input { width: 100%; border: 2px solid var(--ink); border-radius: 10px; padding: 7px 10px; font-size: 17px; }
.hc-empty { border: 3px dashed var(--rule); border-radius: 14px; padding: 14px; color: var(--ink2); background: rgba(255, 255, 255, .6); }
.hc-tablewrap { overflow-x: auto; background: #fff; border: 2px solid var(--ink); border-radius: 14px; }
.hc-compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.hc-compare th { background: var(--ink); color: #fff; font-family: var(--font-d); text-transform: uppercase; font-size: 14px; letter-spacing: .04em; padding: 7px 8px; text-align: left; }
.hc-compare td { padding: 7px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.hc-starters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hc-starters button { border: 2px dashed var(--teal); background: #fff; border-radius: 10px; padding: 5px 10px; font-size: 16px; font-style: italic; color: #126d6b; }
.hc-why { width: 100%; border: 3px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 19px; line-height: 1.6;
  background: #fff repeating-linear-gradient(transparent 0 29px, #e1e8f2 29px 30px); background-position: 0 12px; }

/* toast */
.hc-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 17px; z-index: 90; transition: transform .3s; }
.hc-toast.on { transform: translateX(-50%) translateY(0); }

/* printed career plan: one page */
.hc-printsheet { display: none; }
@media print {
  @page { size: letter portrait; margin: 0.45in; }
  body { background: #fff; font-size: 11pt; }
  .hc-nav, .hc-wrap, .hc-modal, .hc-toast { display: none !important; }
  .hc-printsheet { display: block; }
  .ps-h { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 3px solid #1d2b4d; padding-bottom: 6px; }
  .ps-h h1 { font-family: var(--font-d); text-transform: uppercase; font-size: 20pt; margin: 0; }
  .ps-name { font-size: 11pt; margin: 8px 0 10px; }
  .ps-t { width: 100%; border-collapse: collapse; font-size: 10pt; margin: 6px 0 10px; }
  .ps-t th { background: #1d2b4d; color: #fff; text-align: left; padding: 4px 6px; font-family: var(--font-d); text-transform: uppercase; font-size: 9pt;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps-t td { border: 1px solid #9fb0c8; padding: 4px 6px; vertical-align: top; }
  .ps-sec { font-family: var(--font-d); text-transform: uppercase; font-size: 12pt; border-bottom: 2px solid #f0a92c; margin: 10px 0 4px; }
  .ps-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 9.5pt; }
  .ps-path div { border: 1.5px solid #1d2b4d; border-radius: 6px; padding: 5px 6px; }
  .ps-path b { display: block; font-family: var(--font-d); text-transform: uppercase; font-size: 9pt; }
  .ps-why { border: 1.5px solid #9fb0c8; border-radius: 6px; padding: 6px 8px; min-height: 1in; white-space: pre-wrap; }
  .ps-foot { margin-top: 10px; font-size: 8pt; color: #6b7690; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
