/* themes/bootswatch_brite/css/style.css — "BRITE": bold, high-contrast,
   high-energy. Vivid lime/yellow-green accent + strong black type, chunky
   geometry. Built on --bs-primary / --bs-primary-rgb / --bs-body-bg /
   --bs-body-color so it tracks the Bootswatch skin. */

:root {
    --bsw-ink: var(--bs-body-color);
    --bsw-radius: 1.25rem;
    --bsw-edge: 3px;
}

/* ---------- Section rhythm ---------- */
.bsw-section,
main > section {
    padding-block: clamp(3.5rem, 8vw, 6rem);
}
main > section { scroll-margin-top: 5rem; }
main > section:nth-of-type(even) {
    background: rgba(var(--bs-primary-rgb), 0.05);
}

/* ---------- HERO — POSTER ARCHETYPE ----------
   An oversized typographic billboard: tiny label, a massive 900-weight
   multi-line headline that dominates the viewport with a thick lime marker
   swash behind the brand keyword, one short subline, and one chunky CTA. */
.bsw-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(34rem, 86vh, 56rem);
    padding-block: clamp(3.5rem, 9vw, 7rem);
    background:
        repeating-linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0.05) 0 2px, transparent 2px 5rem),
        var(--bs-body-bg);
}
.bsw-poster {
    position: relative;
    z-index: 2;
    max-width: 18ch;
}

.bsw-poster__label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: clamp(1rem, 3vw, 1.75rem);
    font-weight: 900;
    font-size: clamp(0.7rem, 1.4vw, 0.85rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--bsw-ink);
}
.bsw-poster__label::before {
    content: "";
    width: clamp(1.5rem, 4vw, 2.75rem);
    height: 0.55rem;
    background: var(--bs-primary);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.9);
}

.bsw-poster__headline {
    margin: 0;
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: -0.045em;
    font-size: clamp(3.25rem, 14vw, 7rem);
    color: var(--bsw-ink);
    text-transform: uppercase;
    text-wrap: balance;
}
/* thick lime marker swash painted behind the brand keyword */
.bsw-poster__mark {
    position: relative;
    display: inline;
    background-image: linear-gradient(transparent 62%, var(--bs-primary) 62%, var(--bs-primary) 94%, transparent 94%);
    background-repeat: no-repeat;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding-inline: 0.05em;
}

.bsw-poster__sub {
    max-width: 34ch;
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--bs-secondary-color);
}

.bsw-poster__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
@media (max-width: 991.98px) { .bsw-poster { max-width: none; } }

/* ---------- CHUNKY BUTTONS ---------- */
.bsw-btn-chunky {
    font-weight: 800;
    letter-spacing: 0.01em;
    border-radius: 999px;
    border-width: var(--bsw-edge);
    padding-inline: clamp(1.5rem, 4vw, 2.25rem);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.bsw-poster__cta .btn-primary.bsw-btn-chunky {
    color: #000;
    border-color: #000;
    box-shadow: 5px 5px 0 0 rgba(0, 0, 0, 0.9);
}
.bsw-poster__cta .btn-outline-dark.bsw-btn-chunky {
    border-color: #000;
    box-shadow: 5px 5px 0 0 rgba(var(--bs-primary-rgb), 0.9);
}
.bsw-btn-chunky:hover,
.bsw-btn-chunky:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 0 rgba(0, 0, 0, 0.9);
}
.bsw-poster__cta .btn-outline-dark.bsw-btn-chunky:hover,
.bsw-poster__cta .btn-outline-dark.bsw-btn-chunky:focus-visible {
    box-shadow: 7px 7px 0 0 rgba(var(--bs-primary-rgb), 0.9);
}
.bsw-btn-chunky:active { transform: translate(0, 0); box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9); }

