:root {
    --brand: #3348ad;
    --brand-2: #16a58e;
    --accent: #e9b949;
    --bg: #081020;
    --surface: #111a2e;
    --surface-2: #18243b;
    --text: #f8fbff;
    --muted: #c0cadc;
    --line: rgba(255,255,255,.12);
    --shadow: 0 18px 42px rgba(0,0,0,.28);
    --glass: rgba(255,255,255,.075);
    --section-soft: rgba(51,72,173,.08);
    --section-mint: rgba(22,165,142,.08);
    --radius: 20px;
}

[data-theme="light"] {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f4f7fb;
    --text: #172033;
    --muted: #536179;
    --line: rgba(31,45,75,.14);
    --shadow: 0 14px 34px rgba(31,45,75,.10);
    --glass: rgba(255,255,255,.78);
    --section-soft: #f4f7ff;
    --section-mint: #f1fbf8;
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, var(--brand) 6%), var(--bg) 28%, color-mix(in srgb, var(--bg) 92%, var(--brand-2) 8%));
    line-height: 1.6;
    overflow-x: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: 100%;
    height: 3px;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    width: calc(var(--page-progress, 0) * 100%);
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 18px rgba(22,165,142,.55);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1:empty, h2:empty, h3:empty, p:empty, .eyebrow:empty { display: none; }
h1 { font-size: 22px; line-height: 1.35; letter-spacing: 0; font-weight: 800; }
h2 { font-size: 20px; line-height: 1.38; letter-spacing: 0; font-weight: 750; }
h3 { font-size: 16px; line-height: 1.35; font-weight: 700; }
p { color: var(--muted); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 58px);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    min-height: 74px;
}
.brand {
    display: inline-flex;
    align-items: center;
}
.brand-logo {
    width: clamp(118px, 13vw, 170px);
    height: auto;
    object-fit: contain;
}
.brand-logo-light { display: none; }
[data-theme="light"] .brand-logo-dark { display: none; }
[data-theme="light"] .brand-logo-light { display: block; }
.header-tools,
.site-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-tools {
    order: 3;
}
.site-menu {
    order: 2;
    min-width: 0;
}
.site-nav, .nav-actions { display: flex; align-items: center; gap: 16px; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: 13px; }
.site-nav a:hover { color: var(--text); }
.mobile-menu-auth { display: none; }
.menu-toggle {
    display: none;
    width: 46px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}
