:root {
    --color-meteorite-dark: #2f1c6a;
    --color-meteorite-dark-2: #1F1346;
    --color-meteorite: #8c85ff;
    --color-meteorite-light: #d5dfff;
    --color-primary-dark: #5025d1;
    --color-primary: #673de6;
    --color-primary-light: #ebe4ff;
    --color-primary-charts: #B39EF3;
    --color-danger-dark: #d63163;
    --color-danger: #fc5185;
    --color-danger-light: #ffe8ef;
    --color-danger-charts: #FEA8C2;
    --color-warning-dark: #fea419;
    --color-warning-dark-2: #9F6000;
    --color-warning-charts: #FFD28C;
    --color-warning: #ffcd35;
    --color-warning-light: #fff8e2;
    --color-success-dark: #008361;
    --color-success: #00b090;
    --color-success-light: #def4f0;
    --color-dark: #1d1e20;
    --color-black: #18181a;
    --color-gray-dark: #36344d;
    --color-gray: #727586;
    --color-gray-border: #dadce0;
    --color-gray-light: #f2f3f6;
    --color-light: #fff;
    --color-azure: #357df9;
    --color-azure-light: #e3ebf9;
    --color-azure-dark: #265ab2;
    --color-indigo: #6366F1;
    --color-neutral-200: #D8DAE0;

    --font-primary: 'Lato', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-accent: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;

    --container-max-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-light);
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Header & Nav */
.site-header {
    height: var(--header-height);
    background: var(--color-light);
    border-bottom: 1px solid var(--color-gray-border);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 600;
    color: var(--color-dark);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    background: var(--color-black);
    color: var(--color-light);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-light);
}

/* Post Grid */
.post-grid {
    padding: 40px 0;
}

.card-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-content h2 a {
    color: var(--color-dark);
}

.card-content h2 a:hover {
    color: var(--color-primary);
}

/* Single Post / Page */
.entry-content {
    max-width: 800px;
    margin: 40px auto;
}

.entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-thumbnail img {
    border-radius: 12px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Nav Menu Active State */
.nav-menu.is-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--color-gray-border);
}

.nav-menu.is-active ul {
    flex-direction: column;
    gap: 1rem;
}

