/* ==========================================================================
   STILLHOME MASTER STYLESHEET
   Consolidated Design System, Typography, Components & Gutenberg Editor Rules
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. WEBFONTS (Gambetta & Switzer via CDN)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Gambetta';
    src: url('https://cdn.fontshare.com/wf/UZPXFLPCL3LPXEMLR5DTVJKV74OXXAV4/6OFIA3NPHGHWKE52SKZL7EQ4WH22JUMB/ODDSCHC7OZCRRQJDJV5LMJKTGF7URFO4.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gambetta';
    src: url('https://cdn.fontshare.com/wf/ITJUM5VVHQ7UW5EENVHV4QTRJFMNJPQT/KI4FEPIIYE3LPFVXSBL2RIVU6YIZOCWI/Z2AWFZWVPYXOZJYIQOV77P3V5Z2O33AT.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gambetta';
    src: url('https://cdn.fontshare.com/wf/LTP7L3IV35TGGKXISPM35MXAMA7PX7BF/JOULNGXDDVVIJYXX35DI2FQJG2H4EOGJ/UMQTMTAEPCAFNEJDVEURBIXJENGOHOWO.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gambetta';
    src: url('https://cdn.fontshare.com/wf/65DOO47KPW62HT2XE74NDRJWHMMD66TW/5PVPZKX2K4M6LDOCQUGGRQ7DLAVNXB2D/6KRVTMHEY26GBVOWXYL6F3ZLGUXE5ZD5.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Switzer';
    src: url('https://cdn.fontshare.com/wf/BLNB4FAQFNK56DWWNF7PMGTCOTZHOEII/ST3WKSSDMBK2MIQQO3MAVYWLF4FTOLFV/6IN5WOLRCYP4G4MOCOHOMXNON6Q7MDAR.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Switzer';
    src: url('https://cdn.fontshare.com/wf/OYB4CXKJQXKTNSLJMTDQOIVUL2V5EL7S/WYO2P7DQVV5RNXGMCUO2HL4RJP4VFUAS/6XPIMU23OJVRY676OG5YVJMWEHWICATX.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Switzer';
    src: url('https://cdn.fontshare.com/wf/5SZVFDB7V52TI6ULVC6J3WQZQCIZVDV5/ODYPSTCUDMKSTYIPTV4CLQ7URIK7XYBJ/YS3VPNVO4B3TOJMEXDGFZQ4TLZGGSRZC.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. VARIABLES & TOKENS
   -------------------------------------------------------------------------- */
:root {
    --stillhome-ivory: #F3EFE7;
    --stillhome-oat: #D9D0C3;
    --stillhome-euc: #A0A995;
    --stillhome-olive: #41483C;
    --stillhome-burg: #663D43;
    --stillhome-walnut: #554438;
    --stillhome-char: #292925;
    --stillhome-white: #FAF9F5;

    --stillhome-serif: "Gambetta", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --stillhome-sans: "Switzer", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --stillhome-mono: "JetBrains Mono", monospace;

    --digivrse-font-serif: var(--stillhome-serif);
    --digivrse-font-editorial: var(--stillhome-serif);
    --digivrse-font-sans: var(--stillhome-sans);
    --digivrse-font-mono: var(--stillhome-mono);

    --stillhome-gut: clamp(16px, 4.5vw, 72px);
    --stillhome-ease: cubic-bezier(.22, .61, .36, 1);
}

/* Base Body Styling (Scoped strictly to avoid theme bleed) */
body.digivrse-theme-stillhome,
body.digivrse-cartridge-stillhome {
    background-color: var(--stillhome-char) !important;
    color: var(--stillhome-char);
    font-family: var(--stillhome-sans);
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip !important;
}

/* Page Shell Component */
.is-style-stillhome-page-shell {
    background-color: var(--stillhome-char) !important;
    color: var(--stillhome-char);
    font-family: var(--stillhome-sans);
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    overflow: visible !important;
}

.is-style-stillhome-page-shell * {
    box-sizing: border-box;
}