.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-search input {
    width: 0;
    min-width: 0;
    opacity: 0;
    padding: 0;
    border-width: 0;
    transition: width .25s ease, opacity .25s ease, padding .25s ease, border-width .25s ease;
}
.nav-search.is-open input,
.nav-search:focus-within input {
    width: clamp(150px, 14vw, 190px);
    opacity: 1;
    padding: 10px 12px;
    border-width: 1px;
}
.nav-search-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 18px;
}
.search-icon {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
}
.nav-search-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.btn, button, input, select, textarea { font: inherit; }
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.btn:hover, button:hover { transform: translateY(-2px); }
.btn-primary { border: 0; color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.05); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.theme-toggle {
    width: 46px;
    min-width: 46px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-weight: 800;
    flex-shrink: 0;
}
.theme-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent);
}
[data-theme="light"] .theme-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flash {
    margin: 18px auto 0;
    width: min(1120px, calc(100% - 32px));
    padding: 14px 18px;
    border-radius: var(--radius);
    background: rgba(29,191,159,.14);
    border: 1px solid rgba(29,191,159,.35);
}
.flash-error { background: rgba(255,85,85,.14); border-color: rgba(255,85,85,.35); }
.notification-strip {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}
.notification-strip a {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--brand-2) 36%, var(--line));
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-2) 12%, var(--surface));
}
.notification-strip span {
    color: var(--text);
    font-size: .84rem;
    font-weight: 800;
}
.notification-strip small {
    color: var(--muted);
}

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
    background: linear-gradient(135deg, var(--section-soft), transparent 58%);
    position: relative;
    isolation: isolate;
}
.hero::before,
.hero::after,
.section::before,
.image-band::before,
.promo-hero::before {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(26px);
    opacity: .45;
    transform: translate3d(0, calc(var(--scroll-shift, 0px) * .12), 0);
}
.hero::before {
    width: 220px;
    height: 220px;
    right: 8%;
    top: 14%;
    background: rgba(22,165,142,.18);
    z-index: -1;
}
.hero::after {
    width: 180px;
    height: 180px;
    left: 6%;
    bottom: 10%;
    background: rgba(51,72,173,.18);
    z-index: -1;
}
.hero-copy {
    position: relative;
    z-index: 1;
}
.hero-copy h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(38px, 5.5vw, 76px);
    line-height: 1.04;
    letter-spacing: -.055em;
}
.hero-copy h1 em {
    color: transparent;
    background: linear-gradient(120deg, var(--brand-2), #78d8c9 52%, var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
}
.hero-copy p {
    max-width: 720px;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--glass);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.hero-trust span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent);
}
.hero-panel {
    min-height: 430px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(8,16,32,.05), rgba(8,16,32,.72)),
        url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1200&q=80") center/cover;
    box-shadow: var(--shadow);
    display: grid;
    align-content: end;
    gap: 12px;
    padding: 22px;
    overflow: hidden;
    transform: translate3d(0, calc(var(--scroll-shift, 0px) * -.08), 0);
    transition: transform .35s ease, box-shadow .35s ease;
}
.career-hero-panel {
    position: relative;
    min-height: 560px;
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(8,16,32,.02) 24%, rgba(8,16,32,.90) 100%),
        url("https://images.unsplash.com/photo-1573496799515-eebbb63814f2?auto=format&fit=crop&w=1200&q=85") center/cover;
}
.career-hero-panel::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 22px;
    pointer-events: none;
}
.hero-panel-note {
    position: absolute;
    top: 34px;
    left: 34px;
    width: min(310px, calc(100% - 68px));
    padding: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    background: rgba(7,11,29,.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.hero-panel-note span {
    display: block;
    margin-bottom: 7px;
    color: #78d8c9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero-panel-note strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.55;
}
.career-hero-panel .metric {
    margin-inline: 10px;
    padding: 14px 18px;
}
.career-hero-panel .metric strong {
    min-width: 38px;
    font-variant-numeric: tabular-nums;
}
.career-hero-panel .metric span {
    text-align: right;
}
.hero-panel:hover { transform: translate3d(0, -6px, 0) scale(1.01); }
.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(7,11,29,.66);
    backdrop-filter: blur(18px);
    transform: translateY(0);
    transition: transform .3s ease, background .3s ease;
}
.metric:hover {
    transform: translateY(-3px);
    background: rgba(7,11,29,.78);
}
.metric strong { font-size: 22px; color: white; }
.metric span { color: #dce4ff; font-size: 13px; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--brand-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.section, .page { padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px); }
.section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transform: translateY(calc((1 - var(--section-progress, 1)) * 18px));
    opacity: calc(.82 + (var(--section-progress, 1) * .18));
    transition: opacity .2s linear, transform .2s linear;
}
.section.is-scroll-active,
.image-band.is-scroll-active,
.promo-hero.is-scroll-active,
.form-shell.is-scroll-active,
.cta-band.is-scroll-active {
    outline: 0;
}
.section::before {
    width: 190px;
    height: 190px;
    right: -60px;
    top: 24px;
    background: rgba(22,165,142,.12);
    z-index: -1;
}
main > .section:nth-of-type(odd),
.page > .section:nth-of-type(odd) {
    background: linear-gradient(135deg, var(--section-soft), transparent 70%);
}
main > .section:nth-of-type(even),
.page > .section:nth-of-type(even) {
    background: linear-gradient(135deg, var(--section-mint), transparent 70%);
}
.section-head {
    display: grid;
    justify-content: start;
    gap: 8px;
    align-items: start;
    margin-bottom: 30px;
    text-align: left;
}
.section-head h2,
.section-head p {
    max-width: 780px;
    margin-bottom: 0;
}
.service-grid, .job-grid, .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-card, .job-card, .stat-card, .dash-panel, .panel-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.service-card::before,
.job-card::before,
.stat-card::before,
.dash-panel::before,
.panel-form::before,
.insight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.14) 42%, transparent 66%);
    transform: translateX(-120%);
    transition: transform .7s ease;
    pointer-events: none;
}
.service-card:hover,
.job-card:hover,
.stat-card:hover,
.dash-panel:hover,
.panel-form:hover,
.insight-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--brand-2) 42%, var(--line));
    box-shadow: 0 22px 54px rgba(0,0,0,.22);
}
.service-card:hover::before,
.job-card:hover::before,
.stat-card:hover::before,
.dash-panel:hover::before,
.panel-form:hover::before,
.insight-card:hover::before {
    transform: translateX(120%);
}
.service-card, .job-card, .stat-card { padding: 24px; }
.service-card span { color: var(--accent); font-size: 20px; }
.service-explorer {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 24px;
    align-items: stretch;
}
.service-selector {
    display: grid;
    gap: 8px;
}
.service-selector-item {
    width: 100%;
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: color-mix(in srgb, var(--surface) 84%, transparent);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-selector-item > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand-2) 12%, var(--surface-2));
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 800;
}
.service-selector-item strong { font-size: .92rem; }
.service-selector-item svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.service-selector-item:hover,
.service-selector-item.is-active {
    transform: translateX(6px);
    border-color: color-mix(in srgb, var(--brand-2) 55%, var(--line));
    background: color-mix(in srgb, var(--brand-2) 10%, var(--surface));
}
.service-selector-item.is-active > span {
    background: var(--brand-2);
    color: #ffffff;
}
.service-visual {
    min-height: 570px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5,8,21,.92) 100%);
}
.service-visual img {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
    transition: opacity .25s ease, transform .7s ease;
}
.service-visual img.is-changing { opacity: .35; }
.service-visual:hover img { transform: scale(1.035); }
.service-visual-copy {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 4vw, 44px);
    right: clamp(20px, 4vw, 44px);
    bottom: clamp(20px, 4vw, 40px);
}
.service-visual-copy h2,
.service-visual-copy p { color: #ffffff; }
.service-visual-copy p { max-width: 650px; }
.job-card { display: flex; flex-direction: column; gap: 10px; }
.job-card .btn { align-self: flex-start; margin-top: auto; }
.job-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.job-card-top p { margin-bottom: 0; }
.job-detail-list {
    display: grid;
    gap: 5px;
    padding: 10px 0;
}
.job-detail-list small b { color: var(--text); }
.job-filter-panel {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto clamp(28px, 5vw, 52px);
    padding: 22px;
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}
.job-filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.job-filter-actions {
    display: flex;
    align-items: end;
    gap: 10px;
}
.job-badge {
    display: inline-flex;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid var(--line);
    background: var(--surface-2);
}
.job-badge-open { color: #28d9ad; }
.job-badge-upcoming { color: #7aa8ff; }
.job-badge-urgent { color: #ff7777; }
.job-badge-warning { color: #f4c84a; }
.job-badge-closed { color: #aeb8d8; }
.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}
.timeline { display: grid; gap: 14px; }
.timeline div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    transition: transform .35s ease, border-color .35s ease;
}
.timeline div:hover {
    transform: translateX(8px);
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.timeline b { color: var(--brand-2); font-size: 20px; }
.cta-band {
    margin: clamp(40px, 6vw, 80px) clamp(18px, 5vw, 72px);
    padding: clamp(28px, 5vw, 58px);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: -80px auto auto -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    animation: floatGlow 7s ease-in-out infinite;
}
.cta-band h2 { margin: 0; color: white; }

.managed-cta {
    width: min(1180px, calc(100% - 36px));
    margin: clamp(44px, 6vw, 78px) auto;
    padding: 22px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: center;
    border: 0;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand) 26%, transparent), color-mix(in srgb, var(--brand-2) 18%, transparent)),
        var(--glass);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.managed-cta-copy {
    padding: clamp(18px, 3vw, 34px);
}
.managed-cta img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
}
.search-trends {
    width: min(1180px, calc(100% - 36px));
    margin: clamp(38px, 5vw, 70px) auto;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    text-align: center;
}
.search-trends .section-head {
    justify-content: center;
    justify-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.search-trends .section-head h2,
.search-trends .section-head p {
    margin-left: auto;
    margin-right: auto;
}
.trend-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    justify-content: center;
}
.trend-groups > div {
    display: grid;
    justify-items: center;
    text-align: center;
}
.trend-groups h3 {
    margin-bottom: 12px;
}
.trend-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.trend-chips a {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-2) 76%, transparent);
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}
.trend-chips a:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--brand-2) 42%, var(--line));
}
.check-row {
    display: flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
}
.check-row input {
    width: auto;
}