/* Live homepage parity pass */
body.home { background: #fff; }
.site-header { min-height: 150px; background: #fff; border-bottom: 0; box-shadow: none; }
.site-header .container { max-width: 1240px; }
.site-logo { width: 91px; height: 90px; object-fit: contain; }
.site-title { margin: 0; font-size: 1.35rem; }
.nav-menu ul { gap: 32px; align-items: center; }
.nav-menu a { color: #0d141a; font-family: var(--font-primary); font-size: 16px; font-weight: 400; line-height: 1.5; }
.btn-primary { border-radius: 999px; background: #000; padding: 16px 40px; font-family: var(--font-primary); font-weight: 400; }
.btn-primary:hover { background: rgb(29,30,32); }
.live-home { --font-primary: 'Lato', sans-serif; --font-secondary: 'Lato', sans-serif; }
.live-home h1, .live-home h2, .live-home h3 { font-family: var(--font-primary); letter-spacing: 0; }
.home-hero { position: relative; min-height: 730px; display: grid; align-items: center; overflow: hidden; color: #fff; text-align: center; background: #7b4b2a; }
.home-hero__video, .home-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__video { object-fit: cover; }
.home-hero__shade { background: linear-gradient(135deg, rgba(123,75,42,.72), rgba(143,99,61,.42)); }
.home-hero__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 210px; }
.home-hero h1 { max-width: 850px; margin: 0 auto 18px; font-size: 64px; line-height: 1.3; font-weight: 600; }
.home-hero p { max-width: 760px; margin: 0 auto 30px; font-size: 16px; line-height: 1.5; }
.home-hero__features { position: absolute; z-index: 1; left: 50%; bottom: 52px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; width: min(100% - 32px, 1040px); text-align: left; }
.home-hero__features > div { min-height: 112px; padding: 0 20px; border-left: 1px solid rgba(255,255,255,.55); }
.home-hero__features h2 { margin: 0 0 12px; color: #fff; font-size: 32px; line-height: 1.3; font-weight: 600; }
.home-hero__features p { margin: 0; color: #fff; font-size: 16px; }
.home-vision { padding: 72px 0 78px; background: #fff; }
.home-vision__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr); gap: 72px; align-items: center; }
.home-vision h3, .section-heading h3 { margin-top: 0; color: rgb(26,26,28); font-size: 48px; line-height: 1.3; font-weight: 600; }
.home-vision__copy > p, .section-heading p { color: rgb(86,88,94); font-size: 16px; line-height: 1.5; }
.home-vision__image { width: 100%; aspect-ratio: 548 / 544; object-fit: cover; border-radius: 0; }
.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0; }
.home-stats h3, .home-stats p { color: rgb(26,26,28); font-family: var(--font-primary); font-size: 26px; font-weight: 600; line-height: 1.3; }
.home-stats span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; }
.home-services { padding: 64px 0 80px; background: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.home-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.home-services article { border: 0; border-radius: 0; overflow: visible; background: #fff; }
.home-services img { width: 100%; aspect-ratio: 606 / 304; object-fit: cover; border-radius: 0; }
.home-services h6, .home-services p { margin-left: 0; margin-right: 0; }
.home-services h6 { margin-top: 22px; margin-bottom: 8px; color: rgb(26,26,28); font-size: 18px; font-weight: 600; }
.home-services p { margin-bottom: 0; color: rgb(86,88,94); }
.home-newsletter { padding: 64px 0; color: #fff; background: linear-gradient(135deg, #7B4B2A, rgb(143, 99, 61)); }
.home-newsletter__inner { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 44px; align-items: center; }
.home-newsletter h4 { margin: 0 0 12px; color: #fff; font-size: 40px; font-weight: 600; }
.home-newsletter p { margin: 0; color: #fff; }
.mini-form, .footer-form { display: grid; gap: 12px; }
.mini-form label, .footer-form label { font-weight: 400; }
.mini-form input, .footer-form input { width: 100%; border: 1px solid rgb(184, 192, 204); border-radius: 10px; padding: 13px 14px; font: inherit; }
.home-gallery { padding: 56px 0 72px; background: #fff; }
.home-gallery .section-heading { margin-bottom: 80px; }
.home-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.home-gallery__grid img { width: 100%; height: 464px; object-fit: cover; border-radius: 16px; }
.home-services-link { display: block; margin: 32px auto 0; text-align: center; color: rgb(86,88,94); text-decoration: underline; }
.site-footer { padding: 31px 0 24px; min-height: 329px; background: linear-gradient(0deg, rgb(128, 125, 76), rgb(191, 148, 148)); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 48px; align-items: start; }
.site-footer h5, .site-footer p { margin-top: 0; }
.site-footer h5 { color: #fff; font-family: var(--font-primary); font-size: 26px; font-weight: 600; }
.site-footer h3 { color: rgb(227,227,186); font-family: var(--font-primary); font-size: 14px; font-weight: 700; text-transform: none; }
.site-footer a { color: #fff; }
.footer-copy { font-size: 14px; margin-top: 48px; }
.footer-socials { display: flex; gap: 18px; margin: 28px 0; }
.footer-socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-weight: 700; }
.footer-button { width: max-content; border-radius: 50px; background: #7B4B2A; color: #fff; }
@media (max-width: 900px) {
    .site-header { min-height: 138px; }
    .site-header .container { align-items: flex-start; }
    .site-logo { width: 91px; height: 90px; }
    .home-hero { min-height: 760px; align-items: start; }
    .home-hero__inner { padding-top: 72px; padding-bottom: 28px; }
    .home-hero h1 { font-size: 40px; }
    .home-hero__features { position: relative; left: auto; bottom: auto; transform: none; grid-template-columns: 1fr; gap: 20px; padding-bottom: 44px; }
    .home-hero__features > div { min-height: auto; }
    .home-hero__features h2 { font-size: 36px; }
    .home-vision__grid, .home-services__grid, .home-newsletter__inner, .home-gallery__grid, .site-footer__grid { grid-template-columns: 1fr; }
    .home-stats { grid-template-columns: 1fr; }
    .home-vision h3, .section-heading h3 { font-size: 32px; }
    .home-gallery__grid img { height: 320px; }
    .site-footer__grid { gap: 28px; }
}

.footer-kicker { color: rgb(227,227,186); font-size: 14px; }


/* Imported inner pages */
.imported-page { margin: 0; }
.imported-content { max-width: none; margin: 0; }
.imported-section { max-width: var(--container-max-width); margin: 0 auto; padding: 64px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; align-items: center; border-bottom: 1px solid rgba(218,220,224,.65); }
.imported-section:first-child { min-height: 520px; align-content: center; text-align: center; grid-template-columns: 1fr; }
.imported-section:nth-child(even) { background: #f7f4ef; max-width: none; padding-left: max(20px, calc((100vw - var(--container-max-width)) / 2 + 20px)); padding-right: max(20px, calc((100vw - var(--container-max-width)) / 2 + 20px)); }
.imported-section h1, .imported-section h2 { grid-column: 1 / -1; margin: 0 0 6px; color: rgb(26,26,28); font-family: var(--font-primary); font-size: clamp(34px, 5vw, 56px); line-height: 1.25; font-weight: 600; }
.imported-section h3 { margin: 0 0 4px; color: rgb(26,26,28); font-family: var(--font-primary); font-size: clamp(24px, 3vw, 36px); line-height: 1.3; font-weight: 600; }
.imported-section p { margin: 0 0 12px; color: rgb(86,88,94); font-size: 16px; line-height: 1.65; }
.imported-section figure { margin: 0; }
.imported-section img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; }
.imported-section .imported-cta { grid-column: 1 / -1; margin-top: 14px; }
.blog-hero { padding: 88px 0; text-align: center; background: #f7f4ef; }
.blog-hero h1 { margin: 0; color: rgb(26,26,28); font-family: var(--font-primary); font-size: clamp(40px, 6vw, 64px); font-weight: 600; line-height: 1.3; }
.blog-listing { padding: 64px 0; }
.blog-listing .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; padding: 0; }
.blog-listing .card-item { border: 1px solid var(--color-gray-border); border-radius: 8px; overflow: hidden; background: #fff; }
.blog-listing .card-thumb img { width: 100%; height: 210px; object-fit: cover; }
.blog-listing .card-content { padding: 20px; }
.blog-listing .card-content h2 { margin: 0 0 10px; font-family: var(--font-primary); font-size: 20px; line-height: 1.3; }
.blog-listing .card-content p { margin: 0; color: rgb(86,88,94); }
@media (max-width: 768px) {
    .imported-section, .imported-section:nth-child(even) { grid-template-columns: 1fr; padding: 48px 16px; }
    .imported-section:first-child { min-height: 420px; }
}


/* Imported posts */
.single-post-header { max-width: 920px; margin: 64px auto 32px; padding: 0 20px; }
.single-post-header .entry-title { color: rgb(26,26,28); font-family: var(--font-primary); font-size: clamp(34px, 5vw, 56px); font-weight: 600; line-height: 1.25; }
.single-post-header .entry-meta { color: rgb(86,88,94); }
.single-post-thumbnail { max-width: 980px; margin: 0 auto 32px; padding: 0 20px; }
.single-post-thumbnail img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.imported-post .imported-section:first-child { min-height: auto; text-align: left; padding-top: 32px; }
