.wc-autocomplete-menu {
    position: absolute;
    z-index: 1080;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    padding: .35rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: .65rem;
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .14);
}

.wc-autocomplete-menu.is-visible {
    display: grid;
    gap: .15rem;
}

.wc-autocomplete-option {
    width: 100%;
    padding: .55rem .7rem;
    border: 0;
    border-radius: .45rem;
    background: transparent;
    color: inherit;
    text-align: left;
    font: inherit;
    line-height: 1.35;
    cursor: pointer;
}

.wc-autocomplete-option:hover,
.wc-autocomplete-option.is-active {
    background: rgba(255, 105, 0, .1);
    color: var(--wc-primary, #e85d04);
}
/* ==========================================================================
   WorkCul public interface
   One source of truth for public pages. Keep selectors here unique.
   ========================================================================== */

:root {
    --wc-navy: #092c52;
    --wc-navy-deep: #061f3a;
    --wc-navy-soft: #eaf1f8;
    --wc-orange: #ff6900;
    --wc-orange-deep: #d95400;
    --wc-orange-soft: #fff1e8;
    --wc-ink: #172b40;
    --wc-slate: #526579;
    --wc-muted: #738396;
    --wc-line: #dce5ee;
    --wc-surface: #ffffff;
    --wc-canvas: #f5f7fa;
    --wc-success: #16794a;
    --wc-success-soft: #eaf7f0;
    --wc-danger: #b42318;
    --wc-danger-soft: #fff0ef;
    --wc-warning: #9b5c00;
    --wc-warning-soft: #fff7e6;
    --wc-radius-lg: 18px;
    --wc-radius-md: 12px;
    --wc-radius-sm: 8px;
    --wc-shadow-sm: 0 2px 10px rgba(9, 44, 82, .06);
    --wc-shadow-md: 0 12px 30px rgba(9, 44, 82, .10);
    --wc-shadow-lg: 0 20px 52px rgba(9, 44, 82, .15);
    --wc-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wc-ease: cubic-bezier(.2, .75, .25, 1);
    --wc-fast: 180ms;
    --wc-normal: 280ms;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--wc-ink);
    background: var(--wc-canvas);
    font-family: var(--wc-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--wc-navy);
    text-decoration: none;
    transition: color var(--wc-fast) ease, opacity var(--wc-fast) ease;
}

a:hover {
    color: var(--wc-orange-deep);
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

button,
.btn,
.nav-link,
.sidebar-link,
.cat-card,
.social-icon {
    min-height: 44px;
}

::selection {
    color: #fff;
    background: var(--wc-orange);
}

::placeholder {
    color: #8b99a8 !important;
    opacity: 1;
}

*:focus-visible {
    outline: 3px solid rgba(255, 105, 0, .35);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wc-navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.text-light-secondary {
    color: rgba(255, 255, 255, .72);
}

.text-gradient {
    color: var(--wc-orange);
}

/* Navigation */
.navbar {
    padding: .75rem 0;
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(220, 229, 238, .9);
    box-shadow: 0 1px 0 rgba(9, 44, 82, .02);
    transition: box-shadow var(--wc-normal) ease;
}

.navbar.scrolled {
    box-shadow: 0 8px 24px rgba(9, 44, 82, .08);
}

.navbar-brand {
    color: var(--wc-navy) !important;
    font-weight: 700;
}

.brand-logo {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--wc-line);
    border-radius: 9px;
    background: #fff;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.brand-text {
    color: var(--wc-navy);
    font-size: clamp(1.08rem, 2.5vw, 1.22rem);
    letter-spacing: -.01em;
}

.navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    border-color: var(--wc-line);
}

.navbar-nav .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--wc-slate);
    font-size: .9rem;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    position: absolute;
    right: .8rem;
    bottom: .25rem;
    left: .8rem;
    height: 2px;
    content: "";
    border-radius: 999px;
    background: var(--wc-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--wc-normal) var(--wc-ease);
}

.navbar-nav .nav-link:hover {
    color: var(--wc-navy);
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-digital {
    color: var(--wc-orange-deep) !important;
}

/* Buttons and form controls */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-height: 44px;
    border-radius: var(--wc-radius-sm);
    font-weight: 600;
    letter-spacing: -.01em;
    transition: transform var(--wc-fast) var(--wc-ease), box-shadow var(--wc-fast) ease, background-color var(--wc-fast) ease, border-color var(--wc-fast) ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: #fff;
    border-color: var(--wc-orange);
    background: var(--wc-orange);
    box-shadow: 0 5px 12px rgba(255, 105, 0, .18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #fff;
    border-color: var(--wc-orange-deep);
    background: var(--wc-orange-deep);
    box-shadow: 0 8px 18px rgba(255, 105, 0, .24);
}

.btn-outline-primary {
    color: var(--wc-navy);
    border-color: var(--wc-navy);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    border-color: var(--wc-navy);
    background: var(--wc-navy);
}

.btn-outline-secondary {
    color: var(--wc-slate);
    border-color: #aebdca;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: var(--wc-navy);
    border-color: var(--wc-navy);
    background: var(--wc-navy-soft);
}

.btn-warning {
    color: #fff;
    border-color: var(--wc-orange);
    background: var(--wc-orange);
}

.btn-warning:hover,
.btn-warning:focus {
    color: #fff;
    border-color: var(--wc-orange-deep);
    background: var(--wc-orange-deep);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--wc-navy);
}

.btn-light {
    color: var(--wc-navy);
    border-color: var(--wc-line);
    background: #fff;
}

.btn-light:hover,
.btn-light:focus {
    color: var(--wc-navy);
    border-color: #c5d2df;
    background: var(--wc-canvas);
}

.form-label {
    margin-bottom: .45rem;
    color: var(--wc-navy);
    font-size: .88rem;
    font-weight: 600;
}

.form-section-title {
    margin-top: .75rem;
    padding-bottom: .55rem;
    color: var(--wc-navy);
    border-bottom: 1px solid var(--wc-line);
    font-size: .98rem;
    letter-spacing: .01em;
}

.form-control,
.form-select {
    min-height: 46px;
    color: var(--wc-ink);
    border-color: var(--wc-line);
    border-radius: var(--wc-radius-sm);
    background-color: #fff;
    font-size: .94rem;
    transition: border-color var(--wc-fast) ease, box-shadow var(--wc-fast) ease;
}

.form-control:focus,
.form-select:focus {
    color: var(--wc-ink);
    border-color: var(--wc-navy);
    box-shadow: 0 0 0 3px rgba(9, 44, 82, .10);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--wc-danger);
}

.input-group .form-control {
    min-height: 46px;
}

.form-check-input {
    width: 1.15em;
    height: 1.15em;
    border-color: #aebdca;
}

.form-check-input:checked {
    border-color: var(--wc-orange);
    background-color: var(--wc-orange);
}

.form-text {
    color: var(--wc-muted);
}

.invalid-feedback {
    color: var(--wc-danger);
}

/* Shared surfaces */
.panel {
    overflow: hidden;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background: var(--wc-surface);
    box-shadow: var(--wc-shadow-sm);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--wc-line);
}

.panel-header h5,
.panel-header h6 {
    margin: 0;
    color: var(--wc-navy);
}

.panel-body {
    padding: 1.25rem;
}

.empty-state {
    padding: clamp(2rem, 6vw, 4rem) 1.25rem;
    color: var(--wc-slate);
    text-align: center;
    border: 1px dashed #c6d3df;
    border-radius: var(--wc-radius-lg);
    background: rgba(255, 255, 255, .66);
}

.empty-state i {
    display: block;
    margin-bottom: .7rem;
    color: var(--wc-navy);
    font-size: 2.5rem;
}

.empty-state h1,
.empty-state h2,
.empty-state h3,
.empty-state h4,
.empty-state h5,
.empty-state h6 {
    margin-bottom: .35rem;
}

