/* ==========================================================================
   Evolve Hire — site stylesheet (v2.1)
   Ink #0B1C33 · Ivory #F5F0E5 · Gold #C6A15A
   Fraunces + Manrope, self-hosted. No external requests.
   Motion is transform/opacity only and fully disabled for reduced motion.
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/fraunces-latin-400-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("fonts/fraunces-latin-400-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/manrope-latin-400-800-normal.woff2") format("woff2"); }

:root {
  --ink: #0b1c33;
  --ink-2: #12294a;
  --ink-3: #1b3a63;
  --ivory: #f5f0e5;
  --ivory-2: #fbf8f1;
  --paper: #fbf8f1;
  --card: #fffdf9;
  --gold: #c6a15a;
  --gold-2: #d9b877;
  --gold-3: #ecd7a8;
  --gold-deep: #74571f;
  --gold-soft: #f2e8d2;
  --text: #17150f;
  --muted: #575046;
  --muted-2: #6e6558;
  --line: #e3dac7;
  --line-2: #cfc1a5;
  --rose: #9d2c3a;
  --rose-soft: #f9e9eb;
  --good: #1d5c40;
  --good-soft: #e6f3ec;
  --wa: #1c6b45;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 0 rgba(11, 28, 51, .03), 0 12px 34px rgba(11, 28, 51, .06);
  --shadow-2: 0 22px 60px rgba(11, 28, 51, .16);
  --shadow-3: 0 40px 90px rgba(7, 20, 36, .28);
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-head: var(--serif);
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .68, .16, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --s-1: .375rem;
  --s-2: .75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 2.75rem;
  --s-7: 3.75rem;
  --s-8: 5rem;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 400 16.5px/1.65 var(--ff-body);
  letter-spacing: -.006em;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .18s var(--ease); }
a:hover { color: var(--gold-deep); }
button, summary, .btn, .job-card, .chip, .nav a, .navtoggle, .tabs a { cursor: pointer; }
button:disabled, .is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -.032em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 5.2vw, 4.35rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); margin-top: 0; }
h3 { font-size: 1.3rem; line-height: 1.15; margin: 0 0 .4rem; letter-spacing: -.02em; }
h4 { font-size: 1.08rem; line-height: 1.22; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
small { font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.wrap.narrow { max-width: var(--wrap-narrow); }
.wrap.wide { max-width: 1320px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ivory); padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 10px 0; font-weight: 600; }
.skip:focus { left: 0; top: 0; color: var(--ivory); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.gold { color: var(--gold-deep); font-weight: 600; }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.2rem); color: #d9d1c3; max-width: 46ch; }
.lede-ink { font-size: clamp(1.02rem, 1.5vw, 1.12rem); color: var(--muted); max-width: 64ch; }
.eyebrow, .kicker { font: 600 .71rem/1.3 var(--ff-body); letter-spacing: .17em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .85rem; }
.hero .kicker, .page-hero .kicker, .cta-band .kicker, .foot .kicker { color: var(--gold); }
.num { font: 400 1.3em/1 var(--serif); color: var(--gold-deep); margin-right: .4em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .55rem; box-shadow: 0 0 0 0 rgba(198,161,90,.6); animation: pulse 2.6s infinite; vertical-align: .06em; }
.ico-svg { flex: none; vertical-align: -.18em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.link-arrow .ico-svg { transition: transform .25s var(--ease); }
.link-arrow:hover .ico-svg { transform: translateX(4px); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,161,90,.55); } 70% { box-shadow: 0 0 0 9px rgba(198,161,90,0); } 100% { box-shadow: 0 0 0 0 rgba(198,161,90,0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(240%) skewX(-18deg); } }

.rise { animation: rise .85s var(--ease-out) both; }
.reveal { opacity: 1; }
.will-reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); transition-delay: var(--d, 0s); }
.will-reveal.is-in { opacity: 1; transform: none; }
body { animation: fadein .45s ease both; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }

/* ---------- header ---------- */
.utility { background: var(--ink); color: #cfc7b8; font-size: .78rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.utility p { margin: 0; display: inline-flex; align-items: center; letter-spacing: .02em; }
.utility-links { display: flex; align-items: center; gap: 1.25rem; }
.utility-links a { color: #e5ddcd; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.utility-links a:hover { color: var(--gold-2); }
.utility-note .live-dot { width: 6px; height: 6px; }

.top { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 241, .86); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 32px rgba(11, 28, 51, .07); }
.top-inner { display: flex; align-items: center; gap: 1rem; min-height: 78px; transition: min-height .25s ease; }
.top.scrolled .top-inner { min-height: 68px; }
.top-desk { background: var(--ink); border-bottom: 1px solid rgba(244,239,228,.08); }
.top-desk .brand-type strong, .top-desk .nav a, .top-desk .nav-more summary, .top-desk .nav-quiet { color: var(--ivory); }
.top-desk .brand-type small { color: #b9b0a1; }
.top-desk .brand-mark { color: var(--gold); }
.top-desk .mark-eh { fill: var(--ink); }
.top-desk .mark-arrow { stroke: var(--ink); }
.top-desk .mark-head, .top-desk .mark-dot { fill: var(--ink); }
.top-desk .mark-inner { stroke: rgba(11,28,51,.4); opacity: .9; }
.top-desk .nav a:hover { background: rgba(244,239,228,.08); }
.top-desk .nav a[aria-current="page"] { background: var(--gold); color: var(--ink); }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { display: block; color: var(--ink); line-height: 0; }
.brand-mark .mark-svg { transition: transform .5s var(--ease-out); }
.brand:hover .mark-svg { transform: rotate(-6deg) scale(1.04); }
.brand-mark img { width: 52px !important; height: 52px !important; aspect-ratio: 1 / 1; border-radius: 50% !important; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(11,28,51,.12); transition: transform .3s var(--ease); }
.brand:hover .brand-mark img { transform: scale(1.06); }
.top-desk .brand-mark img { background: #fff; box-shadow: 0 0 0 1px rgba(244,239,228,.2); }
.brand-badge { position: relative; display: inline-block; margin: 0 auto 1.2rem; text-align: center; }
.brand-badge img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; background: #fff; box-shadow: var(--shadow-2); animation: logo-in 1s var(--ease-out) both; }
.brand-badge::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--gold); opacity: .35; animation: ring-pulse 2.6s ease-in-out infinite; }
@keyframes logo-in { from { opacity: 0; transform: scale(.8) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes ring-pulse { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.06); opacity: .12; } }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes new-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,92,64,.32); } 60%, 100% { box-shadow: 0 0 0 6px rgba(29,92,64,0); } }
.registered-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; margin-bottom: 1rem; }
.registered-head .brand-badge { margin: 0 0 .4rem; }
.registered-head > div { flex: 1; min-width: 0; }
.brand-type { display: flex; flex-direction: column; gap: .14rem; }
.brand-type strong { font-family: var(--serif); font-weight: 500; font-size: 1.34rem; line-height: 1; letter-spacing: -.025em; }
.brand-type small { font: 600 .6rem/1 var(--ff-body); letter-spacing: .19em; text-transform: uppercase; color: var(--muted-2); }