/* Make any in-section primary buttons feel on-brand too */
.btn-primary { font-weight: 700; color: #000; }
.btn-outline-primary { font-weight: 700; }

/* ---------- SECTION TITLES ---------- */
.section-title h2,
.bsw-section h2 {
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(1.9rem, 5vw, 3rem);
}
.section-title p { color: var(--bs-secondary-color); font-weight: 500; }

/* ---------- BOLD CARDS ---------- */
.card {
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    background: var(--bs-body-bg);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0.0);
}
.card:hover,
.card:focus-within {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 0 rgba(var(--bs-primary-rgb), 0.95);
    border-color: var(--bsw-ink);
}
.card .card-title a { color: var(--bsw-ink); font-weight: 800; }
.card .card-title a:hover { color: var(--bs-primary); }
.card .text-primary { color: var(--bsw-ink) !important; }
.card .fs-2.text-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem; height: 3.25rem;
    border-radius: 0.85rem;
    background: var(--bs-primary);
    color: #000 !important;
}

/* ---------- CONTACT / FOOTER ---------- */
#contact a { font-weight: 700; text-decoration: none; }
#contact a:hover { color: var(--bs-primary); }
.bsw-footer a { text-decoration: none; }
.bsw-footer a:hover { color: var(--bs-primary) !important; }

/* ---------- ACCESSIBILITY ---------- */
:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .bsw-btn-chunky,
    .card { transition: none; }
    .bsw-btn-chunky:hover,
    .bsw-btn-chunky:focus-visible,
    .card:hover,
    .card:focus-within { transform: none; }
}

@media (max-width: 575.98px) {
    .bsw-poster__cta .btn { width: 100%; }
}

/* ==========================================================================
   PHASE 3 — BESPOKE HOME SECTIONS (projects / team / testimonials / faq)
   Built on --bs-primary / --bs-primary-rgb / --bs-body-bg / --bs-body-color.
   ========================================================================== */

/* shared eyebrow tag for section titles */
.bsw-tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid #000;
    border-radius: 999px;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}
.section-title { margin-bottom: clamp(2rem, 5vw, 3.25rem); }

.bsw-pill {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 2px solid var(--bsw-ink);
}
.bsw-pill--accent { background: var(--bs-primary); color: #000; }

/* ---------- PROJECTS ---------- */
.bsw-proj {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-proj:hover,
.bsw-proj:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-proj__media { position: relative; overflow: hidden; }
.bsw-proj__media img {
    display: block;
    width: 100%;
    height: clamp(180px, 24vw, 230px);
    object-fit: cover;
    transition: transform 0.3s ease;
}
.bsw-proj:hover .bsw-proj__media img { transform: scale(1.05); }
.bsw-proj__num {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.2rem 0.55rem;
    font-weight: 900;
    font-size: 1rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid #000;
    border-radius: 0.6rem;
}
.bsw-proj__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.bsw-proj__title {
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
}
.bsw-proj__cat {
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
}
.bsw-proj__cat i { color: var(--bs-primary); }
.bsw-proj__text {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}
.bsw-proj__link {
    align-self: flex-start;
    font-weight: 800;
    text-decoration: none;
    color: var(--bsw-ink);
    border-bottom: 3px solid var(--bs-primary);
    padding-bottom: 2px;
    transition: gap 0.15s ease, color 0.15s ease;
}
.bsw-proj__link i { transition: transform 0.15s ease; }
.bsw-proj__link:hover { color: var(--bs-primary); }
.bsw-proj__link:hover i { transform: translateX(4px); }

/* ---------- TEAM ---------- */
.bsw-member {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-member:hover,
.bsw-member:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-member__media { overflow: hidden; }
.bsw-member__media img {
    display: block;
    width: 100%;
    height: clamp(200px, 26vw, 250px);
    object-fit: cover;
    filter: grayscale(0.15);
    transition: filter 0.25s ease, transform 0.3s ease;
}
.bsw-member:hover .bsw-member__media img { filter: grayscale(0); transform: scale(1.04); }
.bsw-member__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(200px, 26vw, 250px);
    font-size: 3.5rem;
    color: #000;
    background: var(--bs-primary);
}
.bsw-member__body { padding: clamp(1rem, 2.5vw, 1.4rem); }
.bsw-member__name {
    margin-bottom: 0.2rem;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--bsw-ink);
}
.bsw-member__role {
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--bs-primary);
}
.bsw-member__bio {
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}
.bsw-member__social {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}
.bsw-member__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem; height: 2.3rem;
    font-size: 1.05rem;
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.6rem;
    transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.bsw-member__social a:hover,