.image-band,
.promo-hero {
    width: min(1180px, calc(100% - 36px));
    margin: clamp(42px, 6vw, 80px) auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    position: relative;
    isolation: isolate;
    transform: translateY(calc((1 - var(--section-progress, 1)) * 18px));
    opacity: calc(.84 + (var(--section-progress, 1) * .16));
    transition: opacity .2s linear, transform .2s linear, outline-color .25s ease;
}
.image-band {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.image-band::before,
.promo-hero::before {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -50px;
    background: rgba(51,72,173,.14);
    z-index: -1;
}
.image-band img,
.promo-hero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform .7s ease, filter .7s ease;
    transform: scale(calc(1.03 - (var(--section-progress, 1) * .03)));
}
.image-band:hover img,
.promo-hero:hover img,
.image-strip:hover img {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.03);
}
.promo-hero {
    margin-top: 22px;
}
.promo-hero > div {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}
.image-strip {
    width: min(1180px, calc(100% - 36px));
    margin: clamp(34px, 5vw, 64px) auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}
.image-strip img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .7s ease, filter .7s ease;
}
.insight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.insight-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.insight-card b {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}
.value-list {
    display: grid;
    gap: 12px;
}
.value-list div {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    transition: transform .35s ease, border-color .35s ease;
}
.value-list div:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--brand-2) 42%, var(--line));
}
.value-list b { color: var(--text); }
.value-list span { color: var(--muted); }

