/* Prohire Staffing Corp. — design tokens from brand logo (navy + gold) */
:root {
  --navy-900: #0F2244;
  --navy-800: #1B365D;
  --navy-700: #264676;
  --navy-100: #DCE5F2;
  --navy-50: #EEF3FA;
  --gold-500: #F3C55B;
  --gold-600: #E0AE3C;
  --gold-100: #FDF3D9;
  --ink: #14233C;
  --muted: #52617A;
  --line: #D5DEEB;
  --white: #FFFFFF;
  --danger: #B42318;
  --ok: #067647;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 34, 68, .06), 0 2px 8px rgba(15, 34, 68, .06);
  --shadow-md: 0 8px 28px rgba(15, 34, 68, .12);
  --shadow-lg: 0 24px 60px rgba(15, 34, 68, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; color: var(--navy-800); letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 1000; transition: top .2s; }
.skip:focus { top: 12px; }

/* Icons */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-600); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--navy-50); color: var(--navy-800);
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: var(--r-pill); color: var(--ink); transition: background-color .2s; }
.nav-links a:hover { background: var(--navy-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy-800); }

/* Hero */
.hero { background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, #2C5589 100%); padding: 36px 0 0; position: relative; overflow-x: clip; overflow-y: visible; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 640px; height: 640px; right: -180px; top: -220px; background: radial-gradient(circle, rgba(243,197,91,.30), transparent 68%); }
.hero::after { width: 520px; height: 520px; left: -200px; bottom: -160px; background: radial-gradient(circle, rgba(27,54,93,.12), transparent 70%); }
.hero + .section { padding-top: calc(clamp(64px, 9vw, 112px) + 64px); }
.hero-panel { position: relative; z-index: 1; padding: clamp(16px, 3vw, 40px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: end; }
.hero-copy { padding-bottom: 48px; align-self: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; background: var(--gold-500); z-index: -1; border-radius: 4px; }
.hero h1 em { z-index: 0; }
.hero-copy p.lead { font-size: 1.125rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.photo { margin: 0 0 28px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy-100); }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Search card */
.search-card {
  position: relative; z-index: 3; isolation: isolate; margin-bottom: -64px;
  background: rgba(255,255,255,.9); border-radius: var(--r-md);
  padding: 26px clamp(18px, 3vw, 40px) 30px;
  box-shadow: 0 30px 70px rgba(6,16,38,.45), 0 0 0 1px rgba(255,255,255,.5) inset;
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .2s ease-out; will-change: transform;
}
.tabs { display: inline-flex; gap: 6px; background: var(--navy-50); padding: 5px; border-radius: var(--r-pill); margin-bottom: 18px; }
.tab { border: 0; background: transparent; padding: 10px 20px; min-height: 44px; border-radius: var(--r-pill); font: 600 .95rem var(--font); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.tab:not([aria-selected="true"]):hover { color: var(--navy-800); }
.search-title { font-size: 1.15rem; margin-bottom: 14px; }
.search-row { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--navy-800); }
.field .req { color: var(--danger); }
.control {
  width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font: 500 1rem var(--font); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
textarea.control, .field.area .control { border-radius: var(--r-md); padding: 14px 16px; min-height: 120px; resize: vertical; }
select.control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231B365D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.control:hover { border-color: var(--navy-700); }
.control:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(27,54,93,.15); }
.control[aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .875rem; font-weight: 500; min-height: 0; }
.hint { color: var(--muted); font-size: .85rem; }
.search-row .btn { align-self: end; }
.trends { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: .9rem; }
.trends strong { color: var(--navy-800); }
.pill { border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 8px 16px; min-height: 40px; font: 500 .9rem var(--font); cursor: pointer; color: var(--ink); transition: background-color .2s, border-color .2s; }
.pill:hover { background: var(--navy-50); border-color: var(--navy-700); }

/* Sections */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tint { background: var(--navy-50); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 18px; }
.about-grid p { color: var(--muted); margin-bottom: 24px; max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 22px 0; border-top: 3px solid var(--gold-500); }
.stat .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-50); color: var(--navy-800); display: grid; place-items: center; margin-bottom: 14px; }
.stat b { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy-800); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; display: block; margin-top: 8px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: var(--gold-500); display: grid; place-items: center; margin-bottom: 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card.has-photo { padding: 0; overflow: hidden; }
.card.has-photo > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--navy-100); }
.card-body { padding: 24px 26px 28px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; background: linear-gradient(135deg, var(--navy-50), #E4ECF7); border-radius: var(--r-lg); overflow: hidden; min-height: 280px; }
.duo-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(243,197,91,.45), transparent 70%); pointer-events: none; }
.duo-copy { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.duo-copy h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.duo-copy p { color: var(--muted); font-size: .97rem; margin-bottom: 8px; }
.duo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 140px 0 0 0; }
.jobs { grid-template-columns: repeat(3, 1fr); }
.job { padding: 24px; }
.job .btn { width: 100%; }
.job-meta { flex-direction: column; gap: 8px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: h; }
.how li { position: relative; padding: 28px 26px; border-radius: var(--r-md); background: var(--navy-50); counter-increment: h; }
.how li::before { content: counter(h); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); font-weight: 700; margin-bottom: 18px; }
.how h3 { font-size: 1.15rem; margin-bottom: 8px; }
.how p { color: var(--muted); font-size: .97rem; }
.clinic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.clinic { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--navy-100); }
.clinic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.clinic:hover img { transform: scale(1.04); }
.clinic.big { grid-column: span 2; grid-row: span 2; }
.clinic.wide { grid-column: span 2; }
.clinic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--navy-800); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: var(--r-pill); }
.card ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.card li { font-size: .8rem; font-weight: 600; background: var(--navy-50); color: var(--navy-800); padding: 4px 12px; border-radius: var(--r-pill); }