.bsw-member__social a:focus-visible {
    transform: translate(-2px, -2px);
    background: var(--bs-primary);
    color: #000;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}

/* ---------- TESTIMONIALS ---------- */
.bsw-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-quote:hover,
.bsw-quote:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-quote__mark {
    font-size: 3rem;
    line-height: 0.6;
    color: var(--bs-primary);
    -webkit-text-stroke: 1px var(--bsw-ink);
}
.bsw-quote__text {
    margin: 0.5rem 0 1.5rem;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.5;
    color: var(--bsw-ink);
}
.bsw-quote__foot {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
}
.bsw-quote__avatar {
    flex: 0 0 auto;
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bs-primary);
}
.bsw-quote__avatar--ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    color: #000;
    background: var(--bs-primary);
    border-color: #000;
}
.bsw-quote__name {
    display: block;
    font-weight: 900;
    color: var(--bsw-ink);
}
.bsw-quote__meta {
    display: block;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

/* ---------- FAQ ---------- */
.bsw-accordion { display: grid; gap: 0.85rem; }
.bsw-faq__item {
    overflow: hidden;
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink) !important;
    border-radius: 1rem !important;
}
.bsw-faq__btn {
    font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    padding: clamp(1rem, 2.5vw, 1.35rem);
    box-shadow: none !important;
}
.bsw-faq__btn:not(.collapsed) {
    color: #000;
    background: var(--bs-primary);
}
.bsw-faq__btn:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: -3px;
}
.bsw-faq__btn::after {
    width: 1.6rem; height: 1.6rem;
    background-size: 1.1rem;
    background-position: center;
    border: 2px solid var(--bsw-ink);
    border-radius: 50%;
    flex: 0 0 auto;
}
.bsw-faq__btn:not(.collapsed)::after { border-color: #000; }
.bsw-faq__body {
    padding: clamp(1rem, 2.5vw, 1.35rem);
    font-size: 0.97rem;
    line-height: 1.6;
    color: var(--bs-secondary-color);
    border-top: 2px solid var(--bsw-ink);
}

@media (prefers-reduced-motion: reduce) {
    .bsw-proj, .bsw-member, .bsw-quote,
    .bsw-proj__media img, .bsw-member__media img,
    .bsw-proj__link i, .bsw-member__social a {
        transition: none;
    }
    .bsw-proj:hover, .bsw-member:hover, .bsw-quote:hover,
    .bsw-proj:focus-within, .bsw-member:focus-within, .bsw-quote:focus-within {
        transform: none;
    }
}

/* ==========================================================================
   PHASE 5 — BESPOKE HOME SECTIONS (about / skills / stats / resume / services)
   Built on --bs-primary / --bs-primary-rgb / --bs-body-bg / --bs-body-color.
   ========================================================================== */

/* ---------- ABOUT ---------- */
.bsw-about__frame {
    position: relative;
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    overflow: hidden;
    background: var(--bs-primary);
    box-shadow: 8px 8px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-about__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bsw-about__title {
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--bsw-ink);
    margin-bottom: 1rem;
}
.bsw-about__lead {
    font-weight: 500;
    line-height: 1.55;
    color: var(--bs-secondary-color);
}
.bsw-about__facts { display: grid; gap: 0.6rem; }
.bsw-fact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 500;
    color: var(--bsw-ink);
}
.bsw-fact strong { font-weight: 800; }
.bsw-fact a { color: var(--bsw-ink); font-weight: 700; text-decoration: none; }
.bsw-fact a:hover { color: var(--bs-primary); }
.bsw-fact__ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem; height: 2.4rem;
    font-size: 1.1rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.6rem;
}

