:root {
    --bg: #fff2e6;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #fffaf5;
    --ink: #4e4e55;
    --muted: #6a676d;
    --line: rgba(78, 78, 85, 0.1);
    --teal: #ff5327;
    --teal-deep: #ff3f1f;
    --coral: #ffbb1c;
    --sand: #ffe2be;
    --shadow: 0 24px 60px rgba(90, 44, 20, 0.16);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --content: min(1180px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 196, 53, 0.6), transparent 18%),
        radial-gradient(circle at 100% 0, rgba(255, 101, 43, 0.28), transparent 18%),
        linear-gradient(180deg, #ffefe6 0%, #fff4ec 24%, #fff0e5 52%, #fffaf6 100%);
}

img {
    display: block;
    width: 100%;
}

img.load-managed {
    opacity: 0;
    transition: opacity 320ms ease;
}

img.load-managed.is-loaded {
    opacity: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: auto auto 10% -6rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(255, 207, 84, 0.18);
    filter: blur(16px);
    pointer-events: none;
    z-index: -1;
}

.site-shell::after {
    inset: 24% -5rem auto auto;
    background: rgba(255, 74, 36, 0.12);
}

.topbar,
.section,
.site-footer {
    width: var(--content);
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 103, 61, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 86, 40, 0.96), rgba(255, 63, 31, 0.94));
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 36px rgba(255, 83, 39, 0.2);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 4.9rem;
    height: 4.9rem;
    overflow: hidden;
    padding: 0;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 26px rgba(112, 31, 7, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.5rem;
    flex: 0 0 auto;
}

.brand-mark::before {
    display: none;
}

.brand-mark::after {
    display: none;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
}

.brand-copy {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.93rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 24px rgba(114, 31, 7, 0.14);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    color: rgba(255, 248, 241, 0.96);
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.45rem;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, #fff, rgba(255, 234, 188, 0.95));
    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    width: 2.9rem;
    height: 2.9rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(112, 31, 7, 0.16);
}

.menu-toggle span {
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.section {
    padding: 4.8rem 0;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.35rem;
    min-height: auto;
    padding-top: 2rem;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 2rem auto auto 8%;
    width: 14rem;
    height: 14rem;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255, 114, 55, 0.14), rgba(255, 189, 55, 0.06));
    filter: blur(4px);
    z-index: -1;
}

.eyebrow {
    margin: 0 0 0.9rem;
    color: #ff5a27;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cta-copy .eyebrow {
    color: rgba(255, 255, 255, 0.96);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Fraunces", serif;
    line-height: 1.02;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    letter-spacing: -0.04em;
}

.hero h1 {
    color: #2f3034;
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 1.45rem;
}

p {
    margin: 0;
    line-height: 1.75;
    color: var(--muted);
}

.hero-text {
    max-width: 32rem;
    margin-top: 0.2rem;
    font-size: 1rem;
    color: var(--muted);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-actions {
    justify-content: center;
    margin-top: 1.15rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, #ff5e2c, #ff3f1f);
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 94, 44, 0.26);
}

.button-secondary {
    border-color: rgba(78, 78, 85, 0.12);
    background: #fff;
    color: #2f3034;
}

.hero-secondary {
    box-shadow: 0 18px 40px rgba(70, 48, 38, 0.08);
}

.hero-copy {
    display: grid;
    order: 2;
    justify-items: center;
    text-align: center;
    align-content: start;
    gap: 0.55rem;
    max-width: 42rem;
    margin-inline: auto;
    padding-top: 0;
}

.hero-mobile-emotion {
    display: none;
    margin: 0.25rem 0 1rem;
    overflow: hidden;
    border-radius: 30px;
    border: 6px solid rgba(255, 248, 242, 0.96);
    box-shadow: 0 22px 44px rgba(88, 56, 40, 0.16);
}

.hero-mobile-emotion img {
    height: 16rem;
    object-fit: cover;
}

.hero-stage {
    order: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.72fr);
    gap: 1.1rem;
    align-items: stretch;
}