/* Jobs */
.job-filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 12px; background: #fff; padding: 20px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); margin-bottom: 20px; align-items: end; }
.job-count { margin-bottom: 14px; color: var(--muted); font-weight: 500; }
.jobs { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr; gap: 18px; align-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; transition: box-shadow .2s, border-color .2s; }
.job:hover { box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.job h3 { font-size: 1.15rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .i { width: 17px; height: 17px; color: var(--navy-700); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); background: var(--gold-100); color: #7A5600; margin-left: 8px; vertical-align: middle; letter-spacing: .02em; }
.jobs-empty { text-align: center; padding: 48px 16px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--muted); }
.sample-note { margin-top: 18px; font-size: .85rem; color: var(--muted); }

/* Dialog */
dialog { border: 0; border-radius: var(--r-lg); padding: 0; width: min(100% - 24px, 560px); max-height: 92vh; box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(15,34,68,.6); backdrop-filter: blur(3px); }
.dlg-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 28px 8px; }
.dlg-head h2 { font-size: 1.4rem; }
.dlg-head p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--navy-800); flex: none; }
.icon-btn:hover { background: var(--navy-50); }
dialog form { padding: 12px 28px 28px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.error-summary { display: none; border: 2px solid var(--danger); background: #FEF3F2; border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 20px; }
.error-summary.show { display: block; }
.error-summary h3 { color: var(--danger); font-size: 1rem; margin-bottom: 8px; }
.error-summary a { color: var(--danger); font-weight: 600; }
.form-success { display: none; align-items: start; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: #ECFDF3; color: var(--ok); border: 1px solid #ABEFC6; font-weight: 500; margin-top: 16px; }
.form-success.show { display: flex; }
.form-fail { display: none; padding: 14px 18px; border-radius: var(--r-md); background: #FEF3F2; color: var(--danger); border: 1px solid #FDA29B; font-weight: 500; margin-top: 16px; }
.form-fail.show { display: block; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md); }
.check { display: flex; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--navy-800); flex: none; }

/* Staff request split */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 14px 0 16px; }
.split-copy > p { color: var(--muted); margin-bottom: 28px; }
.ticks { display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: start; }
.ticks .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; flex: none; margin-top: 2px; }
.ticks .ico .i { width: 16px; height: 16px; stroke-width: 2.5; }
.ticks b { display: block; color: var(--navy-800); }
.ticks span { color: var(--muted); font-size: .95rem; }