/* ---------- SKILLS ---------- */
.bsw-skill {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-skill:hover,
.bsw-skill:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-skill__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.bsw-skill__ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem; height: 2.6rem;
    font-size: 1.25rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.7rem;
}
.bsw-skill__name {
    flex: 1 1 auto;
    margin: 0;
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--bsw-ink);
}
.bsw-skill__pct {
    flex: 0 0 auto;
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--bsw-ink);
}
.bsw-skill__track {
    width: 100%;
    height: 0.8rem;
    background: rgba(var(--bs-primary-rgb), 0.12);
    border: 2px solid var(--bsw-ink);
    border-radius: 999px;
    overflow: hidden;
}
.bsw-skill__fill {
    display: block;
    height: 100%;
    background: var(--bs-primary);
    border-radius: 999px;
}

/* ---------- STATS ---------- */
.bsw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: clamp(1.25rem, 3vw, 1.75rem) 1rem;
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.bsw-stat:hover,
.bsw-stat:focus-within {
    transform: translate(-4px, -4px);
    background: var(--bs-primary);
    box-shadow: 10px 10px 0 0 rgba(0, 0, 0, 0.9);
}
.bsw-stat__ic {
    font-size: 1.9rem;
    line-height: 1;
    color: var(--bs-primary);
    margin-bottom: 0.25rem;
}
.bsw-stat:hover .bsw-stat__ic { color: #000; }
.bsw-stat__num {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    font-size: clamp(2rem, 5.5vw, 3rem);
    color: var(--bsw-ink);
}
.bsw-stat:hover .bsw-stat__num { color: #000; }
.bsw-stat__unit { font-size: 0.5em; font-weight: 800; }
.bsw-stat__label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
}
.bsw-stat:hover .bsw-stat__label { color: #000; }

/* ---------- RESUME ---------- */
.bsw-resume__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--bsw-ink);
}
.bsw-resume__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem; height: 2.8rem;
    font-size: 1.3rem;
    color: #000;
    background: var(--bs-primary);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: 0.7rem;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}
.bsw-timeline {
    position: relative;
    padding-left: 1.75rem;
    border-left: var(--bsw-edge) solid var(--bs-primary);
}
.bsw-timeline__item {
    position: relative;
    padding-bottom: 1.6rem;
}
.bsw-timeline__item:last-child { padding-bottom: 0; }
.bsw-timeline__item::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: calc(-1.75rem - var(--bsw-edge) + 1px);
    transform: translateX(-50%);
    width: 0.85rem; height: 0.85rem;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 50%;
}
.bsw-timeline__title {
    margin: 0 0 0.25rem;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--bsw-ink);
}
.bsw-timeline__meta {
    margin: 0 0 0.4rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
}
.bsw-timeline__text {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--bs-secondary-color);
}

/* ---------- SERVICES ---------- */
.bsw-service {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-service:hover,
.bsw-service:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-service__ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem; height: 3.25rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.85rem;
}
.bsw-service__title {
    margin-bottom: 0.6rem;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.bsw-service__title a {
    color: var(--bsw-ink);
    text-decoration: none;
}
.bsw-service__title a:hover { color: var(--bs-primary); }
.bsw-service__text {
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--bs-secondary-color);
}
.bsw-service__link {
    align-self: flex-start;
    font-weight: 800;
    text-decoration: none;
    color: var(--bsw-ink);
    border-bottom: 3px solid var(--bs-primary);
    padding-bottom: 2px;
    transition: color 0.15s ease;
}
.bsw-service__link i { transition: transform 0.15s ease; }
.bsw-service__link:hover { color: var(--bs-primary); }
.bsw-service__link:hover i { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
    .bsw-skill, .bsw-stat, .bsw-service,
    .bsw-stat__ic, .bsw-service__link i {
        transition: none;
    }
    .bsw-skill:hover, .bsw-stat:hover, .bsw-service:hover,
    .bsw-skill:focus-within, .bsw-stat:focus-within, .bsw-service:focus-within {
        transform: none;
    }
    .bsw-service__link:hover i { transform: none; }
}