.contact-details {
    padding-top: clamp(36px, 5vw, 70px);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.contact-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}
.contact-card b {
    color: var(--text);
}
.contact-card a,
.contact-card span {
    color: var(--muted);
}
.contact-card a {
    font-weight: 800;
}
.contact-social {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--section-soft), var(--glass));
}
.contact-social h2,
.contact-social p { margin-bottom: 8px; }
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}
.social-links a:hover {
    transform: translateY(-2px);
    border-color: var(--brand-2);
    color: var(--text);
    background: color-mix(in srgb, var(--brand-2) 12%, transparent);
}
.social-links svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.social-links-large a {
    min-height: 64px;
    padding: 12px 15px;
    border-radius: 16px;
    font-size: 13px;
}
.social-links-large svg {
    width: 24px;
    height: 24px;
}
.social-links-large span {
    display: grid;
    gap: 1px;
}
.social-links-large b { color: var(--text); }
.social-links-large small {
    color: var(--muted);
    font-size: 10px;
}

.page-hero { max-width: 980px; margin: 0 auto 36px; text-align: center; }
.searchbar { display: flex; gap: 12px; margin: 28px auto 0; max-width: 760px; }
.form-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: start;
    transform: translateY(calc((1 - var(--section-progress, 1)) * 18px));
    opacity: calc(.84 + (var(--section-progress, 1) * .16));
    transition: opacity .2s linear, transform .2s linear;
}
.panel-form { padding: 24px; display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 600; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--text);
    padding: 13px 14px;
    outline: 0;
}
textarea { resize: vertical; }
.auth-page {
    min-height: 72vh;
    display: block;
}
.auth-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: stretch;
}
.auth-content {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 54px);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(51,72,173,.78), rgba(22,165,142,.48)),
        url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1200&q=80") center/cover;
    box-shadow: var(--shadow);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.auth-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,16,32,.08), rgba(8,16,32,.82));
}
.auth-content > * {
    position: relative;
    z-index: 1;
}
.auth-content h1,
.auth-content p {
    color: #ffffff;
}
.auth-content p {
    color: rgba(255,255,255,.82);
}
.auth-highlights {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.auth-highlights span {
    padding: 12px 14px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    color: #ffffff;
}
.auth-form {
    align-self: stretch;
    padding: clamp(24px, 4vw, 38px);
}
.auth-form p a {
    color: var(--brand-2);
    font-weight: 800;
}
.auth-form-links {
    display: flex;
    justify-content: flex-end;
    margin-top: -7px;
}
.auth-form-links a,
.reset-preview a {
    color: var(--brand-2);
    font-weight: 800;
}
.reset-preview {
    display: grid;
    gap: 6px;
    padding: 13px 14px;
    border: 1px solid color-mix(in srgb, var(--brand-2) 38%, var(--line));
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--brand-2) 10%, var(--surface));
}
.smtp-settings-shell { margin-top: 28px; }
.smtp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(150px, .8fr)) 1.2fr;
    gap: 28px;
    padding: 48px clamp(18px, 5vw, 72px) 26px;
    border-top: 1px solid var(--line);
    background: #050815;
}
.footer-brand { margin-bottom: 16px; width: fit-content; }
.site-footer .brand-logo { width: 150px; }
.footer-about p,
.footer-subscribe p { margin-bottom: 16px; }
.footer-contact {
    display: grid;
    gap: 7px;
    color: #c0cadc;
    font-size: 13px;
}
.footer-contact a:hover { color: #ffffff; }
.footer-social { margin-top: 16px; }
.footer-social a {
    border-color: rgba(255,255,255,.14);
    color: #c0cadc;
    background: rgba(255,255,255,.04);
}
.footer-links {
    display: grid;
    align-content: start;
    gap: 9px;
}
.footer-links h3,
.footer-subscribe h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 15px;
}
.footer-links a {
    color: #c0cadc;
    font-size: 13px;
}
.footer-links a:hover { color: #ffffff; }
.footer-subscribe {
    align-self: start;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    background: rgba(255,255,255,.05);
}
.subscribe-form {
    display: grid;
    gap: 10px;
}
.subscribe-form input {
    background: rgba(255,255,255,.08);
    color: #ffffff;
}
.subscribe-form input::placeholder { color: #aeb8d8; }
.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #aeb8d8;
    font-size: 12px;
}
.zetaa-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aeb8d8;
}
.zetaa-credit img {
    display: block;
    width: 82px;
    height: 28px;
    object-fit: contain;
    transition: opacity .25s ease, transform .25s ease;
}
.zetaa-credit:hover img {
    opacity: .82;
    transform: translateY(-1px);
}
.back-to-top {
    position: fixed;
    right: clamp(18px, 3vw, 38px);
    bottom: 24px;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: var(--brand-2);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(5,8,21,.24);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--brand);
    transform: translateY(-2px);
}
.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-body {
    min-height: 100vh;
    display: block;
}
.sidebar {
    position: relative;
    top: 0;
    height: auto;
    padding: 18px;
    border-right: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    z-index: 10;
}
.sidebar .brand {
    width: 100%;
}
.sidebar .brand-logo {
    width: 138px;
    max-width: 100%;
}
.sidebar nav { display: grid; gap: 7px; margin-top: 20px; }
.sidebar nav a,
.sidebar-theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
    font-size: .88rem;
}
.sidebar-theme-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}
.sidebar nav a:hover,
.sidebar-theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-label {
    overflow: hidden;
    text-overflow: ellipsis;
}
.role-pill {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(29,191,159,.14);
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 800;
}
.dashboard-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 20px clamp(16px, 3vw, 34px);
    overflow-x: hidden;
}
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.dash-top p { margin-bottom: 4px; }
.dash-top h1 { font-size: 22px; }
.dashboard-main .stats-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}
.dashboard-main .stat-card {
    min-width: 0;
}
.stat-card span { color: var(--muted); font-weight: 700; }
.stat-card strong { display: block; margin-top: 10px; font-size: 22px; }

