/* ==========================================================================
   The Jonesi Consultancy
   resource-library.css
   Replicates the live site design language (gradient-border cards, rainbow
   hover, hero orbs, sticky jump nav, footer CTA strip) and extends it with
   the seven-category accent system for the resource library.
   ========================================================================== */

:root {
    --transition-curve: cubic-bezier(0.16, 1, 0.3, 1);
    --navy: #1B3A5F;
    --navy-dark: #132842;
    --royal: #004AAD;
    --cobalt: #106EFD;
    --slate: #454D53;
    --off-white: #F9FAFB;

    /* Overridden per page / per section by the .cat-N classes below */
    --cat: #004AAD;
    --cat-2: #106EFD;
    --cat-tint: #F9FAFB;
    --cat-wash: #FFFFFF;
    --cat-shade: #00306F;
}

/* ---- The seven category accents: hue, partner hue, +21% tint, wash, shade -- */
.cat-1 { --cat: #FF6B5B; --cat-2: #F7931E; --cat-tint: #FFE0DD; --cat-wash: #FFF4F3; --cat-shade: #80362E; }
.cat-2 { --cat: #F7931E; --cat-2: #FFC20E; --cat-tint: #FDE8D0; --cat-wash: #FEF6EC; --cat-shade: #7C4A0F; }
.cat-3 { --cat: #FFC20E; --cat-2: #8DC63F; --cat-tint: #FFF2CC; --cat-wash: #FFFAE6; --cat-shade: #806107; }
.cat-4 { --cat: #3BB273; --cat-2: #00A99D; --cat-tint: #D6EFE2; --cat-wash: #EBF8F1; --cat-shade: #1E593A; }
.cat-5 { --cat: #00BCD4; --cat-2: #106EFD; --cat-tint: #C9F1F6; --cat-wash: #E5F8FB; --cat-shade: #005E6A; }
.cat-6 { --cat: #9C27B0; --cat-2: #E91E63; --cat-tint: #EAD2EE; --cat-wash: #F5E9F7; --cat-shade: #4E1458; }
.cat-7 { --cat: #E91E63; --cat-2: #9C27B0; --cat-tint: #FAD0DE; --cat-wash: #FDE8EF; --cat-shade: #750F32; }

body { overflow-x: hidden; background-color: #F9FAFB; scroll-behavior: smooth; }

.rainbow-bar {
    background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                       #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F9FAFB; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                        #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
    border-radius: 5px;
}
html { scrollbar-width: thin; scrollbar-color: #00A99D #F9FAFB; }

/* ------------------------------------------------------------ nav and CTAs */

.cta-pill-rainbow {
    position: relative;
    background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                       #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
    padding: 3px; border-radius: 50px; border: none; outline: none;
    display: inline-block; transition: all 0.3s ease;
}
.cta-pill-rainbow span {
    display: block; background: #1B3A5F; color: white;
    padding: 10px 24px; border-radius: 47px;
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1rem;
    white-space: nowrap; transition: all 0.3s ease;
}
.cta-pill-rainbow:hover { transform: scale(1.05) translateY(-3px); box-shadow: 0 10px 30px rgba(27,58,95,0.3); }
.cta-pill-rainbow:hover span {
    background: linear-gradient(90deg,
        rgba(255,107,91,0.4), rgba(247,147,30,0.4), rgba(255,194,14,0.4),
        rgba(141,198,63,0.4), rgba(59,178,115,0.4), rgba(0,169,157,0.4),
        rgba(0,188,212,0.4), rgba(16,110,253,0.4), rgba(156,39,176,0.4),
        rgba(233,30,99,0.4)), white;
    background-size: 200% 100%, 100% 100%;
    animation: gradientWave 2s ease infinite;
    color: #1B3A5F; font-weight: 800; font-size: 1.125rem;
}
@keyframes gradientWave {
    0%   { background-position: 0% 50%, 0 0; }
    50%  { background-position: 100% 50%, 0 0; }
    100% { background-position: 0% 50%, 0 0; }
}

.cta-pill-rainbow.cta-pill-rainbow-footer span {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: #8DC63F; color: #1B3A5F; padding: 14px 28px; border-radius: 47px;
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1rem; white-space: nowrap;
}
.cta-pill-rainbow.cta-pill-rainbow-footer:hover { transform: none; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.cta-pill-rainbow.cta-pill-rainbow-footer:hover span {
    background: linear-gradient(90deg,
        rgba(255,107,91,0.4), rgba(247,147,30,0.4), rgba(255,194,14,0.4),
        rgba(141,198,63,0.4), rgba(59,178,115,0.4), rgba(0,169,157,0.4),
        rgba(0,188,212,0.4), rgba(16,110,253,0.4), rgba(156,39,176,0.4),
        rgba(233,30,99,0.4)), white;
    background-size: 200% 100%, 100% 100%;
    animation: gradientWave 2s ease infinite;
    color: #1B3A5F; font-size: 1rem;
}

.nav-underline { position: relative; display: inline-block; text-align: center; }
.nav-underline::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 3px;
    background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                       #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
    background-size: 200% 100%; border-radius: 2px; transition: width 0.3s ease;
}
.nav-underline:hover::after { width: 100%; }

/* --------------------------------------------------------------- hero orbs */

.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(70px);
    pointer-events: none; will-change: transform; z-index: 0;
}
.hero-orb-1 { top: -60px;    left: -100px; width: 380px; height: 380px; }
.hero-orb-2 { top: 40%;      right: -80px; width: 320px; height: 320px; }
.hero-orb-3 { bottom: -60px; left: 36%;    width: 260px; height: 260px; }
.hero-orbs-host > *:not(.hero-orb) { position: relative; z-index: 1; }
@media (max-width: 768px) { .hero-orb { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-orb { transform: none !important; } }

/* ---------------------------------------------------------- sticky jump nav */

.jump-nav {
    position: sticky; top: 67px; z-index: 40;
    background: rgba(27,58,95,0.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,188,212,0.25);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
@media (min-width: 768px) { .jump-nav { top: 83px; } }
.jump-nav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0.7rem 1.5rem;
    display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; justify-content: center;
}
.jump-nav-label {
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.8rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: #00BCD4; white-space: nowrap;
}
.jump-nav-label::after {
    content: ""; display: inline-block; vertical-align: middle;
    width: 1px; height: 14px; background: rgba(0,188,212,0.35); margin-left: 0.875rem;
}
.jump-nav-link {
    font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.9rem;
    color: rgba(255,255,255,0.85); padding: 0.42rem 0.9rem; border-radius: 9999px;
    text-decoration: none; transition: all 0.2s ease; position: relative;
    border: 2px solid transparent; white-space: nowrap;
}
.jump-nav-link:hover {
    color: #FFFFFF; background: linear-gradient(135deg, #00A99D, #00BCD4);
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,169,157,0.3);
}
.jump-nav-link.active {
    color: #FFFFFF; background: linear-gradient(135deg, #004AAD, #106EFD);
    box-shadow: 0 4px 12px rgba(0,74,173,0.35);
}
.jump-nav-icon { display: inline-block; width: 14px; height: 14px; margin-right: 0.4rem; vertical-align: -2px; }
@media (max-width: 640px) {
    .jump-nav-inner { gap: 0.4rem; padding: 0.6rem 1rem; }
    .jump-nav-label { display: none; }
    .jump-nav-link { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
}

/* ------------------------------------------------------------- pill kickers */

.pill-kicker {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.5rem 0.85rem; border-radius: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600;
    font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none;
}
.pill-kicker-lg {
    padding: 0.75rem 1rem; border-radius: 0.75rem;
    font-size: 1rem; letter-spacing: 0.2em; font-weight: 600;
}
.pill-cat { background: var(--cat); color: #FFFFFF; }
.pill-cat.on-light { color: #1B3A5F; }
.pill-ghost {
    background: transparent; border: 2px solid var(--cat);
    color: var(--cat-shade); font-size: 0.8rem;
}

/* ------------------------- the signature gradient-border card (site-wide) --- */

.resource-card {
    transition: all 0.3s ease;
    border: 6px solid transparent;
    background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(#FFFFFF, #FFFFFF);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.resource-card:hover {
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                              #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
}

/* Category-tinted variant: resting border shows the category gradient */
.res-card-cat {
    transition: all 0.3s ease;
    border: 6px solid transparent;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, var(--cat-tint), var(--cat-tint));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}
.res-card-cat:hover {
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                              #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
}

/* Tinted accent tile, matching the LinkedIn cards on the live site */
.tile {
    border: 3px solid transparent; border-radius: 0.75rem;
    background-image: linear-gradient(var(--cat-wash), var(--cat-wash)),
                      linear-gradient(135deg, var(--cat), var(--cat-2));
    background-origin: border-box; background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(27,58,95,0.12); }

.icon-chip {
    width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--cat-tint); flex-shrink: 0;
}
.icon-chip svg { width: 1.25rem; height: 1.25rem; stroke: var(--cat-shade); }

/* ------------------------------------------------------------ download card */

.dl-card {
    max-width: 335px; margin-left: auto;
    border: 5px solid transparent; border-radius: 0.85rem;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                              #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: 0 16px 40px rgba(27,58,95,0.14);
    padding: 1.25rem;
}
@media (max-width: 1023px) { .dl-card { margin-left: 0; } }
.dl-cover {
    aspect-ratio: 8.5 / 11; border-radius: 0.5rem; position: relative; overflow: hidden;
    background: linear-gradient(165deg, #FFFFFF 0%, var(--cat-wash) 60%, var(--cat-tint) 100%);
    border: 1px solid rgba(27,58,95,0.10);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 1.15rem 1rem; margin-bottom: 0.95rem;
}
.dl-cover::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                       #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
}
.dl-cover-eyebrow {
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.62rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--cat-shade);
    margin-bottom: 0.55rem; line-height: 1.3;
}
.dl-cover-title {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: #1B3A5F; font-size: 1.02rem; line-height: 1.3;
}
.dl-cover-rule { width: 38px; height: 3px; border-radius: 2px; background: var(--cat); margin: 0.7rem auto; }
.dl-cover.dl-cover--thumb {
    aspect-ratio: 3 / 2; padding: 0; display: block; background: #F9FAFB;
}
.dl-cover.dl-cover--thumb::before { display: none; }
.dl-cover--thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-cover-sub {
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.7rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate);
}

.download-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    width: 100%; background: #004AAD; color: #FFFFFF;
    padding: 0.8rem 1.2rem; border-radius: 0.6rem;
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1rem;
    text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer;
}
.download-btn:hover {
    background: linear-gradient(135deg, #004AAD, #106EFD);
    transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,74,173,0.32); color: #FFFFFF;
}
.download-btn svg { flex-shrink: 0; }
.dl-cta {
    display: flex; flex-direction: column; align-items: center;
    padding-top: 0.5rem;
}
.dl-cta .download-btn { max-width: 22rem; }
.dl-cta .dl-note { margin-top: 0.6rem; }

.dl-note {
    font-size: 0.75rem; color: var(--slate); text-align: center; margin-top: 0.7rem;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}

/* ------------------------------------------------------------------- article */

.meta-chip {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.32rem 0.7rem; border-radius: 9999px;
    background: rgba(255,255,255,0.75); border: 1px solid rgba(27,58,95,0.10);
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.78rem; color: var(--slate);
}
.topic-tag {
    display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: 0.4rem;
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.78rem;
    background: #FFFFFF; color: var(--cat-shade); border: 1.5px solid var(--cat-tint);
}

.prose-tjc p {
    color: var(--slate); font-size: 1.0625rem; line-height: 1.8; margin-bottom: 1.05rem;
}
.prose-tjc p:last-child { margin-bottom: 0; }
.prose-tjc strong { color: #1B3A5F; font-weight: 700; }

.section-eyebrow {
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.75rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--cat-shade);
}

.pair-col { min-width: 0; }
.pair-col > .tile { height: 100%; }

.takeaway-grid {
    display: grid; grid-template-columns: 1fr; gap: 0.9rem 2rem;
}
@media (min-width: 768px) { .takeaway-grid { grid-template-columns: 1fr 1fr; } }
/* inside a half-width pair column the takeaways stack in a single column */
.takeaway-grid-stacked { grid-template-columns: 1fr !important; gap: 0.75rem; }
.takeaway {
    display: flex; align-items: flex-start; gap: 0.85rem;
    padding: 0.95rem 1.1rem; border-radius: 0.6rem;
    background: var(--cat-wash); border-left: 4px solid var(--cat);
    transition: background 0.25s var(--transition-curve);
}
.takeaway:hover { background: var(--cat-tint); }
.takeaway-num {
    flex-shrink: 0; width: 1.55rem; height: 1.55rem; border-radius: 0.35rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--cat-shade); color: #FFFFFF;
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.8rem;
}
.takeaway h4 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: var(--cat-shade); font-size: 0.98rem; line-height: 1.35; margin-bottom: 0.2rem;
}
.takeaway p {
    color: var(--slate); font-size: 0.92rem; line-height: 1.6; margin: 0;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}

.benefit-tile {
    border: 3px solid transparent; border-radius: 0.75rem; padding: 1.15rem 1.3rem;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, var(--b1), var(--b2));
    background-origin: border-box; background-clip: padding-box, border-box;
    transition: all 0.3s ease; height: 100%;
}
.benefit-tile:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(27,58,95,0.13); }
.benefit-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.85rem; height: 1.85rem; border-radius: 0.45rem;
    background: var(--b1); color: #FFFFFF;
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.9rem;
    margin-bottom: 0.6rem;
}
.benefit-num.on-light { color: #1B3A5F; }
.benefit-tile h4 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: #1B3A5F; font-size: 1rem; line-height: 1.35; margin-bottom: 0.3rem;
}
.benefit-tile p {
    color: var(--slate); font-size: 0.9rem; line-height: 1.6; margin: 0;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}

.stat-tile {
    border-radius: 1rem; padding: 1.6rem 1.75rem; background: #1B3A5F; position: relative; overflow: hidden;
}
.stat-tile::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--cat), var(--cat-2));
}
.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
    font-size: 2.4rem; line-height: 1; color: var(--cat); margin-bottom: 0.55rem;
}
.stat-tile p {
    color: rgba(255,255,255,0.85); font-size: 0.96rem; line-height: 1.65; margin: 0;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}