/* ==========================================================================
   PHASE 5 — BESPOKE LIST SECTIONS (publications / events / resources / blog)
   Built on --bs-primary / --bs-primary-rgb / --bs-body-bg / --bs-body-color.
   ========================================================================== */

/* shared "read more" / "view" arrow link (matches projects/services) */
.bsw-event__link,
.bsw-res__link,
.bsw-post__link {
    align-self: flex-start;
    font-weight: 800;
    text-decoration: none;
    color: var(--bsw-ink);
    border-bottom: 3px solid var(--bs-primary);
    padding-bottom: 2px;
    transition: color 0.15s ease;
}
.bsw-event__link i,
.bsw-res__link i,
.bsw-post__link i { transition: transform 0.15s ease; }
.bsw-event__link:hover,
.bsw-res__link:hover,
.bsw-post__link:hover { color: var(--bs-primary); }
.bsw-event__link:hover i,
.bsw-res__link:hover i,
.bsw-post__link:hover i { transform: translateX(4px); }

/* ---------- PUBLICATIONS (academic citation list, not cards) ---------- */
.bsw-pub-list { display: grid; gap: 0.85rem; }
.bsw-pub {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.9rem, 2.5vw, 1.4rem);
    padding: clamp(1rem, 2.5vw, 1.4rem);
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-pub:hover,
.bsw-pub:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-pub__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    padding: 0.2rem 0.55rem;
    font-weight: 900;
    font-size: 1.05rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.6rem;
}
.bsw-pub__main { flex: 1 1 auto; min-width: 0; }
.bsw-pub__title {
    margin: 0 0 0.35rem;
    font-weight: 900;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.bsw-pub__title a {
    color: var(--bsw-ink);
    text-decoration: none;
}
.bsw-pub__title a:hover { color: var(--bs-primary); }
.bsw-pub__meta {
    margin: 0 0 0.4rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--bs-secondary-color);
}
.bsw-pub__meta strong { color: var(--bsw-ink); font-weight: 800; }
.bsw-pub__cat {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color);
}
.bsw-pub__abstract {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--bs-secondary-color);
}
.bsw-pub__ext {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem; height: 2.6rem;
    font-size: 1.1rem;
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.6rem;
    text-decoration: none;
    transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}