/* Prevent outer theme wrappers from creating scroll-containers that kill position: sticky */
body.digivrse-theme-stillhome #page,
body.digivrse-theme-stillhome .site,
body.digivrse-theme-stillhome .site-content,
body.digivrse-theme-stillhome .entry-content,
body.digivrse-theme-stillhome .wp-site-blocks,
body.digivrse-theme-stillhome main,
body.digivrse-cartridge-stillhome #page,
body.digivrse-cartridge-stillhome .site,
body.digivrse-cartridge-stillhome .site-content,
body.digivrse-cartridge-stillhome .entry-content,
body.digivrse-cartridge-stillhome .wp-site-blocks,
body.digivrse-cartridge-stillhome main {
    overflow: visible !important;
    background-color: transparent !important;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.is-style-stillhome-header,
.stillhome-header-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 50 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px var(--stillhome-gut) !important;
    color: var(--stillhome-ivory) !important;
    box-sizing: border-box !important;
    transition: color 0.6s var(--stillhome-ease), background-color 0.6s var(--stillhome-ease), backdrop-filter 0.6s var(--stillhome-ease) !important;
}

body.admin-bar .is-style-stillhome-header,
body.admin-bar .stillhome-header-nav {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar .is-style-stillhome-header,
    body.admin-bar .stillhome-header-nav {
        top: 46px !important;
    }
}

.stillhome-header-nav.light {
    color: var(--stillhome-char) !important;
}

.stillhome-header-nav.solid {
    background-color: color-mix(in srgb, var(--stillhome-white) 88%, transparent) !important;
    backdrop-filter: saturate(1.1) blur(10px) !important;
    -webkit-backdrop-filter: saturate(1.1) blur(10px) !important;
    color: var(--stillhome-char) !important;
    box-shadow: 0 1px 0 rgba(41, 41, 37, 0.08) !important;
}

.stillhome-header-brand {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    margin-right: 2rem !important;
    display: flex !important;
    align-items: center !important;
}

.stillhome-header-brand a,
.stillhome-header-brand p {
    font-family: var(--stillhome-serif) !important;
    font-size: 19px !important;
    letter-spacing: 0.22em !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    color: inherit !important;
    margin: 0 !important;
}

.stillhome-header-center {
    display: flex !important;
    align-items: center !important;
    gap: clamp(14px, 2.4vw, 36px) !important;
    font-size: 15px !important;
    font-family: var(--stillhome-sans) !important;
}

.stillhome-header-center a {
    text-decoration: none !important;
    color: inherit !important;
    opacity: 0.86 !important;
    transition: opacity 0.2s ease !important;
}

.stillhome-header-center a:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

.stillhome-header-center p {
    margin: 0 !important;
}

.stillhome-header-cta {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    margin-left: 2rem !important;
}

@media (max-width: 820px) {
    .stillhome-header-center {
        display: none !important;
    }

    .stillhome-header-brand a,
    .stillhome-header-brand p {
        font-size: 16px !important;
    }
}

/* --------------------------------------------------------------------------
   4. SURFACE CONTAINERS & PANELS
   -------------------------------------------------------------------------- */
