/* =====================================================================
   Stairs and Levels - public website
   Standalone stylesheet (no theme CSS/JS needed). Classes are prefixed "s-".
   Visual motif: stairs / levels (rising blocks), in the blue of the logo
   with a warm yellow accent.
   ===================================================================== */

@font-face { font-family: THICCCBOI; src: url(../fonts/thicccboi/THICCCBOI-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: THICCCBOI; src: url(../fonts/thicccboi/THICCCBOI-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: THICCCBOI; src: url(../fonts/thicccboi/THICCCBOI-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --s-ink: #0b2149;
    --s-text: #3b4760;
    --s-muted: #65718a;
    --s-faint: #9aa4b8;
    --s-line: #e2e8f1;
    --s-bg: #ffffff;
    --s-soft: #f2f7fc;
    --s-sky-soft: #e2f1f8;
    --s-brand: #0a4fae;
    --s-brand-dark: #083e90;
    --s-sky: #54a8c7;
    --s-accent: #6cc1e0;
    --s-accent-soft: #e4f3f9;
    --s-accent-dark: #0a5f86;
    --s-green: #15803d;
    --s-red: #c0362c;
    --s-radius: 22px;
    --s-radius-sm: 14px;
    --s-shadow: 0 1px 2px rgba(11, 33, 73, .05), 0 10px 30px rgba(11, 33, 73, .07);
    --s-shadow-lg: 0 28px 70px rgba(11, 33, 73, .16);
    --s-font: THICCCBOI, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --s-container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.s-body {
    margin: 0;
    background: var(--s-bg);
    color: var(--s-text);
    font-family: var(--s-font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Base rules have zero specificity (:where) so every component class can override them */
:where(.s-body) img { max-width: 100%; height: auto; display: block; }
:where(.s-body) a { color: var(--s-brand); text-decoration: none; }
:where(.s-body) a:hover { color: var(--s-brand-dark); }
:where(.s-body) :is(h1, h2, h3, h4) { margin: 0; color: var(--s-ink); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; }
:where(.s-body) p { margin: 0; }
.s-body :focus-visible { outline: 3px solid var(--s-accent); outline-offset: 3px; border-radius: 6px; }
.s-body [id] { scroll-margin-top: 100px; }
.s-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Keyboard users can jump past the menu; the link only shows when focused */
.s-skip { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 18px; border-radius: 999px; background: var(--s-ink); color: #fff; font-weight: 700; font-size: 15px; transform: translateY(-160%); transition: transform .2s ease; }
.s-skip:focus { transform: none; color: #fff; }
#conteudo:focus { outline: none; }

.s-container { width: 100%; max-width: var(--s-container); margin: 0 auto; padding: 0 24px; }
.s-section { position: relative; padding: 104px 0; }
.s-section--tight { padding: 64px 0; }
.s-section--soft { background: var(--s-soft); }

.s-section--navy { background: var(--s-ink); color: rgba(255, 255, 255, .78); }
.s-section--navy :is(h2, h3) { color: #fff; }
@media (max-width: 767px) { .s-section { padding: 72px 0; } .s-section--tight { padding: 48px 0; } .s-container { padding: 0 18px; } }

/* ---------- Type ---------- */
.s-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 16px;
    color: var(--s-brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
/* Small stairs icon before every eyebrow */
.s-eyebrow::before {
    content: '';
    width: 18px;
    height: 14px;
    flex: none;
    background:
        linear-gradient(currentColor, currentColor) 0 100% / 6px 5px no-repeat,
        linear-gradient(currentColor, currentColor) 6px 100% / 6px 9px no-repeat,
        linear-gradient(currentColor, currentColor) 12px 100% / 6px 14px no-repeat;
    opacity: .9;
}
.s-section--navy .s-eyebrow, .s-eyebrow--light { color: var(--s-accent); }
.s-h1 { font-size: clamp(36px, 4.8vw, 58px); }
.s-h2 { font-size: clamp(30px, 3.5vw, 44px); }
.s-h3 { font-size: 22px; }
.s-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--s-text); }
.s-muted { color: var(--s-muted); }
/* Yellow marker behind a word */
.s-mark { background: linear-gradient(transparent 60%, rgba(108, 193, 224, .45) 60%, rgba(108, 193, 224, .45) 92%, transparent 92%); padding: 0 .08em; }
.s-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 48px; }
.s-section-head > div { max-width: 680px; }
.s-section-head .s-lead { margin-top: 14px; }

/* ---------- Buttons ---------- */
.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 50px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.s-btn:hover { transform: translateY(-2px); }
.s-btn--primary { background: var(--s-brand); color: #fff !important; box-shadow: 0 10px 24px rgba(10, 79, 174, .28); }
.s-btn--primary:hover { background: var(--s-brand-dark); }
.s-btn--accent { background: var(--s-accent); color: var(--s-ink) !important; box-shadow: 0 10px 24px rgba(84, 168, 199, .35); }
.s-btn--accent:hover { background: var(--s-sky); }
.s-btn--secondary { border-color: var(--s-ink); color: var(--s-ink) !important; background: transparent; }
.s-btn--secondary:hover { background: var(--s-ink); color: #fff !important; }
.s-btn--outline { border-color: var(--s-brand); color: var(--s-brand) !important; background: transparent; }
.s-btn--outline:hover { background: var(--s-brand); color: #fff !important; }
.s-btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.s-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }
.s-btn--subtle { min-height: auto; padding: 0; border: 0; color: var(--s-brand) !important; text-decoration: underline; text-underline-offset: 4px; }
.s-btn--subtle:hover { transform: none; color: var(--s-brand-dark) !important; }
.s-btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
.s-btn .uil { font-size: 1.15em; }
.s-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.s-link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.s-link-arrow::after { content: '\2192'; transition: transform .2s; }
.s-link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.s-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.s-header.is-scrolled { border-color: var(--s-line); box-shadow: 0 6px 24px rgba(11, 33, 73, .06); }
.s-header__bar { display: flex; align-items: center; gap: 24px; height: 84px; }
/* The SAL logo has empty space around it, so it needs more height than its visual size */
.s-logo img { height: 68px; width: auto; }
.s-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.s-nav__item { position: relative; }
.s-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 15px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--s-ink) !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    cursor: pointer;
}
.s-nav__link:hover, .s-nav__item:focus-within > .s-nav__link { background: var(--s-soft); }
.s-nav__link.is-active { color: var(--s-brand) !important; font-weight: 700; }
.s-nav__link .uil { font-size: 18px; line-height: 1; transition: transform .2s; }

.s-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 290px;
    padding: 10px;
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius-sm);
    background: #fff;
    box-shadow: var(--s-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.s-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@media (hover: hover) and (min-width: 1000px) {
    .s-nav__item:hover > .s-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .s-nav__item:hover > .s-nav__link .uil { transform: rotate(180deg); }
}
.s-nav__item.is-open > .s-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.s-dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--s-ink) !important; font-weight: 500; }
.s-dropdown a:hover { background: var(--s-soft); color: var(--s-brand-dark) !important; }
.s-dropdown a.is-active { color: var(--s-brand) !important; font-weight: 700; }

.s-header__cta { margin-left: 4px; }
.s-burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--s-line); border-radius: 50%; background: #fff; color: var(--s-ink); font-size: 22px; cursor: pointer; }

@media (max-width: 999px) {
    .s-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .s-header__bar { height: 74px; }
    .s-logo img { height: 56px; }
    .s-burger { display: inline-grid; place-items: center; }
    .s-header__cta { display: none; }
    .s-nav {
        position: fixed;
        inset: var(--s-nav-top, 74px) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 16px 18px 40px;
        background: #fff;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .25s ease;
    }
    body.s-nav-open .s-nav { transform: none; }
    body.s-nav-open { overflow: hidden; }
    .s-nav__link { width: 100%; justify-content: space-between; padding: 16px 12px; border-radius: 12px; font-size: 20px; }
    .s-dropdown { position: static; display: none; min-width: 0; margin: 0 0 8px; padding: 4px 4px 4px 12px; border: 0; border-left: 3px solid var(--s-accent); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .s-nav__item.is-open > .s-dropdown { display: block; transform: none; }
    .s-nav__item.is-open > .s-nav__link .uil { transform: rotate(180deg); }
    .s-nav__mobile-cta { display: flex !important; margin-top: 18px; }
}
.s-nav__mobile-cta { display: none; }

/* ---------- Hero ---------- */
.s-hero { position: relative; padding: 48px 0 96px; overflow: hidden; background: linear-gradient(180deg, var(--s-soft) 0%, #fff 75%); }
/* minmax(0, ...): the columns keep their width whatever the length of the rotating words */
.s-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.s-hero__title { margin-bottom: 24px; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.s-hero__words { display: block; min-height: 1.1em; color: var(--s-brand); white-space: nowrap; }
.s-hero__words::after { content: '|'; margin-left: 2px; color: var(--s-sky); font-weight: 400; animation: s-blink 1s steps(1) infinite; }
@keyframes s-blink { 50% { opacity: 0; } }
.s-hero .s-lead { max-width: 540px; margin-bottom: 34px; }

/* Photo standing on three "steps" */
.s-hero__media { position: relative; padding: 0 0 74px 40px; }
.s-hero__media::before, .s-hero__media::after { content: ''; position: absolute; z-index: 0; border-radius: 26px; }
.s-hero__media::before { left: 0; bottom: 0; width: 62%; height: 58%; background: var(--s-accent); }
.s-hero__media::after { right: -24px; top: -24px; width: 40%; height: 34%; background: var(--s-sky); opacity: .35; }
.s-hero__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 945 / 864; max-height: 60vh; object-fit: cover; border-radius: 28px; box-shadow: var(--s-shadow-lg); }
.s-hero__float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--s-shadow-lg);
}
.s-hero__float strong { display: block; color: var(--s-ink); font-size: 26px; line-height: 1; }
.s-hero__float span { color: var(--s-muted); font-size: 14px; }
.s-hero__float--people { left: 0; bottom: 112px; }
/* Below the photo, so it never covers faces */
.s-hero__float--years { right: 28px; bottom: 0; }
.s-hero__float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--s-accent-soft); color: var(--s-accent-dark); font-size: 22px; }
.s-avatars { display: flex; }
.s-avatars img { width: 38px; height: 38px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; }
.s-avatars img + img { margin-left: -12px; }
@media (max-width: 999px) {
    .s-hero { padding: 32px 0 72px; }
    .s-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .s-hero__media { padding: 0 0 74px 24px; }
    .s-hero__media img { aspect-ratio: 4 / 3; }
    .s-hero__float--people { bottom: 100px; }
}
@media (max-width: 480px) { .s-hero__float--years { right: 8px; } .s-hero__float { padding: 10px 14px; } .s-hero__float strong { font-size: 22px; } }

/* ---------- Levels (numbers rising like stairs) ---------- */
.s-levels { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 16px; }
.s-level {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 26px;
    border-radius: var(--s-radius) var(--s-radius) 8px 8px;
    background: var(--s-sky-soft);
}
.s-level:nth-child(1) { min-height: 150px; }
.s-level:nth-child(2) { min-height: 190px; background: #cfe7f2; }
.s-level:nth-child(3) { min-height: 230px; background: var(--s-sky); }
.s-level:nth-child(4) { min-height: 270px; background: var(--s-brand); }
.s-level:nth-child(3) :is(strong, span), .s-level:nth-child(4) :is(strong, span) { color: #fff; }
.s-level strong { display: block; color: var(--s-ink); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -.03em; }
.s-level span { display: block; margin-top: 8px; color: var(--s-text); font-size: 15px; font-weight: 500; }
@media (max-width: 767px) {
    .s-levels { grid-template-columns: repeat(2, 1fr); }
    .s-level:nth-child(n) { min-height: 0; }
    .s-level:nth-child(1), .s-level:nth-child(2) { min-height: 130px; }
    .s-level:nth-child(3), .s-level:nth-child(4) { min-height: 160px; }
}

/* ---------- Grids and feature cards ---------- */
.s-grid { display: grid; gap: 28px; }
.s-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .s-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 999px) { .s-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .s-grid--2, .s-grid--3, .s-grid--4 { grid-template-columns: minmax(0, 1fr); } }

.s-feature { position: relative; padding: 34px 30px 30px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.s-feature:hover { border-color: transparent; box-shadow: var(--s-shadow); transform: translateY(-4px); }
.s-feature__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 16px; background: var(--s-sky-soft); color: var(--s-brand); font-size: 28px; }
.s-grid > .s-feature:nth-child(2) .s-feature__icon { background: var(--s-accent-soft); color: var(--s-accent-dark); }
.s-grid > .s-feature:nth-child(3) .s-feature__icon { background: var(--s-brand); color: #fff; }
.s-grid > .s-feature:nth-child(4) .s-feature__icon { background: var(--s-ink); color: var(--s-accent); }
.s-feature h3 { margin-bottom: 10px; font-size: 21px; }
.s-feature p { color: var(--s-muted); font-size: 16px; }

/* ---------- Staircase steps ("Como funciona") ---------- */
.s-staircase { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 18px; }
.s-stair {
    position: relative;
    padding: 30px 28px 32px;
    border-radius: var(--s-radius) var(--s-radius) 0 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 0;
}
.s-stair:nth-child(1) { margin-bottom: 0; min-height: 250px; }
.s-stair:nth-child(2) { min-height: 310px; background: rgba(84, 168, 199, .16); }
.s-stair:nth-child(3) { min-height: 370px; background: var(--s-accent); border-color: var(--s-accent); }
.s-stair:nth-child(3) :is(h3, p, .s-stair__num) { color: var(--s-ink); }
.s-stair__num { display: block; margin-bottom: 18px; color: var(--s-accent); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.s-stair h3 { margin-bottom: 10px; font-size: 22px; }
.s-stair p { font-size: 16px; }
.s-staircase-base { height: 10px; border-radius: 0 0 8px 8px; background: rgba(255, 255, 255, .12); }
@media (max-width: 860px) {
    .s-staircase { grid-template-columns: 1fr; }
    .s-stair:nth-child(n) { min-height: 0; border-radius: var(--s-radius); border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .s-stair:nth-child(2) { margin-left: 24px; }
    .s-stair:nth-child(3) { margin-left: 48px; }
    .s-staircase-base { display: none; }
}

/* ---------- Project card ---------- */
.s-card { display: flex; flex-direction: column; min-width: 0; }
.s-card__media { position: relative; display: block; margin-bottom: 18px; overflow: hidden; border-radius: var(--s-radius); background: var(--s-soft); aspect-ratio: 16 / 11; }
.s-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.s-card:hover .s-card__media img { transform: scale(1.05); }
.s-card__badges { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.s-card__type { margin-bottom: 8px; color: var(--s-brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.s-card__title { margin-bottom: 10px; font-size: 22px; line-height: 1.25; }
.s-card__title a { color: var(--s-ink) !important; transition: color .25s; }
.s-card:hover .s-card__title a { color: var(--s-brand) !important; }
.s-card__excerpt { margin-bottom: 14px; color: var(--s-muted); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: auto; color: var(--s-muted); font-size: 14px; }
.s-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.s-card__meta .uil { color: var(--s-brand); }
.s-card__actions { margin-top: 16px; }
.s-card[hidden] { display: none; }

.s-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--s-ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(11, 33, 73, .12);
}
.s-badge--accent { background: var(--s-accent); color: var(--s-ink); }
.s-badge--soft { background: var(--s-sky-soft); color: var(--s-brand-dark); box-shadow: none; }
.s-badge--plain { box-shadow: none; border: 1px solid var(--s-line); }
.s-badge--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }

/* ---------- Page header (inner pages) ---------- */
.s-page-head { position: relative; overflow: hidden; padding: 56px 0 64px; background: var(--s-soft); }
.s-page-head::after {
    /* Three rising steps in the corner */
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 330px;
    height: 150px;
    background:
        linear-gradient(var(--s-sky-soft), var(--s-sky-soft)) 0 100% / 110px 50px no-repeat,
        linear-gradient(#cfe7f2, #cfe7f2) 110px 100% / 110px 100px no-repeat,
        linear-gradient(var(--s-accent), var(--s-accent)) 220px 100% / 110px 150px no-repeat;
    border-top-left-radius: 0;
    pointer-events: none;
}
.s-page-head .s-container { position: relative; z-index: 1; }
.s-page-head .s-lead { max-width: 680px; margin-top: 16px; }
.s-page-head__meta { display: inline-flex; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--s-brand); font-size: 14px; font-weight: 700; }
@media (max-width: 860px) { .s-page-head::after { width: 165px; height: 75px; background-size: 55px 25px, 55px 50px, 55px 75px; background-position: 0 100%, 55px 100%, 110px 100%; } }
.s-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--s-muted); font-size: 14px; }
.s-breadcrumb a { color: var(--s-muted) !important; }
.s-breadcrumb a:hover { color: var(--s-brand) !important; }

/* ---------- Filters ---------- */
.s-filters { display: grid; gap: 14px; margin-bottom: 44px; }
.s-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-filter-row__label { min-width: 64px; color: var(--s-faint); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.s-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--s-line);
    border-radius: 999px;
    background: #fff;
    color: var(--s-text) !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, color .15s;
}
.s-chip:hover { border-color: var(--s-brand); color: var(--s-brand) !important; }
.s-chip.is-active { border-color: var(--s-ink); background: var(--s-ink); color: #fff !important; }
.s-empty { padding: 56px 24px; border: 2px dashed var(--s-line); border-radius: var(--s-radius); text-align: center; color: var(--s-muted); }
.s-empty .s-btns { justify-content: center; margin-top: 22px; }

/* ---------- Single project ---------- */
.s-project-hero { position: relative; padding: 40px 0 80px; background: linear-gradient(180deg, var(--s-soft), #fff); }
.s-project-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.s-project-hero__media { position: sticky; top: 108px; }
.s-project-hero__frame { position: relative; padding: 0 0 22px 22px; }
.s-project-hero__frame::before { content: ''; position: absolute; left: 0; bottom: 0; width: 55%; height: 55%; border-radius: 24px; background: var(--s-accent); }
.s-project-hero__frame a { position: relative; display: block; cursor: zoom-in; }
.s-project-hero__frame img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 22px; background: #fff; box-shadow: var(--s-shadow-lg); }
.s-project-hero__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--s-ink); font-size: 20px; box-shadow: var(--s-shadow); }
.s-project-hero__title { margin: 14px 0 28px; font-size: clamp(32px, 3.6vw, 48px); }
.s-project-parent { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--s-muted); font-size: 15px; }
.s-project-parent a { font-weight: 700; }

.s-facts { margin: 0 0 30px; border-top: 1px solid var(--s-line); }
.s-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--s-line); }
.s-facts dt { color: var(--s-muted); font-size: 14.5px; font-weight: 500; }
.s-facts dt .uil { margin-right: 8px; color: var(--s-brand); }
.s-facts dd { margin: 0; min-width: 0; color: var(--s-ink); font-weight: 500; overflow-wrap: anywhere; }
.s-facts dd small { color: var(--s-muted); font-weight: 400; }
.s-facts__orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.s-facts__orgs img { width: 34px; height: 34px; object-fit: contain; border: 1px solid var(--s-line); border-radius: 9px; background: #fff; }
.s-funding { height: 52px; width: auto; max-width: 100%; margin-top: 28px; object-fit: contain; object-position: left; }
@media (max-width: 999px) {
    .s-project-hero { padding: 24px 0 56px; }
    .s-project-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .s-project-hero__media { position: static; }
    .s-facts > div { grid-template-columns: 120px minmax(0, 1fr); }
}

.s-article { display: grid; grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; gap: 64px; }
.s-article--single { grid-template-columns: minmax(0, 780px); justify-content: center; }
@media (max-width: 999px) { .s-article { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.s-prose { color: var(--s-text); font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.s-prose > * + *, .s-prose div > * + * { margin-top: 1.1em; }
.s-prose p { margin: 0; }
.s-prose h1, .s-prose h2 { margin-top: 1.8em; font-size: 28px; }
.s-prose h3 { margin-top: 1.6em; font-size: 22px; }
.s-prose h4, .s-prose h5, .s-prose h6 { margin-top: 1.4em; font-size: 19px; }
.s-prose strong { color: var(--s-ink); }
.s-prose a { text-decoration: underline; text-underline-offset: 3px; }
.s-prose ul, .s-prose ol { margin: 1em 0 0; padding-left: 1.3em; }
.s-prose li + li { margin-top: .4em; }
.s-prose li::marker { color: var(--s-brand); }
.s-prose img, .s-prose iframe, .s-prose video { max-width: 100%; height: auto; border-radius: var(--s-radius-sm); }
.s-prose iframe { width: 100%; aspect-ratio: 16 / 9; }
.s-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.s-prose td, .s-prose th { padding: 8px 12px; border: 1px solid var(--s-line); }
.s-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--s-accent); color: var(--s-ink); font-size: 20px; }

.s-aside { display: grid; gap: 18px; align-content: start; }
.s-aside-card { padding: 26px; border-radius: var(--s-radius); background: var(--s-soft); }
.s-aside-card h3 { margin-bottom: 16px; color: var(--s-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.s-org { display: flex; align-items: center; gap: 12px; color: var(--s-ink); font-weight: 500; line-height: 1.35; }
.s-org + .s-org { margin-top: 14px; }
.s-org img { width: 54px; height: 54px; flex: none; object-fit: contain; border: 1px solid var(--s-line); border-radius: 12px; background: #fff; }

/* ---------- Quotes ---------- */
.s-quote { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.s-quote__bubble { position: relative; padding: 30px 30px 28px; border-radius: var(--s-radius); background: #fff; box-shadow: var(--s-shadow); color: var(--s-ink); font-size: 17.5px; line-height: 1.65; }
.s-quote__bubble::before { content: '\201C'; display: block; height: 30px; margin-bottom: 4px; color: var(--s-accent); font-size: 64px; font-weight: 700; line-height: 1; }
.s-quote__bubble::after { content: ''; position: absolute; left: 34px; bottom: -12px; width: 24px; height: 24px; background: #fff; transform: rotate(45deg); box-shadow: 6px 6px 10px rgba(11, 33, 73, .05); }
.s-quote figcaption { display: flex; align-items: center; gap: 12px; padding-left: 22px; color: var(--s-muted); font-size: 15px; }
.s-quote figcaption img { width: 50px; height: 50px; object-fit: cover; border: 3px solid #fff; border-radius: 50%; box-shadow: var(--s-shadow); }
.s-quote figcaption strong { display: block; color: var(--s-ink); }
.s-section--soft .s-quote__bubble { box-shadow: 0 6px 20px rgba(11, 33, 73, .06); }

/* ---------- Gallery and lightbox ---------- */
.s-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.s-gallery a { display: block; overflow: hidden; border-radius: var(--s-radius-sm); background: var(--s-soft); cursor: zoom-in; }
.s-gallery a:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.s-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.s-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .s-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

.s-lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 40px; background: rgba(6, 18, 38, .94); }
.s-lightbox.is-open { display: grid; }
.s-lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; }
.s-lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
.s-lightbox button:hover { background: rgba(255, 255, 255, .24); }
.s-lightbox__close { top: 20px; right: 20px; }
.s-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.s-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Split (image + text) ---------- */
.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.s-split__media { position: relative; padding: 0 24px 24px 0; }
.s-split__media::before { content: ''; position: absolute; right: 0; bottom: 0; width: 60%; height: 60%; border-radius: 26px; background: var(--s-sky-soft); }
.s-split__media img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px; }
.s-split .s-lead + .s-lead { margin-top: 16px; }
.s-split--member { grid-template-columns: .8fr 1.2fr; align-items: start; }
@media (max-width: 999px) { .s-split, .s-split--member { grid-template-columns: 1fr; gap: 44px; } }

.s-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.s-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.s-collage img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.s-collage img:not(:first-child) { aspect-ratio: 4 / 3; }

/* ---------- FAQ ---------- */
.s-faq { border-top: 1px solid var(--s-line); }
.s-faq details { border-bottom: 1px solid var(--s-line); }
.s-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; color: var(--s-ink); font-size: 19px; font-weight: 700; list-style: none; cursor: pointer; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--s-accent); color: var(--s-ink); font-size: 22px; font-weight: 400; transition: transform .2s; }
.s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq details > div { padding: 0 0 24px; color: var(--s-muted); }
.s-faq ul { margin: 0; padding-left: 1.2em; columns: 2; }
@media (max-width: 480px) { .s-faq ul { columns: 1; } }

/* ---------- Team ---------- */
.s-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 28px; }
.s-member { display: block; color: inherit !important; }
.s-member__photo { position: relative; overflow: hidden; margin-bottom: 16px; border-radius: var(--s-radius); aspect-ratio: 1; background: var(--s-soft); }
.s-member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.s-member:hover .s-member__photo img { transform: scale(1.05); }
.s-member__photo::after { content: '\2192'; position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s-accent); color: var(--s-ink); font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.s-member:hover .s-member__photo::after { opacity: 1; transform: none; }
.s-member h3 { font-size: 20px; }
.s-member p { margin-top: 4px; color: var(--s-muted); font-size: 15px; line-height: 1.45; }
.s-team-group + .s-team-group { margin-top: 80px; }
.s-team-group__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }
.s-team-group__head h3 { font-size: 28px; }
.s-team-group__count { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--s-accent); color: var(--s-ink); font-size: 15px; font-weight: 700; }
.s-team-group__head::after { content: ''; flex: 1; height: 1px; min-width: 40px; background: var(--s-line); }
.s-member-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: var(--s-shadow-lg); }

/* ---------- Opportunities as boarding passes ---------- */
.s-route { position: relative; overflow: hidden; padding: 64px 0 84px; background: var(--s-ink); color: rgba(255, 255, 255, .8); }
.s-route h1 { color: #fff; }
.s-route .s-lead { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, .8); }
.s-route .s-breadcrumb, .s-route .s-breadcrumb a { color: rgba(255, 255, 255, .6) !important; }
.s-route__line { position: absolute; right: -40px; top: 30px; width: 560px; max-width: 70%; height: auto; opacity: .9; pointer-events: none; }
.s-included { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.s-included span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 15px; font-weight: 500; }
.s-included .uil { color: var(--s-accent); font-size: 18px; }
@media (max-width: 860px) { .s-route__line { opacity: .35; } }

.s-tickets { display: grid; gap: 26px; }
.s-ticket {
    --notch: 16px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    border-radius: var(--s-radius);
    background: #fff;
    box-shadow: var(--s-shadow);
    transition: transform .2s, box-shadow .2s;
}
.s-ticket:hover { transform: translateY(-3px); box-shadow: var(--s-shadow-lg); }
.s-ticket__main { padding: 30px 34px; min-width: 0; }
.s-ticket__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; color: var(--s-faint); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.s-ticket__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--s-brand); }
.s-ticket__title { margin-bottom: 22px; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; }
.s-ticket__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.s-ticket__field small { display: block; color: var(--s-faint); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.s-ticket__field strong { display: block; margin-top: 4px; color: var(--s-ink); font-size: 16.5px; line-height: 1.35; }
.s-ticket__more { margin-top: 22px; }
.s-ticket__more summary { display: inline-flex; align-items: center; gap: 6px; color: var(--s-brand); font-weight: 700; cursor: pointer; list-style: none; }
.s-ticket__more summary::-webkit-details-marker { display: none; }
.s-ticket__more summary::after { content: '\2193'; transition: transform .2s; }
.s-ticket__more[open] summary::after { transform: rotate(180deg); }
.s-ticket__more > div { margin-top: 14px; color: var(--s-text); white-space: pre-line; }

/* Tear-off stub with the countdown, separated by a perforated line with notches */
.s-ticket__stub {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
    padding: 30px 28px;
    border-left: 2px dashed var(--s-line);
    border-radius: 0 var(--s-radius) var(--s-radius) 0;
    background: var(--s-accent-soft);
    text-align: center;
}
.s-ticket__stub::before, .s-ticket__stub::after { content: ''; position: absolute; left: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--s-soft); }
.s-ticket__stub::before { top: calc(var(--notch) * -1); }
.s-ticket__stub::after { bottom: calc(var(--notch) * -1); }
.s-ticket__count strong { display: block; color: var(--s-ink); font-size: 56px; line-height: 1; letter-spacing: -.04em; }
.s-ticket__count span { display: block; margin-top: 6px; color: var(--s-accent-dark); font-size: 14px; font-weight: 700; }
.s-ticket__count small { display: block; margin-top: 4px; color: var(--s-muted); font-size: 13px; }
.s-ticket__count--open strong { font-size: 30px; }
.s-ticket.is-soon .s-ticket__stub { background: #fde9e6; }
.s-ticket.is-soon .s-ticket__count span { color: var(--s-red); }
.s-ticket__stub .s-btns { flex-direction: column; align-items: stretch; gap: 8px; }
.s-ticket__stub .s-btn { width: 100%; }
@media (max-width: 860px) {
    .s-ticket { grid-template-columns: 1fr; }
    .s-ticket__main { padding: 24px 22px; }
    .s-ticket__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-ticket__stub { border-left: 0; border-top: 2px dashed var(--s-line); border-radius: 0 0 var(--s-radius) var(--s-radius); padding: 24px 22px; flex-direction: row; align-items: center; text-align: left; }
    .s-ticket__stub::before, .s-ticket__stub::after { top: calc(var(--notch) * -1 - 1px); bottom: auto; }
    .s-ticket__stub::before { left: calc(var(--notch) * -1); }
    .s-ticket__stub::after { left: auto; right: calc(var(--notch) * -1); }
    .s-ticket__stub .s-btns { flex: none; }
    .s-ticket__count strong { font-size: 44px; }
}
@media (max-width: 480px) { .s-ticket__stub { flex-direction: column; align-items: stretch; text-align: center; } }

/* Compact tickets (home) */
.s-tickets--compact .s-ticket { grid-template-columns: minmax(0, 1fr) 190px; }
.s-tickets--compact .s-ticket__main { padding: 24px 28px; }
.s-tickets--compact .s-ticket__title { margin-bottom: 14px; font-size: 21px; }
.s-tickets--compact .s-ticket__stub { padding: 22px; justify-content: center; }
.s-tickets--compact .s-ticket__count strong { font-size: 42px; }


@media (max-width: 860px) { .s-tickets--compact .s-ticket { grid-template-columns: 1fr; } }

.s-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: how; }
.s-how > div { position: relative; padding: 28px 28px 28px 92px; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-line); }
.s-how > div::before { counter-increment: how; content: counter(how); position: absolute; left: 26px; top: 26px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--s-accent); color: var(--s-ink); font-size: 22px; font-weight: 700; }
.s-how h3 { margin-bottom: 6px; font-size: 19px; }
.s-how p { color: var(--s-muted); font-size: 15.5px; }
@media (max-width: 860px) { .s-how { grid-template-columns: 1fr; } }

