/* windspellers.com — home page and Career guides page (Deploy 6, design "grey steps", canvas draft 2).
   Loaded only on index.html and career-guides.html. All classes start with "h-" so nothing here can touch other pages.
   Sections step gently from dark to lighter grey; photo sections fade into their neighbours. */
.home {
  --s-hero: #24282e; --s-next: #2a2f35; --s-next-card: #343a41; --s-jobs: #2f343a; --s-jobs-line: #4a5159;
  --s-radar: #343a40; --s-radar-line: #535a62; --s-lib: #393f46; --s-lib-card: #434a52; --s-hire: #2f343a; --s-foot: #24282e;
  --m-next: #bcc3cb; --m-jobs: #b3bac2; --m-radar: #c3c9d0; --m-lib: #c0c7ce;
  background: var(--s-hero);
  overflow-x: clip;
}
.h-wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.h-sec { position: relative; }
.h-code { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.h-amber { color: var(--accent); }
.h-green { color: var(--status); }
.h-sq { width: 8px; height: 8px; background: var(--status); display: inline-block; flex: 0 0 auto; }
.h-joint { position: absolute; left: 0; right: 0; top: 0; height: 170px; pointer-events: none;
  background-image: linear-gradient(rgba(150,160,170,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(150,160,170,.11) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
.h-h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; }
.h-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--text); }
.h-head > div { display: flex; flex-direction: column; gap: 4px; }
.h-link { color: var(--accent); font-weight: 600; }
.h-link:hover { color: var(--accent-hover); }
.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--hdr); font-weight: 600; font-size: 19px; }
.h-btn:hover { color: var(--hdr); background: var(--accent-hover); }
.h-btn-o { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: rgba(31,35,40,0.6); color: var(--text); font-weight: 600; font-size: 19px; border: 1px solid #8a939d; }
.h-btn-o:hover { color: var(--accent); border-color: var(--accent); }
.h-cam { position: absolute; z-index: 2; background: rgba(31,35,40,0.8); color: var(--text); font-family: var(--mono); font-size: 12px; letter-spacing: 1px; padding: 6px 10px; display: flex; align-items: center; gap: 6px; }
.h-short, .h-pbtn { display: none; }

/* 1 · Hero, CAM 01 */
.h-hero { position: relative; min-height: 680px; overflow: hidden; background: var(--s-hero); display: flex; align-items: center; }
.h-hero-media { position: absolute; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: 50% 60%; background: #1f2328; }
.h-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--s-hero) 0%, var(--s-hero) 34%, rgba(36,40,46,0.75) 50%, rgba(36,40,46,0) 72%); }
.h-hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(0deg, var(--s-next) 0%, rgba(42,47,53,0) 100%); }
.h-hero .h-cam { top: 24px; right: 32px; }
.h-hero-in { position: relative; width: 100%; padding-top: 88px; padding-bottom: 120px; }
.h-hero-text { max-width: 600px; display: flex; flex-direction: column; gap: 22px; }
.h-hero-text .h-code { font-size: 13px; letter-spacing: 1.5px; }
.h-hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 78px; line-height: 0.98; letter-spacing: 0.5px; text-wrap: balance; }
.h-hero p { margin: 0; color: #c3c9d0; font-size: 21px; }
.h-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.h-live { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: #c3c9d0; }

/* 2 · What's your next step? */
.h-next { background: var(--s-next); }
.h-next .h-wrap { position: relative; padding-top: 24px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.h-next h2 { font-size: 46px; }
.h-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-door { background: var(--s-next-card); border-top: 3px solid #8a939d; padding: 26px; color: var(--text); display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.h-door:first-child { border-top-color: var(--accent); }
.h-door:hover { color: var(--text); background: #3a4048; }
.h-door .h-code { color: var(--status); }
.h-door b { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05; }
.h-door .h-door-text { color: var(--m-next); }
.h-door .h-go { margin-top: auto; color: var(--accent); font-weight: 600; }

/* 3 · Latest jobs + alerts */
.h-jobs { background: linear-gradient(180deg, var(--s-next) 0px, var(--s-jobs) 170px); }
.h-jobs .h-wrap { position: relative; padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; }
.h-jobs .h-code { color: var(--m-jobs); }
.h-joblist { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; }
.h-job { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 4px; border-bottom: 1px solid var(--s-jobs-line); color: var(--text); }
.h-job:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.h-job:hover .h-job-t { color: var(--accent); }
.h-job-d { font-family: var(--mono); font-size: 13px; color: var(--m-jobs); width: 56px; }
.h-job-main { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.h-job-t { font-weight: 600; font-size: 19px; }
.h-job-w { color: var(--m-jobs); font-size: 15px; }
.h-tag { font-family: var(--mono); font-size: 12px; padding: 3px 8px; border: 1px solid #6b737c; }
.h-tag-u { background: var(--accent); color: var(--hdr); border-color: var(--accent); }
.h-alerts { flex: 1 1 320px; align-self: flex-start; background: var(--s-hero); border-top: 3px solid var(--accent); padding: 28px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 140px; }
.h-alerts .h-code { color: var(--status); }
.h-alerts h2 { font-size: 32px; line-height: 1.05; }
.h-alerts .alert-wrap > .code { display: none; }
.h-alerts .alert-wrap > p { margin: 0 0 12px; color: #c3c9d0; font-size: 16px; }
.h-alerts .alert-row { display: flex; flex-direction: column; gap: 10px; }
.h-alerts .alert-row input { flex: 0 0 auto; height: auto; min-height: 48px; box-sizing: border-box; width: 100%; font: inherit; padding: 13px 14px; background: var(--hdr); color: var(--text); border: 1px solid #5a636d; }
.h-alerts .alert-row .btn { min-height: 50px; justify-content: center; font-size: 17px; background: var(--accent); color: var(--hdr); }

/* 4 · Workforce Radar, CAM 02 */
.h-radar { min-height: 620px; overflow: hidden; background: var(--s-radar); display: flex; align-items: center; }
.h-radar-img { position: absolute; top: 0; left: 0; width: 60%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.h-radar-fade { position: absolute; inset: 0; background: linear-gradient(270deg, var(--s-radar) 0%, var(--s-radar) 40%, rgba(52,58,64,0.78) 55%, rgba(52,58,64,0) 78%); }
.h-radar-top { position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(180deg, var(--s-jobs) 0%, rgba(47,52,58,0) 100%); }
.h-radar-bot { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(0deg, var(--s-lib) 0%, rgba(57,63,70,0) 100%); }
.h-radar .h-cam { top: 90px; left: 32px; }
.h-radar-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: 130px; display: flex; justify-content: flex-end; }
.h-radar-box { max-width: 640px; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.h-radar .h-head { border-bottom: 0; padding-bottom: 0; }
.h-radar .h-code { color: var(--m-radar); }
.h-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--s-radar-line); }
.h-fig { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px 0; }
.h-fig:nth-child(even) { padding: 18px 0 18px 18px; border-left: 1px solid var(--s-radar-line); }
.h-fig:nth-child(n+3) { border-top: 1px solid var(--s-radar-line); padding-bottom: 0; }
.h-fig-n { font-family: var(--display); font-weight: 700; font-size: 64px; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.h-fig-v { font-weight: 600; font-size: 23px; line-height: 1.2; }
.h-fig-l { color: var(--m-radar); font-size: 15px; }
.h-src { margin: 0; color: var(--m-radar); font-size: 14px; }

/* rolling counters: a column of numbers moved by scrolling (works without any script); at rest it shows the final number */
.odo { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; view-timeline: --odo; }
.odoS { display: flex; flex-direction: column; text-align: right; transform: translateY(calc(var(--k) * -1em)); }
.odoS > span { height: 1em; line-height: 1; }
@keyframes odo { from { transform: none; } to { transform: translateY(calc(var(--k) * -1em)); } }

/* 5 · Career guides (home teaser) */
.h-lib { background: linear-gradient(180deg, var(--s-radar) 0px, var(--s-lib) 170px); }
.h-lib .h-wrap { position: relative; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; }
.h-lib .h-code { color: var(--m-lib); }
.h-search { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.h-search input { font: inherit; padding: 9px 12px; background: var(--s-jobs); color: var(--text); border: 1px solid #6b737c; width: 240px; max-width: 100%; }
.h-picks-k { margin-top: 28px; }
.h-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.h-pick { background: var(--s-lib-card); border-top: 3px solid var(--accent); padding: 18px; color: var(--text); display: flex; flex-direction: column; gap: 8px; min-height: 150px; min-width: 0; }
.h-pick:hover { color: var(--text); background: #4a5159; }
.h-pick .h-code { color: var(--status); font-size: 11px; }
.h-pick b { font-weight: 600; font-size: 18px; line-height: 1.3; }
.h-pick .h-mins { margin-top: auto; font-family: var(--mono); font-size: 12px; color: var(--m-lib); }
.h-chap-k { margin-top: 32px; }
.h-chaps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.h-chap { display: flex; align-items: baseline; gap: 16px; padding: 16px 4px; border-bottom: 1px solid #535a62; color: var(--text); }
.h-chap:hover { color: var(--text); } .h-chap:hover b { color: var(--accent); }
.h-chap .h-code { width: 110px; color: var(--status); flex: 0 0 auto; }
.h-chap span.h-chap-main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.h-chap b { font-weight: 600; font-size: 19px; }
.h-chap small { color: var(--m-lib); font-size: 15px; }
.h-chap .h-count { font-family: var(--mono); font-size: 13px; color: var(--m-lib); white-space: nowrap; }

/* 6 · For employers, CAM 03 */
.h-hire { min-height: 600px; overflow: hidden; background: var(--s-hire); display: flex; align-items: center; }
.h-hire-img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.h-hire-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--s-hire) 0%, var(--s-hire) 36%, rgba(47,52,58,0.75) 50%, rgba(47,52,58,0) 70%); }
.h-hire-top { position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(180deg, var(--s-lib) 0%, rgba(57,63,70,0) 100%); }
.h-hire-bot { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(0deg, var(--s-foot) 0%, rgba(36,40,46,0) 100%); }
.h-hire .h-cam { top: 90px; right: 32px; }
.h-hire-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: 120px; }
.h-hire-text { max-width: 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.h-hire h2 { font-size: 56px; }
.h-hire p { margin: 0; max-width: 300px; color: var(--m-jobs); font-size: 17px; }
.h-hire .h-btn { font-size: 18px; min-height: 50px; padding: 0 26px; }

/* Career guides page (career-guides.html) */
.g-hero .h-wrap { position: relative; padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.g-hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 78px; line-height: 0.98; }
.g-hero p { margin: 0; max-width: 640px; color: #c3c9d0; font-size: 21px; }
.g-search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.g-search input { font: inherit; font-size: 18px; padding: 15px 16px; width: 520px; max-width: 100%; background: var(--hdr); color: var(--text); border: 1px solid #6b737c; }
.g-search .h-code { color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.g-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.g-jump a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #4a5159; background: #2a2f35; color: var(--text); font-size: 15px; font-weight: 500; }
.g-jump a:hover { border-color: var(--accent); color: var(--text); }
.g-jump .h-code { font-size: 11px; color: var(--status); }
.g-picks { background: linear-gradient(180deg, var(--s-hero) 0px, var(--s-next) 120px); }
.g-picks .h-wrap { padding-top: 32px; padding-bottom: 56px; }
.g-picks .h-pick { background: var(--s-next-card); }
.g-chapters { background: linear-gradient(180deg, var(--s-next) 0px, var(--s-jobs) 160px); }
.g-chapters > .h-wrap { position: relative; padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 56px; }
.g-ch { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; border-top: 2px solid var(--text); padding-top: 20px; scroll-margin-top: 140px; }
.g-ch-head { display: flex; flex-direction: column; gap: 6px; }
.g-ch-head .h-code { color: var(--status); display: flex; align-items: center; gap: 6px; }
.g-ch-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1.02; }
.g-ch-head .g-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--m-jobs); text-transform: uppercase; }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; }
.g-list li { border-bottom: 1px solid #4a5159; }
.g-list a { display: flex; align-items: baseline; gap: 14px; padding: 14px 2px; color: var(--text); min-height: 44px; box-sizing: border-box; }
.g-list a:hover { color: var(--accent); }
.g-num, .g-min { font-family: var(--mono); font-size: 12px; color: var(--text-muted); flex: 0 0 auto; }
.g-num { width: 22px; }
.g-t { flex: 1 1 auto; font-weight: 600; font-size: 17px; line-height: 1.35; }
.g-min { white-space: nowrap; }
.g-draft { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid var(--accent); padding: 1px 6px; }
.g-empty { margin: 0; color: var(--text-soft); }
.g-end { background: linear-gradient(180deg, var(--s-jobs) 0px, var(--s-radar) 120px); }
.g-end .h-wrap { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 20px; }
.g-end .h-alerts { flex: 1 1 420px; }
.g-cv { flex: 1 1 320px; background: var(--s-lib); border-top: 3px solid #8a939d; padding: 28px; color: var(--text); display: flex; flex-direction: column; gap: 10px; }
.g-cv:hover { color: var(--text); background: #434a52; }
.g-cv .h-code { color: var(--status); }
.g-cv b { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.05; }
.g-cv span.g-cv-t { color: var(--m-lib); font-size: 16px; }
.g-cv .h-go { margin-top: auto; color: var(--accent); font-weight: 600; }

/* Motion: sections rise in as you scroll (CSS only; browsers without support simply show everything) */
@keyframes h-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes h-pop { 0% { opacity: 0; transform: translateY(40px) scale(.86); } 70% { opacity: 1; transform: translateY(-4px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes h-fromL { from { transform: translateX(-100vw); } to { transform: none; } }
@keyframes h-fromR { from { transform: translateX(100vw); } to { transform: none; } }
@supports (animation-timeline: view()) {
  .rv { animation: h-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .h-door { animation: h-pop linear both; animation-timeline: view(); }
  .h-door:nth-child(1) { animation-range: cover 0% cover 35%; }
  .h-door:nth-child(2) { animation-range: cover 10% cover 45%; }
  .h-door:nth-child(3) { animation-range: cover 20% cover 55%; }
  .inL { animation: h-fromL ease-out both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .inR { animation: h-fromR ease-out both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  /* Deploy 7 (H7-03): the counters finish rolling when the figures are about a third up the screen, then hold the real number */
  .odoS { animation: odo linear both; animation-timeline: --odo; animation-range: entry 0% cover 30%; }
}
/* Deploy 7 (H7-01): on wide screens the job alerts box comes first (left), so "Get job alerts" lands on it; the job list moves right.
   Phones and tablets keep the old order (list, then alerts). The slide-in directions swap with the boxes. */
@media (min-width: 1001px) {
  .h-jobs .h-alerts { order: -1; }
  @supports (animation-timeline: view()) {
    .h-jobs .h-alerts.inR { animation-name: h-fromL; }
    .h-jobs .h-joblist.inL { animation-name: h-fromR; }
  }
}
/* Deploy 7 (H7-02): no big iPhone play sign over the hero video while it waits to start */
.h-hero-media::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.h-hero-media::-webkit-media-controls { display: none !important; }
@media (prefers-reduced-motion: reduce) { .rv, .h-door, .inL, .inR, .odoS { animation: none; } }
/* Deploy 8 (D8-01): on phones no side slides (the job list and the alerts box could stay off screen on iPhone and leave
   an empty dark screen); only a short rise that is finished by the time a block is fully on screen. */
@media (max-width: 640px) {
  @supports (animation-timeline: view()) {
    .inL, .inR { animation: none; }
    .rv { animation-range: entry 0% entry 40%; }
    .h-door:nth-child(n) { animation-range: entry 0% entry 90%; }
  }
}

/* Tablets */
@media (max-width: 1000px) {
  .h-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-ch { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* Phones */
@media (max-width: 640px) {
  .h-wrap { padding-left: 16px; padding-right: 16px; }
  .h-wide { display: none; }
  .h-short { display: inline-block; }
  .h-pbtn { display: flex; margin-top: 14px; font-size: 17px; min-height: 48px; }
  .h-long { display: none; }
  .h-h2 { font-size: 32px; }
  .h-code { font-size: 11px; }
  .h-cam { font-size: 10px; padding: 4px 8px; }

  .h-hero { display: block; min-height: 0; }
  .h-hero-media { position: relative; display: block; width: 100%; height: 250px; object-position: 75% 60%; }
  .h-hero-fade { display: none; }
  .h-hero-bottom { top: 120px; bottom: auto; height: 130px; background: linear-gradient(0deg, var(--s-hero) 0%, rgba(36,40,46,0.7) 45%, rgba(36,40,46,0) 100%); }
  .h-hero .h-cam { top: 12px; left: 12px; right: auto; }
  .h-hero-in { margin-top: -40px; padding-top: 0; padding-bottom: 32px; }
  .h-hero-text { gap: 14px; }
  .h-hero h1 { font-size: 50px; }
  .h-hero p { font-size: 17px; }
  .h-btns { flex-direction: column; }
  .h-btn, .h-btn-o { font-size: 18px; min-height: 52px; width: 100%; padding: 0 12px; }
  .h-live { font-size: 11px; }

  .h-next { background: linear-gradient(180deg, var(--s-hero) 0px, var(--s-next) 120px); }
  .h-next .h-wrap { padding-top: 28px; padding-bottom: 32px; gap: 10px; }
  .h-next h2 { font-size: 34px; }
  .h-doors { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .h-door { min-height: 0; padding: 16px; gap: 2px; border-top: 0; border-left: 3px solid #8a939d; }
  .h-door:first-child { border-left-color: var(--accent); }
  .h-door b { font-size: 26px; }
  .h-door .h-door-text { display: none; }

  .h-jobs { background: linear-gradient(180deg, var(--s-next) 0px, var(--s-jobs) 120px); }
  .h-jobs .h-wrap { padding-top: 32px; padding-bottom: 32px; gap: 20px; }
  .h-joblist { flex-basis: 100%; }
  .h-head { gap: 4px; }
  .h-job { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 2px; }
  .h-job-d { order: 3; width: auto; font-size: 12px; }
  .h-job-main { flex: none; }
  .h-job-t { font-size: 17px; }
  .h-job-w { font-size: 14px; }
  .h-job-tags { order: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .h-tag { font-size: 11px; padding: 2px 7px; }
  .h-alerts { flex-basis: 100%; padding: 18px; }
  .h-alerts h2 { font-size: 26px; }

  .h-radar { display: block; min-height: 0; padding-bottom: 32px; }
  .h-radar-img { position: relative; display: block; width: 100%; height: 260px; object-position: 62% 40%; }
  .h-radar-fade { display: none; }
  .h-radar-top { height: 90px; }
  .h-radar-bot { top: 140px; bottom: auto; height: 120px; background: linear-gradient(0deg, var(--s-radar) 0%, rgba(52,58,64,0.7) 45%, rgba(52,58,64,0) 100%); }
  .h-radar .h-cam { top: 56px; left: 12px; }
  .h-radar-in { margin-top: -24px; padding-top: 0; padding-bottom: 0; display: block; }
  .h-radar-box { gap: 12px; }
  .h-fig { padding: 12px 12px 12px 0; }
  .h-fig:nth-child(even) { padding: 12px 0 12px 12px; }
  .h-fig-n { font-size: 44px; }
  .h-fig-v { font-size: 16px; }
  .h-fig-l { font-size: 13px; }

  .h-lib { background: linear-gradient(180deg, var(--s-radar) 0px, var(--s-lib) 120px); }
  .h-lib .h-wrap { padding-top: 32px; padding-bottom: 32px; }
  .h-search { display: none; }
  .h-picks { gap: 10px; }
  .h-pick { padding: 12px; min-height: 150px; }
  .h-pick b { font-size: 15px; }
  .h-chaps { grid-template-columns: minmax(0, 1fr); }
  .h-chap { align-items: center; gap: 12px; padding: 14px 2px; }
  .h-chap .h-code { width: 46px; }
  .h-chap small { display: none; }

  .h-hire { display: block; min-height: 0; padding-bottom: 28px; }
  .h-hire-img { position: relative; display: block; width: 100%; height: 340px; object-position: 50% 62%; }
  .h-hire-fade { display: none; }
  .h-hire-top { height: 110px; }
  .h-hire-bot { top: 200px; bottom: auto; height: 140px; background: linear-gradient(0deg, var(--s-hire) 0%, rgba(47,52,58,0.7) 45%, rgba(47,52,58,0) 100%); }
  .h-hire .h-cam { top: 64px; right: 12px; }
  .h-hire-in { margin-top: -30px; padding-top: 0; padding-bottom: 0; }
  .h-hire-text { max-width: none; gap: 12px; }
  .h-hire h2 { font-size: 36px; }
  .h-hire p { max-width: none; font-size: 16px; }
  .h-hire .h-btn { width: 100%; }

  .g-hero .h-wrap { padding-top: 36px; padding-bottom: 24px; gap: 12px; }
  .g-hero h1 { font-size: 50px; }
  .g-hero p { font-size: 17px; }
  .g-search input { font-size: 17px; padding: 13px 14px; width: 100%; }
  .g-search .h-code { display: none; }
  .g-jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-jump a { justify-content: center; padding: 0 8px; font-family: var(--mono); font-size: 12px; }
  .g-jump .g-jump-name { display: none; }
  .g-jump .h-code { color: var(--text); font-size: 12px; }
  .g-picks .h-wrap { padding-top: 16px; padding-bottom: 32px; }
  .g-chapters > .h-wrap { padding-top: 24px; padding-bottom: 40px; gap: 36px; }
  .g-ch { border-top: 0; padding-top: 0; gap: 0; scroll-margin-top: 80px; }
  .g-ch-head { padding-bottom: 10px; border-bottom: 2px solid var(--text); gap: 4px; }
  .g-ch-head h2 { font-size: 30px; }
  .g-list { grid-template-columns: minmax(0, 1fr); }
  .g-list a { gap: 12px; padding: 13px 2px; }
  .g-t { font-size: 16px; }
  .g-end .h-wrap { padding-top: 28px; padding-bottom: 32px; }
  .g-cv b { font-size: 28px; }
}
.home [hidden] { display: none !important; }
