:root {
    --ce-bg: #f6f4ef;
    --ce-text: #1a1a18;
    --ce-muted: #6f6a5f;
    --ce-border: #d8d2c6;
    --ce-gold: #b69b54;
    --ce-dark: #171714;
}

body.calen-ensol-home {
    margin: 0;
    background: var(--ce-bg);
    color: var(--ce-text);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.calen-ensol-home a {
    color: inherit;
    text-decoration: none;
}

.ce-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    min-height: 56px;
    padding: 0 58px;
    border-bottom: 1px solid var(--ce-border);
    background: rgba(246, 244, 239, 0.96);
    backdrop-filter: blur(10px);
}

.ce-wordmark {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ce-wordmark span::after {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 4px;
    border-radius: 50%;
    background: var(--ce-gold);
    vertical-align: 0.04em;
}

.ce-primary-nav,
.ce-utility-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ce-primary-nav {
    justify-content: center;
}

.ce-utility-nav {
    justify-content: flex-end;
}

.ce-primary-nav a,
.ce-utility-nav a,
.ce-section-head a,
.ce-note a,
.ce-footer a {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ce-primary-nav a:hover,
.ce-utility-nav a:hover,
.ce-section-head a:hover,
.ce-note a:hover,
.ce-footer a:hover {
    color: var(--ce-gold);
}

.ce-main {
    overflow: hidden;
}

.ce-hero {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 84px 80px 118px;
}

.ce-eyebrow {
    margin: 0 0 38px;
    color: #8c7a45;
    font-size: 11px;
    letter-spacing: 0.36em;
    text-transform: uppercase;
}

.ce-hero h1 {
    max-width: 560px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.1vw, 66px);
    font-weight: 400;
    line-height: 1.17;
}

.ce-hero-copy {
    max-width: 430px;
    margin: 34px 0 34px;
    color: #4c4943;
    font-size: 16px;
}

.ce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 142px;
    height: 52px;
    padding: 0 30px;
    background: var(--ce-dark);
    color: #fff !important;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ce-button:visited,
.ce-button:hover,
.ce-button:focus {
    color: #fff !important;
}

.ce-featured,
.ce-category-edit,
.ce-note {
    max-width: 1200px;
    margin: 0 auto;
    padding: 94px 58px;
    border-top: 1px solid var(--ce-border);
}

.ce-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 44px;
}

.ce-section-head h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.15;
}

.ce-section-head a {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--ce-gold);
}

.ce-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.ce-product-card {
    display: grid;
    gap: 10px;
}

.ce-product-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #ebe7df;
}

.ce-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 520ms ease;
}

.ce-product-card:hover .ce-product-media img {
    transform: scale(1.035);
}

.ce-product-media span {
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--ce-text);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ce-product-title {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.ce-product-price {
    color: var(--ce-muted);
    font-size: 13px;
}

.ce-category-edit {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding-top: 0;
    padding-bottom: 0;
}

.ce-category-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 18px;
    padding: 36px;
    background: #ebe7df;
}

.ce-category-card span {
    color: var(--ce-muted);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ce-category-card strong {
    max-width: 230px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.12;
}

.ce-more {
    border-top: 0;
}

.ce-note {
    text-align: center;
}

.ce-note p {
    max-width: 660px;
    margin: 0 auto 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-style: italic;
    line-height: 1.45;
}

.ce-note a {
    border-bottom: 1px solid var(--ce-gold);
}

.ce-footer {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 44px;
    padding: 58px;
    border-top: 1px solid var(--ce-border);
    background: var(--ce-bg);
}

.ce-footer p {
    margin: 18px 0 0;
    color: var(--ce-muted);
    font-size: 13px;
}

.ce-footer nav {
    display: grid;
    gap: 12px;
}

.ce-footer strong {
    margin-bottom: 7px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ce-footer a {
    color: var(--ce-muted);
    letter-spacing: 0.1em;
}

.ce-footer-mark {
    font-size: 18px;
}

@media (max-width: 900px) {
    .ce-header {
        grid-template-columns: 1fr auto;
        gap: 18px;
        padding: 16px 20px;
    }

    .ce-primary-nav {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
    }

    .ce-utility-nav {
        gap: 14px;
    }

    .ce-utility-nav a:not(:last-child) {
        display: none;
    }

    .ce-hero {
        min-height: 520px;
        padding: 62px 24px 82px;
    }

    .ce-featured,
    .ce-category-edit,
    .ce-note {
        padding: 66px 20px;
    }

    .ce-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .ce-category-edit {
        grid-template-columns: 1fr;
        padding-top: 0;
        padding-bottom: 0;
    }

    .ce-footer {
        grid-template-columns: 1fr;
        padding: 42px 20px;
    }
}