/* ---------- CTA band & contact ---------- */
.s-cta { position: relative; overflow: hidden; padding: 68px 64px; border-radius: 32px; background: var(--s-ink); color: rgba(255, 255, 255, .8); }
.s-cta::after {
    /* Stairs rising in the corner */
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 180px;
    background:
        linear-gradient(rgba(84, 168, 199, .25), rgba(84, 168, 199, .25)) 0 100% / 100px 60px no-repeat,
        linear-gradient(rgba(84, 168, 199, .5), rgba(84, 168, 199, .5)) 100px 100% / 100px 120px no-repeat,
        linear-gradient(var(--s-accent), var(--s-accent)) 200px 100% / 100px 180px no-repeat;
    pointer-events: none;
}
.s-cta > * { position: relative; z-index: 1; }
.s-cta h2 { color: #fff; max-width: 680px; }
.s-cta p { max-width: 580px; margin: 16px 0 30px; font-size: 19px; }
@media (max-width: 767px) { .s-cta { padding: 44px 26px 120px; } .s-cta::after { width: 180px; height: 100px; background-size: 60px 33px, 60px 66px, 60px 100px; background-position: 0 100%, 60px 100%, 120px 100%; } }

.s-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 34px; max-width: 820px; }
.s-contact a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); color: #fff !important; line-height: 1.4; }
.s-contact a:hover { background: rgba(255, 255, 255, .14); }
.s-contact .uil { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--s-accent); color: var(--s-ink); font-size: 20px; }
.s-contact small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px; }
@media (max-width: 680px) { .s-contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.s-footer { position: relative; padding: 96px 0 32px; background: #072b63; color: rgba(255, 255, 255, .72); font-size: 16px; }
.s-footer::before {
    /* A row of steps along the top edge */
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 14px;
    background: linear-gradient(90deg, #cfe7f2 0 33.33%, var(--s-sky) 33.33% 66.66%, var(--s-brand) 66.66%);
}
.s-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; }
.s-footer__logo { height: 76px; width: auto; margin: -10px 0 14px -10px; }
.s-footer__title { margin-bottom: 18px; color: #fff !important; font-size: 14px !important; letter-spacing: .1em !important; text-transform: uppercase; }
.s-footer ul { margin: 0; padding: 0; list-style: none; }
.s-footer li + li { margin-top: 10px; }
.s-footer a { color: rgba(255, 255, 255, .8) !important; }
.s-footer a:hover { color: var(--s-accent) !important; }
.s-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.s-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 20px; }
.s-socials a:hover { background: var(--s-accent); color: var(--s-ink) !important; }
.s-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
@media (max-width: 999px) { .s-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .s-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.s-js .s-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.s-js .s-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .s-js .s-reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Closed calls: faded, with a stamp */
.s-ticket.is-closed { box-shadow: none; border: 1px solid var(--s-line); }
.s-ticket.is-closed:hover { transform: none; box-shadow: none; }
.s-ticket.is-closed .s-ticket__main { opacity: .62; }
.s-ticket.is-closed .s-ticket__stub { background: #fff; }
.s-ticket.is-closed .s-ticket__count strong {
    display: inline-block;
    padding: 4px 14px;
    border: 3px solid var(--s-faint);
    border-radius: 10px;
    color: var(--s-faint);
    font-size: 22px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: rotate(-6deg);
}
@media (max-width: 1100px) { .s-route__line { opacity: .3; } }

/* Phones: the rotating words may wrap instead of being cut off */
@media (max-width: 600px) {
    .s-hero__title { font-size: clamp(32px, 9vw, 42px); }
    .s-route h1 br { display: none; }
}

/* ---------- Slider (testimonials) ---------- */
.s-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Room for the bubble shadows and arrows, without clipping */
    margin: -12px -12px 0;
    padding: 12px 12px 8px;
    scroll-padding: 0 12px;
}
.s-slider__track::-webkit-scrollbar { display: none; }
.s-slider__track > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 999px) { .s-slider__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .s-slider__track { grid-auto-columns: 86%; } }
.s-slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.s-slider__dots { display: flex; flex-wrap: wrap; gap: 8px; }
.s-slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #c9d6e6; cursor: pointer; transition: width .25s, background-color .25s; }
.s-slider__dot.is-active { width: 30px; background: var(--s-brand); }
.s-slider__arrows { display: flex; gap: 10px; }
.s-slider__arrows button { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--s-line); border-radius: 50%; background: #fff; color: var(--s-ink); font-size: 24px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.s-slider__arrows button:hover { border-color: var(--s-brand); background: var(--s-brand); color: #fff; }
.s-slider.is-static .s-slider__nav { display: none; }

/* ---------- Opening animation of <details> content ---------- */
.s-faq details > div, .s-ticket__more > div { transition: opacity .3s ease, transform .3s ease; }
.s-faq details:not([open]) > div, .s-ticket__more:not([open]) > div,
.s-faq details.is-closing > div, .s-ticket__more.is-closing > div { opacity: 0; transform: translateY(-6px); }
.s-faq details[open]:not(.is-closing) > div, .s-ticket__more[open]:not(.is-closing) > div { animation: s-fade-down .35s ease both; }
@keyframes s-fade-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.s-faq details[open] summary { color: var(--s-brand); }

/* ---------- "Ver mais" ---------- */
.s-load-more { display: flex; justify-content: center; margin-top: 32px; }
.s-load-more .s-btn span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--s-accent-soft); color: var(--s-brand-dark); font-size: 13px; }
.s-btn--outline:hover span { background: rgba(255, 255, 255, .2); color: #fff; }

.s-ticket[hidden] { display: none; }

/* Same height for all bubbles in a row of the slider */
.s-slider .s-quote__bubble { flex: 1; }

/* ---------- Card hover: soft lift, darker photo and a round arrow ---------- */
.s-card__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(11, 33, 73, .55)); opacity: 0; transition: opacity .35s; }
.s-card__media::after {
    content: '\2192';
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--s-brand);
    font-size: 20px;
    font-weight: 700;
    opacity: 0;
    transform: translate(-8px, 8px) rotate(-45deg);
    transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.s-card__badges { z-index: 2; }