@media (min-width: 981px) {
    .dashboard-body {
        padding-left: 240px;
    }
    .dashboard-body > .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 240px;
        height: 100vh;
    }
    .dashboard-body > .dashboard-main {
        min-height: 100vh;
        width: 100%;
    }
}
.dash-panel {
    padding: 18px;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
}
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(7, minmax(98px, 1fr));
    gap: 7px;
    margin: 8px 0 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-2) 64%, transparent);
}
.admin-filter-form label {
    font-size: .66rem;
    gap: 4px;
}
.admin-filter-form input,
.admin-filter-form select {
    min-height: 29px;
    padding: 5px 8px;
    border-radius: 11px;
    font-size: .74rem;
}
.admin-filter-actions {
    display: flex;
    align-items: end;
    gap: 7px;
}
.admin-filter-actions .btn {
    min-height: 32px;
    padding: 7px 13px;
    font-size: .78rem;
}
.date-range-filter {
    position: relative;
}
.date-range-trigger {
    width: 100%;
    min-height: 29px;
    padding: 5px 34px 5px 8px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
    display: grid;
    gap: 1px;
    text-align: left;
    cursor: pointer;
    position: relative;
}
.date-range-trigger span {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 700;
}
.date-range-trigger b {
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.date-trigger-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--brand-2);
}
.date-range-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    width: 250px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 96%, var(--bg) 4%);
    box-shadow: var(--shadow);
    display: none;
    gap: 8px;
}
.date-range-filter.is-open .date-range-popover {
    display: grid;
}
.date-presets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.date-presets button,
.icon-btn {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
}
.date-presets button {
    min-height: 28px;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 800;
}
.limit-filter {
    max-width: 74px;
}
.limit-filter select {
    min-width: 62px;
}
.limit-pager {
    display: flex;
    align-items: end;
    gap: 5px;
}
.pager-btn {
    width: 29px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--text);
    font-size: .82rem;
    font-weight: 900;
}
.pager-btn:hover {
    color: var(--brand-2);
    border-color: color-mix(in srgb, var(--brand-2) 48%, var(--line));
}
.pager-btn.is-disabled {
    pointer-events: none;
    opacity: .38;
}
.pager-count {
    min-width: 34px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
}
.compact-filter {
    width: max-content;
    max-width: 100%;
    grid-template-columns: 150px 62px;
    align-items: end;
}
.dashboard-date-filter {
    margin: 0;
    grid-template-columns: 170px;
    padding: 0;
    border: 0;
    background: transparent;
    flex: 0 0 auto;
}
.dashboard-date-filter .date-range-popover {
    left: auto;
    right: 0;
}
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 10px 9px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .88rem; }
th { color: var(--muted); font-size: .74rem; text-transform: uppercase; }
small { color: var(--muted); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form select { min-width: 125px; padding: 9px; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); font-size: .78rem; font-weight: 800; }
.badge-approved, .badge-active, .badge-shortlisted, .badge-offered, .badge-qualified { color: #28d9ad; }
.badge-pending, .badge-new, .badge-received, .badge-interview { color: #f4c84a; }
.badge-rejected, .badge-suspended, .badge-closed { color: #ff7777; }
.user-edit-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(110px, 1fr));
    gap: 8px;
    align-items: end;
}
.user-password-reset {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    margin: 8px 0 0;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--brand-2) 35%, var(--line));
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-2) 7%, var(--surface));
}
.user-password-reset legend {
    padding: 0 8px;
    color: var(--brand-2);
    font-size: .76rem;
    font-weight: 800;
}
.user-edit-panel[hidden] {
    display: none;
}
.job-edit-panel[hidden] {
    display: none;
}
[data-inline-panel][hidden] {
    display: none;
}
.detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-2) 62%, transparent);
}
.detail-grid div {
    display: grid;
    gap: 3px;
}
.detail-grid span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}
.detail-grid b,
.detail-grid p {
    color: var(--text);
    font-size: .84rem;
}
.detail-grid p {
    margin: 0;
}
.detail-wide {
    grid-column: 1 / -1;
}
.job-edit-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 8px;
    align-items: end;
}
.job-edit-row label {
    font-size: .72rem;
    gap: 5px;
}
.job-edit-row input,
.job-edit-row select,
.job-edit-row textarea {
    min-height: 34px;
    padding: 7px 9px;
    font-size: .82rem;
    border-radius: 12px;
}
.job-edit-wide {
    grid-column: span 3;
}
.job-edit-actions {
    display: flex;
    gap: 8px;
    align-items: end;
}
.icon-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.icon-actions form {
    margin: 0;
}
.icon-btn {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    padding: 0;
}
.icon-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-btn:hover {
    color: var(--brand-2);
    border-color: color-mix(in srgb, var(--brand-2) 55%, var(--line));
}
.icon-btn.danger:hover {
    color: #ff7777;
    border-color: rgba(255,119,119,.55);
}
.page-option-toggle .arrow-up {
    display: none;
}
.page-option-toggle.is-open .arrow-down {
    display: none;
}
.page-option-toggle.is-open .arrow-up {
    display: block;
}
.page-editor-close {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.page-editor-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.navigation-option-list {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}
.navigation-option-list h3 {
    margin: 14px 0 2px;
    color: var(--brand-2);
}
.navigation-option-list h3:first-child {
    margin-top: 0;
}
.logo-upload-control {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}
.logo-upload-control > span {
    font-weight: 800;
}
.logo-upload-control img {
    width: min(220px, 100%);
    max-height: 90px;
    padding: 10px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.favicon-upload-control img {
    width: 84px;
    height: 84px;
    padding: 8px;
    object-fit: contain;
}
.user-edit-row label {
    font-size: .72rem;
    gap: 5px;
}
.user-edit-row input,
.user-edit-row select {
    min-height: 34px;
    padding: 7px 9px;
    font-size: .82rem;
}
.panel-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
.switch-cell {
    display: inline-flex;
    grid-auto-flow: column;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.switch-cell input {
    width: 18px;
    height: 18px;
}
.account-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 16px;
    align-items: start;
}
.account-summary {
    min-height: 100%;
}
.account-summary h2 {
    margin-top: 8px;
}
.account-summary p {
    margin-top: 6px;
    color: var(--muted);
}
.account-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.account-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
}
.account-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.account-form button {
    justify-self: start;
}
.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.crm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.pipeline-list {
    display: grid;
    gap: 9px;
}
.pipeline-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
}
.pipeline-list span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
}
.pipeline-list b {
    color: var(--text);
    font-size: .84rem;
}