.hero-feature {
    position: relative;
    overflow: hidden;
    border-radius: 42px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(88, 56, 40, 0.18);
    animation: drift 6.5s ease-in-out infinite;
    padding: 0.8rem;
    min-height: 0;
    isolation: isolate;
}

.hero-feature::before {
    display: none;
}

.hero-feature::after {
    display: none;
}

.hero-feature__media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 242, 230, 0.92), rgba(255, 249, 243, 0.96));
    border: 1px solid rgba(255, 146, 68, 0.16);
}

.hero-feature__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent 0%, rgba(32, 20, 16, 0.18) 100%);
    pointer-events: none;
}

.hero-feature__media img {
    width: 100%;
    height: 40rem;
    object-fit: cover;
    object-position: center 28%;
    transition: transform 500ms ease, filter 300ms ease;
    border-radius: 24px;
    border: 0;
    filter: saturate(1.02) contrast(1.01);
    animation: heroZoom 10s ease-in-out infinite;
}

.hero-feature:hover .hero-feature__media img {
    transform: scale(1.05);
    filter: saturate(1.04);
}

.hero-feature__cards {
    position: absolute;
    z-index: 2;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.86fr);
    gap: 1rem;
    align-items: end;
}

.hero-feature__body {
    position: relative;
    display: grid;
    gap: 0.55rem;
    min-height: 0;
    max-width: none;
    min-height: 13.8rem;
    align-content: start;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 36px rgba(65, 39, 28, 0.14);
}

.hero-feature__tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 83, 39, 0.1);
    color: #ff5528;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-feature__body h2 {
    color: #2f3034;
    font-size: clamp(1.85rem, 2.6vw, 2.55rem);
    line-height: 0.95;
}

.hero-feature__body h2 span {
    display: inline;
    font-size: inherit;
    letter-spacing: inherit;
}

.hero-feature__body p {
    max-width: 18rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
}

.hero-feature__aside {
    position: relative;
    display: grid;
    gap: 0.8rem;
    width: 100%;
    min-height: 13.8rem;
    align-content: start;
    padding: 0.7rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    color: #2f3034;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 36px rgba(65, 39, 28, 0.14);
}

.hero-feature__aside-media {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
}

.hero-feature__aside-media img {
    width: 100%;
    height: 7.5rem;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-feature__aside-copy {
    display: grid;
    gap: 0.5rem;
    padding: 0.15rem 0.2rem 0.2rem;
}

.hero-feature__aside-tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 83, 39, 0.1);
    color: #ff5528;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-feature__aside-copy strong {
    color: #2f3034;
    font-size: 1.02rem;
    line-height: 1.15;
}

.hero-feature__aside-copy p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}

.hero-side {
    display: grid;
    gap: 1rem;
}

.hero-brand-poster {
    position: relative;
    min-height: 21rem;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 24px 56px rgba(255, 83, 39, 0.18);
    animation: drift 7.2s ease-in-out infinite;
    background: #fff;
    padding: 0.8rem;
}

.hero-brand-poster__bg,
.hero-brand-poster__overlay,
.hero-brand-poster__lines,
.hero-brand-poster__shape {
    position: absolute;
    inset: 0;
}

.hero-brand-poster__bg {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    pointer-events: auto;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 242, 230, 0.92), rgba(255, 249, 243, 0.96));
}

.hero-brand-poster__overlay {
    display: none;
}

.hero-brand-poster__lines {
    display: none;
}

.hero-brand-poster__lines {
    background: repeating-linear-gradient(
        180deg,
        rgba(110, 17, 4, 0.2) 0,
        rgba(110, 17, 4, 0.2) 2px,
        transparent 2px,
        transparent 8px
    );
    opacity: 0.55;
}

.hero-brand-poster__shape {
    display: none;
}

.hero-brand-poster__shape--top {
    inset: -4rem -4rem auto auto;
}

.hero-brand-poster__shape--bottom {
    inset: auto auto -4rem -4rem;
}

.hero-brand-poster__content {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: start;
    align-content: end;
    gap: 0.55rem;
    position: absolute;
    right: 1.35rem;
    bottom: 1.35rem;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #4e4e55;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-brand-poster__logo {
    display: none;
}

