/* Mutex Healthcare Staffing — shared styles */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1f44;
  --ink-2: #2a3d5e;
  --muted: #56678a;
  --faint: #8492ab;
  --bg: #f6f9fd;
  --bg-2: #e9f0fa;
  --paper: #ffffff;
  --line: #dce5f1;
  --line-2: #c2d0e4;
  --brand: #0f5fcb;
  --brand-700: #0c4aa3;
  --brand-900: #071a3f;
  --tint: #dbe8fb;
  --tint-2: #eef4fd;
  --accent: #0f5fcb;
  --accent-700: #0c4aa3;
  --accent-100: #dbe8fb;
  --amber: #f6b93b;
  --amber-100: #fdf1d3;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .06), 0 4px 14px -6px rgba(10, 31, 68, .12);
  --shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 18px 40px -18px rgba(10, 31, 68, .28);
  --font-display: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
[id] { scroll-margin-top: 102px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 88px) 0; }
/* Two plain sections in a row share one gap: js/site.js adds .flow-0 to the second (see tightenSections) */
.section.flow-0 { padding-top: 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; max-width: 60ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.accent { color: var(--brand); font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.on-dark .eyebrow, .eyebrow.light { color: #9fc0f0; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .94rem; line-height: 1.2; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .16s ease; }
.btn:hover .icon.arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 95, 203, .65); }
.btn-primary:hover { background: #2b77de; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--bg); }
.btn-outline-light:hover { border-color: var(--bg); background: rgba(255, 255, 255, .08); }
.btn-lg { padding: 1.02em 1.6em; font-size: 1rem; }
.btn-sm { padding: .6em 1em; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .16s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.text-link { font-weight: 700; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--brand-900); color: #cfdcf2; font-size: .8rem; font-weight: 500; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar-items { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.topbar-items span + span::before { content: "|"; margin-right: 10px; opacity: .35; }
.topbar a { color: var(--amber); font-weight: 700; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 249, 253, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 26px -20px rgba(10, 31, 68, .45); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 80px; }
.logo { display: flex; align-items: center; flex: none; }
.logo-full { height: 50px; width: auto; font-family: var(--font-body); }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; margin-right: 4px; white-space: nowrap; }
.header-phone .icon { width: 16px; height: 16px; color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.site-header.open .burger span { background: transparent; }
.site-header.open .burger span::before { transform: translateY(6px) rotate(45deg); }
.site-header.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 14px 0 22px; }
.mobile-panel a.m-link { display: block; padding: 13px 4px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-panel .m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mobile-panel .m-phone { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-weight: 700; color: var(--brand-700); }

@media (max-width: 1260px) { .header-phone { display: none; } }
@media (max-width: 1200px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .site-header.open .mobile-panel { display: block; }
  .topbar-items span:nth-child(n+2) { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 3.4vw, 44px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(219, 232, 251, .95), rgba(219, 232, 251, 0)); z-index: -1;
}
.hero::after {
  content: ""; position: absolute; left: -180px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(219, 232, 251, .8), rgba(219, 232, 251, 0)); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { margin: 2px 0 18px; font-size: clamp(2.5rem, 5vw, 4rem); }
.hero h1 em { color: var(--brand); display: block; }
.hero .lead { margin-bottom: 22px; }

.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 20px; }
.seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: background .18s, color .18s, box-shadow .18s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }

.matcher { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); max-width: 640px; }
.matcher-step { display: flex; gap: 12px; align-items: center; font-weight: 700; margin-bottom: 12px; }
.matcher-step i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; font-size: .82rem; font-weight: 800; flex: none; }
.matcher-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.matcher .chips { margin-bottom: 20px; }
.hero-foot { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.hero-foot a { color: var(--brand-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 8px 14px; font-size: .88rem; font-weight: 600; color: var(--ink-2);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-700); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip:active { transform: scale(.97); }

.select, .input, .textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px;
  padding: 13px 15px; font-weight: 500; transition: border-color .15s, box-shadow .15s; min-width: 0;
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230a1f44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select:hover, .input:hover, .textarea:hover { border-color: var(--line-2); }
.select:focus, .input:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 95, 203, .16); }
.textarea { min-height: 120px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.field > span small { font-weight: 500; color: var(--faint); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 2px; flex: none; }
.form-note { font-size: .8rem; color: var(--faint); margin-top: 10px; }
.success { text-align: center; padding: 22px 8px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.success .tick .icon { width: 30px; height: 30px; }
.success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.success p { color: var(--muted); max-width: 44ch; margin-inline: auto; }
.success .demo-note { margin-top: 16px; font-size: .78rem; color: var(--faint); background: var(--bg); border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px 12px; display: inline-block; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Hero stage (match visual) */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 34px; padding: 26px 26px 30px; min-height: 560px;
  background: radial-gradient(120% 90% at 85% 0%, #12489c 0%, var(--brand-900) 62%);
  color: var(--bg); display: flex; flex-direction: column;
  box-shadow: 0 40px 70px -40px rgba(7, 26, 63, .7);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.stage-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: #3b8cff; filter: blur(120px); opacity: .3; right: -110px; bottom: -130px; z-index: -1; }
.stage-label { display: flex; align-items: center; justify-content: space-between; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #9fc0f0; margin-bottom: 22px; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .3s, width .3s; }
.stage-dots i.on { background: var(--amber); width: 20px; border-radius: 6px; }
.stage-body { display: flex; flex-direction: column; flex: 1; justify-content: center; transition: opacity .35s ease, transform .35s ease; }
.stage-body.swap { opacity: 0; transform: translateY(8px); }
.s-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 18px 20px; width: min(86%, 350px); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .6); }
.s-job { align-self: flex-start; animation: floatA 7s ease-in-out infinite; }
.s-pro { align-self: flex-end; animation: floatB 8s ease-in-out infinite; }
.s-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.s-card h4 { font-size: 1.25rem; margin-bottom: 4px; }
.s-meta { font-size: .85rem; color: var(--muted); }
.s-pay { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.s-pay b { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.02em; }
.s-pay span { font-size: .82rem; color: var(--muted); }
.s-who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--amber-100); color: #8a5a00; flex: none; }
.s-checks li { display: flex; gap: 8px; align-items: center; font-size: .86rem; font-weight: 600; color: var(--ink-2); padding: 4px 0; }
.s-checks .icon { width: 16px; height: 16px; color: var(--brand); background: var(--tint); border-radius: 50%; padding: 3px; box-sizing: content-box; }
.s-link { align-self: center; height: 78px; width: 2px; position: relative; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .55) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: dash 1s linear infinite; }
.s-lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--amber); color: var(--ink); font-weight: 800; font-size: .8rem;
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 6px rgba(246, 185, 59, .2);
  animation: pulse 2.4s ease-in-out infinite;
}
.s-lock .icon { width: 15px; height: 15px; }
.stage-foot { margin-top: 22px; font-size: .84rem; color: #bccdea; display: flex; gap: 10px; align-items: center; }
.stage-foot .icon { width: 18px; height: 18px; color: var(--amber); }
@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-7px) rotate(-.4deg); } }
@keyframes floatB { 0%, 100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(6px) rotate(.3deg); } }
@keyframes dash { to { background-position: 0 12px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(246, 185, 59, .2); } 50% { box-shadow: 0 0 0 12px rgba(246, 185, 59, .08); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .matcher { max-width: none; }
}
@media (max-width: 560px) {
  .matcher-row { grid-template-columns: 1fr; }
  .seg { display: flex; }
  .seg button { flex: 1; padding-inline: 10px; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.job-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.job-loc { display: flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.job-loc .icon { width: 15px; height: 15px; color: var(--accent); }
.job-card h3 { font-size: 1.28rem; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-pay { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.job-pay b { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; }
.job-pay b small { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.job-pay span { font-size: .84rem; font-weight: 700; color: var(--brand-700); background: var(--tint-2); border-radius: 999px; padding: 3px 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.tag.t-type { background: var(--amber-100); border-color: transparent; color: #7a5200; }
.tag.t-new { background: var(--accent-100); border-color: transparent; color: var(--accent-700); }
.job-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--faint); font-weight: 600; }
.job-foot .go { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.job-foot .go .icon { width: 16px; height: 16px; }
.job-card:hover .go { background: var(--accent); color: #fff; transform: rotate(-35deg); }
@media (max-width: 980px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .job-grid { grid-template-columns: 1fr; } }

/* ---------- Specialties ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spec-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 270px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s;
}
.spec-card .num { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--faint); transition: color .25s; }
.spec-card .ico { width: 50px; height: 50px; border-radius: 15px; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; transition: background .25s, color .25s; }
.spec-card .ico .icon { width: 24px; height: 24px; }
.spec-card p { color: var(--muted); font-size: .93rem; transition: color .25s; }
.spec-card .link-arrow { margin-top: auto; font-size: .9rem; transition: color .25s; }
.spec-card:hover { background: var(--brand-900); color: var(--bg); transform: translateY(-4px); border-color: var(--brand-900); }
.spec-card:hover p { color: #bccdea; }
.spec-card:hover .num { color: var(--amber); }
.spec-card:hover .ico { background: var(--accent); color: #fff; }
.spec-card:hover .link-arrow { color: var(--amber); }
.spec-card > a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1040px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec-card { min-height: 0; } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- Dark band / stats ---------- */
.band { background: var(--brand-900); color: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 24px 24px; }
.band::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -160px; top: -220px; background: var(--brand); filter: blur(110px); opacity: .55; z-index: -1; }
.band .muted, .band .section-head p { color: #b6c8e8; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--amber); font-weight: 600; }
.stat span { display: block; margin-top: 10px; color: #cad8f0; font-size: .98rem; max-width: 22ch; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 34px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .stat { padding-inline: 16px; } }

/* ---------- How it works ---------- */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background .18s, color .18s; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; font-size: 1.22rem; }
.step p { color: var(--muted); font-size: .95rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -19px; width: 18px; height: 2px; background: var(--line-2); z-index: 1; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pay estimator ---------- */
.estimator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.est-controls { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.est-out { padding: clamp(24px, 4vw, 44px); background: var(--brand-900); color: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 22px; position: relative; overflow: hidden; isolation: isolate; }
.est-out::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #3b8cff; filter: blur(110px); opacity: .28; right: -100px; top: -100px; z-index: -1; }
.est-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9fc0f0; }
.est-big { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--amber); font-weight: 600; margin-top: 8px; }
.est-big small { font-family: var(--font-body); font-size: 1rem; color: #cad8f0; font-weight: 600; letter-spacing: 0; }
.est-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.est-row b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-top: 4px; }
.est-fine { font-size: .78rem; color: #9db1d4; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 700; font-size: .92rem; }
.range-head output { font-family: var(--font-display); font-size: 1.3rem; color: var(--brand-700); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--bg-2) var(--fill, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 3px solid var(--brand); box-shadow: var(--shadow-sm); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 3px solid var(--brand); cursor: grab; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }

/* ---------- Cards grid (orgs / values / programs) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 4px; }
.card .ico .icon { width: 23px; height: 23px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; padding-top: 6px; font-size: .9rem; }
.card > .link-arrow::after, .card h3 > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.band .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.band .card:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.band .card p { color: #bccdea; }
.band .card .ico { background: rgba(246, 185, 59, .16); color: var(--amber); }
.band .card .link-arrow { color: var(--amber); }
.card.featured { background: var(--accent); border-color: var(--accent); }
.card.featured p { color: #dbe8fb; }
.card.featured .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.card.featured .link-arrow { color: #fff; }
@media (max-width: 1040px) { .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- States ---------- */
.state-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.state-tile { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.state-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.state-tile .abbr { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; transition: background .2s, color .2s; flex: none; }
.state-tile:hover .abbr { background: var(--brand); color: #fff; }
.state-tile b { display: block; font-size: 1.02rem; line-height: 1.25; }
.state-tile span { font-size: .85rem; color: var(--muted); }
@media (max-width: 980px) { .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .state-grid { grid-template-columns: 1fr; } }

/* ---------- Promises ---------- */
.promise { background: var(--bg-2); border-radius: 26px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.promise .q { font-family: var(--font-display); font-size: 4rem; line-height: .7; color: var(--brand); height: 30px; }
.promise h3 { font-size: 1.5rem; }
.promise p { color: var(--ink-2); font-size: .97rem; }
.promise:nth-child(2) { background: var(--tint); }
.promise:nth-child(3) { background: var(--amber-100); }

/* ---------- Referral banner ---------- */
.banner { border-radius: 32px; background: linear-gradient(135deg, #0f5fcb, #183574); color: #fff; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.banner::before { content: ""; position: absolute; right: -60px; top: -90px; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .16); z-index: -1; }
.banner::after { content: ""; position: absolute; right: 140px; bottom: -150px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(10, 31, 68, .08); z-index: -1; }
.banner h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.banner p { margin-top: 12px; font-size: 1.05rem; color: #dbe8fb; max-width: 52ch; }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 1.25rem; font-weight: 500; flex: none; transition: transform .25s, background .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; margin-inline: auto; }
.cta-final h2 em { color: var(--amber); }
.cta-final p { color: #cad8f0; font-size: 1.12rem; margin: 18px auto 0; max-width: 52ch; }
.cta-final .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #051230; color: #b3c4e2; padding: 64px 0 92px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.site-footer .logo-full { height: 62px; }
.parent-link { color: var(--bg); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-about { margin-top: 18px; max-width: 36ch; line-height: 1.65; }
.footer-contact { margin-top: 18px; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; gap: 9px; align-items: flex-start; line-height: 1.45; color: var(--bg); font-weight: 600; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--amber); margin-top: 3px; }
.site-footer h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: #8ea3c8; font-weight: 800; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a:hover { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: #8497ba; }
.demo-pill { border: 1px dashed rgba(255, 255, 255, .28); border-radius: 999px; padding: 2px 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(219, 232, 251, .95), rgba(219, 232, 251, 0)); z-index: -1; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); max-width: 18ch; }
.page-hero h1 em { color: var(--brand); }
.page-hero .lead { margin-top: 18px; }

/* ---------- Jobs page ---------- */
.search-bar { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.search-bar .input, .search-bar .select { border-color: transparent; background-color: var(--bg); }
.search-input { position: relative; }
.search-input .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.search-input .input { padding-left: 42px; }
@media (max-width: 860px) { .search-bar { grid-template-columns: 1fr 1fr; } .search-bar .search-input, .search-bar .btn { grid-column: 1 / -1; } }

.jobs-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 96px; }
.filters { position: sticky; top: 100px;background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 24px; max-height: calc(100vh - 116px); overflow: auto; }
.filters h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 12px; }
.filters .check { padding: 4px 0; align-items: center; font-weight: 600; }
.filters .check input { margin-top: 0; }
.filters .check em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--faint); font-weight: 600; }
.filters .chip { padding: 6px 12px; font-size: .82rem; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head b { font-family: var(--font-display); font-size: 1.25rem; }
.linkish { border: 0; background: none; padding: 0; color: var(--brand-700); font-weight: 700; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.filters-toggle { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h2 { font-size: 1.7rem; }
.results-head .select { width: auto; padding-block: 10px; font-size: .9rem; }
.active-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill-x { display: inline-flex; align-items: center; gap: 6px; background: var(--tint); color: var(--brand-700); font-weight: 700; font-size: .82rem; border: 0; border-radius: 999px; padding: 6px 8px 6px 12px; }
.pill-x .icon { width: 14px; height: 14px; }
.pill-x:hover { background: #c5daf8; }
.job-list { display: grid; gap: 12px; }
.job-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.job-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.job-row h3 { font-size: 1.22rem; margin: 4px 0 10px; }
.job-row h3 button { border: 0; background: none; padding: 0; font: inherit; letter-spacing: inherit; text-align: left; color: inherit; }
.job-row h3 button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-row .side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.job-row .job-pay { justify-content: flex-end; }
.job-row .job-pay b { font-size: 1.5rem; }
.save { position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; color: var(--muted); transition: color .15s, border-color .15s, background .15s; }
.save .icon { width: 17px; height: 17px; }
.save:hover { border-color: var(--accent); color: var(--accent-700); }
.save[aria-pressed="true"] { background: var(--accent-100); border-color: transparent; color: var(--accent-700); }
.save[aria-pressed="true"] .icon { fill: currentColor; }
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }
.more-wrap { text-align: center; margin-top: 26px; }
.more-wrap p { font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 960px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.show { display: grid; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .job-row { grid-template-columns: 1fr; }
  .job-row .side { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .job-row .job-pay { justify-content: flex-start; }
}

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(5, 18, 48, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--bg); z-index: 100; transform: translateX(102%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); }
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--ink); }
.drawer-body { flex: 1; overflow: auto; padding: 26px 26px 30px; }
.drawer-body h2 { font-size: 1.9rem; margin: 8px 0 14px; }
.d-pay { background: var(--brand-900); color: var(--bg); border-radius: 20px; padding: 20px 22px; margin: 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.d-pay small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #9fc0f0; }
.d-pay b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--amber); }
.d-pay div:not(:first-child) b { color: var(--bg); }
.d-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.d-facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.d-facts small { display: block; font-size: .72rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.d-facts b { font-size: .96rem; }
.drawer-body h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 800; margin: 24px 0 10px; }
.drawer-body .bullets li { position: relative; padding: 5px 0 5px 26px; color: var(--ink-2); }
.drawer-body .bullets li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); background: var(--paper); display: flex; gap: 10px; align-items: center; }
.drawer-foot .btn-primary { flex: 1; }
.back-btn { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-weight: 700; color: var(--brand-700); margin-bottom: 18px; }
.back-btn .icon { transform: rotate(180deg); width: 16px; height: 16px; }
@media (max-width: 520px) { .d-pay { grid-template-columns: 1fr 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- Facilities page ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pillar { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-weight: 700; }
.pillar .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.pillar small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
@media (max-width: 1040px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

.match-demo { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); }
.match-demo h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 14px; }
.cand { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cand:first-of-type { border-top: 0; }
.cand b { display: block; line-height: 1.3; }
.cand small { color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #5aa2f5); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.cand .fit { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--brand-700); }
.match-demo .human { margin-top: 16px; display: flex; gap: 12px; align-items: center; background: var(--amber-100); border-radius: 14px; padding: 12px 14px; font-size: .9rem; font-weight: 600; color: #6b4700; }

.request { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); }
.progress { display: flex; gap: 8px; margin-bottom: 26px; }
.progress i { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-2); transition: background .3s; }
.progress i.on { background: var(--accent); }
.step-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.request h3 { font-size: 1.7rem; margin: 6px 0 20px; }
.request .chips { margin-bottom: 22px; }
.request .chip { padding: 10px 16px; font-size: .92rem; }
.request-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.counter { display: inline-flex; align-self: flex-start; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.counter button { width: 46px; height: 48px; border: 0; background: var(--bg); font-size: 1.3rem; font-weight: 700; }
.counter button:hover { background: var(--tint); }
.counter output { min-width: 56px; text-align: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.summary { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 20px auto 0; text-align: left; max-width: 460px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: .92rem; }
.summary div + div { border-top: 1px dashed var(--line); }
.summary span { color: var(--muted); }
.summary b { text-align: right; }
.error-msg { color: #c0392b; font-weight: 700; font-size: .88rem; margin-top: 10px; min-height: 1.3em; }

.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-weight: 600; }
.checklist .icon { width: 18px; height: 18px; color: var(--brand-700); background: var(--tint); border-radius: 50%; padding: 4px; box-sizing: content-box; margin-top: 1px; }
.band .checklist .icon { background: rgba(246, 185, 59, .18); color: var(--amber); }
.checklist small { display: block; font-weight: 500; color: var(--muted); }
.band .checklist small { color: #b6c8e8; }

/* ---------- About page ---------- */
.mutex-card { background: var(--brand-900); color: var(--bg); border-radius: 30px; padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; isolation: isolate; }
.mutex-card::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: #3b8cff; filter: blur(120px); opacity: .3; right: -100px; bottom: -120px; z-index: -1; }
.mutex-card code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .9rem; display: block; background: rgba(0, 0, 0, .28); border-radius: 14px; padding: 16px 18px; color: #d3e2fa; line-height: 1.8; margin: 20px 0; white-space: pre-wrap; }
.mutex-card code b { color: var(--amber); font-weight: 600; }
.mutex-card code i { color: #86a0cc; font-style: normal; }
.mutex-card p { color: #cad8f0; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); font-size: 1.06rem; }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; font-weight: 700; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--tint); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.contact-list small { display: block; font-weight: 500; color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }

/* ---------- Match assistant ---------- */
.assist-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; padding: 14px 20px 14px 16px; box-shadow: 0 18px 40px -14px rgba(10, 31, 68, .7); transition: transform .18s, background .18s; }
.assist-fab:hover { transform: translateY(-2px); background: var(--brand-700); }
.assist-fab .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.assist-fab .dot .icon { width: 16px; height: 16px; }
.assist { position: fixed; right: 22px; bottom: 22px; z-index: 85; width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100vh - 44px)); background: var(--bg); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(10, 31, 68, .6); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; transition: opacity .22s, transform .22s; transform-origin: bottom right; }
.assist.show { opacity: 1; transform: none; pointer-events: auto; }
.assist-head { background: var(--brand-900); color: var(--bg); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.assist-head .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.assist-head b { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.assist-head small { color: #9fc0f0; font-size: .78rem; }
.assist-head button { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--bg); display: grid; place-items: center; }
.assist-head button:hover { background: rgba(255, 255, 255, .22); }
.assist-log { flex: 1; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .93rem; line-height: 1.45; animation: msgIn .28s ease both; }
.msg.bot { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--brand); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; font-weight: 600; }
.msg.typing { display: inline-flex; gap: 4px; padding: 15px 16px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
.assist-opts { display: flex; flex-wrap: wrap; gap: 7px; animation: msgIn .28s ease both; }
.assist-opts .chip { font-size: .84rem; padding: 7px 12px; border-color: var(--brand); color: var(--brand-700); }
.assist-opts .chip:hover { background: var(--brand); color: #fff; }
.mini-job { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; animation: msgIn .28s ease both; transition: border-color .15s, transform .15s; }
.mini-job:hover { border-color: var(--brand); transform: translateX(2px); }
.mini-job b { display: block; font-size: .93rem; line-height: 1.3; }
.mini-job span { font-size: .8rem; color: var(--muted); }
.mini-job em { float: right; font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--brand-700); margin-left: 10px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 560px) { .assist-fab span.lbl { display: none; } .assist-fab { padding: 12px; } .assist { right: 12px; bottom: 12px; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .header-inner { height: 68px; }
  .logo-full { height: 40px; }
}

/* ---------- Dropdown navigation ---------- */
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; white-space: nowrap; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-link .icon { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { background: var(--bg-2); color: var(--ink); }
.nav-link.active { color: var(--brand-700); background: var(--tint); }
.nav-item:hover .nav-link .icon, .nav-item:focus-within .nav-link .icon { transform: rotate(180deg); }
.menu { position: absolute; top: 100%; left: -14px; padding-top: 18px; z-index: 70; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.nav-item.right .menu { left: auto; right: -14px; }
.nav-item:hover .menu, .nav-item:focus-within .menu { visibility: visible; opacity: 1; transform: none; }
.menu-inner { display: grid; grid-auto-flow: column; gap: 10px 22px; width: max-content; max-width: calc(100vw - 48px); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px 18px 18px; box-shadow: 0 30px 60px -24px rgba(10, 31, 68, .4); }
.menu h5 { font-family: var(--font-body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 800; margin: 0 0 8px 10px; }
.menu a { display: block; padding: 7px 10px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.menu a small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); margin-top: 1px; }
.menu a:hover { background: var(--tint-2); color: var(--brand-700); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a.topbar-phone { color: #cfdcf2; display: inline-flex; align-items: center; gap: 6px; }
.topbar-phone .icon { width: 13px; height: 13px; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-weight: 700; font-size: 1.05rem; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary::after { content: "+"; font-weight: 500; font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
.m-group[open] summary::after { transform: rotate(45deg); }
.m-group a { display: block; padding: 9px 14px; font-weight: 600; color: var(--ink-2); }
.m-group a:last-child { margin-bottom: 10px; }
.mobile-panel { max-height: calc(100vh - 110px); overflow: auto; }
@media (max-width: 700px) { .topbar-phone { display: none !important; } }

/* ---------- Content pages ---------- */
.section.pt-0 { padding-top: 0; }
.section.pt-s { padding-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { opacity: .5; }
.crumbs b { color: var(--ink); font-weight: 700; }
.page-hero .split { align-items: center; }
a.chip { display: inline-flex; align-items: center; }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip-check span { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background .15s, border-color .15s, color .15s; }
.chip-check input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.field > .chips { margin-top: 2px; }

.stat-card { background: var(--brand-900); color: var(--bg); border-radius: 28px; padding: 28px; position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 40px 70px -40px rgba(7, 26, 63, .7); }
.stat-card::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #3b8cff; filter: blur(110px); opacity: .3; right: -110px; top: -120px; z-index: -1; }
.stat-card h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: #9fc0f0; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.stat-big { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stat-big b { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--amber); font-weight: 600; letter-spacing: -.03em; }
.stat-big span { color: #cad8f0; font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); }
.stat-grid small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9fc0f0; }
.stat-grid b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

.panel-title { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 12px; }
.panel .checklist li { padding: 7px 0; }

.article-wrap { max-width: 780px; margin-inline: auto; }
.article-wrap.with-aside { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.article-wrap.with-aside > aside { position: sticky; top: 108px; }
.article h2 { font-size: 1.65rem; margin: 38px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article p { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; }
.article .article-lead { font-size: 1.2rem; color: var(--ink); margin-top: 0; }
.article ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.article ul li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 1.04rem; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
@media (max-width: 900px) { .article-wrap.with-aside { grid-template-columns: 1fr; } .article-wrap.with-aside > aside { position: static; } }
.post-card .tag { align-self: flex-start; }
.post-card h3 { font-size: 1.3rem; }
.post-meta { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 700; color: var(--faint); }

.draft-note { display: flex; gap: 10px; align-items: flex-start; border: 1.5px dashed #d99a1c; background: var(--amber-100); color: #6b4700; border-radius: 14px; padding: 12px 16px; font-size: .9rem; font-weight: 500; }
.draft-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.note-row { margin-bottom: 44px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.timeline li, .person { background: var(--paper); border: 1.5px dashed var(--line-2); border-radius: 20px; padding: 22px; }
.timeline b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--brand); margin-bottom: 6px; }
.timeline span, .person span { color: var(--muted); font-size: .93rem; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person .avatar { width: 64px; height: 64px; background: var(--tint); color: var(--brand-700); margin-bottom: 14px; }
.person b { display: block; font-size: 1.05rem; }
.person small { display: block; color: var(--brand-700); font-weight: 700; margin-bottom: 8px; }
@media (max-width: 980px) { .timeline, .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .timeline, .people { grid-template-columns: 1fr; } }
a.pillar { transition: transform .2s, box-shadow .2s, border-color .2s; }
a.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

/* ---------- Guess the pay ---------- */
.guess { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--brand-900); color: var(--bg); border-radius: 32px; padding: clamp(26px, 4.5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.guess::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #3b8cff; filter: blur(130px); opacity: .32; left: -140px; bottom: -200px; z-index: -1; }
.guess::after { content: "?"; position: absolute; right: 44%; top: -70px; font-family: var(--font-display); font-weight: 700; font-size: 420px; line-height: 1; color: rgba(255, 255, 255, .045); z-index: -1; pointer-events: none; }
.guess h2 em { color: var(--amber); }
.guess-q > p { color: #cad8f0; font-size: 1.08rem; margin-top: 14px; max-width: 44ch; }
.guess-progress { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-size: .84rem; font-weight: 700; color: #9fc0f0; }
.guess-progress i { width: 34px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .3s; }
.guess-progress i.on { background: var(--amber); }
.guess-progress i.done { background: #5aa2f5; }
.guess-progress span { margin-left: 6px; }
.guess-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); min-height: 330px; display: flex; flex-direction: column; }
.g-job h3 { font-size: 1.5rem; margin: 6px 0 12px; }
.g-ask { font-weight: 800; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.g-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g-opt { border: 1.5px solid var(--line-2); background: var(--paper); border-radius: 16px; padding: 16px 6px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; transition: transform .15s, border-color .15s, background .15s, color .15s, box-shadow .15s; }
.g-opt:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.g-opt:disabled { cursor: default; color: var(--faint); }
.g-opt.right { background: #e3f6ee; border-color: #12a67c; color: #0a6b50; animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.g-opt.wrong { background: #fdecea; border-color: #e0786c; color: #a93226; text-decoration: line-through; }
.g-result { margin-top: 16px; }
.g-result p { color: var(--ink-2); }
.g-result b { color: var(--ink); }
.g-next { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.g-score { margin: auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.g-score > b { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--brand); letter-spacing: -.03em; }
.g-score > b small { font-size: 1.4rem; color: var(--muted); letter-spacing: 0; font-family: var(--font-body); font-weight: 600; }
.g-score h3 { max-width: 22ch; }
.g-score .g-next { justify-content: center; margin-top: 6px; }
@media (max-width: 860px) { .guess { grid-template-columns: 1fr; } .guess::after { right: -20px; font-size: 300px; } }
@media (max-width: 420px) { .g-opt { font-size: 1.1rem; padding: 14px 2px; } }

/* ---------- US jobs map ---------- */
.usmap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: clamp(22px, 4vw, 52px); align-items: center; }
.usmap-svg { width: 100%; height: auto; display: block; overflow: visible; }
.usmap-svg .st { cursor: pointer; outline: none; }
.usmap-svg .st path, .usmap-svg .st rect { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; transition: fill .15s; }
.usmap-svg .l1 path, .usmap-svg .l1 rect, .usmap-legend .l1 { fill: #dfe9f8; background: #dfe9f8; }
.usmap-svg .l2 path, .usmap-svg .l2 rect, .usmap-legend .l2 { fill: #bcd4f6; background: #bcd4f6; }
.usmap-svg .l3 path, .usmap-svg .l3 rect, .usmap-legend .l3 { fill: #8cb4ee; background: #8cb4ee; }
.usmap-svg .l4 path, .usmap-svg .l4 rect, .usmap-legend .l4 { fill: #4788e0; background: #4788e0; }
.usmap-svg .l5 path, .usmap-svg .l5 rect, .usmap-legend .l5 { fill: #0f5fcb; background: #0f5fcb; }
.usmap-svg .st:hover path, .usmap-svg .st:hover rect, .usmap-svg .st:focus-visible path, .usmap-svg .st:focus-visible rect, .usmap-svg .st.on path, .usmap-svg .st.on rect { fill: var(--amber); }
.usmap-svg text { font-family: var(--font-body); font-size: 15px; font-weight: 800; text-anchor: middle; fill: var(--ink); pointer-events: none; }
.usmap-labels text.l4, .usmap-labels text.l5, .usmap-chips .l4 text, .usmap-chips .l5 text { fill: #fff; }
.usmap-chips .st:hover text, .usmap-chips .st.on text { fill: var(--ink); }
.usmap-lines path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.usmap-legend { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.usmap-legend i { width: 26px; height: 12px; border-radius: 4px; display: block; }
.usmap-legend span:first-child { margin-right: 4px; }
.usmap-legend span:last-child { margin-left: 4px; }
.usmap-info { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.usmap-info > small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.usmap-info h3 { font-size: 1.7rem; margin-top: 6px; }
.usmap-big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.usmap-big b { font-family: var(--font-display); font-size: 3.4rem; line-height: 1.1; color: var(--brand); letter-spacing: -.03em; }
.usmap-big span { color: var(--muted); font-weight: 600; }
.usmap-info dl { margin: 14px 0 20px; }
.usmap-info dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .93rem; }
.usmap-info dt { color: var(--muted); }
.usmap-info dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 900px) { .usmap { grid-template-columns: 1fr; } }
.usmap-select { display: none; margin-top: 16px; }
/* on phones the labels are too small to read and the small states too small to tap: offer a list instead */
@media (max-width: 700px) { .usmap-labels, .usmap-chips, .usmap-lines { display: none; } .usmap-select { display: block; } }

/* ---------- Match lock (hero) ---------- */
.mlock { min-height: 0; }
.mlock .stage-label { margin-bottom: 6px; }
.mlock-top { display: grid; place-items: center; margin-bottom: -20px; color: #8fb3ee; transition: color .3s; }
.mlock-shackle { width: 112px; overflow: visible; }
.mlock-shackle path { transform-origin: 94px 76px; transition: transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.mlock.open .mlock-top { color: var(--amber); }
.mlock.open .mlock-shackle path { transform: translateY(-10px) rotate(26deg); }
.mlock-body { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px; padding: 16px 14px 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reels { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 10px; }
.reel { display: flex; flex-direction: column; gap: 4px; text-align: center; min-width: 0; }
.reel-cap { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9fc0f0; }
.reel-btn { height: 26px; border: 0; background: transparent; color: #9fc0f0; border-radius: 8px; display: grid; place-items: center; transition: background .15s, color .15s; }
.reel-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.reel-btn .icon { width: 18px; height: 18px; }
.reel-btn[data-dir="-1"] .icon { transform: rotate(180deg); }
.reel-window { position: relative; height: 132px; overflow: hidden; border-radius: 14px; background: #061433; box-shadow: inset 0 14px 18px -10px #000, inset 0 -14px 18px -10px #000; cursor: pointer; }
.reel-window::after { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 44px; border-block: 1.5px solid rgba(246, 185, 59, .8); background: rgba(246, 185, 59, .09); pointer-events: none; }
.reel-strip span { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 6px; font-weight: 700; font-size: .86rem; line-height: 1.15; color: #6583b8; transition: color .2s, transform .2s; }
.reel-strip span.on { color: #fff; transform: scale(1.07); }
.mlock-count { text-align: center; margin-top: 12px; color: #cad8f0; font-size: .92rem; }
.mlock-count b { font-family: var(--font-display); font-size: 1.55rem; color: var(--amber); margin-right: 4px; }
.mlock-result { position: relative; margin-top: 14px; }
.mlock-card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 16px 18px; box-shadow: 0 24px 46px -22px rgba(0, 0, 0, .65); }
.mlock-card h4 { font-size: 1.3rem; margin-bottom: 4px; }
.mlock-card.locked > * { filter: blur(7px); -webkit-user-select: none; user-select: none; }
.mlock.open .mlock-card { animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.mlock-veil { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--ink); font-weight: 800; font-size: .86rem; padding: 9px 16px; border-radius: 999px; box-shadow: 0 0 0 6px rgba(246, 185, 59, .22); animation: pulse 2.4s ease-in-out infinite; }
.mlock-veil .icon { width: 16px; height: 16px; }
.mlock-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.mlock-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mlock-actions .btn { flex: 1 1 auto; }
.mlock.shake .mlock-body { animation: shake .42s; }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@media (max-width: 420px) { .reel-strip span { font-size: .76rem; } .reels { gap: 6px; } }

/* ---------- Skill stack ---------- */
.skills { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.skills-pick { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 22px; box-shadow: var(--shadow-sm); }
.skill { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 14px; font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: background .15s, border-color .15s, color .15s, transform .15s; }
.skill:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-1px); }
.skill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.skill em { font-style: normal; font-size: .72rem; font-weight: 800; background: var(--amber-100); color: #7a5200; border-radius: 999px; padding: 2px 7px; }
.skill em:empty { display: none; }
.skill[aria-pressed="true"] em { display: none; }
.skills-out { position: sticky; top: 104px; background: var(--brand-900); color: var(--bg); border-radius: 26px; padding: 28px 26px; text-align: center; overflow: hidden; isolation: isolate; box-shadow: 0 40px 70px -40px rgba(7, 26, 63, .7); }
.skills-out::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #3b8cff; filter: blur(110px); opacity: .3; right: -120px; top: -130px; z-index: -1; }
.ring { position: relative; width: 168px; height: 168px; margin: 0 auto 10px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: rgba(255, 255, 255, .13); }
.ring .bar { stroke: var(--amber); stroke-linecap: round; transition: stroke-dashoffset .7s cubic-bezier(.2, .8, .2, 1); }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; }
.ring-center b { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.ring-center span { font-size: .8rem; color: #9fc0f0; font-weight: 600; margin-top: 4px; }
.skills-num { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.skills-num b { font-family: var(--font-display); font-size: 3rem; line-height: 1.1; color: var(--amber); letter-spacing: -.03em; }
.skills-num span { color: #cad8f0; font-weight: 600; }
.skills-out dl { margin: 12px 0 0; text-align: left; }
.skills-out dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px dashed rgba(255, 255, 255, .18); font-size: .93rem; }
.skills-out dt { color: #9fc0f0; }
.skills-out dd { margin: 0; font-weight: 700; }
.skills-tip { background: rgba(246, 185, 59, .13); color: #fbe6b4; border-radius: 14px; padding: 11px 14px; font-size: .92rem; margin: 14px 0; }
.skills-tip .linkish { color: var(--amber); font-size: inherit; }
.skills-browse { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; color: #cad8f0; text-decoration: underline; text-underline-offset: 3px; }
.skills-browse:hover { color: #fff; }
@media (max-width: 900px) {
  .skills { grid-template-columns: 1fr; }
  /* on small screens the result rides along at the top, trimmed to the number and the next-skill tip */
  .skills-out { order: -1; position: sticky; top: 76px; z-index: 5; padding: 14px 16px; border-radius: 20px; }
  .skills-out .ring, .skills-out dl, .skills-browse { display: none; }
  .skills-num b { font-size: 2.2rem; }
  .skills-tip { margin: 8px 0 10px; padding: 8px 12px; }
  .skills-out .btn { padding-block: .7em; }
}

/* ---------- Two versions of the home page ---------- */
body[data-aud="facility"] [data-for="clinician"],
body[data-aud="clinician"] [data-for="facility"] { display: none !important; }

/* Hiring creative: the coverage board */
.cboard { min-height: 0; }
.cb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.cb-stats small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9fc0f0; }
.cb-stats b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; color: var(--amber); letter-spacing: -.02em; }
.cb-meter { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; margin: 10px 0 18px; }
.cb-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #5aa2f5, var(--amber)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.cb-grid { display: grid; grid-template-columns: auto repeat(7, minmax(0, 1fr)); gap: 7px; align-items: center; }
.cb-day { text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9fc0f0; }
.cb-shift { font-size: .74rem; font-weight: 700; color: #cad8f0; padding-right: 6px; }
.cb-cell { display: grid; place-items: center; aspect-ratio: 1; min-height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #cad8f0; font-size: .74rem; font-weight: 800; border: 1.5px solid transparent; }
.cb-cell.open { background: rgba(246, 185, 59, .12); border: 1.5px dashed var(--amber); color: var(--amber); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; animation: pulse 2.4s ease-in-out infinite; }
.cb-cell.open:hover { background: var(--amber); color: var(--ink); }
.cb-cell.new { background: #2f7fe6; color: #fff; border-color: #8fc0ff; animation: pop .45s cubic-bezier(.2, 1.4, .4, 1); }
.cb-log { margin-top: 16px; min-height: 2.9em; font-size: .92rem; color: #cad8f0; }
@media (max-width: 420px) { .cb-grid { gap: 4px; } .cb-cell { border-radius: 8px; min-height: 30px; font-size: .64rem; } .cb-cell.open { font-size: 0; } .cb-shift { font-size: .66rem; } }

/* Hiring: sample shortlist and demand cards */
.slist-roles { margin-top: 22px; }
.slist .slist-roles .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--bg); }
.slist .slist-roles .chip:hover { border-color: #fff; color: #fff; }
.slist .slist-roles .chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.slist-note { font-size: .8rem; color: var(--faint); margin: 12px 0 14px; }
.demand-top { display: flex; align-items: baseline; gap: 10px; }
.demand-top b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--brand); letter-spacing: -.03em; }
.demand-top span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.demand-card .bar { margin-top: 0; }
.demand-card dl { margin: 0; }
.demand-card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.demand-card dt { color: var(--muted); }
.demand-card dd { margin: 0; font-weight: 700; }
.guess.slist::after { content: none; }

/* ---------- Plain link lists for visitors and crawlers without JavaScript ---------- */
.js .nojs-nav { display: none; }
.nojs-nav { width: min(1200px, 100% - 48px); margin: 16px auto; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }
.nojs-nav a { text-decoration: underline; text-underline-offset: 3px; }
.nojs-foot { display: block; border-top: 1px solid var(--line); padding-top: 20px; font-size: .92rem; }
.nojs-foot p { margin-bottom: 12px; }
.nojs-foot a { margin-right: 14px; display: inline-block; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 980px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Job cards with a picture header ---------- */
.job-card.jc { padding: 0; gap: 0; overflow: hidden; }
.jc-photo { position: relative; aspect-ratio: 400 / 170; background: var(--brand-900); overflow: hidden; }
.jc-photo svg, .jc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.jc-photo:has(img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 18, 48, 0) 45%, rgba(5, 18, 48, .72)); }
.jc-loc { position: absolute; left: 20px; bottom: 14px; right: 16px; z-index: 1; color: #fff; font-weight: 800; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(5, 18, 48, .6); }
.jc-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 18px; flex: 1; }
.jc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.jc-top h3 { font-size: 1.22rem; }
.jc-pay { text-align: right; flex: none; display: flex; flex-direction: column; line-height: 1.3; }
.jc-pay small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.jc-pay b { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand); letter-spacing: -.01em; }
.jc-pay span { font-size: .84rem; color: var(--muted); font-weight: 600; }
.jc-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.jc-id { margin-top: auto; padding-top: 2px; font-size: .8rem; color: var(--faint); font-weight: 600; }

/* ---------- Photo credits page ---------- */
.credits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.credit { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .86rem; }
.credit img { width: 100%; height: auto; display: block; }
.credit div { padding: 12px 14px 14px; display: grid; gap: 3px; }
.credit b { font-size: .95rem; }
.credit span { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 1040px) { .credits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .credits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .credits { grid-template-columns: 1fr; } }

/* The header is drawn by script: hold its space so the content below does not shift when it arrives */
.js #site-header { min-height: 118px; }
@media (max-width: 960px) { .js #site-header { min-height: 126px; } }

.form-error { margin: 14px 0 0; }
.d-pay small { line-height: 1.35; margin-bottom: 2px; }

/* ---------- Staffing page intro ---------- */
.staff-intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.staff-intro .prose p { font-size: 1.14rem; line-height: 1.7; }
.expect h3 { font-size: 1.5rem; margin-bottom: 10px; }
.expect .checklist li { padding: 9px 0; font-weight: 500; font-size: 1.02rem; }
.expect-pay { color: var(--muted); font-size: .95rem; margin: 10px 0 18px; }
.expect-pay b { color: var(--brand-700); }
.expect .btn + .btn { margin-top: 12px; }
@media (max-width: 900px) { .staff-intro { grid-template-columns: 1fr; } }

/* ---------- Plainer headings ----------
   An italic, coloured second half on almost every heading and a small uppercase label above every
   section are the two habits that make a page look generated. Keep both only where they earn it:
   the italic accent on the main page headline, and labels on page intros and the dark panels. */
h1 em, h2 em, h2 .accent { font-style: normal; color: inherit; }
.hero h1 em { font-style: italic; color: var(--brand); }
.section-head .eyebrow { display: none; }
.cta-final h2 em { color: var(--amber); }

/* ---------- Photos of people (version 2) ----------
   Heroes with a photo: the picture fills the band behind a navy wash and the text turns white.
   The home page opens with a full-width team photo and three cards overlapping its lower edge. */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

/* Inner pages: the photo sits sharp in a rounded frame, never under a wash */
.page-hero.has-photo { padding-bottom: clamp(44px, 6vw, 72px); }
.hero-figure { margin: 0; border-radius: 28px; overflow: hidden; background: var(--bg-2); box-shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 30px 60px -30px rgba(10, 31, 68, .45); position: relative; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(10, 31, 68, .06); pointer-events: none; }
.hero-figure-side { aspect-ratio: 5 / 4; }
.page-hero.has-photo .split { align-items: stretch; }
.page-hero.has-photo .split > div:first-child { align-self: center; }
.hero-figure-tall { aspect-ratio: auto; min-height: 460px; }
.hero-side-in { margin-top: 30px; max-width: 560px; }
@media (max-width: 900px) { .hero-figure-side, .hero-figure-tall { order: -1; aspect-ratio: 16 / 10; min-height: 0; } }

/* Home: full-width team photo */
.home-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-900); color: #fff; text-align: center;
  min-height: min(78vh, 720px); display: grid; align-items: center; padding: clamp(72px, 10vw, 128px) 0 clamp(120px, 13vw, 170px); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 26, 63, .55) 0%, rgba(7, 26, 63, .62) 55%, rgba(7, 26, 63, .82) 100%); }
.home-hero .eyebrow { justify-content: center; }
.home-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; margin: 0 auto 18px; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.home-hero h1 em { display: block; font-style: italic; color: #bcd6fb; }
.home-hero .lead { color: rgba(255, 255, 255, .92); margin: 0 auto 28px; max-width: 54ch; font-weight: 600; text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.home-hero .cta-row { justify-content: center; }
.hero-proof { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero-proof b { color: #fff; }

.hero-doors { position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 9vw, 110px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.door:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(10, 31, 68, .06), 0 26px 50px -22px rgba(10, 31, 68, .38); }
.door-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.door-icon .icon { width: 26px; height: 26px; }
.door b { display: block; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; margin-bottom: 6px; }
.door small { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .hero-doors { grid-template-columns: 1fr; gap: 12px; } .door { padding: 18px; } }

/* The hiring / clinician tools now sit below the photo hero */
.hero-tools { padding-top: clamp(48px, 6vw, 80px); }
.hero-tools h2.h1 { margin: 2px 0 18px; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.hero-tools h2.h1 em { font-style: italic; color: var(--brand); display: block; }

/* Photo beside text, and the strip of people */
.photo-frame { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--bg-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 9px 14px; border-radius: 999px; }
.photo-frame figcaption .icon { width: 16px; height: 16px; color: var(--brand); }
.photo-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .photo-split { grid-template-columns: 1fr; } .photo-frame { aspect-ratio: 4 / 3; } }
.people-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.people-strip figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-2); }
.people-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.people-strip figure:hover img { transform: scale(1.04); }
.people-strip figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; background: linear-gradient(180deg, transparent, rgba(7, 26, 63, .85)); }
@media (max-width: 700px) { .people-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Blog cards and credits */
.post-photo { width: calc(100% + 2 * var(--card-pad, 26px)); max-width: none; aspect-ratio: 16 / 10; object-fit: cover; display: block; margin: calc(-1 * var(--card-pad, 26px)) calc(-1 * var(--card-pad, 26px)) 16px; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.credits-head { font-size: 1.6rem; margin: 8px 0 6px; }
.credits-note { color: var(--muted); margin-bottom: 22px; max-width: 70ch; }
.credits + .credits-head { margin-top: 48px; }
.hero-stack { display: grid; gap: 18px; }
.hero-figure-top { aspect-ratio: 16 / 9; }

/* Travel nursing gets a highlighted link in the main menu */
.nav-link.nav-hot { background: var(--amber-100); color: #6b4300; box-shadow: inset 0 0 0 1.5px rgba(246, 185, 59, .75); }
.nav-link.nav-hot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(246, 185, 59, .25); }
.nav-link.nav-hot:hover, .nav-item:hover > .nav-link.nav-hot, .nav-link.nav-hot.active { background: #fbe3a6; color: #4f3100; }
.m-link.m-hot { background: var(--amber-100); color: #6b4300; border-radius: 12px; }

/* ---------- Destination explorer ---------- */
.xp-vibes { margin-bottom: 22px; }
.xp-vibes .chip span { margin-right: 4px; }
.xp-stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: stretch; }
.xp-card { position: relative; margin: 0; border-radius: 28px; overflow: hidden; min-height: 400px; background: var(--brand-900); box-shadow: var(--shadow); }
.xp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, filter .3s; }
.explore:not(.is-spinning) .xp-card:hover .xp-photo { transform: scale(1.04); }
.is-spinning.no-nurse .xp-photo, .is-spinning .xp-pc-photo { filter: blur(2px) saturate(.8); }
.xp-info { position: absolute; inset: auto 0 0 0; padding: 70px 28px 26px; color: #fff; background: linear-gradient(180deg, transparent, rgba(7, 26, 63, .88)); display: grid; gap: 4px; }
.xp-tag { font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.xp-city { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.xp-line { color: rgba(255, 255, 255, .86); font-weight: 600; min-height: 1.6em; }
.xp-side { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm); }
.xp-stats { display: grid; gap: 14px; }
.xp-stats > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.xp-stats small { display: block; color: var(--muted); font-weight: 600; font-size: .86rem; }
.xp-stats b { font-family: var(--font-display); font-size: 2rem; line-height: 1.15; color: var(--ink); }
.xp-actions { display: grid; gap: 10px; margin-top: auto; }
.xp-note { font-size: .8rem; color: var(--faint); margin: 0; }
@media (max-width: 900px) { .xp-stage { grid-template-columns: 1fr; } .xp-card { min-height: 300px; } }

/* ---------- Assignment-style quiz ---------- */
.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); min-height: 340px; }
.qz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qz-step { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); white-space: nowrap; }
.qz-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.qz-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #3b8cff); border-radius: inherit; transition: width .4s ease; }
.qz-q { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 18px; }
.qz-answers { display: grid; gap: 10px; }
.qz-a { text-align: left; font: inherit; font-weight: 600; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.qz-a:hover, .qz-a:focus-visible { border-color: var(--brand); background: var(--tint-2); transform: translateX(3px); outline: none; }
.qz-result h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 8px; }
.qz-result p { color: var(--ink-2); }
.qz-badge { display: inline-block; background: var(--amber-100); color: #6b4300; font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.qz-nums { display: flex; gap: 28px; margin: 18px 0 20px; }
.qz-nums b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.qz-nums small { color: var(--muted); font-weight: 600; }
.qz-result .cta-row { align-items: center; }
.quiz-split { align-items: center; }

/* ---------- Nursing demand facts ---------- */
.facts-band h2 { color: #fff; max-width: 22ch; }
.facts-band h2 em { color: var(--amber); font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.facts > div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 22px; }
.facts b { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.05; color: var(--amber); margin-bottom: 8px; }
.facts span { color: #c8d7f0; font-weight: 600; font-size: .95rem; }
.facts-source { margin: 22px 0 0; font-size: .84rem; color: #9fb3d6; }
.facts-source a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Home specialty cards: a photo across the top, the icon overlapping its lower edge */
.spec-card.has-photo { padding-top: 0; }
.spec-photo { display: block; width: calc(100% + 48px); max-width: none; margin: 0 -24px; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; background: var(--bg-2); transition: transform .5s ease; }
.spec-card.has-photo .num { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 99px; padding: 2px 10px; font-size: .82rem; z-index: 1; }
.spec-card.has-photo:hover .num { background: var(--amber); color: var(--brand-900); }
.spec-card.has-photo .ico { margin-top: -37px; border: 4px solid var(--paper); box-sizing: content-box; position: relative; z-index: 1; }
.spec-card.has-photo:hover .ico { border-color: var(--brand-900); }
.spec-card.has-photo:hover .spec-photo { transform: scale(1.03); }

/* Home: photo beside "How it works", and photos in the closing bands */
.how-photo { margin: 0; width: min(460px, 100%); aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.how-photo img, .cta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-final.has-photo { text-align: left; }
.cta-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cta-final.has-photo h2, .cta-final.has-photo p { margin-inline: 0; }
.cta-final.has-photo .cta-row { justify-content: flex-start; }
.cta-photo { margin: 0; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); background: rgba(255, 255, 255, .06); }
@media (max-width: 900px) { .cta-split { grid-template-columns: 1fr; } .cta-photo { aspect-ratio: 16 / 10; order: -1; } .how-photo { width: 100%; } }

/* Home: a photo on each "open roles" demand card */
.demand-photo { margin: -22px -22px 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-2); }
.demand-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .5s ease; }
.demand-card:hover .demand-photo img { transform: scale(1.04); }

/* ---------- Photo strip further down a page ---------- */
.gallery-sec { padding-top: 0 !important; }
.gallery { display: grid; gap: 16px; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 700; font-size: .88rem; padding: 7px 13px; border-radius: 999px; }
@media (max-width: 760px) { .gallery-3 { grid-template-columns: 1fr 1fr; } .gallery-3 figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* Home: care settings with photos */
.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.setting { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-900); box-shadow: var(--shadow-sm); isolation: isolate; }
.setting-photo, .setting-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.setting-photo img { object-fit: cover; object-position: center 30%; transition: transform .6s ease; }
.setting::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 63, 0) 40%, rgba(7, 26, 63, .88)); }
.setting-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; display: grid; gap: 2px; }
.setting-text b { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.setting-text small { color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 600; }
.setting:hover .setting-photo img { transform: scale(1.05); }
@media (max-width: 860px) { .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .settings-grid { grid-template-columns: 1fr; } .setting { aspect-ratio: 16 / 10; } }

/* Explorer: the city as a postcard on the travel nurse photo */
.xp-photo { object-position: center 30%; }
.xp-postcard { position: absolute; top: 20px; right: 20px; z-index: 2; width: clamp(130px, 24%, 210px); background: #fff; padding: 8px 8px 30px; border-radius: 6px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); transform: rotate(3deg); transition: transform .3s ease; }
.xp-postcard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--bg-2); }
.xp-pc-label { position: absolute; left: 10px; right: 10px; bottom: 7px; font-style: normal; font-weight: 700; font-size: .78rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-spinning .xp-postcard { transform: rotate(-2deg) scale(.97); }
.pc-left .xp-postcard { right: auto; left: 20px; transform: rotate(-3deg); }
.pc-left.is-spinning .xp-postcard { transform: rotate(2deg) scale(.97); }
.no-nurse .xp-postcard { display: none; }
@media (max-width: 560px) { .xp-postcard { top: 12px; right: 12px; width: 120px; padding: 6px 6px 24px; } .pc-left .xp-postcard { left: 12px; } .xp-pc-label { font-size: .7rem; bottom: 5px; } }

/* Spam trap on forms: off screen, people never see it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Staffing services: the box that sends facilities to the request form on the Contact page */
.request-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--brand-900); color: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.request-cta > div:first-child { max-width: 640px; }
.request-cta .eyebrow { color: #9fc0f0; }
.request-cta h2 { color: #fff; }
.request-cta h2 em { color: var(--amber); font-style: italic; }
.request-cta p { color: #c8d7f0; margin-top: 12px; }
.request-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.request-cta .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