/* full-width callout beneath the About paragraphs.
   Text runs the full width of the box, so the padding is kept tight. */
.stat-tile.stat-tile-wide { margin-top: 2rem; padding: 1.75rem 1.5rem; }
.stat-tile.stat-tile-wide p {
    font-size: 1.79rem; line-height: 1.3; text-align: center;
    font-family: 'Barlow', sans-serif; font-weight: 800;
    max-width: none; margin: 0; color: #FFFFFF;
}
@media (max-width: 1279px) { .stat-tile.stat-tile-wide p { font-size: 1.66rem; } }
@media (max-width: 900px) {
    .stat-tile.stat-tile-wide { padding: 1.5rem 1.15rem; }
    .stat-tile.stat-tile-wide p { font-size: 1.58rem; line-height: 1.35; }
}
@media (max-width: 640px) { .stat-tile.stat-tile-wide p { font-size: 1.54rem; } }

.audience-list { list-style: none; margin: 0; padding: 0; }
.audience-list li {
    position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem;
    color: var(--slate); font-size: 0.95rem; line-height: 1.55;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}
.audience-list li::before {
    content: ""; position: absolute; left: 0; top: 0.42rem;
    width: 0.62rem; height: 0.62rem; border-radius: 2px;
    background: linear-gradient(135deg, var(--cat), var(--cat-2));
}