.hero-brand-poster__content strong {
    display: none;
}

.hero-brand-poster__content span {
    display: none;
}

.hero-brand-poster__content p {
    display: none;
}

.hero-brand-poster__caption {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #2f3034;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(88, 56, 40, 0.12);
}

.hero-mini {
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(88, 56, 40, 0.1);
    animation: drift 7.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-mini--accent {
    border: 1px solid rgba(255, 104, 56, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 188, 69, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 241, 233, 0.92));
}

.hero-mini img {
    border-radius: 20px;
    height: 10rem;
    object-fit: cover;
    border: 4px solid rgba(255, 183, 79, 0.18);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.hero-mini::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 22%, transparent 42%);
    transform: translateX(-120%);
    animation: cardSweep 5.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-mini:hover img {
    transform: scale(1.03);
    box-shadow: 0 16px 30px rgba(255, 91, 40, 0.12);
}

.hero-mini strong,
.hero-mini h3 {
    color: #2f3034;
}

.impact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 0;
}

.impact-strip__item {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 246, 240, 0.92), rgba(255, 250, 246, 0.88));
    box-shadow: 0 14px 30px rgba(255, 90, 39, 0.08);
    border-top: 4px solid rgba(255, 89, 39, 0.72);
}

.impact-strip__label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.impact-strip__item strong {
    font-size: 1.04rem;
}

.story {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: center;
}

.story-copy {
    display: grid;
    gap: 1rem;
}

.story-visual {
    position: relative;
}

.story-photo {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 6px solid rgba(255, 255, 255, 0.72);
}

.story-photo img {
    min-height: 36rem;
    object-fit: cover;
    transition: transform 550ms ease;
}

.story-photo:hover img {
    transform: scale(1.05);
}

.story-quote {
    position: absolute;
    left: -1.25rem;
    bottom: 1.25rem;
    max-width: 24rem;
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 63, 31, 0.98), rgba(255, 92, 44, 0.94));
    box-shadow: 0 16px 34px rgba(199, 74, 19, 0.28);
}

.story-quote p {
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.02rem;
}

.section-heading {
    display: grid;
    gap: 0.7rem;
    max-width: 42rem;
    margin-bottom: 2rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.program-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.96), rgba(255, 244, 237, 0.92));
    box-shadow: var(--shadow);
    position: relative;
    isolation: isolate;
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.program-card img {
    height: 15rem;
    object-fit: cover;
    border-bottom: 4px solid rgba(255, 163, 61, 0.22);
    transition: transform 420ms ease;
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 94, 44, 0.7), rgba(255, 190, 47, 0.45), rgba(255, 255, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(88, 56, 40, 0.16);
}

.program-card:hover img {
    transform: scale(1.04);
}

.program-card__body {
    display: grid;
    gap: 0.7rem;
    padding: 1.4rem;
}

.program-card__body span {
    color: #ff5a27;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.timeline-card {
    position: relative;
    min-height: 14rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 246, 240, 0.92)),
        linear-gradient(135deg, rgba(255, 83, 39, 0.12), rgba(255, 190, 47, 0.08));
    border: 1px solid rgba(30, 36, 48, 0.08);
}

.timeline-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(15, 139, 141, 0.06), transparent 60%);
    pointer-events: none;
}

.timeline-card h3 {
    margin-bottom: 0.9rem;
}

.gallery-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.filter-button {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(30, 36, 48, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}

.filter-button.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #ff5528, #ffae34);
    color: #fff;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.document-card {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-height: 18rem;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.7);
    background:
        radial-gradient(circle at top right, rgba(255, 111, 61, 0.16), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 206, 75, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 240, 0.96));
    box-shadow: var(--shadow);
}

.document-card__tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 83, 39, 0.1);
    color: #ff5528;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.document-card .button-secondary {
    border-color: rgba(78, 78, 85, 0.14);
    background: #fff;
    color: var(--ink);
}

.bibliasoft {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 2rem;
}