.empty-state p {
    max-width: 34rem;
    margin: 0 auto 1.15rem;
    color: var(--wc-muted);
}

.job-card,
.offer-card {
    padding: 1.15rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-md);
    background: #fff;
}

.job-card {
    position: relative;
    margin-bottom: 1rem;
    box-shadow: var(--wc-shadow-sm);
    transition: transform var(--wc-fast) var(--wc-ease), box-shadow var(--wc-fast) ease, border-color var(--wc-fast) ease;
}

.job-card:hover {
    border-color: #bccbd9;
    box-shadow: var(--wc-shadow-sm);
    transform: translateY(-2px);
}

.job-card h5 {
    color: var(--wc-navy);
    font-size: 1.05rem;
    line-height: 1.35;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: .4rem .7rem;
    flex-wrap: wrap;
    color: var(--wc-muted);
    font-size: .82rem;
}

.job-meta > i {
    color: var(--wc-orange-deep);
}

.job-category,
.job-budget {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    max-width: 100%;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.25;
}

.job-category {
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
}

.job-budget {
    color: var(--wc-orange-deep);
    background: var(--wc-orange-soft);
    white-space: nowrap;
}

.job-card .badge,
.offer-card .badge {
    font-size: .75rem;
}

.offer-price {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    color: var(--wc-orange-deep);
    border: 1px solid #ffd2b3;
    border-radius: var(--wc-radius-sm);
    background: var(--wc-orange-soft);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.offer-card.accepted {
    border-color: #8bcba8;
    background: var(--wc-success-soft);
}

.badge-status-assigned,
.badge-status-cancelled,
.badge-status-completed,
.badge-status-open,
.badge-offer-accepted,
.badge-offer-pending,
.badge-offer-rejected {
    padding: .4rem .65rem;
    border-radius: 999px;
    font-weight: 700;
}

.badge-status-open,
.badge-offer-pending {
    color: var(--wc-warning);
    background: var(--wc-warning-soft);
}

.badge-status-assigned {
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
}

.badge-status-completed,
.badge-offer-accepted {
    color: var(--wc-success);
    background: var(--wc-success-soft);
}

.badge-status-cancelled,
.badge-offer-rejected {
    color: var(--wc-danger);
    background: var(--wc-danger-soft);
}

/* Homepage */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--wc-navy);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(120deg, rgba(9, 44, 82, .98) 0%, rgba(9, 44, 82, .95) 55%, rgba(9, 44, 82, .88) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.local-hero {
    padding: clamp(4.25rem, 9vw, 7rem) 0;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.65rem);
    letter-spacing: -.01em;
}

.hero .lead {
    max-width: 660px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero .text-warning {
    color: #ffb17b !important;
}

.hero-search {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--wc-ink);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: var(--wc-radius-lg);
    background: #fff;
    box-shadow: var(--wc-shadow-lg);
}

.glass-card {
    border-radius: var(--wc-radius-lg);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--wc-shadow-md);
}

.section {
    padding: clamp(3.75rem, 8vw, 6.5rem) 0;
}

.section-title {
    margin-bottom: .7rem;
    color: var(--wc-navy);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    letter-spacing: -.01em;
}

.section-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: var(--wc-muted);
    font-size: clamp(.95rem, 1.4vw, 1.05rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--wc-orange-deep);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cat-card {
    display: block;
    height: 100%;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--wc-ink);
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background: #fff;
    transition: transform var(--wc-normal) var(--wc-ease), border-color var(--wc-normal) ease, box-shadow var(--wc-normal) ease;
}

.cat-card:hover {
    color: var(--wc-ink);
    border-color: rgba(255, 105, 0, .42);
    box-shadow: var(--wc-shadow-md);
    transform: translateY(-4px);
}

.cat-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--wc-navy);
    border-radius: 14px;
    background: var(--wc-navy-soft);
    font-size: 1.45rem;
}

.cat-card:hover .cat-icon {
    color: var(--wc-orange-deep);
    background: var(--wc-orange-soft);
}

.cat-card h6 {
    display: block;
    width: 100%;
    min-width: 0;
    margin-bottom: .35rem;
    color: var(--wc-navy);
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
}

.cat-card small {
    display: block;
    width: 100%;
    text-align: left;
    color: var(--wc-muted);
    line-height: 1.55;
}

.digital-entry-section {
    background: #fff;
}

.digital-entry-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    color: #fff;
    border-radius: var(--wc-radius-lg);
    background: var(--wc-navy);
    box-shadow: var(--wc-shadow-md);
}

.digital-entry-mark {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--wc-orange);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    font-size: 1.5rem;
}

.digital-entry-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
}

.digital-entry-copy .section-title {
    color: #fff;
}

.digital-entry-copy p {
    color: rgba(255, 255, 255, .76);
}

.digital-entry-action {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.step-card,
.feature-card {
    height: 100%;
    padding: clamp(1.25rem, 3vw, 1.7rem);
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background: #fff;
}

.step-card {
    position: relative;
    padding-top: 3.8rem;
}

.step-num {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    background: var(--wc-navy);
    font-size: .82rem;
    font-weight: 700;
}

.step-card h5,
.feature-card h5 {
    margin-bottom: .55rem;
    color: var(--wc-navy);
}

.step-card p,
.feature-card p {
    margin-bottom: 0;
    color: var(--wc-muted);
    font-size: .92rem;
}

.feature-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--wc-orange-deep);
    border-radius: 12px;
    background: var(--wc-orange-soft);
    font-size: 1.25rem;
}

.stats-band {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    color: #fff;
    background: var(--wc-navy);
}

.stat-num {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.stat-label {
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
    font-weight: 600;
}

.worker-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background: #fff;
    transition: transform var(--wc-normal) var(--wc-ease), box-shadow var(--wc-normal) ease;
}

.worker-card:hover {
    box-shadow: var(--wc-shadow-md);
    transform: translateY(-3px);
}

.worker-img {
    display: block;
    width: 100%;
    height: clamp(190px, 23vw, 210px);
    object-fit: cover;
    background: var(--wc-navy-soft);
}

.worker-body {
    padding: 1.1rem;
}

.worker-name {
    color: var(--wc-navy);
    font-weight: 700;
}

.worker-cat {
    margin-top: .25rem;
    color: var(--wc-muted);
    font-size: .84rem;
}

.review-card {
    position: relative;
    height: 100%;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background: #fff;
}

.quote-mark {
    color: var(--wc-orange);
    font-size: 1.8rem;
    line-height: 1;
}

.review-text {
    color: var(--wc-slate);
}

.reviewer {
    color: var(--wc-navy);
    font-size: .9rem;
    font-weight: 700;
}

.accordion-item {
    overflow: hidden;
    border: 1px solid var(--wc-line) !important;
    border-radius: var(--wc-radius-md) !important;
    background: #fff;
}

.accordion-item + .accordion-item {
    margin-top: .7rem;
}

.accordion-button {
    min-height: 52px;
    color: var(--wc-navy);
    background: #fff;
    font-size: .96rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(9, 44, 82, .10);
}

.accordion-body {
    color: var(--wc-slate);
    font-size: .92rem;
}

.contact-card {
    height: 100%;
    padding: 1.15rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-md);
    background: #fff;
}

.contact-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: .7rem;
    color: var(--wc-navy);
    border-radius: 10px;
    background: var(--wc-navy-soft);
}

.contact-card h6 {
    margin-bottom: .25rem;
}

/* Digital marketplace pages */
.digital-directory-hero,
.skill-detail-hero {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.digital-directory-hero-grid,
.skill-detail-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.digital-directory-copy h1,
.skill-detail-hero-copy h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(2.15rem, 4.5vw, 4.1rem);
    letter-spacing: -.01em;
}

.digital-back-link,
.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    font-weight: 600;
}

