/* MyCareerFinder – styles */
:root {
  --paper: #ffffff;
  --mist: #eaf4f6;
  --ink: #14232a;
  --muted: #4b5f66;
  --line: #d3e5e9;
  --brand: #0b5563;
  --brand-ink: #ffffff;
  --link: #0d6b7c;
  --marigold: #f2b632;
  --on-marigold: #14232a;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d171a;
    --mist: #142329;
    --ink: #e6f0f2;
    --muted: #a6bcc2;
    --line: #263a40;
    --brand: #0a3f4a;
    --link: #7fd0de;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header { background: var(--brand); color: var(--brand-ink); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 14px; padding-bottom: 14px;
}
.logo {
  font-family: var(--head); font-weight: 800; font-size: 1.35rem;
  color: var(--brand-ink); text-decoration: none; letter-spacing: -0.01em;
}
.logo span { color: var(--marigold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { color: var(--brand-ink); text-decoration: none; padding: 8px 0; opacity: 0.9; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero (home) */
.hero { background: var(--brand); color: var(--brand-ink); padding: 48px 0 56px; }
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em;
  max-width: 16ch;
}
.become {
  margin-top: 18px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
}
.become input {
  flex: 1 1 280px; min-width: 0;
  font: 700 clamp(1.5rem, 4.5vw, 2.6rem)/1.2 var(--head);
  color: var(--brand-ink); background: transparent;
  border: 0; border-bottom: 4px solid var(--marigold);
  padding: 6px 2px; border-radius: 0;
}
.become input::placeholder { color: rgba(255,255,255,0.55); }
.hero .lede { margin-top: 18px; max-width: 56ch; color: rgba(255,255,255,0.85); }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  font: inherit; font-size: 0.95rem; cursor: pointer;
  background: transparent; color: var(--brand-ink);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.chip[aria-pressed="true"] { background: var(--marigold); color: var(--on-marigold); border-color: var(--marigold); }

/* Sections */
.section { padding: 40px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.section-head h2 { font-size: 1.75rem; }
.count { color: var(--muted); }

/* Career list */
.career-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; }
.career-list li { border-top: 1px solid var(--line); }
.career-link {
  display: block; padding: 18px 0; text-decoration: none; color: var(--ink);
}
.career-link strong { display: block; font-family: var(--head); font-size: 1.3rem; }
.career-link .meta { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.career-link:hover strong { color: var(--link); text-decoration: underline; }
.empty { color: var(--muted); padding: 16px 0; }

/* Steps (home how-it-works) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; padding-left: 52px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--marigold); color: var(--on-marigold);
  font: 800 1.1rem/38px var(--head); text-align: center;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* CTA band */
.cta {
  background: var(--mist); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta h2 { font-size: 1.5rem; }
.cta p { color: var(--muted); margin-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  background: var(--marigold); color: var(--on-marigold);
  font-weight: 700; text-decoration: none; border: 0;
}
.btn:hover { filter: brightness(0.95); }

/* Career page */
.crumbs { font-size: 0.95rem; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.career-hero { padding: 16px 0 28px; }
.career-hero .field { color: var(--muted); font-weight: 700; }
.career-hero h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; max-width: 20ch; }
.career-hero .lede { margin-top: 14px; max-width: 62ch; font-size: 1.15rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-top: 24px; }
.facts div { background: var(--paper); padding: 14px 16px; }
.facts dt { font-size: 0.9rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; }

.layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding: 24px 0 48px; }
.layout main { flex: 999 1 560px; min-width: 0; }
.layout aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 24px; }

/* The route: the signature element */
.route { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.route > li { counter-increment: r; position: relative; padding: 0 0 36px 64px; }
.route > li::before {
  content: counter(r); position: absolute; left: 0; top: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink);
  font: 800 1.2rem/44px var(--head); text-align: center;
}
.route > li::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0;
  border-left: 3px dashed var(--line);
}
.route > li:last-child::before { background: var(--marigold); color: var(--on-marigold); }
.route > li:last-child::after { display: none; }
.route h2 { font-size: 1.45rem; padding-top: 6px; margin-bottom: 12px; }
.route p + p, .route p + ul, .route ul + p { margin-top: 10px; }
.route ul { margin: 0; padding-left: 20px; }

.table-box { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.9rem; color: var(--muted); font-weight: 700; }
.tag { display: inline-block; font-size: 0.85rem; padding: 2px 10px; border-radius: 999px; background: var(--mist); }
.tag.req { background: var(--marigold); color: var(--on-marigold); }

.unis { list-style: none; margin: 0; padding: 0; }
.unis li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.unis .aps { color: var(--muted); }

.related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; }
.related a:hover { text-decoration: underline; }
.note { font-size: 0.95rem; color: var(--muted); margin-top: 24px; }

.side-card { background: var(--brand); color: var(--brand-ink); border-radius: var(--radius-lg); padding: 24px; }
.side-card h2 { font-size: 1.3rem; }
.side-card p { margin: 8px 0 16px; color: rgba(255,255,255,0.85); }