.faq-item {
    border-bottom: 1px solid rgba(27,58,95,0.10);
}
.faq-item:first-of-type { border-top: 1px solid rgba(27,58,95,0.10); }
.faq-item > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.05rem 0.25rem; cursor: pointer; list-style: none;
    transition: color 0.2s var(--transition-curve);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover h3 { color: var(--cat-shade); }
.faq-item > summary h3 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: #1B3A5F; font-size: 1.05rem; line-height: 1.4; margin: 0;
    transition: color 0.2s var(--transition-curve);
}
.faq-chevron {
    flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%;
    background: var(--cat-tint); position: relative;
    transition: transform 0.25s var(--transition-curve), background 0.2s;
}
.faq-chevron::before, .faq-chevron::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    background: var(--cat-shade); border-radius: 1px;
}
.faq-chevron::before { width: 0.7rem; height: 2px; transform: translate(-50%, -50%); }
.faq-chevron::after {
    width: 2px; height: 0.7rem; transform: translate(-50%, -50%);
    transition: opacity 0.25s var(--transition-curve);
}
.faq-item[open] > summary .faq-chevron { transform: rotate(180deg); }
.faq-item[open] > summary .faq-chevron::after { opacity: 0; }
.faq-item[open] > summary h3 { color: var(--cat-shade); }
.faq-answer { padding: 0 2.6rem 1.15rem 0.25rem; }
.faq-answer p {
    color: var(--slate); font-size: 0.98rem; line-height: 1.75; margin: 0;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
    .faq-chevron, .faq-chevron::after { transition: none; }
}