.digital-back-link:hover,
.back-link:hover {
    color: #fff;
}

.digital-hero-badge {
    color: var(--wc-navy);
    background: #fff;
}

.digital-directory-panel .hero-search {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.digital-panel-heading {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.directory-snapshot-header {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.directory-snapshot-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex: 0 0 46px;
    color: #fff;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--wc-orange) 0%, var(--wc-orange-deep) 100%);
    box-shadow: 0 8px 18px rgba(217, 84, 0, .22);
    font-size: 1.15rem;
}

.homepage-hero-icon {
    background: linear-gradient(135deg, var(--wc-navy) 0%, #1765a7 100%);
    box-shadow: 0 8px 18px rgba(9, 44, 82, .2);
}

.directory-snapshot-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .35rem .68rem;
    color: var(--wc-orange-deep);
    border: 1px solid rgba(255, 105, 0, .2);
    border-radius: 999px;
    background: var(--wc-orange-soft);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.directory-snapshot-heading {
    display: block;
    margin-top: .8rem;
    color: var(--wc-navy);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.3;
}

.directory-snapshot-divider {
    height: 1px;
    margin: 1.1rem 0;
    background: var(--wc-line);
}

.directory-snapshot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.directory-snapshot-item {
    display: block;
    min-width: 0;
    padding: .85rem .8rem;
    border: 1px solid var(--wc-line);
    border-radius: 14px;
    background: rgba(246, 249, 252, .78);
}

.directory-snapshot-item-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: var(--wc-orange-deep);
    border-radius: 10px;
    background: var(--wc-orange-soft);
    font-size: .86rem;
}

.directory-snapshot-item > strong,
.directory-snapshot-item > small {
    display: block;
}

.directory-snapshot-item > strong {
    color: var(--wc-navy);
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    line-height: 1.1;
}

.directory-snapshot-item > small {
    margin-top: .15rem;
    color: var(--wc-muted);
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.35;
}

.digital-panel-number {
    margin-top: 1.5rem;
    color: var(--wc-navy);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
}

.digital-panel-title {
    color: var(--wc-slate);
    font-weight: 600;
}

.digital-panel-divider {
    height: 1px;
    margin: 1.25rem 0;
    background: var(--wc-line);
}

.digital-panel-note {
    display: flex;
    gap: .65rem;
    color: var(--wc-muted);
    font-size: .84rem;
}

.digital-panel-note i {
    color: var(--wc-success);
}

.digital-skill-card {
    position: relative;
}

.digital-skill-arrow {
    color: var(--wc-orange);
    font-size: 1.2rem;
}

.digital-skill-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1rem;
    padding-top: .85rem;
    color: var(--wc-muted);
    border-top: 1px solid var(--wc-line);
    font-size: .78rem;
}

/* Keep directory cards readable on phones even if a cached Bootstrap
   stylesheet misses the responsive column utility classes. */
@media (max-width: 575.98px) {
    .digital-page .digital-card-column,
    .local-page main .row > .reveal {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.digital-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    align-items: start;
    gap: clamp(2rem, 7vw, 6rem);
}

.digital-step-list {
    display: grid;
    gap: .85rem;
}

.digital-step {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--wc-line);
}

.digital-step:last-child {
    border-bottom: 0;
}

.digital-step > span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 50%;
    background: var(--wc-navy);
    font-size: .8rem;
    font-weight: 700;
}

.digital-step strong {
    display: block;
    color: var(--wc-navy);
}

.digital-step small {
    display: block;
    margin-top: .2rem;
    color: var(--wc-muted);
}

.skill-detail-hero-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.skill-detail-kicker {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.1rem;
}

.digital-skill-icon-lg {
    width: 52px;
    height: 52px;
    margin: 0;
    color: var(--wc-orange);
    background: rgba(255, 255, 255, .1);
}

.digital-detail-eyebrow {
    color: rgba(255, 255, 255, .72);
}

.skill-detail-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, .78);
    font-size: .86rem;
}

.skill-detail-hero-points i {
    margin-right: .3rem;
    color: #ffb17b;
}

.skill-detail-action-card {
    display: grid;
    gap: .8rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--wc-radius-lg);
    background: #fff;
    box-shadow: var(--wc-shadow-lg);
}

.skill-detail-action-label {
    color: var(--wc-navy);
    font-weight: 700;
}

.skill-detail-action-card small {
    color: var(--wc-muted);
}

.digital-pros-heading {
    align-items: end;
}

/* Authentication and utility pages */
.auth-card {
    padding: clamp(1.35rem, 4vw, 2.25rem);
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background: #fff;
    box-shadow: var(--wc-shadow-md);
}

.auth-side {
    padding: clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    border-radius: var(--wc-radius-lg);
    background: var(--wc-navy);
}

.auth-side h2 {
    color: #fff;
}

.auth-side p {
    color: rgba(255, 255, 255, .76);
}

.login-signup-options {
    padding-top: 1rem;
    border-top: 1px solid var(--wc-line);
}

.signup-page,
.local-signup-page,
.digital-signup-page {
    min-height: calc(100vh - 76px);
    padding: clamp(2rem, 7vw, 5rem) 0;
}

.signup-track-mark {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--wc-orange-deep);
    border-radius: 13px;
    background: var(--wc-orange-soft);
    font-size: 1.35rem;
}

.signup-eyebrow {
    color: var(--wc-orange-deep);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Icon badge used on auth/verification screens (register, verify-email,
   profile-verification) — was previously unstyled. */
.signup-form-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.6rem;
    line-height: 1;
}

.signup-form-icon.is-local {
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
}

.signup-form-icon.is-digital {
    color: #0a6c8f;
    background: #eaf6fb;
}


/* Registration service switcher */
.signup-track-switch {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: .25rem;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--wc-line);
    border-radius: 999px;
    background: var(--wc-surface);
    box-shadow: 0 4px 12px rgba(9, 44, 82, .05);
}

