/* Editorial home. All rules are scoped to preserve catalog and admin styles. */
html:has(.home-page) { scroll-behavior: smooth; scroll-padding-top: 100px; }
.home-page { --home-paper: #f6f3ed; --home-ink: #342c2c; background: var(--home-paper); color: var(--home-ink); }
.home-page .container { max-width: 1320px; }
.home-page .navbar, .home-page .navbar.scrolled { position: fixed; padding: 18px 0; border: 0; box-shadow: none; backdrop-filter: none; transition: background-color .25s, box-shadow .25s; }
.home-page .navbar { background: linear-gradient(180deg, rgb(20 15 16 / 55%), transparent); }
.home-page .navbar.scrolled { background: var(--home-paper); box-shadow: 0 1px 0 #e5ded4; }
.home-page .navbar .logo { color: white !important; }
.home-page .navbar .logo span { color: #e6d5bd !important; }
.home-page .navbar.scrolled .logo { color: var(--primary-dark) !important; }
.home-page .navbar.scrolled .logo span { color: #82613c !important; }
.home-page .nav-links { gap: 24px; }
.home-page .nav-links a { color: white; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.home-page .navbar.scrolled .nav-links a { color: var(--home-ink); }
.home-page .public-menu-trigger { color: white; border-color: rgb(255 255 255 / 55%); }
.home-page .navbar.scrolled .public-menu-trigger { color: var(--primary-dark); border-color: #c7b7ad; }
.home-page :is(.mobile-calculator-link, .mobile-catalog-link) { color: white; }
.home-page .navbar.scrolled :is(.mobile-calculator-link, .mobile-catalog-link) { color: var(--primary-dark); }
.home-page .home-eyebrow { display: block; font: 600 .72rem/1.5 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #78523b; }
.home-page .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 6px; font-size: .9rem; }
.home-page .btn-primary { background: var(--primary-dark); border-color: var(--primary-dark); }
.home-page .btn-primary:hover { background: var(--primary); transform: translateY(-2px); }
.home-text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: .9rem; font-weight: 500; color: var(--primary-dark); border-bottom: 1px solid #bea89d; }
.home-text-link span { font-size: 1.2rem; }
.home-page .home-intro { position: relative; isolation: isolate; padding: 150px 0 110px; min-height: 760px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; background: #35272a; }
.home-intro-media { position: absolute; inset: 0; margin: 0; z-index: -1; overflow: hidden; }
.home-image-frame { position: absolute; inset: 0; display: block; }
.home-image-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(24 15 18 / 62%), rgb(24 15 18 / 66%) 65%, rgb(24 15 18 / 76%)); }
.home-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.home-intro-media figcaption { position: absolute; inset: auto 32px 20px auto; max-width: min(520px, calc(100% - 44px)); z-index: 1; color: white; }
.home-intro-media figcaption a { display: flex; gap: 18px; align-items: center; min-height: 44px; }
.home-intro-media figcaption small { display: block; font-size: .66rem; color: #ecdbd0; }
.home-intro-media figcaption strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .8rem; font-weight: 500; overflow-wrap: anywhere; }
.home-hero-content { width: 100%; min-width: 0; text-align: center; }
.home-intro-copy { min-width: 0; max-width: 880px; margin: 0 auto; overflow-wrap: break-word; }
.home-page .home-intro .home-eyebrow { color: #efdbc1; }
.home-page .home-intro h1 { font: 400 clamp(3.2rem, 5.5vw, 5.5rem)/1.1 'Playfair Display', Georgia, serif; color: white; letter-spacing: -.04em; margin: 20px 0; }
.home-page .home-intro h1 em { font-weight: 400; }
.home-intro-description { font-size: 1rem; color: #f3e8e0; line-height: 1.7; margin: 0 auto 36px; max-width: 540px; }
.home-search-section { padding: 20px; border-radius: 12px; background: #fff; color: var(--home-ink); max-width: 960px; margin: 0 auto; scroll-margin-top: 110px; box-shadow: 0 16px 48px rgb(0 0 0 / 16%); }
.home-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 20px; align-items: end; min-width: 0; text-align: left; }
.home-search-field { min-width: 0; }
.home-search-field label { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: #6c5b55; margin-bottom: 8px; }
.home-search-field label i { color: var(--primary); }
.home-search-field select { width: 100%; height: 48px; padding: 0 10px; border: 1px solid #d7cec5; border-radius: 5px; color: var(--home-ink); background: white; font: 400 16px var(--font-sans); }
.home-search .btn { height: 48px; white-space: nowrap; }
.home-category-shortcuts { display: flex; justify-content: flex-start; gap: 10px; margin: 20px auto 0; width: 100%; min-width: 0; max-width: 960px; padding: 4px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
.home-category-shortcuts a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; flex-shrink: 0; border: 1px solid rgb(255 255 255 / 45%); border-radius: 28px; color: white; background: rgb(0 0 0 / 18%); font-size: .8rem; }
.home-category-shortcuts a:hover { background: white; color: var(--primary-dark); }
.home-page .home-editorial-title em { font-weight: 400; color: var(--primary); }
.home-page .section-padding { padding: 88px 0; }
.home-page .featured-section { background: var(--home-paper); }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.home-page .home-editorial-title { font: 400 clamp(2rem, 3.3vw, 3.2rem)/1.16 'Playfair Display', Georgia, serif; letter-spacing: -.04em; color: var(--primary-dark); margin: 14px 0 0; }
.home-section-heading > p { font-size: .88rem; line-height: 1.7; color: #73675e; }
.home-page .property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.home-page .property-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.home-page .property-card:hover { box-shadow: none; }
.home-page .property-content { padding: 20px 0 0; }
.home-page .property-image-container { border-radius: 6px; }
.home-page .property-image-container img { transition: transform .6s ease; }
@media (hover: hover) { .home-page .property-card:hover .property-image-container img { transform: scale(1.035); } }
.home-page .property-footer { border-color: #dfd6c9; }
.home-page .property-title { font-size: 1.05rem; font-weight: 500; }
.home-spotlight { padding: 24px 0 72px; background: var(--home-paper); }
.home-spotlight:has(#main-highlight-section[style*="display: none"]) { display: none; }
.home-page .home-spotlight .showcase-card { border-radius: 6px; border: 0; background: var(--primary-dark); grid-template-columns: 1.2fr 1fr; min-height: 440px; }
.home-page .home-spotlight .showcase-body { padding: clamp(26px, 4vw, 56px); }
.home-page .home-spotlight .showcase-body h2 { font: 400 clamp(1.65rem, 2.5vw, 2.5rem)/1.2 'Playfair Display', Georgia, serif; color: white; letter-spacing: -.025em; }
.home-page .home-spotlight .property-kind { color: #e3cab7; }
.home-page .home-spotlight :is(.showcase-location, .showcase-description) { color: #eadcda; font-size: .9rem; line-height: 1.7; }
.home-page .home-spotlight .showcase-location i { color: #e3cab7; }
.home-page .home-spotlight .showcase-footer { flex-wrap: wrap; border-color: #91636b; color: white; }
.home-page .home-spotlight .property-link { color: white; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.home-photo-controls { position: absolute; bottom: 16px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 4px; background: #fff; color: var(--home-ink); border-radius: 6px; }
.home-photo-controls button { width: 44px; height: 44px; border: 0; border-radius: 4px; background: #f6f3ed; font-size: 1.2rem; cursor: pointer; }
.home-photo-controls span { font-size: .75rem; min-width: 40px; text-align: center; }
.home-loading { padding: 48px 24px; color: #756b62; text-align: center; }
.home-page .home-spotlight .showcase-placeholder { min-height: 100px; background: #ece6dc; }
.home-finance { background: #eae2d7; }
.home-finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.home-finance-grid > div:nth-child(2) { max-width: 390px; justify-self: end; }
.home-finance p { color: #65594f; line-height: 1.8; margin-bottom: 16px; }
.home-finance small { display: block; margin-top: 18px; color: #73675e; font-size: .72rem; }
.home-page .about-band { background: var(--home-paper); }
.home-page .about-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.home-page .about-image { border-radius: 4px 100px 4px 4px; overflow: hidden; box-shadow: none; }
.home-page .about-image img { height: auto; max-height: 600px; width: 100%; object-fit: cover; object-position: center; }
.home-about-name { margin: 24px 0; font-size: 1rem; font-weight: 600; }
.home-about-name span { display: block; font-size: .75rem; font-weight: 400; color: #73675e; margin-top: 4px; }
.home-about-story { border-block: 1px solid #d9cec0; }
.home-about-story summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; padding: 18px 0; min-height: 48px; font-size: .9rem; list-style: none; }
.home-about-story summary::-webkit-details-marker { display: none; }
.home-about-story summary span { font-size: 1.5rem; }
.home-about-story[open] summary span { transform: rotate(45deg); }
.home-page .home-about-story p { font-size: .96rem !important; line-height: 1.8 !important; }
.home-about-contact { margin-top: 24px; }
.home-page .blog-section { background: #efebe4; border: 0; }
.home-page .blog-section .section-header { text-align: left; }
.home-page .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.home-page .blog-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.home-page .blog-card:hover { transform: none; box-shadow: none; }
.home-page .blog-card-image { border-radius: 6px; }
.home-page .blog-card-body { padding: 22px 0 0; }
.home-page .blog-card-title { font: 400 1.4rem/1.35 'Playfair Display', Georgia, serif; }
.home-page .blog-category-badge { border-radius: 4px; padding: 4px 8px; font-size: .64rem; }
.home-page .blog-meta { font-size: .72rem; gap: 8px 12px; }
.home-page .team-section { background: var(--home-paper); }
.home-page .team-grid { max-width: 960px; }
.home-page .team-card { background: transparent; border: 0; border-top: 1px solid #d9cec0; border-radius: 0; box-shadow: none; display: grid; grid-template-columns: 90px 1fr; align-items: start; text-align: left; }
.home-page .team-card:hover { box-shadow: none; }
.home-page .team-image { width: 72px; height: 72px; margin: 28px 0 0; }
.home-page .team-content { padding: 28px 0 0 12px; text-align: left; }
.home-page .team-content h3 { font-size: 1.2rem; }
.home-team-details summary { cursor: pointer; min-height: 44px; font-size: .8rem; padding: 12px 0; color: #6b5b50; }
.home-page .team-qualifications { margin-top: 12px; }
.home-page footer { background: #302324; }
.home-page :is(a, button, select, summary):focus-visible { outline: 3px solid #a37648; outline-offset: 5px; }
.home-page .reveal { opacity: 1; transform: none; }
.home-regions { background: #eee8df; }
.home-region-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-region-card { display: flex; align-items: flex-end; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 4.3; min-height: 280px; border-radius: 8px; padding: 28px; color: white; background: linear-gradient(140deg, #825a60, #36212a); }
.home-region-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 12 15 / 25%), rgb(20 12 15 / 10%) 35%, rgb(20 12 15 / 90%)); }
.home-region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
@media (hover: hover) { .home-region-card:hover img { transform: scale(1.04); } }
.home-region-index { position: absolute; top: 22px; left: 24px; font-size: .75rem; letter-spacing: .1em; }
.home-region-copy { min-width: 0; padding-right: 24px; }
.home-region-copy h3 { font: 500 1.7rem/1.2 var(--font-sans); color: white; letter-spacing: -.035em; overflow-wrap: anywhere; margin-bottom: 10px; }
.home-region-copy p { font-size: .8rem; line-height: 1.6; color: #f3e7dc; }
.home-region-arrow { position: absolute; right: 20px; bottom: 24px; font-size: 1.5rem; }
.home-region-note { margin-top: 16px; font-size: .73rem; color: #706257; }
.home-region-status { grid-column: 1 / -1; color: #6d5e53; padding: 24px 0; line-height: 1.8; }
.home-region-status a { text-decoration: underline; color: var(--primary-dark); }
.home-journey { background: var(--home-paper); }
.home-journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0; list-style: none; }
.home-journey-grid li { padding-top: 20px; border-top: 1px solid #c6b5a5; }
.home-step { display: block; color: #997556; font: 400 2rem 'Playfair Display', Georgia, serif; margin-bottom: 24px; }
.home-journey-grid h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 12px; line-height: 1.4; }
.home-journey-grid p { font-size: .9rem; color: #6d6056; line-height: 1.8; }
.home-owner { background: var(--primary-dark); color: white; }
.home-owner-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
.home-page .home-owner .home-eyebrow { color: #e3c8aa; }
.home-page .home-owner .home-editorial-title { color: white; }
.home-owner p { max-width: 420px; font-size: 1rem; line-height: 1.8; color: #f0e0dc; margin-bottom: 22px; }
.home-page .home-owner .btn { background: #f7f0e5; color: var(--primary-dark); border-color: #f7f0e5; }
.home-page .home-owner .btn:hover { background: white; }
.home-owner small { display: block; margin-top: 14px; font-size: .74rem; color: #e0c4ba; }
.home-faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.home-faq .home-text-link { margin-top: 24px; }
.home-faq-list details { border-top: 1px solid #d5c8ba; }
.home-faq-list details:last-child { border-bottom: 1px solid #d5c8ba; }
.home-faq-list summary { cursor: pointer; padding: 22px 8px 22px 0; min-height: 48px; color: var(--home-ink); font-size: 1rem; font-weight: 500; }
.home-faq-list p { color: #685b51; line-height: 1.8; font-size: .94rem; padding-bottom: 24px; }
.home-faq-list p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .home-region-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 76%); overflow-x: auto; gap: 16px; padding: 4px 4px 16px; scroll-snap-type: x proximity; scroll-padding-inline: 4px; }
    .home-region-card { scroll-snap-align: start; aspect-ratio: 4 / 4.1; }
    .home-region-track:has(.home-region-status) { display: block; }
    .home-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-owner-grid, .home-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1000px) {
    .home-page .nav-links { gap: 14px; }
    .home-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; }
    .home-category-shortcuts { justify-content: flex-start; }
}
@media (max-width: 768px) {
    .home-page .container { padding-inline: 22px; }
    .home-page .navbar, .home-page .navbar.scrolled { padding: 12px 0; }
    .home-page .home-intro { padding: 128px 0 94px; min-height: 0; }
    .home-page .home-intro h1 { font-size: clamp(2.15rem, 9.4vw, 3.25rem); margin: 18px 0; }
    .home-page .home-eyebrow { font-size: .69rem; letter-spacing: .09em; }
    .home-intro-description { font-size: .92rem; margin-bottom: 26px; }
    .home-search-section { padding: 18px; border-radius: 10px; }
    .home-search { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-search .btn { width: 100%; }
    .home-search-field label { font-size: .72rem; }
    .home-category-shortcuts { margin-top: 18px; gap: 8px; }
    .home-category-shortcuts a { font-size: .75rem; padding: 10px 14px; }
    .home-intro-media figcaption { left: 22px; right: 22px; bottom: 20px; max-width: none; text-align: left; }
    .home-intro-media figcaption a { justify-content: space-between; }
    .home-intro-media figcaption small { font-size: .64rem; }
    .home-page .section-padding { padding: 56px 0; }
    .home-section-heading { display: block; margin-bottom: 28px; }
    .home-section-heading > p { margin-top: 18px; }
    .home-section-heading > p br { display: none; }
    .home-page .home-editorial-title { font-size: clamp(2rem, 8vw, 2.8rem); }
    .home-page .property-grid, .home-page .blog-grid { grid-template-columns: 1fr; gap: 32px; }
    .home-page .home-spotlight .showcase-card { grid-template-columns: 1fr; }
    .home-page .home-spotlight .showcase-media { min-height: 0; aspect-ratio: 4 / 3; }
    .home-page .home-spotlight .showcase-body { padding: 28px 24px; }
    .home-spotlight { padding: 0 0 48px; }
    .home-finance-grid, .home-page .about-section { grid-template-columns: 1fr; gap: 30px; }
    .home-finance-grid > div:nth-child(2) { justify-self: start; }
    .home-page .about-image { max-width: 440px; width: 100%; aspect-ratio: 4 / 4.2; }
    .home-page .about-image img { height: 100%; object-position: center 37%; }
    .home-page .team-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 360px) {
    .home-page .container { padding-inline: 18px; }
    .home-page .home-intro { padding-top: 112px; }
    .home-intro-media figcaption { left: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.home-page) { scroll-behavior: auto; }
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
