:root {
    color-scheme: light;
    --ink: #182520;
    --deep: #172420;
    --night: #101b18;
    --canvas: #f7f5ee;
    --paper: #fffdf8;
    --white: #fdf8ec;
    --muted: #56615a;
    --line: #dcded2;
    --gold: #e9ad66;
    --gold-hover: #f5bf80;
    --sage: #c5ddbd;
    --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
    --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #bd6c18; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 64px, 1180px); margin-inline: auto; }
.section { padding-block: clamp(62px, 8vw, 112px); }
.skip-link { position: fixed; z-index: 100; inset: 10px auto auto 10px; padding: 8px 16px; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; font-weight: 750; }
h1 { font-size: clamp(3.2rem, 7.1vw, 7.1rem); }
h2 { font-size: clamp(2.05rem, 4.15vw, 4.15rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.45rem); }
p + p { margin-top: 1em; }
.eyebrow { font: 700 .72rem/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow + h1, .eyebrow + h2 { margin-top: .36em; }
.site-header { background: var(--night); color: var(--white); border-bottom: 1px solid #34423a; }
.masthead { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { display: block; width: 42px; height: 42px; }
.brand span { font-size: 1.06rem; font-weight: 750; line-height: 1.05; letter-spacing: -.035em; }
.brand i { color: var(--gold); font-style: normal; }
.brand small { display: block; color: #bfc9bf; margin-top: 5px; font: 700 .6rem/1 var(--mono); letter-spacing: .22em; }
.primary-nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 37px); }
.primary-nav a { text-decoration: none; color: #e2e7dd; font-size: .91rem; font-weight: 650; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--gold); }
.nav-toggle { display: none; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 7px; padding: 11px 17px; color: inherit; font-size: .92rem; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.button svg, .text-link svg { width: 19px; height: 19px; flex: none; }
.button-primary { background: var(--gold); color: #1b271e; }
.button-primary:hover { background: var(--gold-hover); }
.button-ghost { background: transparent; border-color: #7f8d81; color: var(--white); }
.button-ghost:hover { border-color: var(--gold); background: #293832; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero, .page-hero {
    color: var(--white);
    background-color: var(--deep);
    background-image: radial-gradient(ellipse at 9% 100%, #314337 0, transparent 62%), repeating-linear-gradient(90deg, #99ab9810 0 1px, transparent 1px 76px), repeating-linear-gradient(0deg, #99ab9810 0 1px, transparent 1px 76px);
}
.hero-grid { min-height: 595px; padding-block: clamp(50px, 6.6vw, 95px); display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: clamp(24px, 5vw, 70px); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyebrow { color: #cddac7; display: flex; align-items: center; gap: 9px; }
.signal { display: inline-block; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px #e9ad6625; }
.hero h1 { font-size: clamp(3.35rem, 6.8vw, 6.85rem); letter-spacing: -.075em; line-height: .98; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy > p:not(.eyebrow), .page-hero p:not(.eyebrow) { margin: 26px 0; color: #d6dfd4; font-size: clamp(1.04rem, 1.85vw, 1.28rem); max-width: 47ch; }
.hero-image { position: relative; display: grid; margin: 0; border: 1px solid #677866; border-radius: 10px; overflow: hidden; background: #23352c; box-shadow: 0 22px 65px #09100d68; }
.hero-image img { display: block; aspect-ratio: 1.24; width: 100%; height: auto; object-fit: cover; object-position: center; }
.hero-image figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #dfdfca; background: #111d18; border-top: 1px solid #667361; font: 650 clamp(.57rem, .85vw, .67rem)/1.4 var(--mono); letter-spacing: .1em; }
.section-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 36px; margin-bottom: 36px; }
.section-intro > p { color: var(--muted); max-width: 36ch; }
.service-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-door { position: relative; padding: clamp(24px, 4.2vw, 48px); border-radius: 12px; border: 1px solid #d3ddcb; background: #eaf0e6; }
.door-home { border-color: #e5d7c4; background: #f1e7d8; }
.door-top { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.tile-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--deep); color: var(--sage); border-radius: 8px; }
.door-home .tile-icon, .contact-grid .tile-icon { color: var(--gold); }
.tile-icon svg { width: 24px; height: 24px; }
.service-door p:not(.eyebrow), .detail-card p { color: var(--muted); margin-top: 12px; }
.service-door ul, .detail-card ul { padding-left: 1.2em; margin: 20px 0 24px; }
.service-door li + li, .detail-card li + li { margin-top: 5px; }
.service-door li::marker, .detail-card li::marker { color: #94602a; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.text-link:hover { text-decoration-thickness: 2px; }
.owner-section { background: #e9ede3; border-block: 1px solid #d9dfd2; }
.owner-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr); gap: clamp(28px, 6vw, 85px); align-items: center; }
.owner-grid p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.owner-grid .text-link { margin-top: 22px; }
.owner-mark { min-height: 295px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 4vw, 44px); border: 1px solid #42574a; border-radius: 12px; background: var(--deep) repeating-linear-gradient(135deg, #b6c3aa12 0 1px, transparent 1px 18px); color: var(--white); }
.owner-mark > span { width: fit-content; border: 1px solid #bb986b; border-radius: 50%; padding: 19px 21px; color: var(--gold); font: 750 2rem/1 var(--mono); }
.owner-mark strong { display: block; font-size: clamp(1.35rem, 3vw, 2.2rem); letter-spacing: -.04em; line-height: 1.1; }
.owner-mark small { display: block; margin-top: 7px; font: 650 .68rem/1.4 var(--mono); letter-spacing: .12em; color: #d4dfd2; }
.contact-strip { background: var(--deep); color: var(--white); border-bottom: 1px solid #38483d; }
.contact-strip .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.contact-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contact-strip p:not(.eyebrow) { color: #d6dfd4; margin-top: 13px; }
.contact-strip .actions { flex: 0 0 auto; }
.site-footer { background: var(--night); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 25px; padding: 48px 0 35px; }
.footer-main p { margin-top: 14px; color: #c8d3c8; font-size: .89rem; }
.footer-main nav { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-main nav span { font: 700 .7rem/1.4 var(--mono); letter-spacing: .13em; color: var(--gold); margin-bottom: 4px; }
.footer-main nav a { text-decoration: none; color: #e2e8dc; font-size: .92rem; overflow-wrap: anywhere; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-main nav svg { width: 13px; height: 13px; vertical-align: middle; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #36463c; color: #c0ccc0; padding: 18px 0 25px; font-size: .77rem; }
.page-hero { padding-block: clamp(62px, 8vw, 112px); }
.page-hero h1 { max-width: 15ch; font-size: clamp(3rem, 6.3vw, 6.05rem); }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1fr minmax(170px, .43fr); align-items: center; gap: 30px; }
.page-symbol { aspect-ratio: 1; width: min(100%, 245px); justify-self: end; display: grid; place-items: center; border: 1px solid #879382; border-radius: 50%; color: var(--sage); background: repeating-radial-gradient(circle, transparent 0 23px, #c5ddbd29 23px 24px); }
.page-symbol svg { width: 45%; height: 45%; padding: 13px; background: var(--deep); border-radius: 12px; stroke-width: 1.15; }
.page-home .page-symbol { color: var(--gold); }
.list-title { margin-bottom: 34px; }
.detail-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.detail-card { padding: clamp(20px, 3vw, 34px); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.detail-card > .eyebrow { display: block; color: #6c5439; margin-bottom: 16px; }
.detail-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.95rem); }
.detail-card h2 { font-size: 2rem; margin-top: 16px; }
.detail-card p + .button, .detail-card p + .text-link { margin-top: 18px; }
.detail-card ul { margin-bottom: 0; }
.source-link { margin-top: 26px; color: var(--muted); }
.faq-grid { align-items: start; }
.faq-grid details { padding-block: 15px; border-bottom: 1px solid #bfcbbd; }
.faq-grid details:first-child { border-top: 1px solid #bfcbbd; }
.faq-grid summary { cursor: pointer; font-weight: 700; }
.faq-grid details p { margin-top: 10px; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); margin-block: 28px 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }

.chat-launch { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; box-shadow: 0 8px 28px #111c1870; border: 1px solid #8b6439; border-radius: 40px; padding-inline: 17px; }
.chat-panel { position: fixed; z-index: 91; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: min(390px, calc(100% - 36px)); max-height: calc(100dvh - 42px); display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid #637065; border-radius: 13px; box-shadow: 0 15px 55px #101b1855; }
.chat-head { background: var(--deep); color: var(--white); padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-head h2 { font-size: 1.24rem; letter-spacing: -.02em; }
.chat-head p { margin-top: 3px; color: #d4dfd2; font-size: .77rem; }
.chat-close { padding: 7px; color: var(--white); display: grid; place-items: center; background: transparent; border: 1px solid #758378; border-radius: 5px; }
.chat-body { padding: 15px 16px; overflow: auto; }
.chat-body > p { font-size: .9rem; margin-bottom: 10px; }
.chat-form { display: grid; gap: 9px; }
.chat-form label { display: grid; gap: 4px; font-weight: 650; font-size: .83rem; }
.chat-form input, .chat-form textarea { width: 100%; padding: 7px 9px; background: #fff; border: 1px solid #a6aea5; border-radius: 5px; color: var(--ink); font-size: 16px; }
.chat-form textarea { resize: vertical; min-height: 64px; }
.chat-form .button { min-height: 43px; }
.chat-form .chat-trap { position: absolute; left: -9999px; }
.chat-form small { font-size: .73rem; font-weight: 400; color: var(--muted); }
.chat-log { display: grid; gap: 7px; max-height: 245px; overflow: auto; padding: 4px; margin-bottom: 10px; }
.chat-message { width: fit-content; max-width: 88%; padding: 8px 10px; background: #e9ede3; border-radius: 8px; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message.customer { justify-self: end; background: #f3e2ca; }
.chat-message strong { display: block; font-size: .71rem; }
.chat-body .chat-error { color: #962c20; margin: 8px 0 0; }
.chat-fallback { margin: 9px 0 0; font-size: .75rem; color: var(--muted); }
.chat-launch, .chat-panel { scroll-margin-bottom: 20px; }
body.admin-bar .chat-panel { max-height: calc(100dvh - 78px); }

@media (max-width: 950px) {
    .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-strip-inner { align-items: flex-start; flex-direction: column; }
    .hero-grid { min-height: 0; }
    .masthead { gap: 15px; }
    .primary-nav { gap: 16px; }
}
@media (max-width: 760px) {
    .shell { width: min(100% - 36px, 1180px); }
    .masthead { min-height: 69px; position: relative; flex-wrap: wrap; padding-block: 12px; }
    .masthead .header-chat { display: none; }
    .js .nav-toggle { display: inline-flex; gap: 6px; align-items: center; color: var(--white); background: transparent; border: 1px solid #748276; border-radius: 6px; padding: 7px 10px; }
    .nav-toggle svg { width: 19px; height: 19px; }
    .js .primary-nav { display: none; }
    .js .primary-nav.is-open { display: flex; }
    .primary-nav { flex-basis: 100%; flex-wrap: wrap; gap: 12px 20px; padding: 7px 0; }
    .hero-grid, .section-intro, .owner-grid, .faq-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-grid { padding-block: 48px 34px; }
    .hero h1 { font-size: clamp(3.25rem, 10vw, 5.25rem); }
    .hero-image img { aspect-ratio: 1.6; }
    .section-intro { gap: 12px; margin-bottom: 24px; }
    .owner-mark { min-height: 214px; }
    .owner-section .owner-grid > div:nth-child(2) { order: -1; }
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-symbol { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-main > div { grid-column: 1 / -1; }
    .footer-bottom { padding-bottom: 76px; }
}
@media (max-width: 540px) {
    .service-doors, .detail-grid { grid-template-columns: 1fr; }
    .button { white-space: normal; }
    .chat-launch { bottom: max(12px, env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
#bac-chat-identity { display: grid; gap: 9px; }