.bsw-pub__ext:hover,
.bsw-pub__ext:focus-visible {
    transform: translate(-2px, -2px);
    background: var(--bs-primary);
    color: #000;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}

/* ---------- EVENTS ---------- */
.bsw-event {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-event:hover,
.bsw-event:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-event__media { overflow: hidden; }
.bsw-event__media img {
    display: block;
    width: 100%;
    height: clamp(160px, 22vw, 200px);
    object-fit: cover;
    transition: transform 0.3s ease;
}
.bsw-event:hover .bsw-event__media img { transform: scale(1.05); }
.bsw-event__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.bsw-event__date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.7rem;
    font-weight: 800;
    font-size: 0.8rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.5rem;
}
.bsw-event__title {
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
}
.bsw-event__loc {
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}
.bsw-event__loc i { color: var(--bs-primary); }
.bsw-event__text {
    margin-bottom: 1rem;
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}

/* ---------- RESOURCES ---------- */
.bsw-res {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-res:hover,
.bsw-res:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-res__ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem; height: 3.25rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #000;
    background: var(--bs-primary);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.85rem;
}
.bsw-res__type { margin-bottom: 0.75rem; }
.bsw-res__title {
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
}
.bsw-res__text {
    margin-bottom: 0.6rem;
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}
.bsw-res__size {
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}
.bsw-res__size i { color: var(--bs-primary); }

/* ---------- BLOG ---------- */
.bsw-post {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-post:hover,
.bsw-post:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-post__media { position: relative; overflow: hidden; }
.bsw-post__media img {
    display: block;
    width: 100%;
    height: clamp(180px, 24vw, 210px);
    object-fit: cover;
    transition: transform 0.3s ease;
}
.bsw-post:hover .bsw-post__media img { transform: scale(1.05); }
.bsw-post__flag {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}
.bsw-post__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.bsw-post__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.bsw-post__date {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}
.bsw-post__title {
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
}
.bsw-post__cat {
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
}
.bsw-post__cat i { color: var(--bs-primary); }
.bsw-post__text {
    margin-bottom: 1rem;
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}

@media (prefers-reduced-motion: reduce) {
    .bsw-pub, .bsw-event, .bsw-res, .bsw-post,
    .bsw-pub__ext, .bsw-event__media img, .bsw-post__media img,
    .bsw-event__link i, .bsw-res__link i, .bsw-post__link i {
        transition: none;
    }
    .bsw-pub:hover, .bsw-event:hover, .bsw-res:hover, .bsw-post:hover,
    .bsw-pub:focus-within, .bsw-event:focus-within, .bsw-res:focus-within, .bsw-post:focus-within {
        transform: none;
    }
    .bsw-event:hover .bsw-event__media img,
    .bsw-post:hover .bsw-post__media img { transform: none; }
    .bsw-event__link:hover i, .bsw-res__link:hover i, .bsw-post__link:hover i { transform: none; }
}

/* ==========================================================================
   PHASE 6 — BESPOKE PAGES (blog list/detail, project list/detail)
   Built on --bs-primary / --bs-primary-rgb / --bs-body-bg / --bs-body-color.
   ========================================================================== */

/* ---------- FILTER BAR (categories) ---------- */
.bsw-filterbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}
.bsw-filter {
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    border: 2px solid var(--bsw-ink);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.bsw-filter:hover,
.bsw-filter:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
    color: var(--bsw-ink);
}
.bsw-filter.is-active {
    color: #000;
    background: var(--bs-primary);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}

/* ---------- EMPTY STATE ---------- */
.bsw-empty {
    text-align: center;
    font-weight: 700;
    color: var(--bsw-ink);
    background: rgba(var(--bs-primary-rgb), 0.12);
    border: var(--bsw-edge) dashed var(--bsw-ink);
    border-radius: var(--bsw-radius);
    padding: clamp(1.25rem, 4vw, 2rem);
}
.bsw-empty i { color: var(--bs-primary); margin-right: 0.4rem; }

/* ---------- PAGINATION ---------- */
.bsw-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bsw-pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding-inline: 0.5rem;
    font-weight: 900;
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.6rem;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.bsw-pager__link:hover,
.bsw-pager__link:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
    color: var(--bsw-ink);
}
.bsw-pager__link.is-active {
    color: #000;
    background: var(--bs-primary);
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}

/* ---------- BREADCRUMBS ---------- */
.bsw-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 700;
    font-size: 0.85rem;
}
.bsw-crumbs li { display: inline-flex; align-items: center; }
.bsw-crumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--bs-primary);
    font-weight: 900;
}
.bsw-crumbs a { color: var(--bs-secondary-color); text-decoration: none; }
.bsw-crumbs a:hover { color: var(--bs-primary); }
.bsw-crumbs .is-active { color: var(--bsw-ink); font-weight: 800; }

/* ---------- ARTICLE / DETAIL HEADER ---------- */
.bsw-article__title {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(2rem, 6vw, 3.25rem);
    color: var(--bsw-ink);
}
.bsw-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.bsw-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    border: 2px solid var(--bsw-ink);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
}
.bsw-meta-pill i { color: var(--bs-primary); }

.bsw-article__hero {
    display: block;
    width: 100%;
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 8px 8px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}