.signup-track-switch a {
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .5rem .7rem;
    color: var(--wc-slate);
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.signup-track-switch a i {
    flex: 0 0 auto;
    font-size: .95rem;
}

.signup-track-switch a:hover,
.signup-track-switch a:focus-visible {
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
}

.signup-track-switch a.active {
    color: #fff;
    background: var(--wc-orange);
    box-shadow: 0 4px 10px rgba(255, 105, 0, .2);
}

.signup-track-switch a.active:hover,
.signup-track-switch a.active:focus-visible {
    color: #fff;
    background: var(--wc-orange-deep);
}

.job-type-picker {
    overflow: hidden;
}

.job-type-choice {
    position: relative;
    display: flex;
    min-height: 220px;
    height: 100%;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.75rem;
    color: var(--wc-navy);
    text-decoration: none;
    border: 1px solid rgba(255, 105, 0, .14);
    border-radius: var(--wc-radius-lg);
    background: var(--wc-surface);
    box-shadow: 0 10px 24px rgba(6, 31, 58, .07);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.job-type-choice:hover,
.job-type-choice:focus-visible {
    color: var(--wc-navy);
    border-color: var(--wc-orange);
    box-shadow: 0 20px 42px rgba(6, 31, 58, .16);
    transform: translateY(-5px);
}

.job-type-choice-local {
    background: linear-gradient(145deg, #fff8ef, #fff);
}

.job-type-choice-digital {
    background: linear-gradient(145deg, #eef7ff, #fff);
}

.job-type-choice-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: var(--wc-orange-deep);
    border: 1px solid rgba(255, 105, 0, .14);
    border-radius: 50%;
    background: rgba(255, 105, 0, .12);
    font-size: 1.65rem;
    flex: 0 0 auto;
    transition: transform .24s ease, background-color .24s ease;
}

.job-type-choice-digital .job-type-choice-icon {
    color: var(--wc-navy);
    background: rgba(6, 31, 58, .09);
}

.job-type-choice-copy {
    display: grid;
    gap: .35rem;
    padding-right: 1.5rem;
}

.job-type-choice-copy strong {
    font-size: 1.2rem;
    font-weight: 800;
}

.job-type-choice-copy span {
    color: var(--wc-muted);
    line-height: 1.55;
}

.job-type-choice-arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    color: var(--wc-orange-deep);
    transition: transform .24s ease, color .24s ease;
}

/* Active-session notification toasts (shared by browser and installed PWA). */
.wc-toast-host {
    position: fixed;
    z-index: 1080;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: min(380px, calc(100vw - 2rem));
    gap: .75rem;
    pointer-events: none;
}

.wc-toast {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1rem 1rem .85rem;
    color: var(--wc-navy);
    border: 1px solid rgba(255, 105, 0, .22);
    border-radius: var(--wc-radius-lg);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 42px rgba(6, 31, 58, .18);
    pointer-events: auto;
    cursor: pointer;
    animation: wc-toast-in .28s ease both;
}

.wc-toast.is-leaving { animation: wc-toast-out .22s ease both; }
.wc-toast-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    background: var(--wc-orange);
}
.wc-toast-copy { display: grid; min-width: 0; gap: .2rem; padding-top: .05rem; }
.wc-toast-copy strong { font-size: .88rem; }
.wc-toast-copy span { overflow: hidden; color: var(--wc-muted); font-size: .78rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.wc-toast-close { margin-left: auto; padding: 0 .15rem; color: var(--wc-muted); border: 0; background: transparent; font-size: 1.35rem; line-height: 1; }
@keyframes wc-toast-in { from { opacity: 0; transform: translate3d(1rem, -1rem, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes wc-toast-out { to { opacity: 0; transform: translate3d(1rem, -1rem, 0); } }

@media (max-width: 575.98px) {
    .wc-toast-host {
        top: .75rem;
        right: .75rem;
        left: .75rem;
        width: auto;
    }
}

.job-type-choice:hover .job-type-choice-icon,
.job-type-choice:focus-visible .job-type-choice-icon {
    transform: scale(1.06);
    background: rgba(255, 105, 0, .2);
}

.job-type-choice:hover .job-type-choice-arrow,
.job-type-choice:focus-visible .job-type-choice-arrow {
    color: var(--wc-orange);
    transform: translateX(3px);
}

.live-scan-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(255, 105, 0, .2);
    border-radius: var(--wc-radius-lg);
    background: linear-gradient(120deg, #fff8ef, #fff);
}

.live-scan-card-compact {
    padding: .85rem 1rem;
}

.live-scan-pulse {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    background: var(--wc-orange);
    box-shadow: 0 0 0 0 rgba(255, 105, 0, .45);
    animation: live-scan-pulse 1.8s infinite;
}

@keyframes live-scan-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 105, 0, .45); }
    70% { box-shadow: 0 0 0 14px rgba(255, 105, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 105, 0, 0); }
}

.spinner-overlay {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6, 31, 58, .28);
}

.spinner-border {
    color: var(--wc-orange);
}

/* Footer */
.site-footer {
    color: #fff;
    background: var(--wc-navy-deep);
}

.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background: #fff;
}

.footer-heading {
    color: #fff;
    font-size: .83rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: .55rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    margin: 2rem 0 1.2rem;
    border-color: rgba(255, 255, 255, .14);
}

.social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

.social-icon:hover {
    color: #fff;
    border-color: var(--wc-orange);
    background: rgba(255, 105, 0, .18);
}

/* Redesigned homepage and digital marketplace heroes */
.homepage-hero,
.digital-new-hero {
    isolation: isolate;
}

.homepage-hero {
    display: flex;
    min-height: calc(100vh - 72px);
    align-items: center;
    padding: clamp(4.75rem, 8vw, 7.5rem) 0;
}

.homepage-hero::before {
    background:
        radial-gradient(circle at 84% 22%, rgba(35, 111, 171, .48), transparent 28%),
        radial-gradient(circle at 16% 90%, rgba(255, 105, 0, .15), transparent 25%),
        linear-gradient(120deg, #061f3a 0%, #092c52 56%, #0d477d 100%);
}

.homepage-hero::after {
    position: absolute;
    top: -12rem;
    right: 23%;
    width: 28rem;
    height: 28rem;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 3.5rem rgba(255, 255, 255, .025), 0 0 0 7rem rgba(255, 255, 255, .02);
    transform: rotate(-18deg);
}

.homepage-hero-grid,
.digital-hero-grid {
    display: grid;
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.homepage-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
}

.homepage-hero-copy,
.digital-hero-copy {
    position: relative;
    z-index: 1;
}

.homepage-hero-copy {
    max-width: 700px;
}

.homepage-hero-kicker,
.digital-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 32px;
    padding: .45rem .78rem;
    color: #ffd9c0;
    border: 1px solid rgba(255, 177, 123, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
}

.homepage-hero-kicker i,
.digital-hero-kicker i {
    color: #ffb17b;
    font-size: .9rem;
}

.homepage-hero h1,
.digital-hero-copy h1 {
    max-width: 680px;
    margin: 1.35rem 0 1.25rem;
    color: #fff;
    letter-spacing: -.01em;
    line-height: 1.03;
}

.homepage-hero h1 {
    font-size: clamp(3rem, 6vw, 5.65rem);
}

.homepage-hero-lead,
.digital-hero-lead {
    max-width: 630px;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.homepage-hero-actions,
.digital-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.homepage-hero-actions .btn,
.digital-hero-actions .btn {
    min-height: 52px;
    border-radius: 13px;
    font-weight: 700;
}

.homepage-hero-proof,
.digital-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.25rem;
    margin-top: 2.1rem;
    color: rgba(255, 255, 255, .66);
    font-size: .78rem;
    font-weight: 600;
}

.homepage-hero-proof span,
.digital-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.homepage-hero-proof i,
.digital-hero-proof i {
    color: #ffb17b;
    font-size: .95rem;
}

.homepage-hero-visual,
.digital-hero-visual {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 520px;
    place-items: center;
}

.homepage-hero-visual::before,
.digital-hero-visual::before {
    position: absolute;
    width: min(31rem, 94%);
    height: min(31rem, 94%);
    content: "";
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 2.5rem rgba(255, 255, 255, .035), 0 0 0 5.5rem rgba(255, 255, 255, .02);
}

.homepage-hero-card,
.digital-hero-card {
    position: relative;
    width: min(100%, 480px);
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 28px 72px rgba(0, 17, 36, .3), 0 8px 20px rgba(0, 17, 36, .12);
}

.homepage-hero-card-header,
.digital-hero-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--wc-line);
}

.homepage-hero-card-header {
    align-items: center;
}

.homepage-hero-card-icon,
.digital-hero-card-mark {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--wc-orange) 0%, var(--wc-orange-deep) 100%);
    box-shadow: 0 9px 18px rgba(217, 84, 0, .2);
    font-size: 1.2rem;
}

.homepage-hero-card-eyebrow,
.digital-hero-card-eyebrow {
    display: block;
    margin-bottom: .3rem;
    color: var(--wc-orange-deep);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.homepage-hero-card-header strong,
.digital-hero-card-top strong {
    display: block;
    color: var(--wc-navy);
    font-size: 1.05rem;
    line-height: 1.25;
}

.homepage-hero-route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 1.2rem 0;
}

.homepage-hero-route {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .65rem;
    min-height: 102px;
    padding: .9rem;
    color: var(--wc-ink);
    border: 1px solid var(--wc-line);
    border-radius: 15px;
    background: #f9fbfd;
    transition: transform var(--wc-normal) var(--wc-ease), border-color var(--wc-normal) ease, box-shadow var(--wc-normal) ease;
}

