:root {
    --chaas-green-950: #12241a;
    --chaas-green-900: #1e391a;
    --chaas-green-800: #1e391a;
    --chaas-cream: #f7f3ea;
    --chaas-cream-2: #eeebe0;
    --chaas-line: #d8d2c2;
    --chaas-text: #2b2b26;
    --chaas-text-soft: #5c5b52;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--chaas-text);
    /* background:var(--chaas-cream); */
    font-weight: 400;
}

h1,
h2,
h3,
.font-serif {
    font-family: 'Playfair Display', serif;
}

.eyebrow {
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
}

a {
    text-decoration: none;
}

/* ---------- Navbar ---------- */
.chaas-nav {
    /* background:var(--chaas-cream); */
    padding: 1.1rem 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 99;
}

.chaas-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: 1.35rem;
    color: #fff;
    line-height: 1;
}

.chaas-logo small {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: .55rem;
    letter-spacing: .28em;
    font-weight: 500;
    color: #fbf9e7;
    margin-top: 2px;
}

.chaas-nav .nav-link {
    color: #fff;
    font-size: .85rem;
    letter-spacing: .03em;
    font-weight: 500;
    margin: 0 .85rem;
    padding: .3rem 0;
    position: relative;
}

@media screen and (max-width:549px) {
    #chaasNavMenu {
        background: var(--chaas-green-950);
    }

}

.chaas-nav .nav-link.active {
    color: var(--chaas-green-900);
}

.chaas-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--chaas-green-900);
}

.chaas-nav .search-icon {
    color: var(--chaas-text);
    font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 80vh;
    max-height: 80vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(15, 25, 15, .35) 0%, rgba(15, 25, 15, .05) 35%, rgba(15, 25, 15, .1) 100%),
        url('./imgs/banner-hero.webp') center/cover no-repeat;
    color: #fff;
    background-position: bottom;
}

@media (max-width:767.98px) {
    .hero {
        min-height: 78vh;
    }
}

.hero h1 {
    font-weight: 600;
    font-size: 3.3rem;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

@media (max-width:991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width:575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
}

.hero p.lead {
    max-width: 520px;
    font-size: 1rem;
    color: #f2f0e8;
    font-weight: 300;
}

.btn-chaas-solid {
    background: var(--chaas-green-900);
    color: #fff;
    border: 1px solid var(--chaas-green-900);
    padding: .75rem 1.6rem;
    font-size: .78rem;
    letter-spacing: .09em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    transition: .2s ease;
}

.btn-chaas-solid:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-chaas-outline {
    background: rgba(255, 255, 255, .9);
    color: var(--chaas-green-900);
    border: 1px solid rgba(255, 255, 255, .9);
    padding: .75rem 1.6rem;
    font-size: .78rem;
    letter-spacing: .09em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    transition: .2s ease;
}

.btn-chaas-outline:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-chaas-outline-dark {
    background: transparent;
    color: var(--chaas-green-900);
    border: 1px solid var(--chaas-green-900);
    padding: .75rem 1.6rem;
    font-size: .78rem;
    letter-spacing: .09em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    transition: .2s ease;
}

.btn-chaas-outline-dark:hover {
    background: var(--chaas-green-900);
    color: #fff;
}

/* ---------- Section generic ---------- */
section {
    padding: 5.5rem 0;
}

@media (max-width:767.98px) {
    section {
        padding: 3.25rem 0;
    }
}

.section-title {
    color: var(--chaas-green-900);
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
}

.section-title-rule {
    width: 34px;
    height: 2px;
    background: var(--chaas-green-900);
    margin: .85rem auto 0;
    position: relative;
}

.section-title-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -4px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--chaas-green-900);
    border-radius: 50%;
}

/* ---------- Our Belief ---------- */
.belief-section {
    background: var(--chaas-cream-2);
}

.belief-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chaas-green-900);
}

.belief-icon img {
    width: 100px;
    height: 100px;
    filter: brightness(0) saturate(100%) invert(9%) sepia(15%) saturate(2000%) hue-rotate(90deg) brightness(90%) contrast(95%);
}

.belief-title {
    letter-spacing: .1em;
    font-weight: 600;
    font-size: 18px;
    color: var(--chaas-green-900);
    margin-bottom: .6rem;
}

.belief-text {
    font-size: .9rem;
    color: var(--chaas-text-soft);
    max-width: 230px;
    margin: 0 auto;
}

/* ---------- Stories ---------- */
.story-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    color: #fff;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.story-card:hover img {
    transform: scale(1.06);
}

.story-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .75) 100%);
}

.story-card .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
}

.featured-story {
    height: 420px;
}

@media (max-width:991.98px) {
    .featured-story {
        height: 320px;
    }
}

.story-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--chaas-cream);
    color: var(--chaas-text);
    font-size: .65rem;
    letter-spacing: .08em;
    font-weight: 600;
    text-transform: uppercase;
    padding: .35rem .7rem;
    border-radius: 2px;
    z-index: 2;
}

