/* Every guide sheet uses the document's measured page geometry. */
.book-stage.has-guide{touch-action:pan-y}
.book-guide{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;outline:none;touch-action:pan-y;z-index:4}
.guide-book{position:relative;display:grid;grid-template-columns:repeat(var(--guide-columns,2),minmax(0,1fr));width:calc(var(--guide-page-width,500px)*var(--guide-columns,2));height:var(--guide-page-height,400px);max-width:100%;background:#fbf9f3;box-shadow:0 18px 36px -18px #38382e66,0 2px 5px #38382e18;border-radius:2px}
.guide-sheet{min-width:0;min-height:0;display:flex;flex-direction:column;padding:24px 28px 54px;border:1px solid #d8d9d0;background:#fbf9f3}
.guide-company{background:#f0f0e8;border-left-color:#ccd2c4}
.guide-page-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a5af9c transparent}
.guide-eyebrow{display:block;font-size:11px;line-height:1.5;color:#6a7867;font-weight:500}
.guide-wordmark{display:block;font-size:14px;font-weight:600;color:#2d3830;margin-top:12px}
.guide-book h2,.guide-detail-body h2{font-size:24px;line-height:1.35;margin:8px 0 12px;font-weight:600;word-break:keep-all;overflow-wrap:anywhere}
.guide-services h2{color:#3e5a43}
.guide-summary{font-size:14px;line-height:1.8;margin:0;color:#505c52;word-break:keep-all}
.guide-offerings{list-style:none;padding:0;margin:18px 0 14px;display:grid;gap:10px}
.guide-offerings li{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px;align-items:baseline}
.guide-offerings strong{font-size:13px;font-weight:500;line-height:1.5}
.guide-offerings span{font-size:12px;line-height:1.6;color:#6f796e}
.guide-site-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:16px}
.guide-site-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 10px;border:1px solid #d1d9c9;border-radius:3px;font-size:12px;line-height:1.5;background:#fbf9f3;color:#546b59}
.guide-site-link span{min-width:0;overflow-wrap:anywhere;word-break:keep-all}
.guide-site-link:hover{background:#e5eadf;border-color:#99ac91}
.guide-site-link svg{width:16px;height:16px;flex:none}
.guide-document{font-size:12px;color:#727c6e;margin:0 0 12px;line-height:1.5}
.guide-service-list{display:grid;border-top:1px solid #d8dfd1}
.guide-service{display:flex;text-align:left;align-items:center;gap:12px;width:100%;min-height:64px;border:0;border-bottom:1px solid #d8dfd1;padding:10px 0;background:transparent}
.guide-service:hover{background:#edf1e7}
.guide-service-number{font-size:12px;color:#889482;font-variant-numeric:tabular-nums;flex:none}
.guide-service>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}
.guide-service strong{font-size:14px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.guide-service>span:nth-child(2)>span{font-size:12px;line-height:1.65;color:#6c7766;word-break:keep-all}
.guide-service>svg{width:17px;height:17px;flex:none;color:#546b59}
.guide-service-topics{display:none;font-size:12px;line-height:1.5;color:#6c7766;margin:4px 0 0;overflow-wrap:anywhere}
.guide-page-actions{display:flex;flex:none;gap:8px;margin-top:12px}
.guide-page-actions>*{flex:1;min-width:0}
.guide-contact,.guide-details-button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;width:100%;padding:10px 12px;border:1px solid #49604c;border-radius:2px;background:#49604c;color:#fff;font-size:13px;font-weight:500;line-height:1.5;text-align:left}
.guide-contact:hover{background:#3c503f}.guide-contact:disabled{opacity:.55}
.guide-details-button{background:transparent;color:#49604c;border-color:#a4b29b}
.guide-details-button:hover{background:#e5eadf}
.guide-contact:focus-visible,.guide-details-button:focus-visible{outline-offset:1px}
.guide-contact svg,.guide-details-button svg{width:16px;height:16px;flex:none}
.guide-contact-long{display:none}
.guide-navigation{position:absolute;left:0;right:0;bottom:0;height:44px;display:flex;align-items:center;justify-content:space-between;gap:4px;border:1px solid #d8ddd1;padding:0 12px;background:#f7f6ef}
.book-guide[data-layout=spread] .guide-navigation{border:0;background:transparent}
.guide-navigation button,.guide-navigation a{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.3;min-height:44px;padding:0 4px;border:0;background:transparent;color:#546b59}
.guide-navigation [data-guide-direction]{display:none}
@media(max-width:700px) and (orientation:portrait){.guide-navigation [data-guide-direction]{display:flex}}
.guide-navigation svg{width:14px;height:14px;flex:none}
#guide-page-switch{color:#3e5a43;font-weight:600}
.guide-company-contact{display:flex;flex:none;align-items:center;gap:8px;margin:8px 0 0;font-size:12px;line-height:1.5;font-style:normal;white-space:nowrap;color:#546b59}
.guide-company-contact a{display:inline-flex;align-items:center;min-height:44px}
.guide-company-contact a:hover{text-decoration:underline}.guide-company-contact>span{color:#99a190}
/* Wide slides use concise titles; the detail dialog retains the full content. */
.book-guide[data-density=compact] .guide-sheet{padding:18px 22px 52px}
.book-guide[data-density=compact] h2{font-size:22px;margin:6px 0 10px}
.book-guide[data-density=compact] .guide-wordmark{margin-top:0;font-size:13px}
.book-guide[data-density=compact] .guide-document,.book-guide[data-density=compact] .guide-company>.guide-page-content>.guide-eyebrow,.book-guide[data-density=compact] .guide-site-links,.book-guide[data-density=compact] .guide-service>span:nth-child(2)>span,.book-guide[data-density=compact] .guide-offerings span{display:none}
.book-guide[data-density=compact] .guide-offerings{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:12px 0 0}
.book-guide[data-density=compact] .guide-offerings li{display:block}
.book-guide[data-density=compact] .guide-service{min-height:48px;padding:8px 0}
.book-guide[data-density=compact] .guide-summary{font-size:13px;line-height:1.7}
.book-guide[data-density=compact] .guide-page-actions{margin-top:10px}
/* Small landscape sheets remain the same size as the source on a portrait phone. */
.book-guide[data-density=mini] .guide-sheet{padding:6px 12px 44px}
.book-guide[data-density=mini] h2{font-size:16px;line-height:1.2;margin:2px 0 0}
.book-guide[data-density=mini] .guide-wordmark{font-size:11px;line-height:1.4;margin:0}
.book-guide[data-density=mini] .guide-eyebrow,.book-guide[data-density=mini] .guide-document,.book-guide[data-density=mini] .guide-service-list,.book-guide[data-density=mini] .guide-summary,.book-guide[data-density=mini] .guide-offerings,.book-guide[data-density=mini] .guide-site-links{display:none}
.book-guide[data-density=mini] .guide-service-topics{display:block}
.book-guide[data-density=mini] .guide-page-actions{margin-top:4px;gap:6px}
.book-guide[data-density=mini] .guide-contact,.book-guide[data-density=mini] .guide-details-button{font-size:12px;padding:8px 10px}
.book-guide[data-density=mini] .guide-company-contact{font-size:11px;gap:6px;margin-top:0}
.book-guide[data-density=mini] .guide-navigation{padding:0 8px}
.book-guide[data-density=mini] .guide-navigation button,.book-guide[data-density=mini] .guide-navigation a{font-size:11px;gap:3px}
.guide-detail-body{padding:20px 24px;min-width:0}
.guide-detail-body .guide-wordmark{margin-top:0}
.guide-detail-body .guide-document{margin-bottom:14px}
.guide-detail-actions{padding:0 24px 22px}
/* Portrait phones retain the original complete, vertically scrolling guide. */
.book-guide[data-layout=scroll] .guide-book{grid-template-columns:minmax(0,1fr);width:100%;height:auto;max-height:100%;overflow:auto;overscroll-behavior:contain;border:1px solid #d8d9d0;scrollbar-width:thin}
.book-guide[data-layout=scroll] .guide-sheet{display:block;padding:18px 20px;border:0}
.book-guide[data-layout=scroll] .guide-company{border-top:1px solid #d7dbd0}
.book-guide[data-layout=scroll] .guide-page-content{overflow:visible}
.book-guide[data-layout=scroll] h2{font-size:20px;line-height:1.38;margin:6px 0 10px}
.book-guide[data-layout=scroll] .guide-wordmark{font-size:14px;line-height:1.5;margin-top:12px}
.book-guide[data-layout=scroll] .guide-eyebrow,.book-guide[data-layout=scroll] .guide-document,.book-guide[data-layout=scroll] .guide-service-list,.book-guide[data-layout=scroll] .guide-summary,.book-guide[data-layout=scroll] .guide-offerings,.book-guide[data-layout=scroll] .guide-site-links{display:block}
.book-guide[data-layout=scroll] .guide-company>.guide-page-content>.guide-eyebrow{display:block}
.book-guide[data-layout=scroll] .guide-service-list,.book-guide[data-layout=scroll] .guide-offerings,.book-guide[data-layout=scroll] .guide-site-links{display:grid}
.book-guide[data-layout=scroll] .guide-service>span:nth-child(2)>span,.book-guide[data-layout=scroll] .guide-offerings span{display:block}
.book-guide[data-layout=scroll] .guide-offerings{grid-template-columns:minmax(0,1fr);gap:7px;margin:12px 0 4px}
.book-guide[data-layout=scroll] .guide-offerings li{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(0,1.1fr);gap:8px}
.book-guide[data-layout=scroll] .guide-offerings strong{font-size:12px}
.book-guide[data-layout=scroll] .guide-offerings span{font-size:11px}
.book-guide[data-layout=scroll] .guide-summary{font-size:13px;line-height:1.75}
.book-guide[data-layout=scroll] .guide-service{min-height:72px;padding:12px 0}
.book-guide[data-layout=scroll] .guide-service strong{font-size:13px}
.book-guide[data-layout=scroll] .guide-page-actions{margin-top:16px}
.book-guide[data-layout=scroll] .guide-details-button,.book-guide[data-layout=scroll] .guide-company .guide-page-actions,.book-guide[data-layout=scroll] .guide-service-topics,.book-guide[data-layout=scroll] .guide-contact-short{display:none}
.book-guide[data-layout=scroll] .guide-contact-long{display:inline}
.book-guide[data-layout=scroll] .guide-contact{font-size:13px}
.book-guide[data-layout=scroll] .guide-company-contact{font-size:12px;gap:8px;margin-top:16px}
.book-guide[data-layout=scroll] .guide-navigation{position:sticky;grid-column:1/-1;left:auto;right:auto;height:46px;padding:0 12px;border-left:0;border-right:0;border-bottom:0}
.book-guide[data-layout=scroll] .guide-navigation button,.book-guide[data-layout=scroll] .guide-navigation a{font-size:13px;gap:7px}
@media(max-width:700px){.guide-detail-body{padding:18px}.guide-detail-actions{padding:0 18px 24px}.guide-detail-body h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.guide-book{animation:none}}
.lead-dialog{padding:0;border:1px solid #d3d9ca;border-radius:5px;background:#fbf9f3;color:#292e2c;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px);overflow:auto;overscroll-behavior:contain}.lead-dialog::backdrop{background:#24282188;backdrop-filter:blur(3px)}.lead-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid #d8ddd1;background:#f0f0e8;position:sticky;top:0;z-index:2}.lead-dialog-heading h2{font-size:19px;line-height:1.4;margin:4px 0 0;font-weight:600}.lead-dialog-heading>button{flex:none}.lead-form{padding:0 24px 22px;display:grid;gap:12px}.lead-context{font-size:12px;color:#6a7867;line-height:1.6;margin:14px 0 0}.lead-form>label,.lead-form-row>label{display:grid;gap:6px;font-size:13px;line-height:1.5}.lead-form input:not([type=checkbox]),.lead-form select,.lead-form textarea{width:100%;min-width:0;min-height:44px;border:1px solid #cdd5c6;border-radius:3px;padding:10px 12px;background:#fffdfa;color:#292e2c;font-size:16px;line-height:1.5}.lead-form textarea{resize:vertical}.lead-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.lead-required,.lead-optional{font-size:11px;font-weight:400;color:#768471}.lead-form label.lead-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;min-height:32px}.lead-check input{width:19px;height:19px;margin:0;flex:none;accent-color:#49604c}.lead-privacy{font-size:11px;line-height:1.8;color:#717b6b;background:#f0f0e8;padding:8px 12px;border-radius:3px}.lead-privacy summary{cursor:pointer;font-size:12px}.lead-privacy p{margin:8px 0 0}.lead-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.lead-form-state{font-size:12px;line-height:1.6;color:#79523f;margin:0;min-height:0}.lead-form>.guide-contact{margin:0}.lead-success{padding:28px 24px 24px}.lead-success h3{font-size:24px;line-height:1.4;margin:8px 0 12px}.lead-success p{font-size:14px;color:#64705f;line-height:1.8}
.guide-details-dialog{width:min(720px,calc(100% - 32px))}
@media(max-width:700px){.lead-dialog{width:100%;max-width:100%;max-height:none;height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin:0;position:fixed;inset:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);border:0;border-radius:0}.lead-dialog-heading{padding:14px 18px}.lead-dialog-heading h2{font-size:18px}.lead-form{padding:0 18px 24px;gap:12px}.lead-success{padding:26px 18px}.lead-form-row{gap:10px}}
.lead-form label.lead-check{min-height:44px;align-items:center}
