/* =========================================================
   Sector Detail — Editorial / Magazine concept
   ========================================================= */
:root {
    --sx-deep:  #0F3D14;
    --sx-green: #1B5E20;
    --sx-soft:  #66BB6A;
    --sx-teal:  #14B8A6;
    --sx-mint:  #A7F3D0;
    --sx-paper: #F5F7F8;
    --sx-ink:   #0F172A;
    --sx-muted: #6B7280;
    --sx-line:  #E5E7EB;
}

/* =========================================================
   HEADER — full bleed, parallax
   ========================================================= */
.sx-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    padding: 50px 0 110px;
    background: radial-gradient(ellipse at 70% 30%, #14B8A6 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, #66BB6A 0%, transparent 55%),
                linear-gradient(135deg, #062A0C 0%, #0F3D14 50%, #1B5E20 100%);
}

/* Parallax floating layers */
.sx-header__layer {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}
.sx-header__layer--1 {
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,.5) 1.5px, transparent 1.5px),
        radial-gradient(rgba(167,243,208,.4) 1px, transparent 1px);
    background-size: 90px 90px, 40px 40px;
    background-position: 0 0, 20px 30px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    opacity: .35;
}
.sx-header__layer--2 {
    top: 10%; right: -10%;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167,243,208,.45), transparent 65%);
    filter: blur(20px);
}
.sx-header__layer--3 {
    bottom: -120px; left: -120px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20,184,166,.5), transparent 65%);
    filter: blur(30px);
}

/* Giant translucent sector icon - editorial mark */
.sx-header__giant {
    position: absolute;
    top: 50%; right: 20px;
    transform: translateY(-50%);
    font-size: 20rem;
    line-height: 1;
    color: rgba(255,255,255,.05);
    z-index: 0;
    pointer-events: none;
    will-change: transform, font-size;
    transition: font-size .35s ease, color .35s ease;
}
.sx-header:hover .sx-header__giant {
    font-size: 18rem;
    color: rgba(255,255,255,.045);
}

.sx-header__inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
}

/* Breadcrumb */
.sx-crumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    font-size: .85rem;
}
.sx-crumb .breadcrumb-item,
.sx-crumb .breadcrumb-item a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s ease;
}
.sx-crumb .breadcrumb-item a:hover { color: #fff; }
.sx-crumb .breadcrumb-item.active { color: #fff; font-weight: 500; }
.sx-crumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* Kicker (small label with lines) */
.sx-kicker {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin-bottom: 1rem;
    animation: sxFadeIn .8s ease both;
}
.sx-kicker__line {
    display: inline-block;
    width: 36px; height: 1px;
    background: rgba(255,255,255,.5);
}

/* Big display title */
.sx-display {
    font-family: 'Segoe UI', Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #A7F3D0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: sxRise .9s cubic-bezier(.22,1,.36,1) both .1s;
}

.sx-tagline {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    max-width: 640px;
    line-height: 1.55;
    margin: 0 0 1.5rem;
    animation: sxRise .9s ease both .25s;
    text-align:justify;
}

.sx-meta-row {
    display: flex; flex-wrap: wrap;
    gap: .5rem;
    animation: sxRise .9s ease both .4s;
}

.sx-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--sx-green);
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.sx-chip--ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    box-shadow: none;
}

/* SVG wave bottom */
.sx-header__wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    z-index: 1;
    line-height: 0;
}
.sx-header__wave svg { width: 100%; height: 80px; display: block; }

@keyframes sxFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sxRise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   BODY layout
   ========================================================= */
.sx-body { padding: 50px 15px 100px; }

/* ---------- Aside (sticky) ---------- */
.sx-aside__sticky {
    position: sticky;
    top: 90px;
}

.sx-back-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--sx-muted);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color .2s ease, transform .2s ease;
}
.sx-back-link:hover { color: var(--sx-green); transform: translateX(-3px); }

.sx-fact-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.4rem;
    border: 1px solid var(--sx-line);
    box-shadow: 0 12px 32px rgba(15,23,42,.06);
    margin-bottom: 1rem;
}
.sx-fact-card__head {
    display: flex; align-items: center; gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--sx-line);
    margin-bottom: 1rem;
}
.sx-fact-card__head i {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sx-green), var(--sx-teal));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.sx-fact-card__head small {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--sx-muted);
    margin-bottom: .15rem;
}
.sx-fact-card__head strong {
    color: var(--sx-ink);
    font-size: 1rem;
    line-height: 1.2;
}