.nav { display: flex; align-items: center; gap: .1rem; font-weight: 550; font-size: .9rem; }
.nav > a, .nav-more > summary { color: var(--ink); padding: .55rem .8rem; border-radius: 999px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: .3rem; position: relative; white-space: nowrap; }
.nav > a::after, .nav-more > summary::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.nav > a:hover::after, .nav-more > summary:hover::after { transform: scaleX(1); }
.nav > a:hover, .nav-more > summary:hover { background: rgba(11,28,51,.05); color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-cta { margin-left: .55rem; }
.nav .nav-cta::after { display: none; }
.nav .nav-quiet { color: var(--muted); font-weight: 500; font-size: .84rem; }
.nav-more { position: relative; }
.nav-more > summary { list-style: none; cursor: pointer; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary .ico-svg { transform: rotate(90deg); transition: transform .25s var(--ease); width: 12px; height: 12px; }
.nav-more[open] > summary .ico-svg { transform: rotate(-90deg); }
.nav-more[data-on] > summary { color: var(--ink); font-weight: 650; }
.nav-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 260px; padding: .55rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); display: grid; gap: 2px; animation: rise .22s var(--ease) both; z-index: 10; }
.nav-menu a { padding: .6rem .7rem; border-radius: 9px; text-decoration: none; font-size: .88rem; color: var(--ink); }
.nav-menu a:hover { background: var(--gold-soft); color: var(--ink); }
.nav-menu a[aria-current="page"] { background: var(--ink); color: var(--ivory); }