.bsw-article__lead {
    font-weight: 700;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    line-height: 1.45;
    color: var(--bsw-ink);
    border-left: var(--bsw-edge) solid var(--bs-primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* ---------- PROSE / RICH CONTENT ---------- */
.bsw-prose { line-height: 1.7; color: var(--bs-body-color); }
.bsw-prose :where(h1, h2, h3, h4, h5, h6) {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
    margin-top: 1.75rem;
}
.bsw-prose a { color: var(--bsw-ink); font-weight: 700; text-decoration-color: var(--bs-primary); text-decoration-thickness: 2px; }
.bsw-prose a:hover { color: var(--bs-primary); }
.bsw-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    font-weight: 600;
    background: rgba(var(--bs-primary-rgb), 0.08);
    border-left: var(--bsw-edge) solid var(--bs-primary);
    border-radius: 0.5rem;
}
.bsw-prose img { max-width: 100%; height: auto; border-radius: 0.75rem; border: 2px solid var(--bsw-ink); }
.bsw-prose code {
    font-weight: 700;
    background: rgba(var(--bs-primary-rgb), 0.15);
    padding: 0.1em 0.4em;
    border-radius: 0.35rem;
}

/* section subheads in detail pages */
.bsw-subhead {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-size: 1.2rem;
    color: var(--bsw-ink);
    margin-bottom: 1rem;
}
.bsw-subhead i { color: var(--bs-primary); }
.bsw-subhead--lg { font-size: clamp(1.4rem, 4vw, 2rem); }

/* ---------- TAG CLOUD ---------- */
.bsw-tagcloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bsw-pill--link { text-decoration: none; color: var(--bsw-ink); transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease; }
.bsw-pill--link:hover,
.bsw-pill--link:focus-visible {
    transform: translate(-2px, -2px);
    background: var(--bs-primary);
    color: #000;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.9);
}

/* ---------- ASIDE CARDS ---------- */
.bsw-aside {
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    padding: clamp(1.1rem, 2.5vw, 1.5rem);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-aside__title {
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--bsw-ink);
}
.bsw-aside__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}
.bsw-aside__list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: var(--bs-body-color);
}
.bsw-aside__list li:last-child { margin-bottom: 0; }
.bsw-aside__list i { color: var(--bs-primary); flex: 0 0 auto; }
.bsw-aside__list strong { color: var(--bsw-ink); font-weight: 800; }

/* ---------- METRIC DESCRIPTION (extends .bsw-stat) ---------- */
.bsw-stat__desc {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--bs-secondary-color);
}

/* ---------- DETAIL TIMELINE ---------- */
.bsw-tl {
    list-style: none;
    margin: 0;
    padding-left: 1.5rem;
    border-left: var(--bsw-edge) solid var(--bs-primary);
}
.bsw-tl__item {
    position: relative;
    display: flex;
    gap: 0.75rem;
    padding-bottom: 1.4rem;
}
.bsw-tl__item:last-child { padding-bottom: 0; }
.bsw-tl__mark {
    position: absolute;
    left: calc(-1.5rem - var(--bsw-edge) - 0.5rem);
    top: 0.1rem;
    font-size: 1.05rem;
    line-height: 1;
}
.bsw-tl__mark .bi-check-circle-fill { color: var(--bs-primary); }
.bsw-tl__mark .bi-circle { color: var(--bs-secondary-color); }
.bsw-tl__body { flex: 1 1 auto; }
.bsw-tl__body strong { font-weight: 900; color: var(--bsw-ink); }
.bsw-tl__date {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    margin-left: 0.5rem;
}
.bsw-tl__text {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--bs-secondary-color);
}

/* ---------- GALLERY FIGURES ---------- */
.bsw-figure { margin: 0; }
.bsw-figure img {
    display: block;
    width: 100%;
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-figure__cap {
    margin-top: 0.6rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bs-secondary-color);
}

@media (prefers-reduced-motion: reduce) {
    .bsw-filter, .bsw-pager__link, .bsw-pill--link { transition: none; }
    .bsw-filter:hover, .bsw-filter:focus-visible,
    .bsw-pager__link:hover, .bsw-pager__link:focus-visible,
    .bsw-pill--link:hover, .bsw-pill--link:focus-visible { transform: none; }
}