.faq-card {
    border: 3px solid transparent; border-radius: 0.75rem; padding: 1.25rem 1.45rem;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, var(--cat), var(--cat-2));
    background-origin: border-box; background-clip: padding-box, border-box;
    transition: all 0.3s ease; margin-bottom: 0.9rem;
}
.faq-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(27,58,95,0.11); }
.faq-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: #1B3A5F; font-size: 1.05rem; line-height: 1.4; margin-bottom: 0.45rem;
}
.faq-card p {
    color: var(--slate); font-size: 0.96rem; line-height: 1.7; margin: 0;
    font-family: 'Barlow', sans-serif; font-weight: 600;
}

.cat-band {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
    padding: 0.9rem 1.35rem; border-radius: 0.85rem; margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--cat-tint), var(--cat-wash));
    border-left: 8px solid var(--cat);
    box-shadow: 0 3px 14px rgba(27,58,95,0.07);
}
.cat-band h3 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: var(--cat-shade); font-size: 1.3rem; margin: 0; line-height: 1.25;
}
.cat-blurb-line {
    font-family: 'Barlow', sans-serif; font-weight: 600; font-style: italic;
    font-size: 1.25rem; line-height: 1.55; max-width: none;
    margin: 0 0 1.5rem;
}
@media (max-width: 640px) { .cat-blurb-line { font-size: 1.05rem; } }