.sx-fact-list {
    list-style: none;
    padding: 0; margin: 0 0 1rem;
    display: flex; flex-direction: column;
    gap: .65rem;
}
.sx-fact-list li {
    display: flex; align-items: center; gap: .75rem;
}
.sx-fact-list__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.sx-fact-list small {
    display: block;
    color: var(--sx-muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.sx-fact-list strong {
    color: var(--sx-ink);
    font-size: .92rem;
}

.sx-cta {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sx-green), var(--sx-teal));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.sx-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20,184,166,.3);
}
.sx-cta i { transition: transform .2s ease; }
.sx-cta:hover i { transform: translateX(4px); }

/* Color tokens */
.sx-icon--green { background: #DCFCE7; color: var(--sx-green); }
.sx-icon--blue  { background: #DBEAFE; color: #1D4ED8; }
.sx-icon--amber { background: #FEF3C7; color: #B45309; }
.sx-icon--teal  { background: #CCFBF1; color: #0F766E; }

/* ---------- Tabs (vertical) ---------- */
.sx-tabs {
    display: flex; flex-direction: column;
    gap: .25rem;
    background: #fff;
    border-radius: 16px;
    padding: .5rem;
    border: 1px solid var(--sx-line);
}
.sx-tabs__btn {
    display: flex; align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--sx-muted);
    font-weight: 600;
    font-size: .92rem;
    text-align: left;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
}
.sx-tabs__btn i { font-size: 1.05rem; transition: transform .25s ease; }
.sx-tabs__btn span { flex: 1; }
.sx-tabs__count {
    font-style: normal;
    background: var(--sx-paper);
    color: var(--sx-muted);
    padding: .1rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    transition: background .25s ease, color .25s ease;
}
.sx-tabs__btn:hover {
    background: var(--sx-paper);
    color: var(--sx-ink);
}
.sx-tabs__btn.is-active {
    background: linear-gradient(135deg, var(--sx-green), var(--sx-teal));
    color: #fff;
    box-shadow: 0 8px 20px rgba(20,184,166,.25);
}
.sx-tabs__btn.is-active i { transform: scale(1.1); }
.sx-tabs__btn.is-active .sx-tabs__count {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* =========================================================
   MAIN PANELS
   ========================================================= */
.sx-main { min-height: 400px; }

.sx-panel {
    display: none;
    animation: sxPanelIn .5s cubic-bezier(.22,1,.36,1);
}
.sx-panel.is-active { display: block; }
@keyframes sxPanelIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sx-h2 {
    display: flex; align-items: baseline;
    gap: 1rem;
    font-family: Georgia, 'Segoe UI', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--sx-ink);
    margin: 0 0 1.25rem;
    letter-spacing: -.02em;
}
.sx-h2__num {
    font-family: 'Courier New', monospace;
    font-size: .9rem;
    color: var(--sx-teal);
    font-weight: 700;
    letter-spacing: .1em;
    position: relative;
    padding-left: 32px;
}
.sx-h2__num::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 24px; height: 2px;
    background: linear-gradient(90deg, var(--sx-green), var(--sx-teal));
    transform: translateY(-50%);
}

.sx-paragraph {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    /*max-width: 70ch;*/
    margin-bottom: 2rem;
    text-align:justify;
    /* Drop cap */
}
.sx-paragraph::first-letter {
    font-family: Georgia, serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--sx-green);
    float: left;
    line-height: 1;
    padding: .25rem .65rem .15rem 0;
}

/* Feature grid (overview) */
.sx-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.sx-feature {
    background: #fff;
    border-radius: 18px;
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--sx-line);
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
    transition: transform .15s ease, box-shadow .3s ease, border-color .3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.sx-feature:hover {
    box-shadow: 0 18px 38px rgba(15,23,42,.12);
    border-color: rgba(102,187,106,.4);
}
.sx-feature__icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: .8rem;
}
.sx-feature h6 {
    font-weight: 700;
    color: var(--sx-ink);
    font-size: .98rem;
    margin: 0 0 .4rem;
}
.sx-feature p {
    color: var(--sx-muted);
    font-size: .88rem;
    line-height: 1.55;
    margin: 0;
}

/* =========================================================
   TIMELINE (pathways)
   ========================================================= */