.homepage-hero-route:hover {
    color: var(--wc-ink);
    border-color: rgba(255, 105, 0, .48);
    box-shadow: 0 10px 20px rgba(9, 44, 82, .08);
    transform: translateY(-3px);
}

.homepage-hero-route-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--wc-navy);
    border-radius: 10px;
    background: var(--wc-navy-soft);
}

.homepage-hero-route-digital .homepage-hero-route-icon {
    color: var(--wc-orange-deep);
    background: var(--wc-orange-soft);
}

.homepage-hero-route > span:nth-child(2) {
    min-width: 0;
    padding-right: .55rem;
}

.homepage-hero-route strong,
.homepage-hero-route small {
    display: block;
}

.homepage-hero-route strong {
    color: var(--wc-navy);
    font-size: .83rem;
    line-height: 1.25;
}

.homepage-hero-route small {
    margin-top: .3rem;
    color: var(--wc-muted);
    font-size: .7rem;
    line-height: 1.35;
}

.homepage-hero-route > .bi-arrow-up-right {
    position: absolute;
    top: .85rem;
    right: .85rem;
    color: var(--wc-orange);
    font-size: .8rem;
}

.homepage-hero-search {
    padding-top: 1.15rem;
    border-top: 1px solid var(--wc-line);
}

.homepage-hero-search-heading {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .7rem;
    color: var(--wc-navy);
    font-size: .78rem;
    font-weight: 800;
}

.homepage-hero-search-heading i {
    color: var(--wc-orange);
}

.homepage-hero-search form {
    display: grid;
    gap: .65rem;
}

.homepage-hero-search-fields {
    display: grid;
    gap: .55rem;
}

.homepage-hero-search .form-select,
.homepage-hero-search .form-control {
    min-height: 43px;
    border-color: var(--wc-line);
    border-radius: 10px;
    font-size: .78rem;
}

.homepage-hero-search .btn {
    min-height: 43px;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 700;
}

.homepage-hero-card-note,
.digital-hero-card-note {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--wc-muted);
    font-size: .7rem;
}

.homepage-hero-card-note {
    margin-top: .9rem;
}

.homepage-hero-card-note i,
.digital-hero-card-note i {
    color: var(--wc-success);
    font-size: .9rem;
}

.homepage-hero-float,
.digital-hero-float {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem .78rem;
    color: var(--wc-navy);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(0, 17, 36, .18);
    font-size: .7rem;
    font-weight: 800;
}

.homepage-hero-float i,
.digital-hero-float i {
    color: var(--wc-orange);
}

.homepage-hero-float-top,
.digital-hero-float-top {
    top: 8%;
    right: -4%;
}

.homepage-hero-float-bottom,
.digital-hero-float-bottom {
    right: -7%;
    bottom: 10%;
}

.digital-new-hero {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.digital-new-hero::before {
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 105, 0, .2), transparent 26%),
        radial-gradient(circle at 14% 78%, rgba(35, 111, 171, .45), transparent 28%),
        linear-gradient(120deg, #061f3a 0%, #0b3762 58%, #092c52 100%);
}

.digital-hero-grid {
    grid-template-columns: minmax(0, .92fr) minmax(390px, .8fr);
}

.digital-hero-copy {
    max-width: 680px;
}

.digital-hero-copy .digital-back-link {
    margin-bottom: 1.35rem;
}

.digital-hero-kicker {
    color: #dbeeff;
    border-color: rgba(164, 209, 245, .28);
}

.digital-hero-kicker i {
    color: #9bd1ff;
}

.digital-hero-copy h1 {
    font-size: clamp(2.85rem, 5.8vw, 5rem);
}

.digital-hero-copy h1 span {
    color: #ffb17b;
}

.digital-hero-lead {
    font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.digital-hero-proof {
    margin-top: 1.9rem;
}

.digital-hero-card-mark {
    background: linear-gradient(135deg, var(--wc-navy) 0%, #1765a7 100%);
    box-shadow: 0 8px 18px rgba(9, 44, 82, .2);
}

.digital-hero-card-top strong {
    max-width: 270px;
}

.digital-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin: 1.15rem 0;
}

.digital-hero-stats > div {
    padding: .8rem .85rem;
    border: 1px solid var(--wc-line);
    border-radius: 13px;
    background: #f8fbfe;
}

.digital-hero-stats strong,
.digital-hero-stats span {
    display: block;
}

.digital-hero-stats strong {
    color: var(--wc-navy);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.1;
}

.digital-hero-stats span {
    margin-top: .25rem;
    color: var(--wc-muted);
    font-size: .7rem;
    font-weight: 700;
}

.digital-hero-skill-list {
    display: grid;
    gap: .6rem;
}

.digital-hero-skill {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    padding: .65rem .7rem;
    color: var(--wc-ink);
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f8fbfe;
    transition: background var(--wc-fast) ease, border-color var(--wc-fast) ease, transform var(--wc-fast) ease;
}

.digital-hero-skill:hover {
    color: var(--wc-ink);
    border-color: rgba(255, 105, 0, .28);
    background: #fff;
    transform: translateX(3px);
}

.digital-hero-skill-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: var(--wc-orange-deep);
    border-radius: 10px;
    background: var(--wc-orange-soft);
}

.digital-hero-skill strong,
.digital-hero-skill small {
    display: block;
}

.digital-hero-skill strong {
    color: var(--wc-navy);
    font-size: .8rem;
    line-height: 1.25;
}

.digital-hero-skill small {
    margin-top: .2rem;
    color: var(--wc-muted);
    font-size: .68rem;
}

.digital-hero-skill > .bi-arrow-up-right {
    color: var(--wc-orange);
    font-size: .85rem;
}

.digital-hero-card-note {
    margin-top: 1.05rem;
    padding-top: .9rem;
    border-top: 1px solid var(--wc-line);
}

@keyframes wc-hero-card-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.975);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes wc-hero-item-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wc-hero-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes wc-hero-ring {
    0%,
    100% {
        opacity: .72;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.035) rotate(8deg);
    }
}

@keyframes wc-hero-orbit {
    0%,
    100% {
        transform: rotate(-18deg) scale(1);
    }

    50% {
        transform: rotate(-8deg) scale(1.04);
    }
}

.homepage-hero::after {
    animation: wc-hero-orbit 18s ease-in-out infinite;
}

.homepage-hero-visual::before,
.digital-hero-visual::before {
    animation: wc-hero-ring 11s ease-in-out infinite;
}

.homepage-hero-card,
.digital-hero-card {
    animation: wc-hero-card-in 760ms var(--wc-ease) both;
}

.homepage-hero-route,
.digital-hero-skill {
    animation: wc-hero-item-in 620ms var(--wc-ease) both;
}

.homepage-hero-route:nth-child(1),
.digital-hero-skill:nth-child(1) {
    animation-delay: 180ms;
}

.homepage-hero-route:nth-child(2),
.digital-hero-skill:nth-child(2) {
    animation-delay: 280ms;
}

.digital-hero-skill:nth-child(3) {
    animation-delay: 380ms;
}

.homepage-hero-float-top,
.digital-hero-float-top {
    animation: wc-hero-float 5.5s ease-in-out 900ms infinite;
}

.homepage-hero-float-bottom,
.digital-hero-float-bottom {
    animation: wc-hero-float 6.5s ease-in-out 1.3s infinite reverse;
}

/* Keep the hero artwork static while the page is being scrolled. The large
   ring shadows and floating badges otherwise trigger continuous repainting
   around the hero card, which is especially noticeable on mobile and
   lower-powered browsers. The card, layout, colors, and content remain
   unchanged. */
.homepage-hero::after,
.homepage-hero-visual::before,
.digital-hero-visual::before,
.homepage-hero-float,
.digital-hero-float {
    animation: none;
}

/* Motion: short, quiet, and disabled for users who request less motion. */
.reveal {
    opacity: 0;
    transform: translateY(10px);
}