/* ==========================================================================
   PHASE 7 — REMAINING PAGES (jobs card + meta, contact/apply form fields)
   New elements only. Everything else reuses existing classes.
   Built on --bs-primary / --bs-primary-rgb / --bs-body-bg / --bs-body-color.
   ========================================================================== */

/* ---------- JOB CARD (list) ---------- */
.bsw-job {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--bs-body-bg);
    border: var(--bsw-edge) solid var(--bsw-ink);
    border-radius: var(--bsw-radius);
    box-shadow: 6px 6px 0 0 rgba(var(--bs-primary-rgb), 0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bsw-job:hover,
.bsw-job:focus-within {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 0 rgba(var(--bs-primary-rgb), 0.95);
}
.bsw-job__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    min-height: 1.6rem;
}
.bsw-job__deadline {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
}
.bsw-job__deadline i { color: var(--bs-primary); }
.bsw-job__title {
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--bsw-ink);
}
.bsw-job__meta {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--bs-secondary-color);
}
.bsw-job__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bsw-job__meta i { color: var(--bs-primary); flex: 0 0 auto; }

/* ---------- FORM FIELDS (service contact / apply) ---------- */
.bsw-form .form-control {
    font-weight: 600;
    color: var(--bsw-ink);
    background: var(--bs-body-bg);
    border: 2px solid var(--bsw-ink);
    border-radius: 0.6rem;
    box-shadow: none;
}
.bsw-form .form-control::placeholder { color: var(--bs-secondary-color); font-weight: 500; }
.bsw-form .form-control:focus {
    border-color: var(--bsw-ink);
    box-shadow: 3px 3px 0 0 rgba(var(--bs-primary-rgb), 0.95);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .bsw-job { transition: none; }
    .bsw-job:hover, .bsw-job:focus-within { transform: none; }
}

/* Audit contraste : le muté du skin brite est trop clair en jour (texte
   .text-secondary quasi blanc sur fond clair). Muté lisible en mode jour. */
:root:not([data-bs-theme="dark"]) { --bs-secondary-color: #5b6b57; --bs-secondary-color-rgb: 91, 107, 87; }

/* Le .text-secondary de Bootstrap (avec !important) rend le sous-titre de section
   blanc malgré --bs-secondary-color corrigé : on rétablit le muté lisible. */
:root:not([data-bs-theme="dark"]) .text-secondary { color: var(--bs-secondary-color) !important; }

/* Audit contraste : le citron #a2e436 en TEXTE/icône sur fond clair (question
   FAQ ouverte, icône d'état vide) est illisible (ratio ~1.5). Encre sombre. */
.bsw-faq__btn { color: var(--bsw-ink) !important; }
/* Bouton ouvert : texte contrastant avec le fond accent (citron en jour ->
   sombre ; fond sombre en nuit -> clair). */
.bsw-faq__btn:not(.collapsed) { color: #000 !important; }
[data-bs-theme="dark"] .bsw-faq__btn:not(.collapsed) { color: var(--bs-body-color) !important; }
.bsw-empty i { color: var(--bsw-ink) !important; }

/* AUDIT AA jour : le citron #a2e436 (primary) en FOREGROUND (icônes .bsw-* i,
   .text-primary, accents) sur blanc est illisible (~1.5). En mode CLAIR
   uniquement, on remappe le primary vers un olive iso-teinte lisible : ça
   darkène tout ce qui lit var(--bs-primary)/--bs-primary-rgb en COULEUR, sans
   toucher le fond des boutons (Bootswatch le compile en hex). En nuit, le
   citron sur fond sombre reste lisible -> inchangé. */
:root:not([data-bs-theme="dark"]) {
    --bs-primary: #5c811f;
    --bs-primary-rgb: 92, 129, 31;
}
:root:not([data-bs-theme="dark"]) .bsw-member__role { color: #5c811f !important; }