.apply-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.apply-modal.is-open { display: flex; }
.apply-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3,8,20,.72);
    backdrop-filter: blur(16px);
}
.apply-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: min(88vh, 840px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(22px);
    box-shadow: 0 28px 90px rgba(0,0,0,.45);
}
.apply-modal-close {
    position: sticky;
    top: 12px;
    left: calc(100% - 52px);
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
}
.apply-modal-content {
    display: none;
    grid-template-columns: 1fr .9fr;
    gap: 20px;
    padding: 0 24px 24px;
}
.apply-modal-content.is-active { display: grid; }
.apply-modal-details {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
}
.job-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 18px;
}
.job-detail-grid span {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface-2) 74%, transparent);
    color: var(--muted);
}
.job-detail-grid b { color: var(--text); }
.apply-modal-form {
    margin: 0;
    box-shadow: none;
}
body.modal-open { overflow: hidden; }

.reveal {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(8px);
    transition: opacity .75s ease, transform .75s ease, filter .75s ease;
    transition-delay: var(--stagger-delay, 0ms);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
.section-head.reveal,
.hero-copy.reveal {
    transform: translateX(-24px);
}
.section-head.reveal.is-visible,
.hero-copy.reveal.is-visible {
    transform: translateX(0);
}
.promo-hero img.reveal,
.image-band img.reveal {
    transform: translateX(24px) scale(.985);
}
.promo-hero img.reveal.is-visible,
.image-band img.reveal.is-visible {
    transform: translateX(0) scale(1);
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(34px, 22px) scale(1.18); }
}

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