/* Compliance */
.dark { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p { color: #C5D2E8; }
.dark .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: #C5D2E8; font-size: .94rem; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: .9rem; }
.badge .i { color: var(--gold-500); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border-radius: var(--r-md); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.quote p { font-size: 1.02rem; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); display: grid; place-items: center; font-weight: 700; }
.quote footer b { display: block; color: var(--navy-800); font-size: .95rem; }
.quote footer span { color: var(--muted); font-size: .85rem; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; min-height: 56px; font-weight: 600; color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--gold-500); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-900); max-width: 24ch; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer.site-footer { background: var(--navy-900); color: #C5D2E8; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.foot-grid img { height: 54px; width: auto; margin-bottom: 18px; }
.foot-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: 0; }
.foot-grid a { text-decoration: none; display: inline-block; padding: 5px 0; }
.foot-grid a:hover { color: var(--gold-500); }
.foot-grid li { margin: 2px 0; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-row .btn { grid-column: 1 / -1; }
  .job-filters { grid-template-columns: 1fr 1fr; }
  .job-filters .btn { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-links { position: absolute; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-cta .btn-ghost { display: none; }
  .hero-grid, .about-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .cards, .quotes, .how, .duo { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr 1fr; }
  .clinic-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .clinic.big, .clinic.wide { grid-column: span 2; }
  .clinic.big { grid-row: span 1; }
}
@media (max-width: 600px) {
  .search-row, .job-filters, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr; }
  .duo-card { grid-template-columns: 1fr; }
  .duo-card img { height: 200px; border-radius: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .chip-1 { left: -4px; top: 8%; }
  .chip-2 { right: -4px; top: 30%; }
  .brand img { height: 40px; }
  .nav-cta .btn { padding: 0 16px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 10px 8px; }
}

/* Talent network panel (shown when there are no live listings) */
.talent[hidden] { display: none; }
.talent { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.talent-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 12px; }
.talent-copy p { color: var(--muted); margin-bottom: 24px; max-width: 56ch; }
.talent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.talent-points { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.talent-points li { display: flex; gap: 14px; align-items: start; }
.talent-points .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; flex: none; margin-top: 2px; }
.talent-points .ico .i { width: 16px; height: 16px; stroke-width: 2.5; }
.talent-points b { display: block; color: var(--navy-800); }
.talent-points span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .talent { grid-template-columns: 1fr; } }


/* ===== Hero video background with 3D parallax ===== */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.stage-media { position: absolute; inset: -5%; transform: translate3d(calc(var(--px, 0px) * .35), calc(var(--py, 0px) * .35), 0) scale(1.05); transition: transform .3s ease-out; }
.stage-media::before, .stage-media::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
/* animated glow fallback (shows when the video is missing, still loading, or switched off) */
.stage-media::before { width: 55%; aspect-ratio: 1; left: 6%; top: 0; background: radial-gradient(circle, rgba(243,197,91,.5), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.stage-media::after { width: 50%; aspect-ratio: 1; right: 2%; bottom: -12%; background: radial-gradient(circle, rgba(120,170,235,.45), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(8%, 6%) scale(1.15); } }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; z-index: 1; }
.stage-video.is-ready { opacity: 1; }
/* lighter tint so more video shows; stronger on the left where the headline sits */
.hero-tint { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,24,52,.68) 0%, rgba(10,24,52,.34) 50%, rgba(10,24,52,.05) 100%),
    linear-gradient(180deg, rgba(10,24,52,0) 65%, rgba(10,24,52,.40) 100%); }

/* depth layers: nearer layers move more than the background */
.hero-copy { transform: translate3d(calc(var(--px, 0px) * .55), calc(var(--py, 0px) * .55), 0); transition: transform .3s ease-out; }

/* hero text on dark */
.hero h1 { color: #fff; }
.hero .eyebrow { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.hero-copy p.lead { color: rgba(255,255,255,.88); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-800); }

/* glowing animated edge on the search card */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.search-card::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; padding: 2px; border-radius: calc(var(--r-md) + 2px);
  background: conic-gradient(from var(--ang), var(--gold-500), #78AAEB, #fff, var(--gold-500));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite; pointer-events: none;
}
@keyframes spin { to { --ang: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .stage-media::before, .stage-media::after, .search-card::before { animation: none; }
  .search-card, .stage-media, .hero-copy, .hero-visual { transform: none !important; }
}
@media (max-width: 700px) {
  .search-card, .hero-copy, .hero-visual, .stage-media { transform: none !important; }
  .search-card { margin-bottom: -48px; }
  .hero-tint { background: linear-gradient(180deg, rgba(10,24,52,.7), rgba(10,24,52,.55)); }
}

/* ===== Floating glass labels in the hero (no photo) ===== */
.hero-visual { position: relative; min-height: 360px; }
.chip-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .92rem; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 14px 34px rgba(5,14,34,.35), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translate3d(calc(var(--px, 0px) * var(--d, 1)), calc(var(--py, 0px) * var(--d, 1)), 0);
  transition: transform .3s ease-out;
  animation: float 7s ease-in-out infinite;
}
.chip-float .i { color: var(--gold-500); width: 20px; height: 20px; }
.chip-1 { --d: 1.5; top: 14%; right: 4%; animation-delay: 0s; }
.chip-2 { --d: 1.0; top: 44%; left: 18%; animation-delay: -2.3s; }
.chip-3 { --d: 1.25; top: 72%; right: 16%; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: -1deg; } 50% { translate: 0 -12px; rotate: 1deg; } }
@media (max-width: 900px) {
  .hero-visual { min-height: 0; display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; }
  .chip-float { position: static; animation: none; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) { .chip-float { animation: none; transform: none !important; } }

/* ===== Two-track how it works ===== */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.track { background: var(--navy-50); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.track h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.track h3 .i { color: var(--gold-600); width: 26px; height: 26px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: st; flex: 1; }
.step-list li { position: relative; padding-left: 52px; counter-increment: st; }
.step-list li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); display: grid; place-items: center; font-weight: 700; }
.step-list b { display: block; color: var(--navy-800); }
.step-list span { color: var(--muted); font-size: .96rem; }
.track .btn { align-self: flex-start; }

/* ===== Ways to work with us ===== */
.sub-head { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin: 8px 0 22px; }
.terms-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 14px 18px; border-radius: var(--r-md); background: var(--gold-100); color: #5C4300; font-weight: 600; }
.terms-note .i { color: #8A6400; }

/* FAQ group headings */
.faq-group { font-size: 1.15rem; margin: 22px 0 4px; color: var(--navy-800); }
.faq-group:first-child { margin-top: 0; }

@media (max-width: 900px) { .tracks { grid-template-columns: 1fr; } }

/* ===== Role cards, settings, comparison table (home) ===== */
.cards.roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cards.roles .card { flex: 0 1 calc((100% - 40px) / 3); display: flex; flex-direction: column; }
.cards.roles .card ul { margin-bottom: 18px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-800); text-decoration: none; }
.card-link:hover { color: var(--navy-700); text-decoration: underline; }
.settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.setting { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.setting .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy-800); display: grid; place-items: center; flex: none; }
.setting h3 { font-size: 1.05rem; margin-bottom: 4px; }
.setting p { color: var(--muted); font-size: .94rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.who-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.who-table th, .who-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.who-table thead th { background: var(--navy-800); color: #fff; font-size: .9rem; letter-spacing: .02em; }
.who-table tbody th { color: var(--navy-800); font-weight: 600; width: 36%; }
.who-table tbody tr:last-child th, .who-table tbody tr:last-child td { border-bottom: 0; }
.who-table td { color: var(--muted); }
.compare td:last-child { color: var(--ink); background: var(--gold-100); font-weight: 500; }
.compare thead th:last-child { background: var(--navy-900); color: var(--gold-500); }

/* ===== Role pages ===== */
.role-hero { background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, #2C5589 100%); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.role-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(243,197,91,.28), transparent 68%); pointer-events: none; }
.role-hero .wrap { position: relative; }
.role-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 14px 0 14px; max-width: 20ch; }
.role-hero .lead { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 58ch; }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.75); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.role-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; max-width: 880px; }
.role-cta { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-md); padding: 24px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.role-cta h2 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.role-cta p { color: rgba(255,255,255,.85); font-size: .96rem; margin-bottom: 16px; }
.anchor-nav { position: sticky; top: 76px; z-index: 40; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.anchor-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.anchor-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--navy-800); padding: 10px 16px; border-radius: var(--r-pill); }
.anchor-nav a:hover { background: var(--navy-50); }
.wrap.narrow { width: min(100% - 32px, 860px); }
.prose { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.sub-head { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 18px; }
.def-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.def-item { padding: 22px; border-radius: var(--r-md); background: var(--navy-50); }
.def-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.def-item p { color: var(--muted); font-size: .96rem; }
.way-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; display: grid; gap: 6px; }
.way b { color: var(--navy-800); }
.way span { color: var(--muted); font-size: .94rem; }
.center-cta { display: flex; justify-content: center; margin-top: 36px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-decoration: none; font-weight: 600; color: var(--navy-800); transition: border-color .2s, box-shadow .2s; }
.related-link:hover { border-color: var(--navy-700); box-shadow: var(--shadow-sm); }
#employers .step-list { max-width: 640px; margin-inline: auto; }