.top-actions { display: flex; align-items: center; gap: .5rem; }
.top-actions .top-cta { display: none; }
.navtoggle { display: none; background: none; border: 1px solid var(--line); padding: .5rem; width: 46px; height: 46px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navtoggle-bar { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.navtoggle[aria-expanded="true"] .navtoggle-bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle-bar:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] .navtoggle-bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; white-space: nowrap;
  font: 600 .9rem/1 var(--ff-body); padding: .9rem 1.35rem; min-height: 48px;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none !important;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico-svg { transition: transform .25s var(--ease); }
.btn:hover .ico-svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(198,161,90,.28); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); box-shadow: 0 12px 30px rgba(198,161,90,.36); }
.btn-navy { background: var(--ink); color: var(--ivory); }
.btn-navy:hover { background: var(--ink-2); color: var(--ivory); }
.btn-line, .btn-light { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover, .btn-light:hover { background: var(--card); border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(244,239,228,.32); }
.btn-ghost:hover { background: rgba(244,239,228,.1); border-color: var(--ivory); color: var(--ivory); }
.hero .btn-line, .page-hero .btn-line, .cta-band .btn-line { color: var(--ivory); border-color: rgba(244,239,228,.34); }
.hero .btn-line:hover, .page-hero .btn-line:hover { background: rgba(244,239,228,.1); color: var(--ivory); border-color: var(--ivory); }
.btn-wa { background: var(--wa); color: var(--ivory); }
.btn-wa:hover { background: #155538; color: var(--ivory); }
.btn-sm { padding: .55rem .9rem; min-height: 38px; font-size: .82rem; }
.btn-sm .ico-svg { width: 14px; height: 14px; }
.btn-sm.danger, .danger { color: var(--rose); border-color: rgba(157,44,58,.32); background: transparent; }
.btn-sm.danger:hover { background: var(--rose-soft); }
.btn-block { width: 100%; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(120% 100% at 82% 0%, rgba(198,161,90,.20), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(27,58,99,.75), transparent 60%),
    linear-gradient(160deg, #0b1c33 0%, #0a1930 55%, #081526 100%);
  padding: clamp(3.2rem, 7vw, 6rem) 0 clamp(2.6rem, 5vw, 4.5rem);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(244,239,228,.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -260px; top: -320px;
  border-radius: 50%; border: 1px solid rgba(198,161,90,.22);
  box-shadow: 0 0 0 90px rgba(198,161,90,.035), 0 0 0 180px rgba(198,161,90,.02);
  pointer-events: none;
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .36s; }
.hero-copy > :nth-child(6) { animation-delay: .44s; }
.hero h1 { color: var(--ivory); font-size: clamp(2.7rem, 5.6vw, 4.95rem); font-weight: 500; letter-spacing: -.04em; margin: 0 0 1.15rem; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; animation: line-in .95s var(--ease-out) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .14s; }
.hero-title .line:nth-child(3) > span { animation-delay: .26s; }
@keyframes line-in { from { transform: translateY(105%); } to { transform: none; } }
.hero .lede { color: #d9d1c3; max-width: 44ch; margin-bottom: 1.7rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.1rem; }
.hero-links a:not(.btn) { color: #e2dacb; font-size: .92rem; }
.hero-links a:not(.btn):hover { color: var(--gold-2); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin-top: 1.9rem; font-size: .8rem; color: #b9b1a2; }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta .ico-svg { color: var(--gold); }

.search { display: flex; gap: .4rem; max-width: 560px; background: var(--ivory-2); padding: .4rem; border-radius: 999px; box-shadow: 0 22px 50px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.2); }
.search input { flex: 1; border: 0; font: 400 1rem/1.3 var(--ff-body); padding: .65rem 1rem; color: var(--text); min-width: 0; background: transparent; border-radius: 999px; }
.search input:focus { outline: none; box-shadow: none; }
.search input::placeholder { color: #7c7466; }
.search button { border: 0; white-space: nowrap; }
.search .search-icon { display: none; }

/* hero role preview card */
.hero-stage { position: relative; justify-self: end; width: min(100%, 430px); min-height: 420px; display: grid; place-items: center; }
.hero-stage::before { content: ""; position: absolute; inset: 6% 2% 2%; border-radius: 50%; border: 1px solid rgba(198,161,90,.25); animation: spin 40s linear infinite; }
.hero-stage::after { content: ""; position: absolute; inset: 17% 12%; border-radius: 50%; border: 1px dashed rgba(198,161,90,.16); animation: spin 60s linear infinite reverse; }
.role-preview { position: relative; z-index: 2; width: 100%; background: rgba(251,248,241,.97); color: var(--text); border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,.5); transform: rotate(-1.2deg); }
.role-preview-head { display: flex; align-items: center; gap: .8rem; padding-bottom: .95rem; border-bottom: 1px solid var(--line); }
.role-preview-head .job-logo { width: 48px; height: 48px; font-size: 1.05rem; }
.role-preview-head small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .2rem; }
.role-preview-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.32rem; line-height: 1.1; display: block; color: var(--ink); }
.role-preview-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .9rem 0 1rem; }
.role-preview-tags span { font-size: .72rem; padding: .28rem .55rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--ivory-2); }
.role-preview-track { display: flex; gap: .3rem; margin-bottom: .9rem; }
.role-preview-track span { height: 5px; flex: 1; border-radius: 999px; background: var(--line); }
.role-preview-track span.on { background: var(--gold); }
.role-preview-foot { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.role-preview-foot strong { color: var(--ink); font-size: .9rem; }
.role-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .5rem .8rem; font-size: .74rem; font-weight: 600; box-shadow: 0 12px 28px rgba(0,0,0,.18); animation: float 8s ease-in-out infinite; will-change: transform; }
.role-chip:hover { animation-play-state: paused; }
.hero-stage:hover .role-chip { animation-play-state: paused; }
.role-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.role-chip-a { top: -3%; right: -6%; }
.role-chip-b { bottom: 8%; left: -11%; animation-delay: -2.2s; }
.role-chip-c { bottom: -7%; right: 4%; animation-delay: -4s; }
.role-chip-c .dot { background: var(--gold); }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; color: var(--ivory); background: linear-gradient(150deg, #0b1c33 0%, #0a1930 60%, #081526 100%); padding: clamp(2.8rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 3.6rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 0%, rgba(198,161,90,.16), transparent 60%); pointer-events: none; }
.page-hero h1 { color: var(--ivory); max-width: 20ch; }
.page-hero .lede { color: #d5cdbe; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumbs { margin-bottom: 1.1rem; }
.page-hero .crumbs a, .page-hero .crumbs span { color: #b9b1a2; }
.page-hero .crumbs a:hover { color: var(--gold-2); }
.page-hero .hero-links { margin-top: 1.5rem; }
.page-hero-slim { padding: clamp(2.2rem, 4.5vw, 3.2rem) 0 clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero h1 + .lede { margin-top: .4rem; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .78rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }

/* ---------- marquee / credentials / stats ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ivory-2); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { padding: .95rem 1.4rem; font: 600 .78rem/1 var(--ff-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: .9rem; }
.marquee span:nth-child(even) { color: var(--muted); }

.cred { background: var(--ink); color: #cfc7b8; border-bottom: 1px solid rgba(244,239,228,.1); }
.cred .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred div { padding: 1.1rem 1.2rem; border-left: 1px solid rgba(244,239,228,.1); }
.cred div:first-child { border-left: 0; padding-left: 0; }
.cred .kicker { margin-bottom: .3rem; color: var(--gold); }
.cred p { margin: 0; color: var(--ivory); font-size: .9rem; }

.statband { background: var(--paper); border-bottom: 1px solid var(--line); }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.admin-stats { grid-template-columns: repeat(3, 1fr); }
.admin-stats .stat:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.admin-stats .stat { border-left: 1px solid var(--line); padding: 1.4rem 1.2rem; }
.admin-stats .stat:first-child { border-left: 0; padding-left: 0; }
.stat { padding: 2rem 1.4rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font: 400 clamp(2.4rem, 4.4vw, 3.5rem)/1 var(--serif); color: var(--ink); margin: 0; letter-spacing: -.03em; }
.stat-label { margin: .5rem 0 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.stat-note { margin: .3rem 0 0; font-size: .82rem; color: var(--muted-2); }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 6.5vw, 5.5rem) 0; position: relative; }
.section.alt { background: var(--ivory); border-block: 1px solid var(--line); }
.section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section.ink { background: var(--ink); color: #d5cdbe; }
.section.ink h2, .section.ink h3 { color: var(--ivory); }
.section.ink .lede-ink { color: #c9c0b0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2rem; }
.sec-head h2 { margin: 0; }
.sec-head .kicker { margin-bottom: .5rem; }
.sec-head .link-arrow { margin-bottom: .35rem; }
.section-intro { max-width: 60ch; margin: -.6rem 0 2.2rem; color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-1); }
a.card, a.card-lift { color: inherit; text-decoration: none; }
.card-lift { transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
a.card:hover, .card-lift:hover { text-decoration: none; color: inherit; transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.card h2 { font-size: 1.55rem; }
.card h3 { font-size: 1.25rem; }
.card p:last-child { margin-bottom: 0; }
.card-kicker { font: 600 .68rem/1.2 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .55rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.grid { display: grid; gap: 0 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }

.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); color: var(--ink); margin-bottom: .95rem; background: var(--ivory-2); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.ico-sm { width: 34px; height: 34px; border-radius: 10px; margin-bottom: .6rem; }
.card-lift:hover .ico, .bento-item:hover .ico { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.bento-item { grid-column: span 4; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.bento-item:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.bento-item.span-6 { grid-column: span 6; }
.bento-item.span-8 { grid-column: span 8; }
.bento-item.span-12 { grid-column: span 12; }
.bento-item.ink { background: var(--ink); border-color: var(--ink); color: #d5cdbe; }
.bento-item.ink h3, .bento-item.ink h2 { color: var(--ivory); }
.bento-item.gold { background: linear-gradient(150deg, var(--gold-soft), #fbf3e2); border-color: #e8d6b1; }
.bento-item h3 { font-size: 1.55rem; }
.bento-item p { font-size: .95rem; }
.bento-item p:last-child { margin-bottom: 0; }
.bento-num { position: absolute; top: 1.2rem; right: 1.4rem; font: 400 2.6rem/1 var(--serif); color: var(--line-2); opacity: .7; }

/* how it works */
.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.howto li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.5rem; }
.howto li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 1.2rem; right: 1.3rem; font: 400 1.5rem/1 var(--serif); color: #9b8557; }
.stepdot { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .95rem; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); background: var(--ivory-2); }
.howto h3 { font-size: 1.3rem; }
.howto p { margin: 0; font-size: .93rem; color: var(--muted); }
.howto-connector { display: none; }

/* track / status steps */
.track { display: flex; gap: .45rem; list-style: none; padding: 0; margin: 1.2rem 0 0; flex-wrap: wrap; counter-reset: track; }
.track-step { flex: 1 1 96px; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; font: 600 .72rem/1.25 var(--ff-body); color: var(--muted); padding: .7rem .4rem .75rem; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.track-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .68rem; color: var(--muted); background: var(--card); }
.track-step.on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.track-step.on .track-dot { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.track-step.done .track-dot { background: var(--good); border-color: var(--good); color: #fff; }
.track-step--hired { background: linear-gradient(135deg, #1d5c40, #154a34); border-color: #1d5c40; color: #fff; animation: hired-pulse 2.4s ease-in-out infinite; }
.track-step--hired .track-dot { background: #fff; border-color: #fff; color: #1d5c40; }
@keyframes hired-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,92,64,.45); } 50% { box-shadow: 0 0 0 8px rgba(29,92,64,0); } }
.status-card--hired { border-color: #1d5c40; background: linear-gradient(180deg, #f3faf6, #ffffff); }
.status-card--hired h2 { color: #1d5c40; }
.hired-note { display: flex; gap: .7rem; align-items: flex-start; margin: .6rem 0 1rem; padding: .9rem 1rem; border-radius: 12px; background: #e6f3ec; border: 1px solid rgba(29,92,64,.22); color: #1d5c40; }
.hired-note .hired-check { flex: none; color: #1d5c40; }
.hired-note ul { margin: .35rem 0 0; padding-left: 1.1rem; font-size: .88rem; }
.hired-note strong { display: block; margin-bottom: .2rem; }
.status-card--rejected { border-color: rgba(157,44,58,.3); background: #fffafa; }
.status-card--rejected h2 { color: var(--rose); }
.track-step.is-rejected { background: var(--rose-soft); border-color: rgba(157,44,58,.3); color: var(--rose); }
.track-step.is-rejected .track-dot { background: var(--rose); border-color: var(--rose); color: #fff; }

/* chips + pills */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: transparent; border: 1px solid var(--line-2); color: var(--ink); border-radius: 999px; padding: .55rem 1rem; min-height: 42px; font-weight: 550; font-size: .9rem; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.chip:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); text-decoration: none; transform: translateY(-1px); }
.chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip .count { font-size: .72rem; font-weight: 700; opacity: .8; }
.pill { display: inline-flex; align-items: center; gap: .3rem; font: 650 .66rem/1 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 999px; background: var(--ivory); color: var(--muted); border: 1px solid var(--line); }
.pill-urgent { background: var(--rose-soft); color: var(--rose); border-color: rgba(157,44,58,.24); }
.pill-new { background: var(--good-soft); color: var(--good); border-color: rgba(29,92,64,.22); }
.pill-closing { background: #fdf3e0; color: #8a5a12; border-color: #eed9b2; }
.pill-gold { background: var(--gold-soft); color: var(--gold-deep); border-color: #e8d6b1; }
.pill-ink { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- job cards ---------- */
.jobs { display: grid; gap: .8rem; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.1rem; }
.job-card { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.35rem; background: var(--card); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.job-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(198,161,90,.14), transparent 65%); }
.job-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); color: inherit; text-decoration: none; }
.job-card:hover::after { opacity: 1; }
.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.job-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; flex: none; }
.job-flags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.job-card-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.job-company { font: 600 .68rem/1.2 var(--ff-body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.job-title { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
.job-meta { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .85rem; }
.job-meta .ico-svg { color: var(--gold-deep); }
.job-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.job-tags span { font-size: .72rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .55rem; color: var(--muted); background: var(--paper); }
.job-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.job-pay { font-weight: 650; color: var(--ink); font-size: .92rem; }
.job-go { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.job-go .ico-svg { transition: transform .25s var(--ease); }
.job-card:hover .job-go .ico-svg { transform: translateX(3px); }
.job-card-featured { background: linear-gradient(160deg, #102647, #0b1c33 60%, #081526); border-color: #1c3557; color: #d5cdbe; }
.job-card-featured .job-title, .job-card-featured .job-pay { color: var(--ivory); }
.job-card-featured .job-company, .job-card-featured .job-meta, .job-card-featured .job-tags span { color: #b9b1a2; }
.job-card-featured .job-tags span { border-color: rgba(244,239,228,.16); background: rgba(244,239,228,.04); }
.job-card-featured .job-card-foot { border-top-color: rgba(244,239,228,.12); }
.job-card-featured .job-logo { background: var(--gold); color: var(--ink); }
.job-card-featured .job-go { color: var(--gold-2); }
.job-card-featured::before { content: ""; position: absolute; width: 360px; height: 360px; right: -160px; top: -190px; border-radius: 50%; pointer-events: none; z-index: -1; background: conic-gradient(from 0deg, rgba(198,161,90,.18), rgba(198,161,90,.55) 25%, rgba(198,161,90,.12) 55%, rgba(198,161,90,.45) 80%, rgba(198,161,90,.18)); -webkit-mask: radial-gradient(circle closest-side, transparent 0 62%, #000 64% 72%, transparent 74%); mask: radial-gradient(circle closest-side, transparent 0 62%, #000 64% 72%, transparent 74%); animation: ring-spin 28s linear infinite; }

/* job cards: a richer entrance than the generic reveal, with a working hover */
.jobs-grid .job-card.will-reveal { opacity: 0; transform: translateY(28px) scale(.975); transform-origin: 50% 100%; transition: opacity .72s var(--ease-out), transform .72s var(--ease-out), border-color .3s var(--ease), box-shadow .3s var(--ease); transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.jobs-grid .job-card.will-reveal.is-in { opacity: 1; transform: none; }
.jobs-grid .job-card.will-reveal.is-in:hover { transform: translateY(-4px); }
.job-card .pill-new { animation: new-pulse 2.8s ease-out infinite; }

.row { display: flex; flex-direction: column; gap: .3rem; }
.row + .row { margin-top: .7rem; }
.row strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.row.card-lift { padding: 1.2rem 1.35rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.row .tags, .tags { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 650; }
.row:hover strong { color: var(--gold-deep); }
.insight { position: relative; padding-left: 1.35rem !important; }
.insight::before { content: ""; position: absolute; left: 0; top: 1.3rem; bottom: 1.3rem; width: 2px; background: var(--gold); opacity: .7; }

/* ---------- jobs board ---------- */
.jobs-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.filters-panel { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-1); }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.filters-head h2 { font-size: 1.25rem; margin: 0; }
.filters-close { display: none; }
form.filters { display: grid; gap: 0 .9rem; }
form.filters .field { margin-bottom: .85rem; }
form.filters .filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .2rem; }
form.filters .filter-actions .btn { flex: 1 1 auto; }
form.filters .more { margin-bottom: .9rem; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 1rem; }
.active-filters .pill { background: var(--gold-soft); color: var(--gold-deep); border-color: #e8d6b1; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .76rem; }
.active-filters .pill a { color: inherit; text-decoration: none; display: inline-flex; }
.active-filters .clear-all { font-size: .78rem; color: var(--muted); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.results-bar p { margin: 0; font-size: .9rem; color: var(--muted); }
.results-bar strong { color: var(--ink); }
.sort-form { display: flex; align-items: center; gap: .5rem; }
.sort-form label { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.sort-form select { width: auto; min-width: 150px; padding: .45rem 2rem .45rem .7rem; min-height: 40px; }
.filter-drawer-backdrop { display: none; }

/* ---------- job detail ---------- */
.job-hero { background: var(--ink); color: #d5cdbe; padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.job-hero::after { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -180px; top: -300px; border-radius: 50%; border: 1px solid rgba(198,161,90,.18); box-shadow: 0 0 0 70px rgba(198,161,90,.03); pointer-events: none; }
.job-hero .wrap { position: relative; z-index: 1; }
.job-hero h1 { color: var(--ivory); max-width: 22ch; margin-bottom: 1rem; }
.job-hero .crumbs { margin-bottom: 1.2rem; }
.job-hero .crumbs a, .job-hero .crumbs span { color: #b9b1a2; }
.job-hero .crumbs a:hover { color: var(--gold-2); }
.job-hero .job-flags { justify-content: flex-start; margin-bottom: .9rem; }
.job-hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .88rem; color: #c9c0b0; }
.job-hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.job-hero-meta .ico-svg { color: var(--gold); }
.job-hero-foot { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.6rem; }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 2rem; align-items: start; }
.facts-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem 1.2rem; margin: .4rem 0 2rem; }
.facts-dl div { border-top: 2px solid var(--gold); padding-top: .6rem; }
.facts-dl dt { font: 600 .68rem/1.2 var(--ff-body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.facts-dl dd { margin: .2rem 0 0; font-weight: 600; color: var(--ink); }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 .95em; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.apply-aside { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-2); }
.apply-aside h2 { font-size: 1.9rem; }
.apply-aside .hint { margin-bottom: .8rem; }
.apply-form .btn { width: 100%; }
.apply-form .field { margin-bottom: .9rem; }
.apply-aside .notice { margin-bottom: 1rem; }

/* apply form: 3-step structure */
.apply-steps { list-style: none; display: grid; gap: .5rem; margin: 0 0 1.1rem; padding: 0 0 1.1rem; border-bottom: 1px solid var(--line); }
.apply-steps li { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.apply-steps strong { display: block; color: var(--ink); font-size: .84rem; font-weight: 700; }
.step-n { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft); border: 1px solid #e8d6b1; color: var(--gold-deep); font: 700 .68rem/1 var(--ff-body); margin-top: .1rem; }
.apply-group { border: 0; margin: 0 0 .4rem; padding: 0; min-width: 0; }
.apply-group legend { display: flex; align-items: center; gap: .5rem; padding: 0; margin: 1.1rem 0 .7rem; font: 700 .72rem/1.2 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.apply-group:first-of-type legend { margin-top: .2rem; }
.apply-group .field:last-child { margin-bottom: .2rem; }
.btn-lg { min-height: 54px; font-size: .95rem; }
.apply-aside .form-note { line-height: 1.5; }
.apply-fab { display: none; }
.aside-note { display: flex; gap: .6rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.aside-note .ico-svg { color: var(--gold-deep); flex: none; }
.job-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.05rem; }
.field.full { grid-column: 1 / -1; }
.field label { display: flex; align-items: baseline; gap: .25rem; font: 600 .8rem/1.3 var(--ff-body); color: var(--ink); margin-bottom: .4rem; }
.req { color: var(--gold-deep); font-weight: 700; }
input, select, textarea {
  width: 100%; font: 400 .95rem/1.5 var(--ff-body); color: var(--text);
  background: var(--ivory-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .8rem .9rem; min-height: 48px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b9a988; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198,161,90,.4); background: var(--card); }
input::placeholder, textarea::placeholder { color: #8a8173; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1C33' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
input[type="file"] { padding: .6rem; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--ink); }
.field-error input, .field-error select, .field-error textarea { border-color: var(--rose); background: #fffafa; }
.field-error input:focus, .field-error select:focus, .field-error textarea:focus { box-shadow: 0 0 0 3px rgba(157,44,58,.18); }
.hint { font-size: .79rem; color: var(--muted); margin: .35rem 0 0; }
.ferr { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--rose); margin: .35rem 0 0; font-weight: 600; }
.ferr .ico-svg { flex: none; }
.file-field { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 64px; padding: .8rem 1rem; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--ivory-2); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.file-field:hover { border-color: #b9a988; background: var(--card); }
.file-field:focus-within { border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 3px rgba(198,161,90,.4); }
.file-field input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; border: 0; background: transparent; opacity: 0; cursor: pointer; }
.file-hint { position: static; display: inline-flex; align-items: center; gap: .55rem; min-width: 0; font-size: .82rem; color: var(--muted); pointer-events: none; }
.file-hint .ico-svg { color: var(--gold-deep); flex: none; }
.file-btn { flex: none; display: inline-flex; align-items: center; font: 600 .78rem/1 var(--ff-body); color: var(--ink); background: var(--gold-soft); border: 1px solid #e8d6b1; border-radius: 999px; padding: .45rem .8rem; }
[data-file-name] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-error .file-field { border-color: var(--rose); background: #fffafa; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-1); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .4rem; }
.notice { display: flex; gap: .55rem; align-items: flex-start; border-radius: 12px; padding: .95rem 1.1rem; font-weight: 550; margin: 0 0 1.1rem; line-height: 1.5; }
.notice .ico-svg { flex: none; margin-top: .1rem; }
.notice.good { background: var(--good-soft); color: var(--good); border: 1px solid rgba(29,92,64,.22); }
.notice.bad { background: var(--rose-soft); color: var(--rose); border: 1px solid rgba(157,44,58,.22); }
.esum ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.esum li { margin: .2rem 0; }
.esum-t { font-family: var(--ff-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0; }
.refbox { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ink); color: var(--ivory); border-radius: 14px; padding: 1rem 1.1rem; margin: 0 0 1rem; }
.refbox-label { display: block; font: 600 .66rem/1.2 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; }
.refbox strong { font: 400 1.65rem/1.1 var(--serif); letter-spacing: .08em; color: var(--gold-2); }
.refbox .btn { color: var(--ivory); border-color: rgba(244,239,228,.3); flex: none; }
.refbox .btn:hover { background: rgba(244,239,228,.12); color: var(--ivory); }
.more { border: 1px solid var(--line); border-radius: 12px; padding: .7rem .95rem; background: var(--ivory-2); margin: 0 0 .9rem; }
.more summary { font-weight: 650; color: var(--ink); list-style: none; display: flex; align-items: center; min-height: 40px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; font-family: var(--serif); font-size: 1.4rem; margin-right: .5rem; color: var(--gold-deep); line-height: 1; }
.more[open] summary::before { content: "–"; }
.more .grid-2, .more .form-grid { margin-top: .8rem; }

/* flow layouts */
.flow-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .7fr); gap: 2rem; align-items: start; }
.flow-aside { position: sticky; top: 96px; display: grid; gap: 1rem; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.aside-card h2 { font-size: 1.4rem; }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--muted); }
.aside-card li { margin-bottom: .45rem; }
.aside-card .btn { width: 100%; margin-top: .4rem; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .86rem; color: var(--muted); }
.trust-list li { display: flex; gap: .5rem; align-items: flex-start; }
.trust-list .ico-svg { color: var(--gold-deep); flex: none; margin-top: .15rem; }

/* status result */
.status-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-1); }
.status-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.status-card h2 { font-size: 1.8rem; margin: 0; }
.status-card .muted { font-size: .82rem; }
.status-list { display: grid; gap: 1.1rem; }
.status-note { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; }
.steps-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; margin-top: 1rem; }
.steps-legend .card { padding: 1.1rem; }
.steps-legend h3 { font-size: 1.05rem; }
.steps-legend p { font-size: .84rem; margin: 0; color: var(--muted); }

/* ---------- content pages ---------- */
.brand-badge { margin: 0; text-align: center; flex: none; }
.registered-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; margin-bottom: 1rem; }
.registered-head .brand-badge { flex: none; }
.registered-head > div { flex: 1; min-width: 0; }
.registered-head h3 { margin: 0; }
.facts-dl--about { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.facts-dl--about div { border-top: 2px solid var(--gold); padding-top: .6rem; }
.founder { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.4rem; }
.founder img { width: 88px; height: 88px; object-fit: cover; object-position: 50% 18%; border-radius: 16px; }
.founder figcaption { font-size: .9rem; }
.founder figcaption span { display: block; font-size: .82rem; }
.founder strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); display: block; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.timeline li { position: relative; padding-left: 1.2rem; }
.timeline li.card { padding: 1.1rem 1.2rem 1.1rem 2.2rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.timeline li.card::before { left: 1.1rem; top: 1.4rem; }
.timeline h2 { font-family: var(--ff-body); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 .2rem; font-weight: 650; }
.timeline .gold { font-size: .95rem; margin: 0; }
.timeline p { font-size: .88rem; margin: .1rem 0 0; }
.contact-cards .card h2 { font-size: 1.55rem; }
.contact-cards .card p { font-size: .9rem; }
.big { font: 400 clamp(2rem, 4vw, 2.8rem)/1 var(--serif); color: var(--ink); margin: .2rem 0 0; letter-spacing: -.03em; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.cred-grid .facts-dl { margin: 0; }
.cred-grid .facts-dl div { border-top-color: var(--gold); }
.quote { border-left: 2px solid var(--gold); padding: .2rem 0 .2rem 1.3rem; margin: 1.6rem 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; color: var(--ink); }
.quote cite { display: block; font: 600 .72rem/1.4 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: .7rem; font-style: normal; }
.statline { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 1.4rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.statline div { min-width: 120px; }
.statline strong { display: block; font: 400 1.9rem/1 var(--serif); color: var(--ink); }
.statline span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.faq { margin-top: 2rem; }

/* accordion */
.accordion { display: grid; gap: .5rem; }
.acc { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; font-weight: 600; color: var(--ink); list-style: none; min-height: 48px; }
.acc summary::-webkit-details-marker { display: none; }
.acc-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); transition: transform .25s var(--ease), background .25s ease, color .25s ease; flex: none; }
.acc[open] .acc-icon { transform: rotate(180deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.acc-body { padding: 0 1.1rem 1rem; color: var(--muted); font-size: .93rem; }
.acc-body p:last-child { margin-bottom: 0; }

/* CTA bands */
.cta-band, .ctaband { background: var(--ink); color: #d5cdbe; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); margin-top: 2rem; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -260px; border-radius: 50%; border: 1px solid rgba(198,161,90,.2); box-shadow: 0 0 0 60px rgba(198,161,90,.03); }
.cta-band h2, .ctaband h2 { color: var(--ivory); }
.cta-band .muted, .ctaband p { color: #c9c0b0; }
.cta-band p { margin: 0; }
.cta-band .cta-copy { max-width: 52ch; position: relative; z-index: 1; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }
.ctaband { padding: clamp(3rem, 6vw, 5rem) 0; }
.ctagrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.4rem; }
.ctagrid > div { border: 1px solid rgba(244,239,228,.16); border-radius: var(--radius); padding: 1.6rem; background: rgba(244,239,228,.03); }
.ctagrid h3 { color: var(--ivory); font-size: 1.8rem; }
.ctagrid .btn { margin-top: .4rem; }
.ctaband .kicker { color: var(--gold); }

/* empty state */
.empty { text-align: center; padding: 2.4rem 1.4rem; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--card); }
.empty-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto .8rem; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); }
.empty h3 { font-size: 1.3rem; }
.empty p { color: var(--muted); max-width: 40ch; margin: 0 auto .9rem; }
.pager { display: flex; gap: .8rem; align-items: center; justify-content: center; margin: 2rem 0 0; flex-wrap: wrap; }
.pager-status { font-size: .82rem; color: var(--muted); }
.pager-status strong { color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #c9c0b0; position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 0%, rgba(198,161,90,.08), transparent 60%); pointer-events: none; }
.foot .wrap { position: relative; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2rem, 4.5vw, 3rem) 0; border-bottom: 1px solid rgba(244,239,228,.12); }
.foot-cta h2 { color: var(--ivory); font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .4rem; }
.foot-cta p { color: #b9b1a2; margin: 0; max-width: 52ch; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding: 2.8rem 0 2rem; }
.brand-foot { margin-bottom: 1rem; }
.brand-foot .brand-mark { color: var(--gold); }
.brand-foot .mark-eh { fill: var(--ink); }
.brand-foot .mark-arrow { stroke: var(--ink); }
.brand-foot .mark-head, .brand-foot .mark-dot { fill: var(--ink); }
.brand-foot .mark-inner { stroke: rgba(11,28,51,.4); opacity: .9; }
.brand-foot .brand-type strong { color: var(--ivory); }
.brand-foot .brand-type small { color: #a89f90; }
.foot-line { font-family: var(--serif); font-size: 1.15rem; color: #e2dacb; margin: 0 0 .9rem; }
.foot-addr { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; color: #b9b1a2; margin: 0 0 .7rem; max-width: 34ch; }
.foot-addr .ico-svg { color: var(--gold); flex: none; margin-top: .15rem; }
.foot-contact { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; margin: 0 0 1rem; }
.foot-contact a { color: #e2dacb; text-decoration: none; }
.foot-contact a:hover { color: var(--gold-2); }
.foot-contact span { color: #6f685c; }
.foot h2 { color: var(--gold); font-family: var(--ff-body); font-size: .7rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .8rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: .35rem 0; }
.foot a { color: #d5cdbe; text-decoration: none; font-size: .88rem; }
.foot a:hover { color: var(--gold-2); }
.muted-on-dark { color: #b7ad9e; font-size: .92rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .76rem; color: #9c917f; padding: 1.1rem 0 0; border-top: 1px solid rgba(244,239,228,.1); }
.foot-base p { margin: 0; }
.foot-legal { display: flex; gap: .55rem; }
.foot-legal a { font-size: .76rem; color: #b9b1a2; }
.foot-word { font: 400 clamp(4rem, 15vw, 13rem)/.8 var(--serif); letter-spacing: -.04em; text-align: center; margin: 2rem 0 0; color: transparent; background: linear-gradient(180deg, rgba(244,239,228,.14), rgba(244,239,228,.02)); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }
.foot-desk .foot-word { display: none; }

/* ---------- desk + admin ---------- */
.is-desk { background: linear-gradient(180deg, var(--ivory-2), var(--paper)); }
.is-desk .section { padding-top: clamp(1.4rem, 2.6vw, 2rem); }

.deskbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; padding: 1.1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.deskbar h1 { font-size: 1.9rem; margin: 0; letter-spacing: -.02em; }
.deskbar-id { display: flex; align-items: center; gap: .85rem; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; flex: none; }
.deskbar p { margin: 0; font-size: .86rem; }
.desk-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.desk-actions form { display: inline-flex; }

.tabs { border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; background: var(--card); border-radius: var(--radius) var(--radius) 0 0; padding: .35rem .5rem 0; }
.tabs ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: .4rem .9rem; font-weight: 600; font-size: .84rem; color: var(--muted); border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; border-radius: 8px 8px 0 0; transition: background .18s var(--ease), color .18s var(--ease); }
.tabs a:hover { color: var(--ink); background: var(--ivory-2); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--gold); background: var(--ivory-2); font-weight: 700; }

.pipemap { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 1.2rem; }
.pipemap .chip { min-height: 36px; padding: .4rem .85rem; font-size: .82rem; }

.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.4rem; box-shadow: var(--shadow-1); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .88rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 .66rem/1.2 var(--ff-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--ivory); position: sticky; top: 0; z-index: 1; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbf8f2; }
.status-form, .rowbtns { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; width: 100%; }
.status-form select { flex: 0 0 auto; min-width: 150px; }
.status-form input[name="note"] { flex: 1 1 150px; min-width: 120px; }
.status-form button { flex: 0 0 auto; }
.rowbtns { justify-content: flex-start; gap: .35rem; }
.table-wrap table { table-layout: auto; }
.table-wrap th, .table-wrap td { vertical-align: top; }
.table-wrap td { word-break: break-word; line-height: 1.45; }
.admin-lead td { line-height: 1.45; }
.status-form input, .status-form select { width: auto; min-width: 130px; padding: .45rem .65rem; min-height: 38px; }
.rowbtns form { display: inline-flex; }
.rowbtns .btn { min-height: 34px; padding: .4rem .7rem; font-size: .78rem; }

.msglist { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.msglist li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; box-shadow: var(--shadow-1); }
.msglist li strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.msglist .muted { font-size: .8rem; }

.checks { border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; margin: 0 0 1rem; background: var(--ivory-2); }
.checks legend { font-weight: 700; font-size: .82rem; padding: 0 .3rem; color: var(--ink); }
.check { display: flex; gap: .5rem; align-items: center; margin: .3rem 0; }
.check input { width: auto; accent-color: var(--ink); }
.check label { font-size: .88rem; }

.stat h2 { font-family: var(--ff-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stat-value { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.admin-stats .stat { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-1); }
.admin-stats .stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }

.jobform { display: grid; gap: 0 1rem; }
.jobform .span-2 { grid-column: 1 / -1; }
.table-tools { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 1rem; align-items: center; }
.table-tools strong { font-size: .78rem; color: var(--muted); margin-right: .2rem; }
.filter-bar { margin-bottom: 1.2rem; padding: 1rem 1.1rem; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem 1rem; margin-bottom: .8rem; }
.filter-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.filter-bar .field { margin-bottom: 0; }
.filter-bar label { font-size: .76rem; }

.empty { text-align: center; padding: 2.4rem 1.2rem; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: .4rem; }

/* dashboard graphics */
.pie-wrap { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: .6rem 0 1rem; }
.pie { width: 150px; height: 150px; border-radius: 50%; box-shadow: var(--shadow-1); flex: none; position: relative; }
.pie::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pie-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; flex: 1; min-width: 160px; }
.pie-legend li { display: flex; align-items: center; gap: .5rem; font-size: .84rem; }
.pie-legend .pie-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pie-legend strong { margin-left: auto; font-weight: 700; color: var(--ink); }
.quick-actions { display: grid; gap: .5rem; }
.quick-actions .btn { justify-content: flex-start; text-align: left; }
.health-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.health-list li { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.health-list li:last-child { border-bottom: 0; }
.health-list .muted { font-size: .8rem; }
.health-list strong { color: var(--ink); font-weight: 700; }

/* ---------- toast / top button ---------- */
/* ---------- toast / top button ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--ivory); }
.toast-stack { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 150; display: grid; gap: .5rem; width: min(92vw, 380px); pointer-events: none; }
.toast { background: var(--ink); color: var(--ivory); border-radius: 12px; padding: .75rem 1rem; font-size: .88rem; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: .5rem; animation: rise .3s var(--ease) both; }
.toast .ico-svg { color: var(--gold); }
.toast.out { animation: fadein .25s ease reverse both; }

/* ---------- misc ---------- */
.facts-dl.card { padding: 1.4rem; }
.split > .facts-dl { margin: 0; }
.trustbar { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; font-size: .78rem; color: var(--muted); }
.trustbar span { display: inline-flex; align-items: center; gap: .4rem; }
.trustbar .ico-svg { color: var(--gold-deep); }
.section-foot { margin-top: 1.6rem; }
.tags-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; }
.meta-line { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; }
.meta-line span { display: inline-flex; align-items: center; gap: .35rem; }
.meta-line .ico-svg { color: var(--gold-deep); }
.page-hero h1 em, .job-hero h1 em, .hero h1 em { font-style: italic; color: var(--gold-2); }
.page-hero .article-meta { color: #b9b1a2; }
.page-hero .article-meta .ico-svg { color: var(--gold); }
.article-head { margin-bottom: 1.6rem; }
.article-head h1 { max-width: 24ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.article-body { font-size: 1.05rem; }
.article-body p { margin-bottom: 1.1em; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.share-row span { font-size: .8rem; color: var(--muted); }
.sitemap-list { columns: 2; gap: 2rem; }
.sitemap-list a { display: block; padding: .25rem 0; }
.sitemap-list h2 { break-after: avoid; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  /* Small laptops / zoomed desktops keep the full desktop hero — the mobile
     stacked layout only kicks in below 900px. */
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(1.5rem, 3vw, 3rem); }
  .hero-stage { width: min(100%, 400px); min-height: 400px; }
  .nav { font-size: .85rem; }
  .nav > a, .nav-more > summary { padding: .5rem .6rem; }
  .nav .nav-cta { padding: .7rem 1rem; }
  .jobs-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .job-grid { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { justify-self: start; width: min(100%, 440px); min-height: 360px; margin-top: .5rem; }
  .role-chip { position: absolute; z-index: 3; padding: .4rem .65rem; font-size: .7rem; animation: float 8s ease-in-out infinite; }
  .role-chip-a { top: -6px; right: 6px; animation-delay: 0s; }
  .role-chip-b { bottom: 4%; left: 6px; animation-delay: -2.2s; }
  .role-chip-c { bottom: -6px; right: 6px; animation-delay: -4s; }
  .utility { display: none; }
  .nav { display: none; }
  .nav[data-open] { display: flex; }
  .top-actions .top-cta { display: inline-flex; }
  .navtoggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 2px; padding: .7rem clamp(18px, 4vw, 32px) 1.2rem; box-shadow: 0 30px 60px rgba(11,28,51,.16); max-height: calc(100dvh - 78px); overflow-y: auto; }
  .top-desk .nav > a, .top-desk .nav-more > summary, .top-desk .nav .nav-quiet { color: var(--ink); }
  .top-desk .nav > a:hover { background: rgba(11,28,51,.05); color: var(--ink); }
  .nav > a, .nav-more > summary { min-height: 48px; padding: .7rem .6rem; border-radius: 10px; font-size: 1rem; }
  .nav > a::after, .nav-more > summary::after { display: none; }
  .nav .nav-cta { margin: .5rem 0 0; justify-content: center; min-height: 48px; }
  .nav .nav-quiet { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .9rem; }
  .nav-more { position: static; }
  .nav-more > summary { display: none; }
  .nav-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0; display: grid; background: transparent; animation: none; }
  .nav-menu a { padding: .55rem .6rem; font-size: .92rem; color: var(--muted); }
  .nav-menu a::before { content: "— "; color: var(--gold); }
  .top-inner { min-height: 70px; }
  .top.scrolled .top-inner { min-height: 64px; }
  .jobs-layout { grid-template-columns: 1fr; }
  .filters-panel { position: fixed; inset: 0 0 0 auto; width: min(92vw, 380px); z-index: 140; border-radius: 20px 0 0 20px; overflow-y: auto; transform: translateX(105%); transition: transform .3s var(--ease); padding: 1.4rem; }
  .filters-panel.open { transform: none; }
  .filters-close { display: inline-flex; }
  .filter-toggle { display: inline-flex; }
  .filter-drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 130; background: rgba(7,20,36,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
  .filter-drawer-backdrop.open { opacity: 1; visibility: visible; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-aside { position: static; }
  .job-grid { grid-template-columns: 1fr; }
  .apply-aside { position: static; }
  .apply-fab { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 .95rem/1 var(--ff-body); text-decoration: none; box-shadow: 0 18px 40px rgba(7,20,36,.35); border: 1px solid rgba(11,28,51,.15); transition: transform .2s var(--ease), opacity .2s ease; }
  .apply-fab:active { transform: scale(.98); }
  .apply-fab[hidden] { display: none; }
  .to-top { bottom: 78px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .sitemap-list { columns: 1; }
}
@media (max-width: 760px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .admin-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  html { scroll-padding-top: 78px; }
  .statgrid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.5rem 1rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .howto { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-item, .bento-item.span-6, .bento-item.span-8, .bento-item.span-12 { grid-column: span 1; }
  .cred .wrap { grid-template-columns: 1fr 1fr; }
  .cred div { padding: .9rem 1rem; }
  .cred div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ctagrid, .split, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .foot-cta { flex-direction: column; align-items: flex-start; }
  .job-card-featured { grid-column: span 1; }
  .hero { padding-top: 2.6rem; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); }
  .search { flex-direction: column; border-radius: 18px; }
  .search input { min-height: 48px; text-align: center; }
  .search button { width: 100%; }
  .hero-stage { min-height: 330px; }
  .role-chip { position: absolute; z-index: 3; padding: .4rem .6rem; font-size: .68rem; animation: float 8s ease-in-out infinite; }
  .role-chip-a { top: -4px; right: 4px; animation-delay: 0s; }
  .role-chip-b { bottom: 3%; left: 4px; animation-delay: -2.2s; }
  .role-chip-c { bottom: -4px; right: 4px; animation-delay: -4s; }
  .role-preview { transform: none; }
  .job-hero-foot .btn { flex: 1 1 auto; }
  .pager { justify-content: space-between; }
  .foot-word { margin-bottom: -.6rem; }
  .deskbar { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .to-top { right: 12px; bottom: 78px; }
}
@media (max-width: 430px) {
  .brand-type small { display: none; }
  .top-actions .top-cta { display: none; }
  .brand-type strong { font-size: 1.25rem; }
  .hero-meta { gap: .4rem .8rem; }
  .cred .wrap { grid-template-columns: 1fr; }
  .cred div { border-left: 0; border-top: 1px solid rgba(244,239,228,.1); padding-left: 0; }
  .cred div:first-child { border-top: 0; }
  .statgrid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}

/* ---------- v2.1 polish: alignment, typography, restrained motion ---------- */
p, li, dd, blockquote { text-wrap: pretty; }
.job-title, .role-preview-head strong, .refbox strong, .card h2, .bento-item h3 { text-wrap: balance; }
.stat-value { font-variant-numeric: tabular-nums lining-nums; }
.hero-title .line { padding-block: .07em; margin-block: -.07em; }
.page-hero .wrap > *, .job-hero .wrap > * { animation: rise .75s var(--ease-out) both; }
.page-hero .wrap > :nth-child(2), .job-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.page-hero .wrap > :nth-child(3), .job-hero .wrap > :nth-child(3) { animation-delay: .15s; }
.page-hero .wrap > :nth-child(4), .job-hero .wrap > :nth-child(4) { animation-delay: .22s; }
.page-hero .wrap > :nth-child(5), .job-hero .wrap > :nth-child(5) { animation-delay: .28s; }
.table-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1rem; }
.table-tools .btn { text-decoration: none; }
.form-card .field.full, .card .field.full { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .jobs-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
  .grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }
  .search input { text-align: left; padding-left: 1.2rem; }
  .role-chip { font-size: .7rem; padding: .45rem .65rem; }
  .job-card-top { gap: .45rem; }
  .job-flags { max-width: 55%; }
  .sec-head h2 { font-size: clamp(1.65rem, 6.4vw, 2.15rem); }
}

/* ==========================================================================
   v2.1.19 — text visibility + layering guarantees
   The site has dark surfaces (hero, job hero, ink sections, footer, desk
   header). A bare `a { color: ... }` rule beats inheritance, so links and
   buttons inside those surfaces could render dark-on-dark (invisible text).
   These rules are deliberately high-specificity so button/link text always
   wins over the surface it sits on.
   ========================================================================== */

/* --- buttons: correct text colour for every surface --- */
.btn.btn-gold, .btn.btn-gold:hover, .btn.btn-gold:focus-visible { color: var(--ink); }
.btn.btn-navy, .btn.btn-navy:hover, .btn.btn-navy:focus-visible { color: var(--ivory); }
.btn.btn-wa, .btn.btn-wa:hover, .btn.btn-wa:focus-visible { color: var(--ivory); }
.btn.btn-line, .btn.btn-line:hover, .btn.btn-line:focus-visible,
.btn.btn-light, .btn.btn-light:hover { color: var(--ink); }

/* dark surfaces need light outline buttons */
.hero .btn.btn-line, .page-hero .btn.btn-line, .job-hero .btn.btn-line,
.cta-band .btn.btn-line, .ctaband .btn.btn-line, .section.ink .btn.btn-line,
.bento-item.ink .btn.btn-line, .foot .btn.btn-line, .top-desk .nav .btn.btn-line,
.job-card-featured .btn.btn-line {
  color: var(--ivory); border-color: rgba(244, 239, 228, .42);
}
.hero .btn.btn-line:hover, .page-hero .btn.btn-line:hover, .job-hero .btn.btn-line:hover,
.cta-band .btn.btn-line:hover, .ctaband .btn.btn-line:hover, .section.ink .btn.btn-line:hover,
.bento-item.ink .btn.btn-line:hover, .foot .btn.btn-line:hover, .top-desk .nav .btn.btn-line:hover,
.job-card-featured .btn.btn-line:hover {
  background: rgba(244, 239, 228, .12); color: var(--ivory); border-color: var(--ivory);
}

/* the gold header CTA must stay ink-on-gold even inside the dark desk header */
.top-desk .nav .btn.btn-gold, .top-desk .top-actions .btn.btn-gold,
.top-desk .btn.btn-gold:hover { color: var(--ink); }
.top-desk .nav .btn.btn-navy { color: var(--ivory); }

/* --- links on dark surfaces: never inherit ink --- */
.section.ink a:not(.btn), .bento-item.ink a:not(.btn), .job-card-featured a:not(.btn),
.ctaband a:not(.btn) { color: var(--gold-2); }
.section.ink a:not(.btn):hover, .bento-item.ink a:not(.btn):hover,
.job-card-featured a:not(.btn):hover, .ctaband a:not(.btn):hover { color: var(--gold-3); }
.hero a:not(.btn):not(.crumbs a), .page-hero a:not(.btn):not(.crumbs a),
.job-hero a:not(.btn):not(.crumbs a) { color: #e2dacb; }
.hero a:not(.btn):hover, .page-hero a:not(.btn):hover, .job-hero a:not(.btn):hover { color: var(--gold-2); }

/* --- decorative layers must sit behind content, never over text --- */
.job-card, .bento-item, .howto li, .cta-band, .job-hero, .page-hero, .hero, .foot { isolation: isolate; }
.job-card::after, .job-card-featured::before { z-index: -1; }
.job-card > * { position: relative; z-index: 1; }
.bento-num { z-index: 0; color: #9b8557; opacity: 1; }
.bento-item > h2, .bento-item > h3, .bento-item > h4, .bento-item > p,
.bento-item > .ico, .bento-item > .link-arrow, .bento-item > .btn { position: relative; z-index: 1; }
.howto li::before { z-index: 0; }
.howto li > .stepdot, .howto li > h3, .howto li > p { position: relative; z-index: 1; }
.cta-band::after { z-index: 0; }
.foot::before { z-index: 0; }
.foot .wrap { z-index: 1; }

/* --- footer text contrast on ink --- */
.foot-contact span { color: #a89f90; }
.foot-base { color: #b0a48f; }
.foot-addr { color: #c3b9a8; }

/* ---------- reduced motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rise, .hero-copy > *, .hero-title .line > span, .page-hero .wrap > *, .job-hero .wrap > *, .will-reveal, .marquee-track, .role-chip, .hero-stage::before, .hero-stage::after, .brand-badge img, .brand-badge::before { animation: none !important; opacity: 1 !important; transform: none !important; }
  .will-reveal, .jobs-grid .job-card.will-reveal, .jobs-grid .job-card.will-reveal.is-in { opacity: 1 !important; transform: none !important; }
  .btn:hover, .job-card:hover, .card-lift:hover, .bento-item:hover { transform: none; }
  .scroll-progress { display: none; }
}
@media print {
  .top, .utility, .foot, .to-top, .toast-stack, .scroll-progress, .skip, .apply-aside .btn, .apply-fab { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .page-hero { padding: 1rem 0; }
  .page-hero { background: none; color: #000; }
  .page-hero h1, .page-hero .lede { color: #000; }
}