.fade-in {
    animation: wc-fade-up 280ms var(--wc-ease) both;
    animation-delay: calc(var(--wc-i, 0) * 35ms);
}

@keyframes wc-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: .75rem 0 .25rem;
    }

    /* Replace Bootstrap's height animation (which repeatedly lays out the
       page) with a compositor-friendly fade/slide. */
    .navbar-collapse {
        transition: opacity 180ms ease, transform 180ms ease;
        transform: translateY(-6px);
    }

    .navbar-collapse.collapse.show {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse.collapsing {
        height: auto !important;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 180ms ease, transform 180ms ease !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .digital-directory-panel {
        max-width: 520px;
    }

    .homepage-hero,
    .digital-new-hero {
        min-height: auto;
    }

    .homepage-hero-grid,
    .digital-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .homepage-hero-visual,
    .digital-hero-visual {
        width: 100%;
        max-width: 640px;
        min-height: 500px;
        margin: 0 auto;
    }

    .homepage-hero-float-top,
    .digital-hero-float-top {
        right: 0;
    }

    .homepage-hero-float-bottom,
    .digital-hero-float-bottom {
        right: 0;
    }
}

@media (max-width: 767.98px) {
    /* backdrop-filter is expensive on mobile GPUs, especially over the
       gradient section behind this card. Keep the same glass-like tone
       without forcing a full-page blur/compositing pass. */
    .worker-invite {
        background:
            linear-gradient(115deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
            rgba(6, 31, 58, .78);
        box-shadow: 0 12px 28px rgba(4, 24, 47, .24), inset 0 1px 0 rgba(255,255,255,.08);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .worker-invite-section::before,
    .worker-invite-section::after,
    .worker-invite::after {
        display: none;
    }

    .digital-entry-card {
        align-items: flex-start;
    }

    .digital-entry-card .digital-entry-action {
        width: 100%;
    }

    .digital-entry-card .digital-entry-action .btn {
        width: 100%;
    }

}

@media (max-width: 575.98px) {
    .container {
        --bs-gutter-x: 1.25rem;
    }

    .hero-search {
        padding: 1.5rem;
    }

    .hero .btn-lg {
        width: 100%;
    }

    .homepage-hero,
    .digital-new-hero {
        padding: 4rem 0;
    }

    .homepage-hero-kicker,
    .digital-hero-kicker {
        max-width: 100%;
        font-size: .62rem;
        letter-spacing: .07em;
        line-height: 1.3;
        white-space: normal;
    }

    .homepage-hero h1,
    .digital-hero-copy h1 {
        font-size: clamp(2.55rem, 13vw, 3.7rem);
    }

    .homepage-hero-card,
    .digital-hero-card {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .homepage-hero-card-header,
    .digital-hero-card-top {
        gap: .6rem;
    }

    .homepage-hero-card-icon,
    .digital-hero-card-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .homepage-hero-card-header strong,
    .digital-hero-card-top strong {
        font-size: .95rem;
    }

    .homepage-hero-route-grid {
        grid-template-columns: 1fr;
    }

    .homepage-hero-route {
        min-height: 78px;
    }

    .homepage-hero-proof,
    .digital-hero-proof {
        gap: .55rem .85rem;
        margin-top: 1.65rem;
        font-size: .72rem;
    }

    .homepage-hero-route small,
    .digital-hero-skill small {
        font-size: .66rem;
    }

    .homepage-hero-visual,
    .digital-hero-visual {
        min-height: 0;
        padding: 1rem 0;
    }

    .homepage-hero-visual::before,
    .digital-hero-visual::before {
        width: 100%;
        height: 100%;
    }

    .homepage-hero-float,
    .digital-hero-float {
        display: none;
    }

    .digital-directory-copy .btn-lg {
        width: 100%;
    }

    .skill-detail-hero-points {
        display: grid;
        gap: .55rem;
    }

}

@media (max-width: 359.98px) {
    .container {
        --bs-gutter-x: 1rem;
    }

    .btn {
        white-space: normal;
    }

    .homepage-hero-card,
    .digital-hero-card {
        padding: 1rem;
    }

    .digital-hero-stats {
        gap: .5rem;
    }

    .digital-hero-stats > div {
        padding: .7rem .65rem;
    }

    .digital-hero-stats strong {
        font-size: 1rem;
    }
}

/* Responsive safeguards for phones and narrow embedded browsers. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.container,
.container-fluid {
    min-width: 0;
}

.navbar .container {
    min-width: 0;
}

.navbar-brand {
    min-width: 0;
}

.brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-collapse,
.navbar-nav,
.navbar-nav .nav-item {
    min-width: 0;
}

.homepage-hero-grid,
.digital-hero-grid,
.homepage-hero-copy,
.digital-hero-copy,
.homepage-hero-card,
.digital-hero-card {
    min-width: 0;
}

.homepage-hero-card-header > div,
.digital-hero-card-top > div {
    min-width: 0;
}

.homepage-hero-card-header strong,
.digital-hero-card-top strong,
.homepage-hero-route strong,
.homepage-hero-route small,
.digital-hero-skill strong,
.digital-hero-skill small {
    overflow-wrap: anywhere;
}

.panel-header > *,
.panel-body > *,
.job-card > *,
.offer-card > * {
    min-width: 0;
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

table {
    max-width: none;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea {
    max-width: 100%;
}

pre,
code {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .navbar-nav .nav-link,
    .navbar-nav .btn {
        width: 100%;
        justify-content: flex-start;
    }

    .navbar-nav .btn {
        margin-top: .35rem;
    }
}

@media (max-width: 767.98px) {
    .homepage-hero-actions,
    .digital-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .homepage-hero-actions .btn,
    .digital-hero-actions .btn {
        width: 100%;
    }

    .digital-entry-card {
        align-items: stretch;
    }

    .digital-entry-copy,
    .digital-entry-action {
        width: 100%;
    }

    .digital-entry-action .btn {
        width: 100%;
    }

    .panel-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .panel-header > .btn,
    .panel-header > a.btn {
        width: 100%;
    }

    .btn-group {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .btn-group > .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        padding-top: .55rem;
        padding-bottom: .55rem;
    }

    .navbar-brand {
        max-width: calc(100% - 58px);
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .hero-search,
    .panel-body {
        padding: 1rem;
    }

    .homepage-hero-card-header,
    .digital-hero-card-top {
        align-items: flex-start;
    }

    .homepage-hero-card-header strong,
    .digital-hero-card-top strong {
        font-size: .92rem;
    }

    .homepage-hero-route-grid,
    .digital-hero-stats {
        grid-template-columns: 1fr;
    }

    .homepage-hero-route {
        min-height: 78px;
    }

    .homepage-hero-card-note,
    .digital-hero-card-note {
        align-items: flex-start;
    }

    .site-footer .row > [class*="col-"] {
        min-width: 0;
    }

    .modal-dialog {
        margin-right: .75rem;
        margin-left: .75rem;
    }

    .signup-track-switch a {
        gap: .25rem;
        padding-right: .45rem;
        padding-left: .45rem;
        font-size: .8rem;
    }

    .signup-track-switch a i {
        font-size: .86rem;
    }
}

@media (max-width: 359.98px) {
    .homepage-hero h1,
    .digital-hero-copy h1 {
        font-size: 2.35rem;
    }

    .homepage-hero-card,
    .digital-hero-card {
        padding: .9rem;
    }
}

/* WorkCul worker journey and profile setup */
.hero-mode-toggle {
    display: inline-flex;
    gap: .35rem;
    padding: .3rem;
    margin: 1.25rem 0 1rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.hero-mode-btn {
    border: 0;
    border-radius: 999px;
    padding: .45rem .85rem;
    color: rgba(255,255,255,.72);
    background: transparent;
    font-size: .78rem;
    font-weight: 700;
}

.hero-mode-btn.active,
.hero-mode-btn:hover {
    color: var(--wc-navy);
    background: #fff;
}

.worker-invite-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(61, 151, 224, .18), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(255, 105, 0, .13), transparent 26%),
        linear-gradient(135deg, #061f3a 0%, #0b3861 58%, #0d4b78 100%);
}

.worker-invite-section::before,
.worker-invite-section::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.worker-invite-section::before {
    top: 0;
    right: 9%;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    transform: translateY(-52%);
}

.worker-invite-section::after {
    right: 12%;
    bottom: -7rem;
    width: 19rem;
    height: 19rem;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}

.pwa-install-section {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    background: var(--wc-canvas);
}

.pwa-install-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: center;
    gap: 2.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(255, 105, 0, .2);
    border-radius: var(--wc-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 177, 123, .16), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fff8f2 100%);
    box-shadow: var(--wc-shadow-md);
}

.pwa-install-card .section-title {
    max-width: 680px;
}

.pwa-install-card .section-subtitle {
    max-width: 680px;
}

.pwa-install-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.1rem;
    margin-top: 1.35rem;
    color: var(--wc-slate);
    font-size: .82rem;
    font-weight: 700;
}

.pwa-install-benefits span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.pwa-install-benefits i {
    color: var(--wc-orange);
}

.pwa-install-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid rgba(9, 44, 82, .1);
    border-radius: var(--wc-radius-md);
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.pwa-install-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--wc-orange), var(--wc-orange-deep));
    box-shadow: 0 10px 22px rgba(217, 84, 0, .2);
    font-size: 1.4rem;
}