@media (max-width: 1024px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .settings-grid { grid-template-columns: 1fr 1fr; } .cards.roles .card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 900px) { .role-ctas, .def-grid, .related { grid-template-columns: 1fr; } .way-grid { grid-template-columns: 1fr 1fr; } .anchor-nav { top: 76px; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } .settings-grid, .way-grid { grid-template-columns: 1fr; } .cards.roles .card { flex-basis: 100%; } }

/* ===== v4 pages ===== */
a.setting { text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.setting:hover { border-color: var(--navy-700); box-shadow: var(--shadow-md); transform: translateY(-2px); }
a.setting .card-link { margin-top: 10px; }
.narrow-copy { max-width: 760px; }
.role-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.role-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-decoration: none; color: var(--navy-800); transition: border-color .2s, box-shadow .2s; }
.role-link:hover { border-color: var(--navy-700); box-shadow: var(--shadow-sm); }
.role-link b { grid-column: 1; }
.role-link span { grid-column: 1; color: var(--muted); font-size: .94rem; }
.role-link .i { grid-column: 2; grid-row: 1 / span 2; }
.check-list, .num-list { margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2244' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.num-list { list-style: none; counter-reset: n; }
.num-list li { position: relative; padding-left: 46px; counter-increment: n; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-800); color: var(--gold-500); display: grid; place-items: center; font-weight: 700; font-size: .92rem; }
.callout { margin: 18px 0; padding: 16px 20px; border-radius: var(--r-md); background: var(--gold-100); color: #5C4300; font-weight: 500; }
.qa-list { display: grid; gap: 14px; margin-top: 8px; }
.qa-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.qa-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.qa-item .why { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.qa-item .ans { margin: 0; color: var(--ink); }
.wrap.narrow h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
@media (max-width: 900px) { .role-links { grid-template-columns: 1fr; } }

/* ===== v5 effects ===== */
/* scroll progress line */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; pointer-events: none; }
.scroll-progress::before { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold-500), #78AAEB 60%, var(--navy-700)); box-shadow: 0 0 14px rgba(243,197,91,.7); border-radius: 0 3px 3px 0; }

/* nav: animated underline + dropdown menus */
.nav-links > a, .dd-btn { position: relative; }
.nav-links > a::after, .dd-btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.nav-links > a:hover::after, .dd:hover > .dd-btn::after, .dd.open > .dd-btn::after, .dd:focus-within > .dd-btn::after { transform: scaleX(1); }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; font: 500 .95rem var(--font); color: var(--ink); padding: 10px 14px; border-radius: var(--r-pill); border: 0; background: transparent; cursor: pointer; transition: background-color .2s; }
.dd-btn:hover, .dd.open > .dd-btn { background: var(--navy-50); }
.dd-btn .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.dd.open > .dd-btn .chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; display: grid; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: 20px 0; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s; z-index: 60; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd-panel.cols { grid-template-columns: 1fr 1fr; width: min(580px, 92vw); }
.dd-panel a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .94rem; font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color .15s, color .15s, padding-left .2s var(--ease); }
.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--navy-50); color: var(--navy-800); padding-left: 20px; }
.dd.open > .dd-panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 901px) { .dd:hover > .dd-panel, .dd:focus-within > .dd-panel { opacity: 1; visibility: visible; transform: none; } }
@media (max-width: 900px) {
  .nav-links > a::after, .dd-btn::after { display: none; }
  .dd-btn { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.05rem; }
  .dd-panel, .dd-panel.cols { position: static; width: auto; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 6px 10px; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.open > .dd-panel { display: grid; }
  .dd-panel a { padding: 12px 16px; }
}

/* brand mark beside section labels: the gold dot pulses, the mark spins in when its section appears */
.eyebrow { gap: 9px; padding: 6px 14px 6px 9px; }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 692 692'%3E%3Cstyle%3E%40media (prefers-reduced-motion:no-preference)%7B.g%7Btransform-origin:346px 346px%3Banimation:p 2.4s ease-in-out infinite%7D%40keyframes p%7B0%25%2C100%25%7Btransform:scale(1)%7D50%25%7Btransform:scale(1.28)%7D%7D%7D%3C/style%3E%3Cpath fill='%231B365D' fill-rule='evenodd' d='M340 692 H520 V518 H692 V310 C692 140 540 0 346 0 C155 0 0 155 0 346 C0 537 155 692 340 692 Z M520 518 H335 C240 518 175 440 175 346 C175 250 250 175 346 175 C440 175 520 250 520 340 Z'/%3E%3Ccircle class='g' cx='346' cy='346' r='106' fill='%23F3C55B'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero .eyebrow::before, .dark .eyebrow::before, .role-hero .eyebrow::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 692 692'%3E%3Cstyle%3E%40media (prefers-reduced-motion:no-preference)%7B.g%7Btransform-origin:346px 346px%3Banimation:p 2.4s ease-in-out infinite%7D%40keyframes p%7B0%25%2C100%25%7Btransform:scale(1)%7D50%25%7Btransform:scale(1.28)%7D%7D%7D%3C/style%3E%3Cpath fill='%23FFFFFF' fill-rule='evenodd' d='M340 692 H520 V518 H692 V310 C692 140 540 0 346 0 C155 0 0 155 0 346 C0 537 155 692 340 692 Z M520 518 H335 C240 518 175 440 175 346 C175 250 250 175 346 175 C440 175 520 250 520 340 Z'/%3E%3Ccircle class='g' cx='346' cy='346' r='106' fill='%23F3C55B'/%3E%3C/svg%3E"); }
@keyframes markIn { 0% { transform: rotate(-220deg) scale(.1); opacity: 0; } 55% { transform: rotate(14deg) scale(1.25); opacity: 1; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in .eyebrow::before, .eyebrow.reveal.in::before { animation: markIn .95s cubic-bezier(.2,.8,.2,1) both; }
  .hero .eyebrow::before { animation: markIn 1.1s .4s cubic-bezier(.2,.8,.2,1) both; }
}

/* button shine */
.btn-primary, .btn-gold { position: relative; overflow: hidden; }
.btn-primary::after, .btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%); transform: translateX(-130%); transition: transform .7s var(--ease); pointer-events: none; }
.btn-primary:hover::after, .btn-gold:hover::after { transform: translateX(130%); }
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-gold::after { display: none; } .scroll-progress::before { transition: none; } }