/* Ads */
.ad { margin: 24px 0; text-align: center; }
.ad-placeholder {
  border: 2px dashed var(--line); border-radius: var(--radius-sm);
  color: var(--muted); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.ad-top .ad-placeholder { min-height: 100px; }
.ad-incontent .ad-placeholder { min-height: 250px; }
.ad-sidebar .ad-placeholder { min-height: 600px; }

/* Plain pages */
.prose { max-width: 70ch; padding: 32px 0 56px; }
.prose h1 { font-size: 2.4rem; margin-bottom: 16px; }
.prose h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Show more */
.more-wrap { margin-top: 24px; text-align: center; }
.more-wrap .btn { cursor: pointer; font: inherit; font-weight: 700; }

/* Universities (APS cards) */
.uni-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.uni-card {
  display: flex; align-items: center; gap: 20px; height: 100%; min-height: 160px;
  padding: 20px 20px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--ink); text-decoration: none;
  box-shadow: 0 2px 10px rgba(11, 85, 99, 0.06);
  transition: box-shadow 0.15s, transform 0.15s;
}
.uni-card:hover { box-shadow: 0 8px 24px rgba(11, 85, 99, 0.16); transform: translateY(-2px); }
.uni-card:hover .uni-go { background: var(--brand); color: var(--brand-ink); }
.uni-badge {
  flex: none; width: 104px; height: 104px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: #ffffff; color: var(--brand);
  box-shadow: 0 0 0 6px var(--mist), 0 4px 14px rgba(11, 85, 99, 0.12);
  font: 800 1.25rem/1 var(--head); letter-spacing: -0.01em;
}
.uni-badge img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.uni-text { flex: 1; min-width: 0; }
.uni-text strong { display: block; font-family: var(--head); font-size: 1.2rem; line-height: 1.25; color: var(--brand); }
.uni-text .meta { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.uni-go {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mist); color: var(--brand); font-size: 1.4rem; font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
@media (prefers-color-scheme: dark) {
  .uni-text strong { color: var(--ink); }
}

/* Qualifications */
.qual-badge { flex-direction: column; gap: 2px; font-size: 1.9rem; }
.qual-badge small { font: 700 0.75rem/1 var(--body); color: var(--muted); letter-spacing: 0.02em; }
.qual-body h2 { font-size: 1.45rem; margin: 32px 0 10px; }
.qual-body h2:first-child { margin-top: 0; }
.qual-body h3 { font-size: 1.1rem; margin: 18px 0 4px; }
.qual-body ul { padding-left: 20px; margin: 0; }
.qual-body .career-list { padding-left: 0; }
.qual-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 12px; }
.ladder-step { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; background: var(--paper); }
.ladder-step:hover { border-color: var(--brand); }
.ladder-step .uni-badge { width: 64px; height: 64px; font-size: 1.4rem; box-shadow: 0 0 0 4px var(--mist); }
.ladder-step .uni-badge small { font-size: 0.65rem; }

/* Parallax banner */
.parallax {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 440px; display: flex; align-items: center;
  background: linear-gradient(180deg, #0a3f4a 0%, #0b5563 60%, #11707f 100%);
  color: #ffffff; margin: 24px 0 0;
}
.parallax-layers { position: absolute; inset: -80px 0; z-index: -1; pointer-events: none; }
.layer { position: absolute; left: 0; width: 100%; will-change: transform; }
.layer-sun { width: 220px; height: 220px; right: 8%; left: auto; top: 90px; }
.layer-sun circle { fill: var(--marigold); opacity: 0.9; }
.layer-back { bottom: 40px; height: 62%; }
.layer-back path { fill: #1a8796; opacity: 0.45; }
.layer-front { bottom: -10px; height: 52%; }
.layer-front path { fill: #072f37; opacity: 0.85; }
.parallax-content { padding-top: 72px; padding-bottom: 140px; }
.parallax h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; max-width: 14ch; }
.parallax p { margin: 16px 0 24px; max-width: 46ch; font-size: 1.15rem; color: rgba(255,255,255,0.88); }

/* Qualification staircase */
.steps-ladder {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; align-items: end;
}
.steps-ladder li { display: flex; }
.step-tile {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px;
  min-height: calc(120px + var(--lvl) * 26px);
  padding: 14px 12px; border-radius: 12px 12px 4px 4px;
  background: var(--brand); color: #ffffff; text-decoration: none;
  border-top: 5px solid var(--marigold);
  transition: transform 0.15s, background 0.15s;
}
.step-tile:hover { transform: translateY(-4px); background: #0a3f4a; }
.step-tile:focus-visible { outline-offset: 3px; }
.step-nqf { font: 800 0.8rem/1 var(--head); color: var(--marigold); }
.step-tile strong { font-family: var(--head); font-size: 1rem; line-height: 1.2; }
.step-time { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-top: auto; }
@media (max-width: 900px) {
  .steps-ladder { grid-template-columns: 1fr; gap: 6px; }
  .step-tile {
    min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 14px;
    border-top: 0; border-left: 5px solid var(--marigold); border-radius: 4px 12px 12px 4px;
    margin-right: calc((5 - var(--lvl) / 1.2) * 4%);
  }
  .step-nqf { min-width: 52px; }
  .step-time { margin: 0 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .layer { transform: none !important; } }