.pwa-install-button {
    width: 100%;
    max-width: 260px;
    color: #fff;
    border: 0;
    font-weight: 800;
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible {
    color: #fff;
}

.pwa-install-status {
    min-height: 2.6em;
    margin: .85rem 0 .35rem;
    color: var(--wc-muted);
    font-size: .8rem;
    font-weight: 700;
}

.pwa-install-status.is-success {
    color: var(--wc-success);
}

.pwa-install-status.is-muted {
    color: var(--wc-slate);
}

.pwa-install-help {
    max-width: 300px;
    margin: 0;
    color: var(--wc-muted);
    font-size: .72rem;
    line-height: 1.5;
}

.pwa-install-help i {
    color: var(--wc-orange);
}

.pwa-install-card.is-installed .pwa-install-icon {
    background: linear-gradient(135deg, var(--wc-success), #0d5a36);
}

.pwa-ios-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: min(100%, 520px);
    margin-top: .85rem;
    padding: .7rem .8rem;
    border: 1px solid rgba(255, 105, 0, .24);
    border-radius: var(--wc-radius-sm);
    color: var(--wc-navy);
    background: var(--wc-orange-soft);
    font-size: .78rem;
    text-align: left;
}

.pwa-ios-banner-copy {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.pwa-ios-banner-copy > i {
    flex: 0 0 auto;
    color: var(--wc-orange-deep);
    font-size: 1rem;
}

.pwa-ios-banner-copy strong,
.pwa-ios-banner-copy span {
    display: block;
}

.pwa-ios-banner-copy span {
    margin-top: .15rem;
    color: var(--wc-slate);
}

.pwa-ios-dismiss {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--wc-slate);
    background: transparent;
}

.pwa-ios-dismiss:hover,
.pwa-ios-dismiss:focus-visible {
    color: var(--wc-orange-deep);
    background: rgba(255, 255, 255, .7);
}

.worker-invite {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
    padding: clamp(1.5rem, 4vw, 3.25rem);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--wc-radius-lg);
    color: #fff;
    background:
        linear-gradient(115deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(6, 31, 58, .78);
    box-shadow: 0 24px 60px rgba(4, 24, 47, .28), inset 0 1px 0 rgba(255,255,255,.08);
    /* backdrop-filter: blur(...) was here. It forces the browser to
       continuously resample the section behind this card while scrolling,
       which is exactly the stutter felt around the hero section (this card
       sits right after it). Same "glass" look is kept via the background
       opacity above (already the exact fallback used on mobile for the
       same reason) — nothing else about this card changed. */
}

.worker-invite::after {
    position: absolute;
    top: -8rem;
    left: 42%;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.worker-invite-copy,
.worker-invite-benefits-wrap {
    position: relative;
    z-index: 1;
}

.worker-invite-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #ffb37d;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.worker-invite-kicker-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--wc-orange);
    box-shadow: 0 0 0 .28rem rgba(255,105,0,.14);
}

.worker-invite .section-title {
    max-width: 560px;
    margin-bottom: .9rem;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -.045em;
}

.worker-invite .section-subtitle {
    max-width: 540px;
    line-height: 1.75;
    color: rgba(255,255,255,.76);
}

.worker-invite-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .85rem 1rem;
}

.worker-invite-actions .btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    border: 0;
    box-shadow: 0 10px 24px rgba(255,105,0,.2);
    font-weight: 800;
}

.worker-invite-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255,105,0,.3);
}

.worker-invite-note {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.62);
    font-size: .72rem;
    font-weight: 700;
}

.worker-invite-note i {
    color: #72d6a1;
}

.worker-invite-benefits-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .8rem;
    color: rgba(255,255,255,.62);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.worker-invite-benefits-heading span:last-child {
    color: #ffb37d;
    white-space: nowrap;
}

.worker-invite-benefits {
    min-width: 0;
}

.worker-invite-benefits > [class*="col-"] {
    min-width: 0;
}

.worker-benefit {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: .45rem;
    min-height: 150px;
    padding: 1.1rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(255,255,255,.075);
    transition: transform var(--wc-normal) var(--wc-ease), border-color var(--wc-normal) ease, background var(--wc-normal) ease;
}

.worker-benefit::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--wc-orange), transparent);
    content: "";
    opacity: .9;
}

.worker-benefit:hover {
    border-color: rgba(255,177,123,.48);
    background: rgba(255,255,255,.12);
    transform: translateY(-4px);
}

.worker-benefit i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: .2rem;
    border: 1px solid rgba(255,177,123,.3);
    border-radius: 10px;
    color: var(--wc-orange);
    background: rgba(255,105,0,.12);
    font-size: 1rem;
}

.worker-benefit strong {
    color: #fff;
    font-size: .9rem;
}

.worker-benefit span {
    color: rgba(255,255,255,.7);
    font-size: .76rem;
    line-height: 1.5;
}

.profile-stepper {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.profile-step {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 1;
    color: var(--wc-muted);
    font-size: .78rem;
    font-weight: 700;
}

.profile-step::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--wc-line);
}

.profile-step:last-child::after {
    display: none;
}

.profile-step b {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--wc-muted);
    background: var(--wc-surface);
}

.profile-step.active,
.profile-step.complete {
    color: var(--wc-navy);
}

.profile-step.active b,
.profile-step.complete b {
    color: #fff;
    background: var(--wc-navy);
}

.profile-step.muted {
    opacity: .45;
}

.profile-progress-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius);
    background: var(--wc-surface);
}

.profile-progress-card .progress {
    height: .55rem;
    overflow: hidden;
    background: var(--wc-line);
}

.profile-progress-card .progress-bar {
    background: linear-gradient(90deg, var(--wc-navy), var(--wc-orange));
}