.is-style-stillhome-surface-ivory {
    background-color: var(--stillhome-ivory) !important;
    color: var(--stillhome-char) !important;
    padding: clamp(88px, 12vw, 180px) var(--stillhome-gut) clamp(72px, 9vw, 140px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.is-style-stillhome-surface-charcoal {
    background-color: var(--stillhome-char) !important;
    color: var(--stillhome-ivory) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.is-style-stillhome-surface-white {
    background-color: var(--stillhome-white) !important;
    color: var(--stillhome-char) !important;
    padding: clamp(88px, 11vw, 170px) var(--stillhome-gut) clamp(40px, 5vw, 80px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.is-style-stillhome-card-bordered {
    border: 1px solid var(--stillhome-oat) !important;
    background-color: var(--stillhome-white) !important;
    padding: 26px !important;
    box-sizing: border-box !important;
}

/* --------------------------------------------------------------------------
   5. FOOTER & COLOPHON
   -------------------------------------------------------------------------- */
.is-style-stillhome-footer-wrap {
    background-color: var(--stillhome-white) !important;
    color: var(--stillhome-char) !important;
    padding: 40px var(--stillhome-gut) 28px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

.stillhome-footer-rule {
    height: 1px !important;
    background-color: var(--stillhome-oat) !important;
    width: 100% !important;
    margin: 0 0 2rem 0 !important;
    border: none !important;
}

.is-style-stillhome-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr) !important;
    gap: 24px !important;
    padding: 0 0 30px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.is-style-stillhome-footer-grid h4 {
    font-family: var(--stillhome-sans) !important;
    font-size: 12px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--stillhome-walnut) !important;
    margin: 0 0 12px 0 !important;
    font-weight: 500 !important;
}

.is-style-stillhome-footer-grid p {
    margin: 0 0 4px 0 !important;
}

.is-style-stillhome-footer-grid a {
    text-decoration: none !important;
    color: inherit !important;
}

.is-style-stillhome-footer-grid a:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

@media (max-width: 980px) {
    .is-style-stillhome-footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .is-style-stillhome-footer-grid > *:last-child {
        grid-column: 1 / -1 !important;
    }
}

.stillhome-colophon-sub {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 10px 24px !important;
    font-size: 12.5px !important;
    color: #6a695f !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--stillhome-oat) !important;
    margin-top: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.stillhome-colophon-sub p {
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   6. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.is-style-stillhome-display {
    font-family: var(--stillhome-serif) !important;
    font-size: clamp(2.15rem, 4.6vw, 4.6rem) !important;
    font-weight: 400 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.012em !important;
    margin: 0 0 0.5em 0 !important;
    text-wrap: balance !important;
}

.is-style-stillhome-editorial {
    font-family: var(--stillhome-serif) !important;
    font-size: clamp(1.7rem, 2.8vw, 2.8rem) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 0.6em 0 !important;
}

.is-style-stillhome-subhead {
    font-family: var(--stillhome-serif) !important;
    font-size: clamp(1.35rem, 2.1vw, 1.9rem) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    margin: 0 0 0.3em 0 !important;
}

.is-style-stillhome-eyebrow {
    font-family: var(--stillhome-sans) !important;
    font-size: 14px !important;
    letter-spacing: 0.02em !important;
    color: var(--stillhome-olive) !important;
    margin-bottom: 14px !important;
    display: block !important;
}

.is-style-stillhome-lead {
    font-family: var(--stillhome-sans) !important;
    font-size: 1.1em !important;
    line-height: 1.6 !important;
    opacity: 0.88 !important;
    max-width: 36ch !important;
    margin: 0 0 1.5em 0 !important;
    text-wrap: pretty !important;
}

.is-style-stillhome-caption {
    font-family: var(--stillhome-sans) !important;
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
    color: #5b5a52 !important;
    margin-top: 12px !important;
    line-height: 1.4 !important;
    display: block !important;
}

.is-style-stillhome-numeral {
    font-family: var(--stillhome-serif) !important;
    font-size: 1.15rem !important;
    color: var(--stillhome-walnut) !important;
    padding-top: 4px !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.stillhome-quote {
    font-family: var(--stillhome-serif) !important;
    font-size: clamp(1.15rem, 1.55vw, 1.42rem) !important;
    line-height: 1.45 !important;
    color: var(--stillhome-char) !important;
    margin-bottom: 1em !important;
    font-style: normal !important;
}

.stillhome-cite {
    display: block !important;
    font-family: var(--stillhome-sans) !important;
    font-style: normal !important;
    font-size: 14px !important;
    color: #5b5a52 !important;
    margin-top: 0.5em !important;
}

.is-style-stillhome-footer-wordmark {
    font-family: var(--stillhome-serif) !important;
    font-weight: 400 !important;
    font-size: clamp(3rem, 15vw, 20rem) !important;
    line-height: 0.8 !important;
    letter-spacing: 0.01em !important;
    color: var(--stillhome-burg) !important;
    white-space: nowrap !important;
    margin: 18px 0 0 -0.04em !important;
    user-select: none !important;
    display: block !important;
}

.is-style-stillhome-footer-wordmark em {
    font-style: normal !important;
    color: var(--stillhome-olive) !important;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.wp-block-button.is-style-stillhome-btn-ivory .wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--stillhome-sans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    padding: 16px 22px !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    background-color: var(--stillhome-ivory) !important;
    color: var(--stillhome-char) !important;
    transition: background-color 0.3s var(--stillhome-ease), color 0.3s var(--stillhome-ease) !important;
}

.wp-block-button.is-style-stillhome-btn-ivory .wp-block-button__link:hover {
    background-color: var(--stillhome-white) !important;
    color: var(--stillhome-char) !important;
}

.wp-block-button.is-style-stillhome-btn-olive .wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--stillhome-sans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    padding: 16px 22px !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    background-color: var(--stillhome-olive) !important;
    color: var(--stillhome-white) !important;
    transition: background-color 0.3s var(--stillhome-ease) !important;
}

.wp-block-button.is-style-stillhome-btn-olive .wp-block-button__link:hover {
    background-color: #353b31 !important;
    color: var(--stillhome-white) !important;
}

.wp-block-button.is-style-stillhome-btn-pill-nav .wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    font-family: var(--stillhome-sans) !important;
    font-size: 15px !important;
    border: 1px solid currentColor !important;
    padding: 9px 16px !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    line-height: 1 !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.wp-block-button.is-style-stillhome-btn-pill-nav .wp-block-button__link:hover {
    background-color: currentColor !important;
    color: var(--stillhome-char) !important;
    text-decoration: none !important;
}

.wp-block-button.is-style-stillhome-btn-link .wp-block-button__link {
    background: transparent !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    font-family: var(--stillhome-sans) !important;
    font-size: 15px !important;
    text-decoration: underline !important;
    text-underline-offset: 5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* --------------------------------------------------------------------------
   8. LISTS
   -------------------------------------------------------------------------- */
.wp-block-list.is-style-stillhome-checklist {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.6em 0 0 0 !important;
    display: grid !important;
    gap: 8px !important;
    font-size: 14.5px !important;
    color: #45443e !important;
    border-top: 1px solid var(--stillhome-oat) !important;
    padding-top: 1.1em !important;
}

.wp-block-list.is-style-stillhome-checklist li {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 10px !important;
    line-height: 1.5 !important;
}

.wp-block-list.is-style-stillhome-checklist li::before {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    margin-top: 0.62em !important;
    border-radius: 50% !important;
    background-color: var(--stillhome-euc) !important;
}

.wp-block-list.is-style-stillhome-footer-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.wp-block-list.is-style-stillhome-footer-list li {
    break-inside: avoid !important;
    margin-bottom: 4px !important;
}

.wp-block-list.is-style-stillhome-footer-list a {
    text-decoration: none !important;
    color: inherit !important;
}

.wp-block-list.is-style-stillhome-footer-list a:hover {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* --------------------------------------------------------------------------
   9. GUTENBERG EDITOR CANVAS BACKEND OVERRIDES
   Ensures Header, Footer, and Patterns preview with exact layout and colors
   -------------------------------------------------------------------------- */
.editor-styles-wrapper .is-style-stillhome-header,
.editor-styles-wrapper .stillhome-header-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    background-color: #292925 !important;
    color: #F3EFE7 !important;
    padding: 18px 32px !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(243, 239, 231, 0.15) !important;
}

.editor-styles-wrapper .stillhome-header-brand,
.editor-styles-wrapper .stillhome-header-brand a,
.editor-styles-wrapper .stillhome-header-brand p {
    font-family: "Gambetta", Georgia, serif !important;
    font-size: 19px !important;
    letter-spacing: 0.22em !important;
    font-weight: 500 !important;
    color: #F3EFE7 !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.editor-styles-wrapper .stillhome-header-center {
    display: flex !important;
    gap: 24px !important;
    align-items: center !important;
}

.editor-styles-wrapper .stillhome-header-center a,
.editor-styles-wrapper .stillhome-header-center p {
    color: #F3EFE7 !important;
    opacity: 0.86 !important;
    font-family: "Switzer", sans-serif !important;
    font-size: 15px !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.editor-styles-wrapper .is-style-stillhome-btn-pill-nav .wp-block-button__link {
    border: 1px solid #F3EFE7 !important;
    color: #F3EFE7 !important;
    background: transparent !important;
    padding: 8px 16px !important;
    border-radius: 2px !important;
    font-family: "Switzer", sans-serif !important;
    font-size: 15px !important;
    text-decoration: none !important;
    display: inline-flex !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-wrap {
    background-color: #FAF9F5 !important;
    color: #292925 !important;
    padding: 40px 32px 28px !important;
    margin-top: 2rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.editor-styles-wrapper .stillhome-footer-rule {
    background-color: #D9D0C3 !important;
    border: none !important;
    height: 1px !important;
    width: 100% !important;
    margin: 0 0 2rem 0 !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-grid,
.editor-styles-wrapper .is-style-stillhome-footer-grid > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr) !important;
    gap: 24px !important;
    padding-bottom: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-grid h4 {
    font-family: "Switzer", sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #554438 !important;
    margin: 0 0 12px 0 !important;
    font-weight: 500 !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-grid p {
    font-family: "Switzer", sans-serif !important;
    font-size: 14px !important;
    color: #292925 !important;
    line-height: 1.55 !important;
    margin: 0 0 4px 0 !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-grid a {
    color: #292925 !important;
    text-decoration: none !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-list li {
    font-family: "Switzer", sans-serif !important;
    font-size: 14px !important;
    color: #292925 !important;
    margin-bottom: 4px !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-list li a {
    color: #292925 !important;
    text-decoration: none !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-wordmark {
    font-family: "Gambetta", Georgia, serif !important;
    font-weight: 400 !important;
    font-size: clamp(3rem, 10vw, 7rem) !important;
    line-height: 0.85 !important;
    color: #663D43 !important;
    letter-spacing: 0.01em !important;
    margin: 18px 0 0 0 !important;
    white-space: nowrap !important;
    user-select: none !important;
    display: block !important;
}

.editor-styles-wrapper .is-style-stillhome-footer-wordmark em {
    font-style: normal !important;
    color: #41483C !important;
}

.editor-styles-wrapper .stillhome-colophon-sub {
    display: flex !important;
    justify-content: space-between !important;
    padding-top: 18px !important;
    border-top: 1px solid #D9D0C3 !important;
    margin-top: 22px !important;
    font-size: 12.5px !important;
    color: #6a695f !important;
    font-family: "Switzer", sans-serif !important;
}

.editor-styles-wrapper .stillhome-colophon-sub p {
    margin: 0 !important;
    color: #6a695f !important;
}

/* ==========================================================================
   10. INTAKE & CONSULTATION FORM STYLES
   ========================================================================== */
.stillhome-consultation-section.still,
.still {
    position: relative;
    padding: clamp(60px, 8vw, 120px) var(--stillhome-gut) clamp(80px, 10vw, 150px);
    width: 100%;
    box-sizing: border-box;
    background-color: var(--stillhome-white) !important;
}

.stillhome-consultation-section .still-grid,
.still-grid {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: clamp(28px, 6vw, 110px) !important;
    align-items: start !important;
}

.stillhome-consultation-section .vframe,
.vframe {
    position: relative !important;
    height: min(82vh, calc((100vw - 2 * var(--stillhome-gut)) * 0.42 * 16 / 9)) !important;
    aspect-ratio: 9 / 16 !important;
    overflow: hidden !important;
    background-color: var(--stillhome-oat) !important;
    box-shadow: 0 26px 70px -34px rgba(41, 41, 37, 0.5) !important;
}

.stillhome-consultation-section .vframe video,
.stillhome-consultation-section .vframe img,
.vframe video,
.vframe img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.stillhome-consultation-section .vframe .warm,
.vframe .warm {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(255, 232, 196, 0.08), rgba(102, 61, 67, 0.08)) !important;
    mix-blend-mode: soft-light !important;
    pointer-events: none !important;
}

.stillhome-consultation-section .vcap,
.vcap {
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #5b5a52 !important;
    max-width: 40ch !important;
    line-height: 1.4 !important;
}

.stillhome-consultation-section h2,
.still h2 {
    font-size: clamp(2.2rem, 4.4vw, 4.4rem) !important;
    max-width: 14ch !important;
    margin-bottom: 0.45em !important;
    line-height: 1.06 !important;
}

.stillhome-consultation-section .intro,
.still .intro {
    max-width: 46ch !important;
    color: #45443e !important;
    margin-bottom: 2.2em !important;
    font-size: 1.05em !important;
    line-height: 1.6 !important;
}

/* Two-Column Grid Form */
.stillhome-form,
form#stillhome-intake-form,
.editor-styles-wrapper .stillhome-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 20px !important;
    max-width: 640px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.stillhome-form .f {
    display: grid !important;
    gap: 7px !important;
    width: 100% !important;
}

.stillhome-form .f.full {
    grid-column: 1 / -1 !important;
}

.stillhome-form label,
.editor-styles-wrapper .stillhome-form label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--stillhome-char) !important;
    font-family: var(--stillhome-sans) !important;
    line-height: 1.2 !important;
}

.stillhome-form label span {
    font-weight: 400 !important;
    color: #6a695f !important;
}

.stillhome-form input,
.stillhome-form select,
.stillhome-form textarea,
.editor-styles-wrapper .stillhome-form input,
.editor-styles-wrapper .stillhome-form select,
.editor-styles-wrapper .stillhome-form textarea {
    font-family: var(--stillhome-sans) !important;
    font-size: 16px !important;
    color: var(--stillhome-char) !important;
    background-color: var(--stillhome-ivory) !important;
    border: 1px solid #cfc6b8 !important;
    border-radius: 2px !important;
    padding: 13px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.stillhome-form textarea,
.editor-styles-wrapper .stillhome-form textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

.stillhome-form input:focus,
.stillhome-form select:focus,
.stillhome-form textarea:focus,
.editor-styles-wrapper .stillhome-form input:focus,
.editor-styles-wrapper .stillhome-form select:focus,
.editor-styles-wrapper .stillhome-form textarea:focus {
    outline: none !important;
    border-color: var(--stillhome-olive) !important;
    box-shadow: 0 0 0 3px rgba(65, 72, 60, 0.22) !important;
}

.stillhome-form input[aria-invalid="true"],
.stillhome-form select[aria-invalid="true"],
.stillhome-form textarea[aria-invalid="true"] {
    border-color: var(--stillhome-burg) !important;
}

.stillhome-form .form-foot {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 14px 26px !important;
    margin-top: 6px !important;
}

.stillhome-form .form-foot p {
    font-size: 14px !important;
    color: #5b5a52 !important;
    max-width: 40ch !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.stillhome-form .form-foot p a {
    color: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Thank You State */
.stillhome-consultation-section .thanks,
.thanks {
    display: none;
    max-width: 560px !important;
    border-top: 1px solid var(--stillhome-oat) !important;
    padding-top: 24px !important;
}

.stillhome-consultation-section .thanks h3,
.thanks h3 {
    margin-bottom: 0.4em !important;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important;
}

.stillhome-consultation-section .thanks p,
.thanks p {
    font-size: 1.05em !important;
    line-height: 1.6 !important;
    color: #45443e !important;
}

#formWrap.sent .stillhome-form {
    display: none !important;
}

#formWrap.sent .thanks {
    display: block !important;
}

@media (max-width: 820px) {
    .stillhome-consultation-section .still-grid,
    .still-grid {
        grid-template-columns: 1fr !important;
    }

    .stillhome-consultation-section .vframe,
    .vframe {
        height: auto !important;
        width: 100% !important;
        max-width: 380px !important;
    }

    .stillhome-form,
    form#stillhome-intake-form {
        grid-template-columns: 1fr !important;
    }
}