/* ===== v6 effects ===== */
::selection { background: var(--gold-500); color: var(--navy-900); }
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(15,34,68,.10); }

/* menu: current section */
.nav-links > a.active::after, .dd.active > .dd-btn::after { transform: scaleX(1); }
.nav-links > a.active, .dd.active > .dd-btn { color: var(--navy-800); font-weight: 600; }
.anchor-nav a.active { background: var(--navy-800); color: #fff; }

/* cursor spotlight + icon bounce */
.card, .setting, .way, .def-item, .qa-item, .role-link { position: relative; overflow: hidden; isolation: isolate; }
.card::before, .setting::before, .way::before, .def-item::before, .qa-item::before, .role-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(243,197,91,.26), rgba(120,170,235,.10) 45%, transparent 70%); }
.card:hover::before, .setting:hover::before, .way:hover::before, .def-item:hover::before, .qa-item:hover::before, .role-link:hover::before { opacity: 1; }
.card .ico, .setting .ico { transition: transform .45s cubic-bezier(.3, 1.7, .5, 1), box-shadow .3s ease; }
.card:hover .ico, .setting:hover .ico { transform: translateY(-4px) rotate(-8deg) scale(1.06); box-shadow: 0 10px 22px rgba(27,54,93,.28); }

/* parallax photos */
.plx { transform: translate3d(0, var(--plx, 0px), 0) scale(1.12); will-change: transform; }