.field-required {
    display: inline-block;
    margin-left: .35rem;
    color: var(--wc-navy);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-help {
    display: block;
    margin-top: .35rem;
    color: var(--wc-muted);
    font-size: .75rem;
}

.profile-choice {
    cursor: pointer;
    border-color: var(--wc-line) !important;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.profile-choice:hover,
.profile-choice:has(input:checked) {
    border-color: var(--wc-navy) !important;
    background: var(--wc-navy-soft);
    transform: translateY(-2px);
}

.profile-choice-wide .form-check-input {
    width: 1.15em;
    height: 1.15em;
    margin-top: 0;
}

.skill-chip-wrap .form-check {
    height: 100%;
}

.skill-chip {
    display: block;
    height: 100%;
    min-width: 0;
    padding: .75rem .8rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-sm);
    color: var(--wc-slate);
    background: var(--wc-surface);
    cursor: pointer;
    font-size: .84rem;
    font-weight: 600;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}

.skill-chip:hover,
.form-check.is-selected .skill-chip {
    border-color: var(--wc-navy);
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
    transform: translateY(-1px);
}

.skill-chip-static {
    display: inline-flex;
    align-items: center;
    padding: .45rem .75rem;
    border: 1px solid var(--wc-line);
    border-radius: 999px;
    color: var(--wc-navy);
    background: var(--wc-navy-soft);
    cursor: default;
    font-size: .8rem;
    font-weight: 600;
}

.my-skills-group + .my-skills-group {
    padding-top: 1rem;
    border-top: 1px dashed var(--wc-line);
}

@media (max-width: 767.98px) {
    .pwa-install-card {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .pwa-install-action {
        align-items: stretch;
    }

    .pwa-install-icon {
        align-self: center;
    }

    .pwa-install-button {
        max-width: none;
    }

    .worker-invite {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-step {
        gap: .3rem;
        font-size: .68rem;
    }

    .profile-step b {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }
}

@media (max-width: 399.98px) {
    .pwa-install-card {
        padding: 1.15rem;
    }

    .pwa-install-benefits {
        display: grid;
        gap: .55rem;
    }

    .hero-mode-toggle {
        display: flex;
    }

    .hero-mode-btn {
        flex: 1;
        padding-inline: .55rem;
    }

    .profile-step span {
        display: none;
    }

    .skill-chip {
        padding-inline: .6rem;
        font-size: .76rem;
    }
}

/* ==========================================================
   Breadcrumbs (new, reusable — does not touch existing navbar)
   ========================================================== */
.wc-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--wc-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.wc-breadcrumb a {
    color: var(--wc-slate);
    text-decoration: none;
}

/* Consistent, bounded previews keep dashboard cards readable. */
.job-description-preview {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.5em;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.job-description-preview.is-expanded {
    display: block;
    -webkit-line-clamp: initial;
    overflow: visible;
}

.job-description-toggle {
    border: 0;
    padding: 0;
    color: var(--wc-orange);
    background: transparent;
    font-size: .85rem;
    font-weight: 600;
}

.skill-card {
    height: 100%;
    padding: .65rem .75rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-sm);
    background: var(--wc-surface);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.skill-card:has(input:checked) {
    border-color: var(--wc-orange);
    background: var(--wc-orange-soft);
    box-shadow: 0 0 0 2px rgba(239, 125, 34, .12);
}

.skill-card .form-check-label {
    cursor: pointer;
    font-size: .9rem;
}

.register-skill-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: .55rem;
    height: 100%;
    min-width: 0;
    padding: .85rem .75rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-sm);
    color: var(--wc-navy);
    cursor: pointer;
    font-weight: 600;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.register-skill-card .skill-card-icon {
    flex: 0 0 auto;
    color: var(--wc-orange);
    font-size: 1.2rem;
}

.register-skill-card .skill-card-name {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 1.8rem;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    line-height: 1.25;
}

@media (min-width: 576px) {
    .register-skill-card {
        align-items: flex-start;
        min-height: 84px;
        padding-bottom: 1.7rem;
    }

    .register-skill-card .skill-card-name {
        padding-bottom: .1rem;
    }
}

@media (max-width: 575.98px) {
    .register-skill-card {
        align-items: flex-start;
        min-height: 78px;
        padding: .8rem .65rem;
        gap: .45rem;
        font-size: .88rem;
    }

    .register-skill-card .skill-card-name {
        padding-right: 1.35rem;
        line-height: 1.3;
    }

    .register-skill-card .skill-card-icon {
        margin-top: .1rem;
        font-size: 1.05rem;
    }
}

.register-skill-card.is-main {
    border-color: var(--wc-orange);
    background: var(--wc-orange-soft);
    box-shadow: 0 0 0 2px rgba(239, 125, 34, .12);
}

.register-skill-card.is-additional {
    border-color: var(--wc-orange);
    background: rgba(239, 125, 34, .05);
}

.skill-main-badge,
.set-main-skill,
.skill-additional-check {
    display: none;
}

.register-skill-card.is-main .skill-main-badge,
.register-skill-card.is-additional .skill-additional-check {
    display: block;
}

.skill-main-badge {
    position: absolute;
    top: .35rem;
    right: .45rem;
    color: var(--wc-orange);
    font-size: .68rem;
}

.set-main-skill {
    position: absolute;
    right: .4rem;
    bottom: .3rem;
    border: 0;
    padding: 0;
    color: var(--wc-orange);
    background: transparent;
    font-size: .68rem;
    text-decoration: underline;
}

.register-skill-card.is-additional .set-main-skill {
    display: block;
}

.skill-additional-check {
    position: absolute;
    top: .4rem;
    right: .45rem;
    color: var(--wc-orange);
}

.wc-breadcrumb a:hover {
    color: var(--wc-orange);
    text-decoration: underline;
}

.wc-breadcrumb .wc-breadcrumb-sep {
    color: var(--wc-line);
}

.wc-breadcrumb .wc-breadcrumb-current {
    color: var(--wc-ink);
    font-weight: 600;
}

/* ==========================================================
   Job status timeline (new, used on customer/my-jobs.php)
   ========================================================== */
.wc-status-timeline {
    display: flex;
    align-items: center;
    gap: 0;
    margin: .75rem 0;
    flex-wrap: wrap;
}

.wc-status-step {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--wc-muted);
    padding-right: .6rem;
}

.wc-status-step .wc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wc-line);
    flex-shrink: 0;
}

.wc-status-step.active {
    color: var(--wc-navy);
    font-weight: 600;
}

.wc-status-step.active .wc-dot {
    background: var(--wc-orange);
}

.wc-status-step.done .wc-dot {
    background: var(--wc-success);
}

.wc-status-connector {
    width: 20px;
    height: 2px;
    background: var(--wc-line);
    margin: 0 .2rem;
}

/* ==========================================================
   Worker "Available Now" toggle — made more prominent
   ========================================================== */
.wc-availability-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--wc-radius-lg);
    border: 1px solid var(--wc-line);
    background: var(--wc-surface);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.wc-availability-banner.is-available {
    border-color: var(--wc-success);
    background: var(--wc-success-soft);
}

.wc-availability-banner.is-offline {
    border-color: var(--wc-line);
    background: var(--wc-canvas);
}

.wc-availability-banner .wc-avail-label {
    font-weight: 700;
    font-size: 1rem;
}

.wc-availability-banner.is-available .wc-avail-label {
    color: var(--wc-success);
}

.wc-availability-banner.is-offline .wc-avail-label {
    color: var(--wc-muted);
}

/* ==========================================================
   ULTRA-RESPONSIVE SAFETY NET
   General hardening so no content is clipped/hidden/overflowed
   on small screens. Purely additive — does not remove or rename
   any existing class, and only affects layout at narrow widths.
   ========================================================== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    -webkit-text-size-adjust: 100%;
}

img, svg, video, canvas, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent any flex row from silently squeezing/hiding a child on
   narrow viewports — wrap instead of clipping. */
@media (max-width: 575.98px) {
    .d-flex:not(.wc-status-timeline):not(.wc-availability-banner) {
        flex-wrap: wrap;
    }

    .container, .container-fluid {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }

    .btn {
        white-space: normal;
    }

    .card-body {
        padding: 1rem;
    }

    table:not(.table-modern) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Worker bio (About section) — bullet list rendering for "* "/"- " prefixed lines */
.bio-list {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}
.bio-list li {
    margin-bottom: 0.35rem;
}