.s-card:hover .s-card__media::before { opacity: 1; }
.s-card:hover .s-card__media::after { opacity: 1; transform: none; }

/* ---------- "Candidata-te" button: navy pill with a round icon ---------- */
.s-btn--cta {
    min-height: 50px;
    padding: 6px 22px 6px 6px;
    gap: 12px;
    background: var(--s-ink);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(11, 33, 73, .22);
}
.s-btn--cta:hover { background: var(--s-brand); }
.s-btn__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    background: var(--s-accent);
    color: var(--s-ink);
    font-size: 18px;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .25s;
}
.s-btn--cta:hover .s-btn__icon { background: #fff; color: var(--s-brand); transform: translate(2px, -2px) rotate(-10deg); }


/* Organisation with a website link */
a.s-org--link { color: var(--s-ink) !important; border-radius: 12px; transition: color .2s; }
a.s-org--link:hover { color: var(--s-brand) !important; }
.s-org small { display: block; margin-top: 2px; color: var(--s-muted); font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.s-org small .uil { font-size: 12px; }
.s-facts__orgs a { display: block; border-radius: 9px; }
.s-facts__orgs a:hover img { border-color: var(--s-brand); }

.s-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; letter-spacing: -.01em; }

/* ---------- Testimonials: same height, long ones cut with "Ler mais" ---------- */
.s-quote__bubble { display: flex; flex-direction: column; }
.s-quote__text {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.s-quote__more {
    align-self: flex-start;
    margin-top: auto;
    padding: 14px 0 0;
    border: 0;
    background: none;
    color: var(--s-brand);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.s-quote__more span { display: inline-block; transition: transform .2s; }
.s-quote__more:hover span { transform: translateX(4px); }
.s-quote__more[hidden] { display: none; }
.s-quote figcaption > span > span { display: block; }

/* ---------- Window with a whole testimonial ---------- */
.s-dialog {
    width: min(640px, calc(100vw - 32px));
    max-height: min(86vh, 760px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--s-ink);
    box-shadow: var(--s-shadow-lg);
    overflow: hidden;
}
.s-dialog[open] { display: flex; flex-direction: column; animation: s-dialog-in .25s cubic-bezier(.2, .7, .2, 1) both; }
.s-dialog::backdrop { background: rgba(6, 18, 38, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes s-dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.s-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--s-soft);
    color: var(--s-ink);
    font-size: 20px;
    cursor: pointer;
}
.s-dialog__close:hover { background: var(--s-accent-soft); color: var(--s-brand); }
.s-dialog__body { flex: 1; min-height: 0; overflow-y: auto; padding: 40px 40px 8px; }
.s-dialog__body::before { content: '\201C'; display: block; height: 34px; color: var(--s-accent); font-size: 72px; font-weight: 700; line-height: 1; }
.s-dialog__text { font-size: 18px; line-height: 1.75; white-space: pre-line; }
@media (max-width: 560px) {
    .s-dialog__body { padding: 32px 22px 4px; }
    .s-dialog__text { font-size: 17px; }
}

/* Slider: drag with the mouse */
@media (hover: hover) and (pointer: fine) {
    .s-slider__track { cursor: grab; }
    .s-slider__track button, .s-slider__track a { cursor: pointer; }
}
.s-slider.is-dragging .s-slider__track { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.s-slider.is-dragging .s-slider__track * { pointer-events: none; }

/* Testimonial window: large photo of the participant at the top */
.s-dialog__person { display: flex; align-items: center; gap: 20px; padding: 32px 72px 24px 40px; border-bottom: 1px solid var(--s-line); background: linear-gradient(180deg, var(--s-soft), #fff); }
.s-dialog__person img { width: 104px; height: 104px; flex: none; object-fit: cover; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px var(--s-accent), var(--s-shadow); }
.s-dialog__person strong { display: block; color: var(--s-ink); font-size: 21px; line-height: 1.25; }
.s-dialog__person span span { display: block; margin-top: 4px; color: var(--s-muted); font-size: 15px; }
.s-dialog__body { padding-top: 28px; padding-bottom: 36px; }
@media (max-width: 560px) {
    .s-dialog__person { gap: 14px; padding: 24px 60px 18px 22px; }
    .s-dialog__person img { width: 80px; height: 80px; }
    .s-dialog__person strong { font-size: 18px; }
}