.cat-band-count {
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.72rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--cat-shade);
    background: rgba(255,255,255,0.65); padding: 0.28rem 0.6rem; border-radius: 9999px;
}

/* -------------------------------------------------------------- footer bits */

.footer-cta-strip {
    position: relative; background: #F9FAFB;
    border: 1px solid rgba(27,58,95,0.10); border-radius: 14px;
    padding: 26px 30px; margin-bottom: 28px;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px;
    align-items: center; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.20);
}
.footer-cta-strip::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                       #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
    opacity: 0.95;
}
.footer-cta-label {
    display: inline-block; font-family: 'Barlow', sans-serif; font-size: 0.78rem;
    font-weight: 800; color: #004AAD; letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 8px;
}
.footer-cta-headline {
    color: #1B3A5F; font-family: 'Barlow', sans-serif; font-weight: 800;
    font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px;
}
.footer-cta-headline .accent { color: #106EFD; display: block; }
.footer-cta-body-block { position: relative; padding-left: 14px; margin-bottom: 12px; }
.footer-cta-body-block::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
    width: 3px; border-radius: 2px; background: #3BB273;
}
.footer-cta-body {
    color: #1B3A5F; font-family: 'Barlow', sans-serif; font-size: 0.9rem; line-height: 1.5;
}
.footer-cta-body .lime { color: #3BB273; font-weight: 700; }
.footer-cta-body .sky { color: #106EFD; font-weight: 700; }
.footer-cta-icon-block { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; }
.footer-cta-icon-circle {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid #3BB273; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.footer-cta-icon-circle svg { width: 18px; height: 18px; stroke: #3BB273; }
.footer-cta-divider { width: 1px; background: rgba(59,178,115,0.35); height: 80%; align-self: center; }
.footer-cta-button { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-cta-caption { display: flex; align-items: flex-start; gap: 10px; max-width: 380px; text-align: left; }
.footer-cta-caption svg { flex-shrink: 0; width: 22px; height: 22px; stroke: #3BB273; margin-top: 2px; }
.footer-cta-caption p {
    color: #454D53; font-family: 'Barlow', sans-serif; font-size: 0.85rem; line-height: 1.45;
}

.footer-info-card {
    position: relative;
    background: linear-gradient(135deg, rgba(0,169,157,0.12) 0%, rgba(16,110,253,0.14) 100%);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
    padding: 22px 28px; overflow: hidden; transition: background 0.2s ease;
}
.footer-info-card:hover {
    background: linear-gradient(135deg, rgba(0,169,157,0.18) 0%, rgba(16,110,253,0.20) 100%);
}
.footer-info-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: 0.95;
}
.footer-info-card--about::before   { background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E); }
.footer-info-card--links::before   { background: linear-gradient(90deg, #8DC63F, #3BB273, #00A99D); }
.footer-info-card--contact::before { background: linear-gradient(90deg, #00BCD4, #106EFD, #9C27B0); }
.footer-info-card h4 {
    font-family: 'Barlow', sans-serif; font-size: 1.25rem; font-weight: 800;
    line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.01em;
}
.footer-info-card--about h4   { color: #FF6B5B; }
.footer-info-card--links h4   { color: #3BB273; }
.footer-info-card--contact h4 { color: #00BCD4; }
.footer-info-card p, .footer-info-card a, .footer-info-card span, .footer-info-card li {
    font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.88rem;
    line-height: 1.5; color: rgba(255,255,255,0.72);
}
.footer-info-card p { margin-bottom: 14px; }
.footer-info-card ul { list-style: none; padding: 0; margin: 0; }
.footer-info-card ul li { margin-bottom: 8px; }
.footer-info-card ul li:last-child { margin-bottom: 0; }
.footer-info-card a:hover { color: white; }

@media (max-width: 900px) {
    .footer-cta-strip { grid-template-columns: 1fr; gap: 22px; padding: 22px 24px; }
    .footer-cta-divider { display: none; }
    .footer-cta-headline { font-size: 1.25rem; }
}

@media (max-width: 640px) {
    section.py-16 { padding-top: 2.75rem; padding-bottom: 2.75rem; }
    section.md\:py-20 { padding-top: 2.75rem; padding-bottom: 2.75rem; }
    h1.text-4xl, h1.text-5xl, h1.text-6xl { font-size: 1.875rem; line-height: 1.15; }
    h2.text-3xl, h2.text-4xl { font-size: 1.5rem; line-height: 1.15; }
    p.text-lg, p.text-xl { font-size: 1rem; line-height: 1.55; }
    .w-full.px-6 { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ---------------------------------------------------- lead capture modal */

.lead-modal {
    position: fixed; inset: 0; background: rgba(19,40,66,0.78);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.lead-modal.active { display: flex; }
.lead-modal-inner {
    background: #FFFFFF; border-radius: 20px; max-width: 560px; width: 100%;
    max-height: 92vh; overflow-y: auto; position: relative;
    border-top: 6px solid transparent;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                             #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
    background-origin: border-box; background-clip: padding-box, border-box;
}
.lead-modal-top { background: #1B3A5F; padding: 1.6rem 2rem 1.4rem; }
.lead-modal-top h2 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: #FFFFFF; font-size: 1.3rem; margin-bottom: 0.4rem;
}
.lead-modal-top p { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.55; }
.lead-modal-body { padding: 1.5rem 2rem 2rem; }
.lead-modal-doc-name {
    font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.72rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate);
}
.lead-modal-doc-title {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    color: #004AAD; margin-bottom: 1.1rem;
}
.lead-modal-field { margin-bottom: 0.9rem; }
.lead-modal-label {
    display: block; font-family: 'Barlow', sans-serif; font-weight: 700;
    font-size: 0.82rem; color: #1B3A5F; margin-bottom: 0.3rem;
}
.lead-modal-label .required { color: #FF6B5B; margin-left: 2px; }
.lead-modal-input, .lead-modal-select {
    width: 100%; padding: 0.65rem 0.85rem; border: 2px solid #E3E7EC;
    border-radius: 9px; font-size: 0.95rem; color: #1B3A5F; background: #FFFFFF;
}
.lead-modal-input:focus, .lead-modal-select:focus { outline: none; border-color: #106EFD; }
.lead-modal-input.error, .lead-modal-select.error { border-color: #FF6B5B; }
.lead-modal-error { display: none; color: #E91E63; font-size: 0.8rem; margin-top: 0.25rem; }
.lead-modal-error.visible { display: block; }
.lead-modal-status {
    display: none; padding: 0.7rem 0.9rem; border-radius: 9px; font-size: 0.9rem;
    margin-bottom: 0.9rem; background: #E8F6F0; color: #1E593A;
}
.lead-modal-status.visible { display: block; }
.lead-modal-status.error { background: #FDEBEA; color: #80362E; }
.lead-modal-submit {
    width: 100%; background: #004AAD; color: #FFFFFF; border: none;
    padding: 0.85rem; border-radius: 10px;
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 1rem;
    cursor: pointer; transition: all 0.3s ease;
}
.lead-modal-submit:hover { background: linear-gradient(135deg, #004AAD, #106EFD); }
.lead-modal-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.lead-modal-privacy { font-size: 0.78rem; color: var(--slate); text-align: center; margin-top: 0.85rem; }
.lead-modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(255,255,255,0.15); border: none; color: #FFFFFF;
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.15rem; line-height: 1;
}
.lead-modal-close:hover { background: rgba(255,255,255,0.28); }

@media print {
    nav, footer, .lead-modal, .download-btn, .jump-nav { display: none !important; }
    body { background: #FFFFFF; }
}

/* ==========================================================================
   THUMBNAIL RESOURCE CARDS  (all category sections)
   Vertical card: full-bleed 3:2 cover graphic on top, tight body beneath,
   "Download Resource" footer. Category tint at rest, rainbow border on hover.
   ========================================================================== */

/* Denser grid than the text-only sections: 4-up on wide screens so the cards
   read vertically instead of stretching into wide slabs. */
.res-grid-thumb {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px)  { .res-grid-thumb { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .res-grid-thumb { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .res-grid-thumb { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; } }

.res-card-thumb {
    display: flex; flex-direction: column; height: 100%;
    overflow: hidden; text-decoration: none;
    border: 4px solid transparent; border-radius: 0.9rem;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, var(--cat-tint), var(--cat-tint));
    background-origin: border-box; background-clip: padding-box, border-box;
    transition: background-image 0.3s ease;
}
.res-card-thumb:hover {
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273,
                                              #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
}
.res-card-thumb:focus-visible {
    outline: 3px solid var(--cat); outline-offset: 3px;
}

/* Full-bleed cover graphic, no padding, sits flush to the inner card edge */
.res-thumb {
    position: relative; display: block; width: 100%;
    aspect-ratio: 3 / 2; overflow: hidden;
    background: var(--cat-wash);
    border-bottom: 3px solid var(--cat);
}
.res-thumb img {
    display: block; width: 100%; height: 100%;
    object-fit: cover;
}

.res-card-thumb-body {
    display: flex; flex-direction: column; flex: 1 1 auto;
    padding: 0.85rem 0.95rem 0.7rem;
}
.res-card-thumb-body p {
    font-family: 'Barlow', sans-serif; font-weight: 600;
    font-size: 0.875rem; line-height: 1.55; color: var(--slate);
    margin: 0 0 0.85rem;
}
/* Resource title, set in the dark shade of the section's accent colour */
.res-card-thumb-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    font-size: 1rem; line-height: 1.3; color: var(--cat-shade);
    margin: 0 0 0.4rem;
}

/* Placeholder that holds the thumbnail slot until artwork is supplied */
.res-thumb-placeholder {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(135deg, var(--cat-wash) 0%, var(--cat-tint) 100%);
}
.res-thumb-placeholder span {
    font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.72rem;
    letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.6;
    color: var(--cat-shade); opacity: 0.55; padding: 0 1rem;
}

.res-card-foot {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding-top: 0.6rem; border-top: 1px solid rgba(27,58,95,0.08);
    font-family: 'Barlow', sans-serif; font-weight: 800;
    font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--cat-shade);
}
.res-card-foot svg {
    width: 1.05rem; height: 1.05rem; flex-shrink: 0;
    transition: transform 0.25s ease;
}
.res-card-thumb:hover .res-card-foot svg { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
    .res-card-thumb, .res-card-foot svg { transition: none !important; }
}


/* ------------------------------------------------ TJC shared footer styles (scoped to footer, mirrors index.html) */
footer .cta-pill-rainbow {
            position: relative;
            background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273, #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
            padding: 3px;
            border-radius: 50px;
            border: none;
            outline: none;
            display: inline-block;
            transition: all 0.3s ease;
        }
footer .cta-pill-rainbow span {
            display: block;
            background: #1B3A5F;
            color: white;
            padding: 10px 24px;
            border-radius: 47px;
            font-family: 'Barlow', sans-serif;
            font-weight: 800;
            font-size: 1rem;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
footer .cta-pill-rainbow:hover {
            transform: scale(1.05) translateY(-3px);
            box-shadow: 0 10px 30px rgba(27, 58, 95, 0.3);
        }
footer .cta-pill-rainbow:hover span {
            background: 
                linear-gradient(90deg, 
                    rgba(255, 107, 91, 0.4), 
                    rgba(247, 147, 30, 0.4), 
                    rgba(255, 194, 14, 0.4), 
                    rgba(141, 198, 63, 0.4), 
                    rgba(59, 178, 115, 0.4), 
                    rgba(0, 169, 157, 0.4), 
                    rgba(0, 188, 212, 0.4), 
                    rgba(16, 110, 253, 0.4), 
                    rgba(156, 39, 176, 0.4), 
                    rgba(233, 30, 99, 0.4)
                ),
                white;
            background-size: 200% 100%, 100% 100%;
            animation: gradientWave 2s ease infinite;
            color: #1B3A5F;
            font-weight: 800;
            font-size: 1.125rem;
        }
@keyframes gradientWave {
            0% { background-position: 0% 50%, 0 0; }
            50% { background-position: 100% 50%, 0 0; }
            100% { background-position: 0% 50%, 0 0; }
        }
footer .footer-cta-strip {
            position: relative;
            background: #F9FAFB;
            border: 1px solid rgba(27, 58, 95, 0.10);
            border-radius: 14px;
            padding: 26px 30px;
            margin-bottom: 28px;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 32px;
            align-items: center;
            overflow: hidden;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
        }
footer .footer-cta-strip::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E, #8DC63F, #3BB273, #00A99D, #00BCD4, #106EFD, #9C27B0, #E91E63);
            opacity: 0.95;
        }
footer .footer-cta-text { min-width: 0; }
footer .footer-cta-label {
            display: inline-block;
            font-family: 'Barlow', sans-serif;
            font-size: 0.78rem;
            font-weight: 800;
            color: #004AAD;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }
footer .footer-cta-headline {
            color: #1B3A5F;
            font-family: 'Barlow', sans-serif;
            font-weight: 800;
            font-size: 1.45rem;
            line-height: 1.25;
            letter-spacing: -0.01em;
            margin-bottom: 12px;
        }
footer .footer-cta-headline .accent { color: #106EFD; display: block; }
footer .footer-cta-body-block {
            position: relative;
            padding-left: 14px;
            margin-bottom: 12px;
        }
footer .footer-cta-body-block::before {
            content: "";
            position: absolute;
            left: 0; top: 4px; bottom: 4px;
            width: 3px; border-radius: 2px;
            background: #3BB273;
        }
footer .footer-cta-body {
            color: #1B3A5F;
            font-family: 'Barlow', sans-serif;
            font-size: 0.9rem;
            line-height: 1.5;
        }
footer .footer-cta-body .lime { color: #3BB273; font-weight: 700; }
footer .footer-cta-body .sky { color: #106EFD; font-weight: 700; }
footer .footer-cta-icon-block {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 6px;
        }
footer .footer-cta-icon-circle {
            flex-shrink: 0;
            width: 36px; height: 36px;
            border-radius: 50%;
            border: 2px solid #3BB273;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 1px;
        }
footer .footer-cta-icon-circle svg { width: 18px; height: 18px; stroke: #3BB273; }
footer .footer-cta-divider {
            width: 1px;
            background: rgba(59, 178, 115, 0.35);
            height: 80%;
            align-self: center;
        }
footer .footer-cta-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
        }
footer .footer-cta-caption {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            max-width: 380px;
            text-align: left;
        }
footer .footer-cta-caption svg {
            flex-shrink: 0;
            width: 22px; height: 22px;
            stroke: #3BB273;
            margin-top: 2px;
        }
footer .footer-cta-caption p {
            color: #454D53;
            font-family: 'Barlow', sans-serif;
            font-size: 0.85rem;
            line-height: 1.45;
        }
footer .footer-info-card {
            position: relative;
            background: linear-gradient(135deg, rgba(0, 169, 157, 0.12) 0%, rgba(16, 110, 253, 0.14) 100%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            padding: 22px 28px;
            overflow: hidden;
            transition: background 0.2s ease;
        }
footer .footer-info-card:hover {
            background: linear-gradient(135deg, rgba(0, 169, 157, 0.18) 0%, rgba(16, 110, 253, 0.20) 100%);
        }
footer .footer-info-card::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            opacity: 0.95;
        }
footer .footer-info-card--about::before {
            background: linear-gradient(90deg, #FF6B5B, #F7931E, #FFC20E);
        }
footer .footer-info-card--links::before {
            background: linear-gradient(90deg, #8DC63F, #3BB273, #00A99D);
        }
footer .footer-info-card--contact::before {
            background: linear-gradient(90deg, #00BCD4, #106EFD, #9C27B0);
        }
footer .footer-info-card h4 {
            font-family: 'Barlow', sans-serif;
            font-size: 1.25rem;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 12px;
            letter-spacing: -0.01em;
        }
footer .footer-info-card--about h4 { color: #FF6B5B; }
footer .footer-info-card--links h4 { color: #3BB273; }
footer .footer-info-card--contact h4 { color: #00BCD4; }
footer .footer-info-card p, footer .footer-info-card a, footer .footer-info-card span, footer .footer-info-card li {
            font-family: 'Barlow', sans-serif;
            font-weight: 600;
            font-size: 0.88rem;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.72);
        }
footer .footer-info-card p { margin-bottom: 14px; }
footer .footer-info-card ul { list-style: none; padding: 0; margin: 0; }
footer .footer-info-card ul li { margin-bottom: 8px; }
footer .footer-info-card ul li:last-child { margin-bottom: 0; }
footer .footer-info-card a:hover { color: white; }
footer .cta-pill-rainbow.cta-pill-rainbow-footer span {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            background: #8DC63F;
            color: #1B3A5F;
            padding: 14px 28px;
            border-radius: 47px;
            font-family: 'Barlow', sans-serif;
            font-weight: 800;
            font-size: 1rem;
            white-space: nowrap;
            transition: all 0.3s ease;
        }
footer .cta-pill-rainbow.cta-pill-rainbow-footer:hover {
            transform: none;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        }
footer .cta-pill-rainbow.cta-pill-rainbow-footer:hover span {
            background:
                linear-gradient(90deg,
                    rgba(255, 107, 91, 0.4),
                    rgba(247, 147, 30, 0.4),
                    rgba(255, 194, 14, 0.4),
                    rgba(141, 198, 63, 0.4),
                    rgba(59, 178, 115, 0.4),
                    rgba(0, 169, 157, 0.4),
                    rgba(0, 188, 212, 0.4),
                    rgba(16, 110, 253, 0.4),
                    rgba(156, 39, 176, 0.4),
                    rgba(233, 30, 99, 0.4)
                ),
                white;
            background-size: 200% 100%, 100% 100%;
            animation: gradientWave 2s ease infinite;
            color: #1B3A5F;
            font-size: 1rem;
        }
@media (max-width: 900px) {
footer .footer-cta-strip {
                grid-template-columns: 1fr;
                gap: 22px;
                padding: 22px 24px;
            }
footer .footer-cta-divider { display: none; }
footer .footer-cta-headline { font-size: 1.25rem; }
}
