:root {
    --dark: #171815;
    --dark-soft: #24251f;
    --light: #f4f0e8;
    --white: #ffffff;
    --accent: #b8905c;
    --accent-dark: #8d6a3e;
    --text: #22231f;
    --muted: #6f716b;
    --line: rgba(23, 24, 21, .13);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: #fff;
    font-family: "Manrope", sans-serif;
}

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

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

.section-space {
    padding: 110px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.section-label::before {
    width: 42px;
    height: 1px;
    content: "";
    background: currentColor;
}

.section-title {
    max-width: 850px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(36px, 4.7vw, 67px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.05em;
}

/* HEADER */
.navbar-shell {
    position: absolute;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    padding: 22px 0;
}

.navbar {
    min-height: 78px;
    padding: 0 24px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(17,18,15,.50);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.brand-text small {
    margin-top: 7px;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    position: relative;
    margin: 0 8px;
    padding: 30px 4px !important;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 600;
}

.navbar-nav .nav-link::after {
    position: absolute;
    right: 50%;
    bottom: 20px;
    left: 50%;
    height: 1px;
    content: "";
    background: var(--accent);
    transition: .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    right: 4px;
    left: 4px;
}

.header-cta {
    display: inline-flex;
    min-height: 48px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .3s ease;
}

.header-cta:hover {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.navbar-toggler span {
    display: block;
    width: 26px;
    height: 1px;
    margin: 6px 0;
    background: #fff;
}

/* HERO */
.blog-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: var(--dark);
}

.blog-hero__image {
    position: absolute;
    inset: 0;
}

.blog-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(15,16,13,.96) 0%, rgba(15,16,13,.70) 47%, rgba(15,16,13,.18) 100%),
        linear-gradient(0deg, rgba(15,16,13,.84), transparent 55%);
}

.blog-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .35;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to right, #000, transparent 82%);
}

.blog-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 200px 0 78px;
}

.breadcrumb-custom {
    display: flex;
    margin: 0 0 32px;
    padding: 0;
    align-items: center;
    gap: 13px;
    list-style: none;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.breadcrumb-custom li + li::before {
    margin-right: 13px;
    color: var(--accent);
    content: "/";
}

.blog-hero h1 {
    max-width: 1000px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(54px, 7.3vw, 105px);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.06em;
}

.blog-hero h1 span {
    display: block;
    color: var(--accent);
}

.blog-hero__bottom {
    margin-top: 46px;
}

.blog-hero__description {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 16px;
    line-height: 1.9;
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,.57);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-scroll span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: var(--accent);
    font-size: 17px;
}

/* BLOG INTRO */
.blog-content {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(184,144,92,.10), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f5f1e9 100%);
}

.blog-content::before {
    position: absolute;
    top: 100px;
    left: -170px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(141,106,62,.12);
    border-radius: 50%;
    content: "";
}

.blog-content__inner {
    position: relative;
    z-index: 2;
}

.blog-head {
    display: grid;
    margin-bottom: 56px;
    grid-template-columns: 1.12fr .88fr;
    align-items: end;
    gap: 68px;
}

.blog-head__intro {
    max-width: 510px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

/* FEATURED POST */
.featured-post {
    position: relative;
    display: block;
    min-height: 610px;
    margin-bottom: 26px;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius);
    background: var(--dark);
}

.featured-post img {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .8s ease;
}

.featured-post::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(17,18,15,.88), rgba(17,18,15,.18) 72%),
        linear-gradient(0deg, rgba(17,18,15,.88), transparent 60%);
}

.featured-post:hover img {
    transform: scale(1.035);
}

.featured-post__content {
    position: absolute;
    z-index: 2;
    right: 42px;
    bottom: 42px;
    left: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    color: #fff;
}

.post-meta {
    display: flex;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255,255,255,.60);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-meta span + span::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    content: "";
    background: var(--accent);
}

.featured-post h2 {
    max-width: 780px;
    margin: 0 0 17px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(35px, 4.3vw, 62px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.05em;
}

.featured-post p {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.85;
}

.featured-post__arrow {
    display: grid;
    min-width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
    color: var(--accent);
    font-size: 25px;
    transition: .35s ease;
}

.featured-post:hover .featured-post__arrow {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
    transform: rotate(-35deg);
}

/* POST GRID */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    transition: .35s ease;
}

.post-card:hover {
    border-color: rgba(184,144,92,.40);
    transform: translateY(-7px);
    box-shadow: 0 26px 60px rgba(31,29,24,.10);
}

.post-card__image {
    position: relative;
    height: 285px;
    overflow: hidden;
    background: #ddd;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .7s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.045);
}