.bibliasoft-copy {
    display: grid;
    gap: 1rem;
}

.bibliasoft-points {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bibliasoft-points li {
    position: relative;
    padding-left: 1.25rem;
    font-weight: 700;
}

.bibliasoft-points li::before {
    content: "";
    position: absolute;
    top: 0.68rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5528, #ffbe2f);
}

.bibliasoft-visual {
    position: relative;
}

.bibliasoft-preview {
    overflow: hidden;
    border-radius: calc(var(--radius-xl) + 10px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 60px rgba(61, 48, 40, 0.18);
}

.bibliasoft-badge {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 28px rgba(61, 48, 40, 0.14);
    font-weight: 800;
}

.bibliasoft-secondary {
    border-color: rgba(78, 78, 85, 0.14);
    background: #fff;
    color: var(--ink);
}

.launch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 83, 39, 0.1);
    color: #ff5528;
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.72);
    transition:
        transform 220ms ease,
        opacity 180ms ease,
        box-shadow 220ms ease;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 30px 60px rgba(88, 56, 40, 0.18);
}

.gallery-item img {
    height: 18rem;
    object-fit: cover;
    transition: transform 450ms ease, filter 280ms ease;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.35) 30%, transparent 48%);
    transform: translateX(-120%);
    transition: transform 600ms ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    transform: translateX(120%);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.06);
}

.gallery-item figcaption {
    padding: 1rem 1rem 1.15rem;
    font-weight: 700;
}

.cta {
    padding-bottom: 5.5rem;
}

.cta-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: calc(var(--radius-xl) + 6px);
    background:
        radial-gradient(circle at top right, rgba(255, 206, 75, 0.28), transparent 25%),
        linear-gradient(135deg, rgba(255, 74, 36, 0.98), rgba(255, 129, 34, 0.92));
    box-shadow: 0 24px 50px rgba(191, 78, 19, 0.28);
}

.cta-copy .eyebrow,
.cta-copy h2,
.cta-copy p {
    color: rgba(255, 255, 255, 0.96);
}

.cta-inline-link {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.16em;
}

.cta-points {
    display: grid;
    gap: 0.7rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.cta-points li {
    position: relative;
    padding-left: 1.15rem;
    color: rgba(255, 249, 244, 0.96);
    font-weight: 700;
    line-height: 1.55;
}

.cta-points li::before {
    content: "";
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: rgba(255, 245, 236, 0.98);
}

.cta-actions {
    align-items: center;
    justify-content: flex-end;
    margin-top: 0;
}

.cta-card .button-primary {
    background: #fff;
    color: #ff4a24;
}

.cta-card .button-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.contact-card {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    min-height: 17rem;
    padding: 1.45rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(255, 92, 44, 0.16), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 188, 69, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 241, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(88, 56, 40, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(88, 56, 40, 0.15);
}

.contact-card__tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 83, 39, 0.1);
    color: #ff5528;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-link {
    color: #2f3034;
    font-weight: 800;
    line-height: 1.5;
    word-break: break-word;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.social-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    box-shadow: 0 12px 24px rgba(24, 119, 242, 0.22);
}

.social-link__icon svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.contact-button {
    width: fit-content;
}

.whatsapp-icon,
.whatsapp-float__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg,
.whatsapp-float__icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.contact-button {
    gap: 0.55rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1db954, #00a94f);
    color: #fff;
    box-shadow: 0 18px 40px rgba(10, 123, 53, 0.28);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.scroll-orb {
    position: fixed;
    right: 1rem;
    bottom: 6.4rem;
    z-index: 41;
    width: 3.45rem;
    height: 3.45rem;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5e2c, #ff3f1f);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(191, 78, 19, 0.3);
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.scroll-orb:hover,
.scroll-orb:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(191, 78, 19, 0.36);
}

.scroll-orb.is-up .scroll-orb__icon {
    transform: rotate(180deg);
}

.scroll-orb__halo {
    position: absolute;
    inset: -0.32rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 93, 43, 0.24);
    animation: orbPulse 2.1s ease-in-out infinite;
}