/* hero entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow { animation: fadeUp .8s .05s var(--ease) backwards; }
  .hero-copy h1 { animation: fadeUp .9s .18s var(--ease) backwards; }
  .hero-copy .lead { animation: fadeUp .9s .32s var(--ease) backwards; }
  .hero-actions { animation: fadeUp .9s .46s var(--ease) backwards; }
  .search-card { animation: fadeUp 1s .6s var(--ease) backwards; }
  .hero h1 em::after { transform-origin: 0 50%; animation: drawLine .9s 1s cubic-bezier(.2, .8, .2, 1) backwards; }
  .role-hero h1 { animation: fadeUp .9s .1s var(--ease) backwards; }
  .role-hero .lead { animation: fadeUp .9s .25s var(--ease) backwards; }
  .role-ctas { animation: fadeUp .9s .4s var(--ease) backwards; }
}

/* roles ticker */
.marquee { background: var(--navy-900); color: #fff; overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { display: inline-flex; align-items: center; font-weight: 600; letter-spacing: .04em; font-size: .95rem; white-space: nowrap; }
.marquee-group span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); margin-inline: 28px; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}

/* back-to-top with progress ring */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 150; width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: conic-gradient(var(--gold-500) calc(var(--p, 0) * 360deg), var(--line) 0);
  box-shadow: 0 10px 28px rgba(15,34,68,.22); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.to-top::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.to-top svg { position: relative; width: 20px; height: 20px; fill: none; stroke: var(--navy-800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover svg { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; }
@media (max-width: 600px) { .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; } }