.post-card__label {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    background: rgba(17,18,15,.58);
    backdrop-filter: blur(10px);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.post-card__body {
    padding: 27px 26px 28px;
}

.post-card__meta {
    display: flex;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.post-card h3 {
    margin: 0 0 14px;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.035em;
}

.post-card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.post-card__bottom {
    display: flex;
    padding-top: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.post-card__read {
    color: var(--muted);
    font-size: 11px;
}

.post-card__arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--accent-dark);
    transition: .3s ease;
}

.post-card:hover .post-card__arrow {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
    transform: rotate(-35deg);
}

/* LOAD MORE */
.blog-more {
    margin-top: 54px;
    text-align: center;
}

.blog-more__button {
    display: inline-flex;
    min-height: 56px;
    padding: 0 25px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid var(--dark);
    border-radius: 13px;
    color: var(--dark);
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: .3s ease;
}

.blog-more__button:hover {
    color: #fff;
    background: var(--dark);
    transform: translateY(-2px);
}

/* KNOWLEDGE STRIP */
.knowledge-strip {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--dark-soft);
}

.knowledge-strip::before {
    position: absolute;
    inset: 0;
    opacity: .38;
    content: "";
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 86px 86px;
}

.knowledge-strip__inner {
    position: relative;
    z-index: 2;
}

.knowledge-strip .section-label {
    color: var(--accent);
}

.knowledge-strip .section-title {
    color: #fff;
}

.knowledge-strip__head {
    margin-bottom: 58px;
}

.knowledge-list {
    border-top: 1px solid rgba(255,255,255,.12);
}

.knowledge-item {
    display: grid;
    min-height: 150px;
    padding: 30px 0;
    grid-template-columns: 95px 1fr 1.15fr 55px;
    align-items: center;
    gap: 36px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    transition: .35s ease;
}

.knowledge-item:hover {
    padding-right: 22px;
    padding-left: 22px;
    background: linear-gradient(90deg, rgba(184,144,92,.12), transparent);
}

.knowledge-item__number {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

.knowledge-item h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.knowledge-item p {
    margin: 0;
    color: rgba(255,255,255,.50);
    font-size: 14px;
    line-height: 1.8;
}

.knowledge-item__arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    color: var(--accent);
    transition: .3s ease;
}

.knowledge-item:hover .knowledge-item__arrow {
    border-color: var(--accent);
    color: var(--dark);
    background: var(--accent);
    transform: rotate(-35deg);
}

/* CTA */
.contact-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--accent-dark);
}

.contact-cta::before {
    position: absolute;
    top: -170px;
    right: -120px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    content: "";
}

.contact-cta__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 350px;
    padding: 60px 0;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-cta h2 {
    max-width: 800px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(38px, 5.1vw, 72px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.contact-circle {
    display: grid;
    min-width: 150px;
    height: 150px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.40);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .35s ease;
}

.contact-circle:hover {
    color: var(--dark);
    background: #fff;
    transform: rotate(-8deg);
}

/* FOOTER */
footer {
    padding: 76px 0 28px;
    color: #fff;
    background: #10110f;
}

.footer-brand .brand {
    margin-bottom: 28px;
}

.footer-brand p {
    max-width: 390px;
    color: rgba(255,255,255,.48);
    font-size: 14px;
    line-height: 1.85;
}

.footer-title {
    margin-bottom: 22px;
    color: rgba(255,255,255,.38);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 13px;
}

.footer-links a {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    transition: .25s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.35);
    font-size: 11px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s ease;
}

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

@media (max-width: 1199px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar-collapse {
        margin: 12px -16px 0;
        padding: 12px 22px 22px;
        border-top: 1px solid rgba(255,255,255,.1);
        background: rgba(17,18,15,.96);
    }

    .navbar-nav .nav-link {
        padding: 14px 0 !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .header-cta {
        margin-top: 14px;
    }
}

@media (max-width: 991px) {
    .section-space {
        padding: 82px 0;
    }

    .blog-hero {
        min-height: 620px;
    }

    .blog-head {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .featured-post {
        min-height: 560px;
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .knowledge-item {
        grid-template-columns: 70px 1fr 55px;
    }

    .knowledge-item p {
        grid-column: 2;
    }

    .knowledge-item__arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .contact-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .navbar-shell {
        padding: 14px 0;
    }

    .navbar {
        min-height: 66px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .blog-hero {
        min-height: 590px;
    }

    .blog-hero__content {
        padding: 155px 0 46px;
    }

    .blog-hero h1 {
        font-size: clamp(47px, 15vw, 72px);
    }

    .blog-hero__bottom {
        margin-top: 30px;
    }

    .hero-scroll {
        margin-top: 28px;
    }

    .featured-post {
        min-height: 520px;
    }

    .featured-post__content {
        right: 24px;
        bottom: 24px;
        left: 24px;
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-post__arrow {
        min-width: 58px;
        height: 58px;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-card__image {
        height: 255px;
    }

    .knowledge-item {
        min-height: 0;
        padding: 26px 0;
        grid-template-columns: 1fr 48px;
        gap: 12px;
    }

    .knowledge-item:hover {
        padding-right: 12px;
        padding-left: 12px;
    }

    .knowledge-item__number,
    .knowledge-item h3,
    .knowledge-item p {
        grid-column: 1;
    }

    .knowledge-item__arrow {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
    }

    .contact-circle {
        min-width: 120px;
        height: 120px;
    }
}