.scroll-orb__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 220ms ease;
}

.scroll-orb__icon svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: currentColor;
}

.whatsapp-float__icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.whatsapp-float__text {
    font-weight: 800;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 2rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer__copy {
    display: grid;
    gap: 0.25rem;
}

.site-footer__copy p {
    margin: 0;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.site-footer__links a {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 94, 51, 0.12);
    transition:
        transform 200ms ease,
        background 200ms ease;
}

.site-footer__links a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 550ms ease,
        transform 550ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes whatsappPulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 18px 40px rgba(10, 123, 53, 0.28);
    }
    50% {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 24px 48px rgba(10, 123, 53, 0.34);
    }
}

@keyframes orbPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes heroZoom {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

@keyframes cardSweep {
    0%,
    72%,
    100% {
        transform: translateX(-120%);
    }
    86% {
        transform: translateX(140%);
    }
}

@media (max-width: 1080px) {
    .story,
    .bibliasoft,
    .cta-card {
        grid-template-columns: 1fr;
    }

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

    .impact-strip,
    .program-grid,
    .timeline-grid,
    .gallery-grid,
    .documents-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .topbar {
        border-radius: 28px;
        padding-inline: 1rem;
    }

    .brand-mark {
        width: 4.35rem;
        height: 4.35rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        left: 0;
        display: grid;
        gap: 0.2rem;
        padding: 0.8rem;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 88, 40, 0.98), rgba(255, 63, 31, 0.96));
        box-shadow: 0 24px 34px rgba(112, 31, 7, 0.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
            opacity 180ms ease,
            visibility 180ms ease,
            transform 180ms ease;
    }

    .topbar.is-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        justify-content: flex-start;
        padding: 0.9rem 0.8rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    .main-nav a::after {
        display: none;
    }

    .hero-feature__media img {
        height: 30rem;
    }

    .hero-feature__body {
        min-height: 13rem;
    }

    .hero-feature__cards {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.2rem;
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.9rem 0;
    }

    .hero {
        min-height: auto;
        padding-top: 2.4rem;
    }

    .hero-copy {
        order: 2;
        padding-top: 0;
    }

    .hero-stage {
        order: 1;
        grid-template-columns: 1fr;
    }

    .hero-mobile-emotion {
        display: block;
    }

    .hero-feature {
        display: grid;
        gap: 0.75rem;
        border-radius: 32px;
        min-height: 0;
        padding: 0.7rem;
    }

    .hero-feature__media img {
        border-radius: 24px;
        min-height: 0;
        height: 25rem;
    }

    .hero-feature__body {
        min-height: 0;
        max-width: none;
        padding: 0.9rem 0.95rem;
    }

    .hero-feature__body h2 {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
    }

    .hero-brand-poster__content {
        right: 1rem;
        bottom: 1rem;
    }

    .hero-feature__aside {
        width: auto;
        min-height: 0;
        padding: 0.8rem 0.95rem;
        gap: 0.65rem;
    }

    .hero-feature__cards {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-brand-poster__logo {
        width: 8.4rem;
    }

    .hero-brand-poster,
    .hero-brand-poster__content {
        min-height: 17rem;
    }

    .impact-strip,
    .program-grid,
    .timeline-grid,
    .gallery-grid,
    .documents-grid,
    .contact-grid,
    .site-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .whatsapp-float__text {
        display: none;
    }

    .whatsapp-float {
        padding: 0.8rem;
    }

    .scroll-orb {
        width: 3.1rem;
        height: 3.1rem;
        bottom: 5.3rem;
    }

    .topbar,
    .section,
    .site-footer {
        width: min(100vw - 1.2rem, 100%);
    }

    .brand-mark {
        width: 4rem;
        height: 4rem;
    }

    .gallery-item img,
    .program-card img,
    .story-photo img,
    .hero-feature__media img,
    .hero-mini img {
        height: auto;
        min-height: 0;
    }

    .story-quote,
    .bibliasoft-badge {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }

    .cta-card {
        padding: 1.5rem;
    }
}