.sx-timeline {
    position: relative;
    padding-left: 28px;
}
.sx-timeline::before {
    content: "";
    position: absolute;
    left: 9px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--sx-green), var(--sx-teal));
    border-radius: 2px;
    opacity: .35;
}
.sx-timeline__item {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 0 1.1rem 1.5rem;
    opacity: 0;
    animation: sxRise .6s ease both;
    animation-delay: calc(var(--i, 0) * 90ms);
}
.sx-timeline__dot {
    position: absolute;
    left: -22px; top: 18px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--sx-teal);
    box-shadow: 0 0 0 4px rgba(20,184,166,.15);
    transition: transform .3s ease, box-shadow .3s ease;
}
.sx-timeline__item:hover .sx-timeline__dot {
    transform: scale(1.25);
    box-shadow: 0 0 0 6px rgba(20,184,166,.25);
}
.sx-timeline__content {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    border: 1px solid var(--sx-line);
    box-shadow: 0 6px 16px rgba(15,23,42,.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.sx-timeline__item:hover .sx-timeline__content {
    transform: translateX(4px);
    box-shadow: 0 14px 28px rgba(15,23,42,.1);
    border-color: rgba(102,187,106,.4);
    color: inherit;
}
.sx-timeline__num {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: .7rem;
    color: var(--sx-teal);
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: .3rem;
}
.sx-timeline__content h6 {
    font-weight: 700;
    color: var(--sx-ink);
    margin: 0 0 .35rem;
    font-size: 1rem;
}
.sx-timeline__content p {
    color: var(--sx-muted);
    font-size: .87rem;
    line-height: 1.5;
    margin: 0 0 .6rem;
}
.sx-timeline__cta {
    display: inline-flex; align-items: center; gap: .3rem;
    color: var(--sx-green);
    font-weight: 600;
    font-size: .85rem;
}
.sx-timeline__cta i { transition: transform .2s ease; }
.sx-timeline__item:hover .sx-timeline__cta i { transform: translateX(4px); }

/* =========================================================
   JOBS LIST
   ========================================================= */
.sx-jobs-list {
    display: flex; flex-direction: column;
    gap: .75rem;
}
.sx-job {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--sx-line);
    box-shadow: 0 6px 16px rgba(15,23,42,.04);
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    opacity: 0;
    animation: sxRise .55s ease both;
    animation-delay: calc(var(--i, 0) * 70ms);
    position: relative;
    overflow: hidden;
}
.sx-job::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sx-green), var(--sx-teal));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}
.sx-job:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15,23,42,.1);
    border-color: rgba(102,187,106,.4);
    color: inherit;
}
.sx-job:hover::before { transform: scaleY(1); }

.sx-job__left { flex-shrink: 0; }
.sx-job__type {
    display: inline-block;
    background: var(--sx-paper);
    color: var(--sx-green);
    padding: .35rem .8rem;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 1px solid var(--sx-line);
}
.sx-job__body { flex: 1; min-width: 0; }
.sx-job__body h6 {
    font-weight: 700;
    color: var(--sx-ink);
    margin: 0 0 .2rem;
    font-size: 1rem;
}
.sx-job__body p {
    margin: 0;
    color: var(--sx-muted);
    font-size: .85rem;
    display: flex; align-items: center; flex-wrap: wrap; gap: .25rem;
}
.sx-sep { color: var(--sx-line); }
.sx-job__arrow {
    color: var(--sx-green);
    font-size: 1.15rem;
    transition: transform .25s ease;
}
.sx-job:hover .sx-job__arrow { transform: translateX(5px); }

/* Empty states */
.sx-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--sx-muted);
    background: #fff;
    border: 1px dashed var(--sx-line);
    border-radius: 16px;
}
.sx-empty i {
    font-size: 2.5rem;
    color: #CBD5E1;
    display: block;
    margin-bottom: .5rem;
}
.sx-empty p { margin: 0; font-size: .95rem; }

/* Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .sx-aside__sticky { position: static; }
    .sx-header__giant { font-size: 14rem; right: -40px; }
    .sx-header:hover .sx-header__giant { font-size: 12.5rem; }
}
@media (max-width: 576px) {
    .sx-header { padding: 50px 0 90px; }
    .sx-header__giant { display: none; }
    .sx-paragraph::first-letter { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001s !important;
        transition-duration: .001s !important;
    }
}

.bx-shdw {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