@media (max-width: 1220px) {
    .site-header {
        gap: 14px;
        padding-inline: clamp(14px, 3vw, 34px);
    }
    .brand-logo {
        width: clamp(110px, 11vw, 145px);
    }
    .site-nav,
    .nav-actions,
    .site-menu,
    .header-tools {
        gap: 10px;
    }
    .site-nav a {
        font-size: 12px;
    }
    .btn,
    button.btn {
        padding-inline: 15px;
    }
}

.limit-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.limit-settings-grid label {
    display: grid;
    gap: 8px;
}
.page-content-editor {
    display: grid;
    gap: 0;
}
.page-content-editor section {
    display: grid;
    align-content: start;
    gap: 14px;
}
.page-content-editor label {
    display: grid;
    gap: 7px;
}
.page-editor-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.full-page-block-editor {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.full-page-block-editor label {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface-2) 70%, transparent);
}
.elementor-builder {
    grid-template-columns: 360px minmax(620px, 1fr);
    min-height: 720px;
    margin: 10px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.builder-sidebar {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-width: 0;
    border-right: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, var(--brand) 6%);
}
.builder-brand-bar,
.builder-footer-actions,
.builder-canvas-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
}
.builder-brand-bar > div { display: grid; gap: 3px; }
.builder-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}
.builder-tabs button {
    padding: 13px 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-weight: 800;
    cursor: pointer;
}
.builder-tabs button.is-active {
    border-color: var(--brand-2);
    color: var(--brand-2);
}
.builder-panel {
    display: none;
    align-content: start;
    gap: 10px;
    padding: 12px;
    overflow-y: auto;
}
.builder-panel.is-active { display: grid; }
.builder-widget {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    overflow: hidden;
}
.builder-widget summary {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    list-style: none;
}
.builder-widget summary::-webkit-details-marker { display: none; }
.builder-widget summary > span:last-child { display: grid; gap: 2px; }
.builder-widget-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--brand-2) 13%, var(--surface));
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 900;
}
.builder-widget-fields {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid var(--line);
}
.builder-widget-fields label { display: grid; gap: 6px; }
.builder-help {
    padding: 13px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: .82rem;
}
.builder-footer-actions {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    border-bottom: 0;
}
.builder-canvas {
    min-width: 0;
    padding: 14px;
    background:
        linear-gradient(45deg, color-mix(in srgb, var(--line) 35%, transparent) 25%, transparent 25%) 0 0 / 20px 20px,
        linear-gradient(-45deg, color-mix(in srgb, var(--line) 35%, transparent) 25%, transparent 25%) 0 10px / 20px 20px,
        var(--bg);
}
.builder-canvas-toolbar {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: var(--surface);
}
.builder-canvas iframe {
    width: 100%;
    height: 650px;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: #ffffff;
}
.service-admin-grid,
.backup-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.service-admin-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}
.service-admin-card img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 12px;
}
.service-admin-actions { display: flex; gap: 9px; justify-content: flex-end; }
.backup-mode-grid { margin-bottom: 24px; }
.backup-mode-card { display: grid; align-content: start; gap: 12px; }
.page-image-editor {
    display: grid;
    gap: 9px;
}
.page-image-editor img {
    width: min(320px, 100%);
    max-height: 180px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
}