.story-mini {
    background: #fff;
}

.story-mini-img {
    height: 290px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.story-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.story-mini:hover .story-mini-img img {
    transform: scale(1.07);
}

.story-mini-body {
    background: var(--chaas-cream-2);
    padding: 1rem 1.1rem 1.2rem;
    border-radius: 0 0 4px 4px;
}

.story-mini-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--chaas-green-900);
    margin-bottom: .25rem;
}

.story-mini-body .loc {
    font-size: .78rem;
    color: var(--chaas-text-soft);
    margin-bottom: .6rem;
}

.read-link {
    font-size: .75rem;
    letter-spacing: .06em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--chaas-green-900);
}

.read-link:hover {
    color: var(--chaas-text);
}

.view-all-link {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .1em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--chaas-green-900);
    border-bottom: 1px solid var(--chaas-green-900);
    padding-bottom: 2px;
}

/* ---------- Knowledge Centre ---------- */
.knowledge-section {
    background: var(--chaas-green-900);
    color: #f2efe4;
}

.knowledge-section .section-title {
    color: #fff;
}

.knowledge-section .section-title-rule {
    background: #d9caa3;
}

.knowledge-section .section-title-rule::after {
    background: #d9caa3;
}

.knowledge-section .subtitle {
    text-align: center;
    color: #c9c6b8;
    font-size: .92rem;
    margin-bottom: 3rem;
}

.knowledge-item {
    text-align: center;
    padding: 0 .5rem;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.knowledge-item:last-child {
    border-right: none;
}

@media (max-width:767.98px) {
    .knowledge-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.knowledge-item svg {
    width: 38px;
    height: 38px;
    margin-bottom: .9rem;
    color: #f2efe4;
}

.knowledge-item span {
    display: block;
    font-size: .82rem;
    letter-spacing: .04em;
    font-weight: 500;
}

.knowledge-link {
    text-align: center;
    display: block;
    margin-top: 2.75rem;
    font-size: .78rem;
    letter-spacing: .1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #f2efe4;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    padding-bottom: 2px;
}

/* ---------- Why CHAAS ---------- */
.why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--chaas-green-900);
    flex: 0 0 auto;
}

.why-icon svg {
    width: 36px;
    height: 36px;
}

.why-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--chaas-green-900);
    margin-bottom: .35rem;
}

.why-text {
    font-size: .88rem;
    color: var(--chaas-text-soft);
}

.learn-more-link {
    text-align: center;
    display: block;
    margin-top: 1.5rem;
    font-size: .78rem;
    letter-spacing: .1em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--chaas-green-900);
    border-bottom: 1px solid var(--chaas-green-900);
    padding-bottom: 2px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: var(--chaas-green-900);
}

.cta-banner .cta-img {
    min-height: 280px;
    background: url('./imgs/cta.webp') center/cover no-repeat;
    height: 100%;
}

.cta-banner .cta-text {
    color: #f2efe4;
    padding: 3.5rem 2rem;
}

.cta-banner h2 {
    color: #fff;
    font-weight: 600;
    font-size: 2.1rem;
}

.cta-banner p {
    color: #cfccbd;
    max-width: 460px;
    font-size: .92rem;
}

/* ---------- Footer ---------- */
footer {
    background: var(--chaas-cream);
    padding-top: 3.5rem;
    border-top: 1px solid var(--chaas-line);
}

footer .footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: 1.2rem;
    color: var(--chaas-green-900);
}

footer .footer-logo small {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: .5rem;
    letter-spacing: .26em;
    color: var(--chaas-text-soft);
    margin-top: 2px;
}

footer .footer-desc {
    font-size: .85rem;
    color: var(--chaas-text-soft);
    max-width: 230px;
}

footer h6 {
    letter-spacing: .1em;
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--chaas-text);
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: .55rem;
}

footer ul li a {
    color: var(--chaas-text-soft);
    font-size: .86rem;
}

footer ul li a:hover {
    color: var(--chaas-green-900);
}

.social-icons a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--chaas-line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--chaas-green-900);
    margin-right: .5rem;
}

.social-icons a:hover {
    background: var(--chaas-green-900);
    color: #fff;
    border-color: var(--chaas-green-900);
}

.newsletter-input {
    border: 1px solid var(--chaas-line);
    border-radius: 2px 0 0 2px;
    font-size: .85rem;
}

.newsletter-btn {
    background: var(--chaas-green-900);
    border: 1px solid var(--chaas-green-900);
    color: #fff;
    border-radius: 0 2px 2px 0;
    padding: .4rem .9rem;
}

.footer-bottom {
    border-top: 1px solid var(--chaas-line);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    font-size: .78rem;
    color: var(--chaas-text-soft);
}

.footer-bottom a {
    color: var(--chaas-text-soft);
    margin-left: 1.25rem;
}

.footer-bottom a:hover {
    color: var(--chaas-green-900);
}