@media (max-width: 980px) {
    .site-header {
        flex-wrap: nowrap;
        gap: 14px;
        padding: 14px clamp(12px, 3vw, 24px);
    }
    .menu-toggle {
        order: 4;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .site-menu {
        order: 5;
        position: absolute;
        left: clamp(12px, 3vw, 24px);
        right: clamp(12px, 3vw, 24px);
        top: calc(100% + 10px);
        display: none;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: color-mix(in srgb, var(--surface) 96%, var(--bg) 4%);
        backdrop-filter: blur(18px);
        box-shadow: 0 26px 70px rgba(0,0,0,.36);
        z-index: 30;
    }
    .site-header.menu-open .site-menu {
        display: grid;
    }
    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .site-nav a {
        padding: 12px 14px;
        border-radius: var(--radius);
        background: color-mix(in srgb, var(--surface-2) 72%, transparent);
    }
    .nav-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .header-auth-link { display: none; }
    .mobile-menu-auth {
        display: block;
    }
    .mobile-menu-auth .btn {
        width: 100%;
    }
    .hero, .split, .form-shell, .site-footer, .image-band, .promo-hero, .managed-cta, .auth-shell, .trend-groups, .account-grid, .crm-grid, .contact-social, .limit-settings-grid, .page-content-editor, .service-explorer, .service-admin-grid, .backup-mode-grid { grid-template-columns: 1fr; }
    .elementor-builder { grid-template-columns: 1fr; }
    .builder-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
    .service-visual,
    .service-visual img { min-height: 470px; }
    .hero { min-height: auto; }
    .career-hero-panel { min-height: 500px; }
    .hero-panel-note {
        left: 22px;
        width: min(310px, calc(100% - 44px));
    }
    .service-grid, .job-grid, .stats-grid, .insight-grid, .job-filter-form, .admin-filter-form, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .user-edit-row, .job-edit-row, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .user-password-reset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .job-edit-wide { grid-column: span 2; }
    .image-strip { grid-template-columns: 1fr; }
    .dashboard-body { padding-left: 0; }
    .sidebar {
        position: relative;
        height: auto;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-date-filter {
        width: max-content;
        grid-template-columns: 170px;
    }
    .dashboard-main .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { flex-direction: column; }
    .apply-modal-content { grid-template-columns: 1fr; }
    .auth-content { min-height: 390px; }
}

@media (max-width: 640px) {
    .site-header { gap: 8px; }
    .header-tools { margin-left: auto; gap: 8px; flex-shrink: 0; }
    .nav-actions { width: 100%; justify-content: flex-start; }
    .site-nav { grid-template-columns: 1fr; }
    .site-menu { padding: 12px; }
    .nav-search input {
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        z-index: 40;
        box-shadow: var(--shadow);
    }
    .nav-search.is-open input,
    .nav-search:focus-within input {
        width: min(270px, calc(100vw - 28px));
        padding: 12px 14px;
        border-width: 1px;
    }
    .brand-logo { width: 92px; }
    .theme-toggle,
    .menu-toggle,
    .nav-search-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }
    .theme-dot {
        width: 15px;
        height: 15px;
    }
    .dash-top {
        align-items: flex-start;
        flex-direction: column;
    }
    .dashboard-date-filter {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .dashboard-date-filter .date-range-popover {
        left: 0;
        right: auto;
        width: min(250px, calc(100vw - 44px));
    }
    .service-grid, .job-grid, .stats-grid, .insight-grid, .job-filter-form, .admin-filter-form, .user-edit-row, .job-edit-row, .detail-grid, .account-form, .contact-grid { grid-template-columns: 1fr; }
    .user-password-reset { grid-template-columns: 1fr; }
    .social-links-large { grid-template-columns: 1fr; }
    .job-edit-wide { grid-column: auto; }
    .job-edit-actions { flex-direction: column; align-items: stretch; }
    .searchbar, .cta-band, .inline-form, .admin-filter-actions { flex-direction: column; align-items: stretch; }
    .hero-panel { min-height: 340px; }
    .career-hero-panel { min-height: 440px; }
    .hero-panel-note {
        top: 22px;
        left: 22px;
        width: calc(100% - 44px);
    }
    .career-hero-panel .metric {
        margin-inline: 0;
        align-items: flex-start;
    }
    .career-hero-panel .metric span {
        max-width: 78%;
        text-align: right;
    }
    .hero-copy h1 { font-size: clamp(36px, 12vw, 54px); }
    .hero-trust { gap: 7px; }
    .sidebar nav { grid-template-columns: 1fr; }
    .dashboard-main .stats-grid { grid-template-columns: 1fr; }
    .dashboard-main { padding-inline: 14px; }
    .job-detail-grid { grid-template-columns: 1fr; }
}

