/* ===== Fonts (Latin), served from this site: Allura, Cinzel, Cormorant Garamond
   italic, Courier Prime and Jost, from Google Fonts (SIL Open Font License 1.1,
   see assets/fonts/README.md). Same faces the pages used from Google before. ===== */
@font-face { font-family: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/allura-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/cinzel-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/cinzel-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/cinzel-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/cinzel-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/courier-prime-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/courier-prime-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Redesign (2026-10): footer and home-section styles. They load
   before the base styles below, as in the approved previews. ===== */
footer.site-footer .ft-x{display:none}
body.ft-5 footer.site-footer .ft-x5{display:block}
/* 4 minimal centered */
body.ft-4 footer.site-footer .footer-top{display:flex;flex-direction:column;align-items:center;text-align:center;gap:26px}
body.ft-4 footer.site-footer .footer-top p{max-width:none}
body.ft-4 footer.site-footer .footer-col:not(.footer-logo) h2{display:none}
body.ft-4 footer.site-footer .footer-col:not(.footer-logo) ul{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px 26px}
body.ft-4 footer.site-footer .footer-logo{width:100%;max-width:600px;margin-top:14px;align-self:center}
body.ft-4 footer.site-footer .footer-logo img{margin:0 auto 14px;display:block}
body.ft-4 footer.site-footer .footer-bottom{flex-direction:column;justify-content:center;text-align:center}
/* 5 skyline */
body.ft-5 footer.site-footer{padding-top:0;border-top:0}
body.ft-5 footer.site-footer::before{display:none}
footer.site-footer .ft-x5{margin-bottom:56px;background:linear-gradient(180deg,var(--cream),var(--cream) 0)}
footer.site-footer .ft-sky{display:block;width:100%;height:120px;color:#d4af5a;background:var(--green-950)}
footer.site-footer .ft-sky g:first-child{opacity:.45}
@media(max-width:600px){footer.site-footer .ft-sky{height:80px}}
body.ft-4.ft-5 footer.site-footer .footer-top{gap:22px;padding-bottom:44px}
body.ft-4.ft-5 footer.site-footer .footer-brand{display:flex;flex-direction:column;align-items:center}
body.ft-4.ft-5 footer.site-footer .footer-brand .brand{font-size:2.6rem}
body.ft-4.ft-5 footer.site-footer .footer-top .footer-brand p{margin:10px 0 20px}
body.ft-4.ft-5 footer.site-footer .footer-col:not(.footer-logo){width:100%;max-width:600px}
body.ft-4.ft-5 footer.site-footer .footer-col:not(.footer-logo)+.footer-col:not(.footer-logo){border-top:1px solid rgba(212,175,90,.18);padding-top:20px}
body.ft-4.ft-5 footer.site-footer .footer-logo{margin-top:16px;padding:28px 32px}
body.ft-4.ft-5 footer.site-footer .footer-broker{align-items:center}
body.ft-4.ft-5 footer.site-footer .footer-broker li:last-child{max-width:480px}
body.ft-4.ft-5 footer.site-footer .footer-bottom{gap:10px;padding-top:26px}
body.ft-4.ft-5 footer.site-footer .footer-bottom>span{display:block}
footer.site-footer{position:relative;background:radial-gradient(90% 70% at 15% 0%,#14382c,var(--green-950) 60%);padding:84px 0 34px;border-top:1px solid rgba(212,175,90,.55);overflow:hidden}
footer.site-footer::before{content:"";position:absolute;left:0;right:0;top:6px;height:1px;background:rgba(212,175,90,.25)}
 footer.site-footer .footer-top{grid-template-columns:1.3fr .8fr .9fr 1fr 1.5fr;gap:40px;padding-bottom:52px;border-bottom:1px solid rgba(212,175,90,.3)}
 footer.site-footer .footer-brand .brand{font-size:2.3rem} footer.site-footer .footer-brand .brand-key{color:#d4af5a}
 footer.site-footer .footer-top .footer-brand p{margin:14px 0 22px}
footer.site-footer .ft-btn{display:inline-block;background:linear-gradient(180deg,#e6c878,#c99f45);color:#0d2b21!important;font-weight:600;font-size:.92rem;padding:12px 24px;border-radius:999px;transition:transform .25s}footer.site-footer .ft-btn:hover{transform:translateY(-2px)}
 footer.site-footer .footer-col h2{color:#d4af5a;font-size:.75rem;letter-spacing:.24em}
 footer.site-footer .footer-col a{color:rgba(244,250,247,.78)} footer.site-footer .footer-col a:hover{color:#d4af5a}
 footer.site-footer .footer-logo{border:1px solid rgba(212,175,90,.45);border-radius:12px;padding:24px 24px 22px;background:rgba(255,255,255,.025);align-self:start}
 footer.site-footer .footer-logo img{height:30px}
 footer.site-footer .footer-broker{color:rgba(244,250,247,.82)}
 footer.site-footer .footer-broker li:last-child{margin-top:10px;padding-top:12px;border-top:1px solid rgba(212,175,90,.25);line-height:1.55}
 footer.site-footer .footer-broker strong{color:#fff}
 footer.site-footer .footer-bottom{border-top:0;padding-top:28px;color:rgba(244,250,247,.7)}
 footer.site-footer .footer-bottom a{color:rgba(244,250,247,.8);text-decoration-color:rgba(212,175,90,.6)} footer.site-footer .footer-bottom a:hover{color:#d4af5a}
 footer.site-footer .footer-bottom a.eho svg{color:#d4af5a}
@media(max-width:1100px){.footer-top{grid-template-columns:1fr 1fr} footer.site-footer .footer-brand,footer.site-footer .footer-logo{grid-column:1/-1} footer.site-footer .footer-logo{max-width:560px}}
@media(max-width:600px){.footer-top{grid-template-columns:1fr}}
.hxE .pnl .pb{position:absolute;inset:0;display:none;pointer-events:none}
.hxE .pnl .pb svg{width:100%;height:100%;display:block}
body.pbg-map .hxE .pb-map{display:block}
body:is(.pbg-sky,.pbg-sun,.pbg-lines,.pbg-map) .hxE .pnl .ros{display:none}
.hxE .pb-sky{top:auto!important;height:80%}.hxE .pb-sky *{vector-effect:non-scaling-stroke}
.hxE .pb-lines{background:repeating-linear-gradient(0deg,rgba(212,175,90,.13) 0 1px,transparent 1px 5px),radial-gradient(70% 50% at 50% 30%,rgba(212,175,90,.18),transparent 70%)}
.hx{background:var(--cream)}
.hx .pick a,.hx .pick .ic{transition:background .2s}
.hx .pick .ic{background:transparent;box-shadow:inset 0 0 0 1px #d4af5a;border-radius:50%;color:#86671f}
/* E green panel + ribbon */
.hxE{padding-bottom:0}
.hxE .in{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:end;min-height:620px}
.hxE .txt{padding:40px 0 64px}.hxE h1{font-size:clamp(2.4rem,4.6vw,3.9rem)}
.hxE .pnl{position:relative;justify-self:end;width:min(440px,100%);aspect-ratio:2/3;margin-top:20px;border-radius:28px 28px 0 0;background:radial-gradient(120% 90% at 50% 0%,#1d4a3a,var(--green-900) 60%,var(--green-950));overflow:hidden;display:flex;align-items:flex-end;justify-content:center;box-shadow:inset 0 0 0 1px rgba(212,175,90,.45)}
.hxE .pnl .sk{position:absolute;left:0;right:0;bottom:0;width:100%;height:auto;color:#d4af5a}
.hxE .pnl .sk g[fill]{fill:var(--green-900)}
.hxE .pnl img{position:relative;width:100%;display:block}
.hxE .tag{position:absolute;left:22px;bottom:22px;background:rgba(250,248,243,.96);border-radius:12px;padding:10px 16px;font-size:.78rem;color:#55635b;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}.hxE .tag b{display:block;font:600 .95rem var(--font-head);color:var(--green-900)}
.hxE .rib{background:var(--green-950);border-top:1px solid #d4af5a;overflow:hidden;padding:15px 0}
.hxE .trk{display:flex;width:max-content;animation:rib 40s linear infinite}
.hxE .trk span{font:600 .9rem var(--font-head);letter-spacing:.14em;text-transform:uppercase;color:#f4faf7;padding:0 22px}.hxE .trk i{color:#d4af5a;font-style:normal;font-size:.6rem;align-self:center}
.hxE .pnl::before,.hxE .pnl::after{content:"";position:absolute;z-index:2;pointer-events:none;border:1px solid rgba(212,175,90,.6);border-bottom:0}
.hxE .pnl::before{inset:12px 12px 0 12px;border-radius:18px 18px 0 0}
.hxE .pnl::after{inset:17px 17px 0 17px;border-radius:14px 14px 0 0;border-color:rgba(212,175,90,.3)}
.hxE .pnl .ros{position:absolute;width:125%;left:50%;top:6%;transform:translateX(-50%);color:#d4af5a;opacity:.28}
.hxE .pnl .ros svg{display:block;width:100%}
.hxE .tag{z-index:3;left:28px;bottom:28px;background:#f7f4e6;border-radius:4px;padding:12px 18px 11px;box-shadow:inset 0 0 0 1px #d4af5a,inset 0 0 0 4px #f7f4e6,inset 0 0 0 5px rgba(47,93,74,.4),0 12px 26px -12px rgba(0,0,0,.6)}
.hxE .tag .lic{display:block;margin-top:5px;font:600 .62rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#86671f}
@keyframes rib{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.hxE .trk{animation:none}}

@media(max-width:900px){.hxE .in{grid-template-columns:1fr;gap:20px;min-height:0}.hxE .txt{padding:10px 0 0}.hxE .pnl{justify-self:center;width:min(340px,100%)}}
.rx{position:relative;overflow:hidden;padding:100px 0}
.rx .arrow{display:inline-block;transition:transform .3s}
/* guides: white editorial list */
.gx{background:#fff;border-top:1px solid rgba(212,175,90,.35)}
.gx .cols{display:grid;grid-template-columns:.85fr 1.15fr;gap:72px;align-items:start}
.gx .eyebrow{color:#86671f}.gx .lft p{color:var(--text-muted)}
.gx .lft{position:sticky;top:120px}
.gx .all{display:inline-flex;gap:6px;margin-top:10px;font-weight:600;color:var(--green-700);border-bottom:1px solid #d4af5a;padding-bottom:3px}.gx .all:hover .arrow{transform:translateX(5px)}
.gx .it{display:grid;grid-template-columns:56px 1fr 40px;gap:20px;align-items:start;padding:28px 0;border-top:1px solid rgba(165,129,47,.35);color:inherit}
.gx .it:last-child{border-bottom:1px solid rgba(165,129,47,.35)}
.gx .no{font:600 1.6rem/1 var(--font-head);background:linear-gradient(180deg,#e6c878,#a5812f);-webkit-background-clip:text;background-clip:text;color:transparent;padding-top:4px}
.gx .tg{display:block;font:600 .7rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#86671f;margin-bottom:6px}
.gx h3{font-size:1.3rem;margin-bottom:6px;transition:color .25s}.gx .it p{color:var(--text-muted);margin:0}
.gx .go{align-self:center;justify-self:end;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#86671f;box-shadow:inset 0 0 0 1px #d4af5a;transition:background .25s,color .25s}
.gx .it:hover h3{color:var(--green-600)}.gx .it:hover .go{background:#d4af5a;color:#0d2b21}.gx .it:hover .arrow{transform:translateX(2px)}
/* promise: dark with foil numerals */
.px{background:radial-gradient(110% 90% at 50% 0%,#1d4a3a,var(--green-900) 60%,var(--green-950));color:var(--green-50)}
.px .hd{text-align:center;max-width:700px;margin:0 auto 56px}.px .eyebrow{color:#d4af5a}.px h2{color:#fff}
.px .g{display:grid;grid-template-columns:repeat(3,1fr)}
.px .pm{padding:8px 40px;text-align:center}
.px .pm+.pm{border-left:1px solid rgba(212,175,90,.35)}
.px .n{display:block;font:600 4.2rem/1 var(--font-head);background:linear-gradient(180deg,#f6e2a6,#d4af5a 50%,#a5812f);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:18px}
.px h3{color:#fff;font-size:1.25rem;margin-bottom:10px}.px p{color:var(--sage-light);margin:0}
/* cta: cream certificate */
.cx{background:var(--cream)}
.cx .cert{position:relative;max-width:820px;margin:0 auto;text-align:center;background:#f7f4e6;padding:64px 48px 52px;border-radius:6px;box-shadow:0 30px 70px -40px rgba(13,43,33,.45);outline:1px solid #d4af5a;outline-offset:-12px;overflow:hidden}
.cx .cert::before{content:"";position:absolute;inset:18px;border:1px solid rgba(165,129,47,.5);pointer-events:none}
.cx .ro{position:absolute;width:260px;height:260px;color:#2f5d4a;opacity:.13;top:50%;transform:translateY(-50%)}.cx .ro.l{left:-130px}.cx .ro.r{right:-130px}
.cx .eyebrow{color:#86671f}.cx h2{margin-bottom:12px}.cx p{color:var(--text-muted);max-width:520px;margin:0 auto 28px}
.cx .btn-gold{position:relative;display:inline-block;background:linear-gradient(180deg,#e6c878,#c99f45);color:#0d2b21;font-weight:600;padding:15px 32px;border-radius:999px;box-shadow:0 14px 30px -14px rgba(165,129,47,.8);transition:transform .25s}
.cx .btn-gold:hover{transform:translateY(-2px)}
.cx .sig{display:block;font:2.6rem/1 var(--font-sign);color:var(--green-800);margin-top:34px}
.cx .lic{display:block;margin-top:8px;font:600 .68rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#86671f}
@media(max-width:900px){.rx{padding:72px 0}.gx .cols{grid-template-columns:1fr;gap:28px}.gx .lft{position:static}.gx .it{grid-template-columns:42px 1fr;}.gx .go{display:none}.px .g{grid-template-columns:1fr;gap:36px}.px .pm{padding:0 8px}.px .pm+.pm{border-left:0;border-top:1px solid rgba(212,175,90,.35);padding-top:36px}.cx .cert{padding:52px 26px 44px}.cx .ro{width:180px;height:180px}.cx .ro.l{left:-110px}.cx .ro.r{right:-110px}}
.stx{padding:96px 0;background:var(--cream)}
.stx .hd{text-align:center;max-width:720px;margin:0 auto 48px}.stx .eyebrow{color:#86671f}
.stx .tg{display:inline-block;font:600 .7rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#86671f;margin-bottom:8px}
.stx .arrow{display:inline-block;transition:transform .3s}.stx a:hover .arrow{transform:translateX(5px)}
.stx .lk{font-weight:600;font-size:.95rem;color:var(--green-700)}
.stx .nt{text-align:center;margin-top:36px;color:var(--text-muted)}.stx .nt a{color:var(--green-700);text-decoration:underline;text-decoration-color:#d4af5a;text-underline-offset:4px}
/* A featured guide */
.stA .g{display:grid;grid-template-columns:1.15fr 1fr;gap:28px}
.stA .ft{display:grid;grid-template-columns:200px 1fr;gap:36px;align-items:center;background:var(--green-900);color:#fff;border-radius:18px;padding:44px;box-shadow:0 30px 60px -36px rgba(13,43,33,.6);position:relative;overflow:hidden}
.stA .ft::after{content:"";position:absolute;inset:10px;border:1px solid rgba(212,175,90,.35);border-radius:12px;pointer-events:none}
.stA .bk{perspective:900px}
.stA .bk img{display:block;width:100%;border-radius:4px 10px 10px 4px;transform:rotateY(-14deg) rotateZ(-1deg);box-shadow:-2px 0 0 #d4af5a,18px 24px 40px -14px rgba(0,0,0,.6);transition:transform .5s}
.stA .ft:hover .bk img{transform:rotateY(-4deg) rotateZ(0) translateY(-4px)}
.stA .ft h3{color:#fff;font-size:1.6rem;margin-bottom:10px}.stA .ft p{color:var(--sage-light);margin-bottom:22px}.stA .ft .tg{color:#d4af5a}
.stA .cta{display:inline-flex;gap:6px;background:linear-gradient(180deg,#e6c878,#c99f45);color:#0d2b21;font-weight:600;padding:12px 22px;border-radius:999px}
.stA .side{display:grid;gap:28px}
.stA .sm{display:flex;gap:20px;align-items:flex-start;background:#fff;border-radius:16px;padding:28px;color:inherit;border:1px solid #ece5d2;transition:transform .3s,box-shadow .3s}
.stA .sm:hover{transform:translateY(-4px);box-shadow:0 22px 40px -26px rgba(13,43,33,.4)}
.stA .ic{flex:none;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#86671f;box-shadow:inset 0 0 0 1px #d4af5a}.stA .ic svg{width:24px;height:24px}
.stA .sm h3{font-size:1.15rem;margin-bottom:6px}.stA .sm p{color:var(--text-muted);font-size:.93rem;margin-bottom:10px}
@media(max-width:900px){.stx{padding:72px 0}.stA .g{grid-template-columns:1fr}.stA .ft{grid-template-columns:120px 1fr;gap:22px;padding:30px}}
@media(max-width:480px){.stA .ft{grid-template-columns:1fr;text-align:center}.stA .bk{width:150px;margin:0 auto}.stA .sm{padding:22px}}
.sx{position:relative;padding:96px 0;overflow:hidden}
.sx .eyebrow{color:#d4af5a}
.sx .nt{display:block;font-size:.8rem;margin-top:10px;opacity:.75}
/* A concierge bar, dark */
.sxA{background:radial-gradient(120% 90% at 50% 0%,#1d4a3a,var(--green-900) 60%,var(--green-950));color:var(--green-50);text-align:center}
.sxA .hd{max-width:760px;margin:0 auto 34px}.sxA h2{color:#fff}.sxA .hd p{color:var(--sage-light)}
.sxA .bar{display:flex;align-items:center;gap:14px;max-width:760px;margin:0 auto;background:#fbf8ee;border-radius:999px;padding:10px 10px 10px 24px;box-shadow:0 0 0 1px #d4af5a,0 0 0 6px rgba(212,175,90,.16),0 30px 60px -30px rgba(0,0,0,.6);color:var(--green-900);text-align:left;transition:box-shadow .3s}
.sxA .bar:hover{box-shadow:0 0 0 1px #d4af5a,0 0 0 8px rgba(212,175,90,.28),0 30px 60px -30px rgba(0,0,0,.6)}
.sxA .mg{width:22px;height:22px;color:#86671f;flex:none}
.sxA .ty{font-size:1.08rem;white-space:nowrap;overflow:hidden;text-overflow:clip;min-width:0}
.sxA .cur{width:2px;height:22px;background:#a5812f;animation:blink 1s steps(1) infinite;flex:none;margin-left:-10px}
@keyframes blink{50%{opacity:0}}
.sxA .go{margin-left:auto;flex:none;background:linear-gradient(180deg,#e6c878,#c99f45);color:#0d2b21;font-weight:600;padding:13px 26px;border-radius:999px}
.sxA .nt{color:var(--sage-light)}
.sxA .rows{margin:44px auto 0;max-width:900px;display:grid;gap:20px;justify-items:center}.sxA .tabs{display:inline-flex;padding:4px;border-radius:999px;border:1px solid rgba(212,175,90,.45);gap:4px}.sxA .tabs button{font:600 .78rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#d4af5a;background:none;border:0;padding:9px 18px;border-radius:999px;cursor:pointer}.sxA .tabs button[aria-selected="true"]{background:#d4af5a;color:#0d2b21}.sxA .row[hidden]{display:none}
.sxA .row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}

.sxA .sc{padding:9px 16px;border-radius:999px;border:1px solid rgba(212,175,90,.5);color:#f4faf7;font-size:.9rem;transition:background .25s,color .25s,border-color .25s}
.sxA .sc:hover{background:#d4af5a;color:#0d2b21;border-color:#d4af5a}
@media(max-width:860px){.sx{padding:72px 0}.sxA .bar{padding-left:16px;gap:10px}.sxA .ty{font-size:.92rem}.sxA .go{padding:11px 16px}}
@media(max-width:480px){.sxA .go{display:none}.sxA .bar{padding:16px 20px}}
.hp{position:relative;padding:96px 0;overflow:hidden}
.hp .hh{text-align:center;max-width:720px;margin:0 auto 34px}.hp .hh .eyebrow{font-size:.9rem;letter-spacing:.28em}.hp .sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp .hh .eyebrow{color:#86671f}
.hp .lk{display:inline-flex;gap:6px;align-items:center;font-weight:600;font-size:.95rem}
.hp .arrow{transition:transform .3s}.hp .c:hover .arrow{transform:translateX(5px)}
.hp ul{list-style:none;margin:0 0 22px;padding:0}
.hp li{position:relative;padding:7px 0 7px 22px;border-top:1px solid rgba(13,43,33,.1);font-size:.95rem;color:var(--text)}
.hp li::before{content:"";position:absolute;left:2px;top:15px;width:7px;height:7px;border-radius:50%;background:#d4af5a}
/* C certificate */
.hpC{background:linear-gradient(180deg,var(--cream),#f1eedf)}
.hpC .g{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.hpC .c{position:relative;display:block;text-align:center;color:inherit;background:#f7f4e6;padding:44px 40px 40px;border-radius:6px;box-shadow:0 26px 60px -34px rgba(13,43,33,.4);outline:1px solid #d4af5a;outline-offset:-10px;transition:transform .35s,box-shadow .35s;overflow:hidden}
.hpC .c::before{content:"";position:absolute;inset:16px;border:1px solid rgba(165,129,47,.55);pointer-events:none}
.hpC .c:hover{transform:translateY(-6px);box-shadow:0 36px 70px -30px rgba(13,43,33,.5)}
.hpC .rose{position:absolute;width:120px;height:120px;color:#2f5d4a;opacity:.22}.hpC .rose.tl{left:-34px;top:-34px}.hpC .rose.br{right:-34px;bottom:-34px}
.hpC .no{position:absolute;right:30px;top:26px;font:600 .72rem var(--font-body);letter-spacing:.24em;color:#86671f}
.hpC .ov{width:62%;margin:0 auto 18px;aspect-ratio:4/3;border-radius:50%;overflow:hidden;border:3px double #d4af5a;box-shadow:0 0 0 6px #f7f4e6,0 0 0 7px rgba(47,93,74,.35)}
.hpC .ov img{width:100%;height:100%;object-fit:cover;filter:saturate(.85)}.hpC .c:first-child .ov img{object-position:center 8%}
.hpC .ic{display:inline-flex;width:46px;height:46px;color:#1f4b3a;margin:4px 0 6px}
.hpC h3{letter-spacing:.06em;margin-bottom:10px}.hpC .c>p{color:var(--text-muted);margin:0 auto 18px;max-width:420px}
.hpC ul{text-align:left;max-width:360px;margin:0 auto 22px}
.hpC .lk{color:#1f4b3a;border-bottom:1px solid #d4af5a;padding-bottom:3px}
@media(max-width:860px){.hp{padding:72px 0}.hpC .g{grid-template-columns:1fr}.hpC .c{padding:40px 24px 34px}}
/* ===== End of redesign head styles ===== */

/* ============================================
   Erik Bridges, Real Broker — Design System
   Theme: Forest Green + White
   ============================================ */
:root{
  --green-950: #0b241c;
  --green-900: #0d2b21;
  --green-800: #14382c;
  --green-700: #1f4d3d;
  --green-600: #2b654f;
  --green-500: #3c7d63;
  --sage: #7ba38c;
  --sage-light: #a9c9b8;
  --green-100: #e8f2ec;
  --green-50: #f4faf7;
  --white: #ffffff;
  --cream: #faf8f3;
  --text: #1b241f;
  --text-muted: #5b6b64;
  --border: #dfe9e3;

  --font-head: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, Segoe UI, sans-serif;
  /* Signature wordmark only (nav + footer "Erik Bridges"). Not for text. */
  --font-sign: "Allura", "Segoe Script", cursive;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(13, 43, 33, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(13, 43, 33, 0.2);
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
}

/* NOTE: CSS scroll-snap was removed here deliberately. Nearly every
   section on this site drives a scroll-scrubbed animation (the parallax
   background shapes, the per-step line/fade on the buyers page, the
   floating money symbols). Snapping repositions the scroll while those
   are mid-scrub, which read as the page yanking itself back up. The two
   features fundamentally conflict, so the animations win.
   scroll-margin-top is kept so in-page anchor links still clear the
   fixed header. */
.hero,.page-hero,.section,.site-footer{
  scroll-margin-top: 88px;
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--green-900);
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 600;
  /* Cinzel is an inscriptional-capitals-style serif — it's drawn with
     generous natural spacing, so tightening tracking (as we did for
     Fraunces) makes it look cramped. Open it up slightly instead. */
  letter-spacing: 0.015em;
}

h1{ font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3{ font-size: clamp(1.25rem, 2vw, 1.6rem); }

p{ margin: 0 0 1em; color: var(--text-muted); }

a{ color: inherit; text-decoration: none; }

.container{
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}

/* Per-letter flip-in. main.js splits the text into .flip-letter spans;
   the perspective here is what makes the rotateX read as a 3D flip
   rather than a flat vertical squash. Text stays visible if JS never
   runs — the letters are only hidden once the split has happened. */
[data-letter-flip]{
  perspective: 600px;
}
.flip-letter{
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.section{
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--tint{ background: var(--green-50); }
.section--dark{ background: var(--green-900); color: var(--green-50); }
.section--dark h2,.section--dark h3{ color: var(--white); }
.section--dark p{ color: var(--sage-light); }

.section-head{
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--green-900); transform: translateY(-2px); }

.btn-outline{
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-700);
}
.btn-outline:hover{ background: var(--green-700); color: var(--white); transform: translateY(-2px); }

.btn-light{
  background: var(--white);
  color: var(--green-800);
}
.btn-light:hover{ background: var(--green-100); transform: translateY(-2px); }

.btn-block{ width: 100%; justify-content: center; }

/* ---------- Announcement bar (build adds it; scripts/announce.mts) ---------- */
:root{ --announce-h: 40px; }
.announce{ position: fixed; top: 0; left: 0; right: 0; z-index: 99; height: var(--announce-h); background: var(--green-950); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.08); font: 500 0.86rem/1 var(--font-body); }
.announce .container{ position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding-right: 44px; }
.announce-dot{ flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d4af5a; }
.announce a{ color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.announce-cta{ margin-left: 8px; color: var(--sage-light); text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover .announce-cta,.announce a:focus-visible .announce-cta{ color: var(--white); }
.announce-short{ display: none; }
.announce-close{ position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 6px 8px; background: none; border: 0; color: var(--sage-light); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.announce-close:hover,.announce-close:focus-visible{ color: var(--white); }
body.has-announce{ padding-top: var(--announce-h); }
body.has-announce .site-header{ top: var(--announce-h); }
@media (max-width: 600px) {
  .announce{ font-size: 0.8rem; }
  .announce .container{ justify-content: flex-start; }
  .announce-long{ display: none; }
  .announce-short{ display: inline; }
}
@media print { .announce{ display: none; } body.has-announce{ padding-top: 0; } }

/* ---------- Nav ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand{
  font-family: var(--font-sign);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  /* Script ascenders sit high; nudge down so the name centres on the nav links. */
  padding-top: 0.08em;
  transition: color 0.3s ease;
}
/* Key-in-a-circle badge between the names, in the sage accent */
.brand-key{
  display: inline-block;
  width: 0.66em;
  height: 0.66em;
  /* Optically equal gaps: Allura's "k" tail overhangs its advance by ~0.14em,
     so the left margin compensates. */
  margin: 0 0.16em 0 0.315em;
  color: var(--sage-light);
  /* Sit low, with the ring's bottom just under the baseline. */
  vertical-align: -0.12em;
}

/* Header wordmark: full and slightly larger at the top of the page; once the
   header is scrolled (main.js adds .is-scrolled) it shrinks to normal size and
   abbreviates to "E·B", with the key badge dropping to a period on the baseline.
   "rik" / "ridges" collapse via max-width; --rest-w is each span's natural width
   in Allura (in em, so it holds at every font size), so the collapse runs at an
   even speed. It is written here because measuring it in main.js cost an extra
   layout before the first paint. */
.brand-rest{ display: inline-block; }
.brand-rest:first-of-type{ --rest-w: 0.93em; }
.brand-rest:last-of-type{ --rest-w: 1.99em; }
.site-header .brand{
  font-size: 2.8rem;
  transition: font-size 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.site-header .brand-rest{
  overflow: clip;
  overflow-clip-margin: 0.4em; /* keep script swashes and descenders unclipped */
  max-width: var(--rest-w, 6em);
  transition: max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.site-header .brand-key{
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1), vertical-align 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled .brand{ font-size: 2.3rem; }
.site-header.is-scrolled .brand-rest{ max-width: 0; opacity: 0; }
.site-header.is-scrolled .brand-key{
  width: 0.3em;
  height: 0.3em;
  margin: 0 0.1em 0 0.08em;
  vertical-align: 0;
}
/* Hovering (or keyboard-focusing) the "E·B" monogram reveals the full name again,
   at the scrolled size. Hover only where a real pointer exists, so a tap on a
   phone just follows the link instead of sticking open. */
@media (hover: hover) {
  .site-header.is-scrolled .brand:hover .brand-rest{ max-width: var(--rest-w, 6em); opacity: 1; }
  .site-header.is-scrolled .brand:hover .brand-key{
    width: 0.66em;
    height: 0.66em;
    margin: 0 0.16em 0 0.315em;
    vertical-align: -0.12em;
  }
}
.site-header.is-scrolled .brand:focus-visible .brand-rest{ max-width: var(--rest-w, 6em); opacity: 1; }
.site-header.is-scrolled .brand:focus-visible .brand-key{
  width: 0.66em;
  height: 0.66em;
  margin: 0 0.16em 0 0.315em;
  vertical-align: -0.12em;
}
@media (prefers-reduced-motion: reduce) {
  .site-header .brand,.site-header .brand-rest,.site-header .brand-key{ transition: none; }
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a{
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: 100px;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
}
.nav-links a:hover{ background: rgba(255,255,255,0.12); }
.nav-links a{ white-space: nowrap; }
/* Narrow desktops: keep six links plus the wordmark on one line. */
@media (min-width: 1001px) and (max-width: 1140px) {
  .nav-links{ gap: 2px; }
  .nav-links a{ padding: 10px 12px; font-size: 0.9rem; }
}
.nav-links a.active{ color: var(--white); font-weight: 600; }
.nav-links a.nav-cta,.nav-links a.nav-cta.active{
  background: var(--white);
  color: var(--green-800);
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .nav-cta:hover{ background: var(--sage-light); }

/* Desktop bar, in the same style as the phone menu: Cinzel labels, and on
   hover / keyboard focus the label brightens while a sage line draws in
   from the left beneath it. The current page keeps its line. Only colour
   and transform animate. */
@media (min-width: 1001px) {
  .nav-links{ gap: 0; }
  .nav-links a:not(.nav-cta){
    margin: 0 13px;
    padding: 10px 1px;
    font-family: var(--font-head);
    font-size: 0.84rem;
    letter-spacing: 0.07em;
    border-radius: 0;
    transition: color 0.3s ease;
  }
  .nav-links a:not(.nav-cta)::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 3px;
    height: 1px;
    background: var(--sage-light);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links a:not(.nav-cta):hover,.nav-links a:not(.nav-cta):focus-visible{
    background: none;
    color: var(--white);
    outline: none;
  }
  .nav-links a:not(.nav-cta):hover::after,.nav-links a:not(.nav-cta):focus-visible::after,.nav-links a.active:not(.nav-cta)::after{ transform: scaleX(1); }
  .nav-links a.active:not(.nav-cta){ color: var(--sage-light); font-weight: 500; }

  .nav-links .nav-cta{
    margin-left: 16px;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .nav-links .nav-cta:hover,.nav-links .nav-cta:focus-visible{ transform: translateY(-2px); }
}
/* Narrow desktops: keep six links plus the wordmark on one line. */
@media (min-width: 1001px) and (max-width: 1180px) {
  .nav-links a:not(.nav-cta){ margin: 0 8px; padding: 10px 1px; font-size: 0.76rem; letter-spacing: 0.05em; }
  .nav-links .nav-cta{ margin-left: 10px; padding: 10px 14px; font-size: 0.86rem; }
}
@media (min-width: 1001px) and (prefers-reduced-motion: reduce) {
  .nav-links a,.nav-links a::after,.nav-links .nav-cta{ transition: none; }
  .nav-links .nav-cta:hover,.nav-links .nav-cta:focus-visible{ transform: none; }
}

/* Phone/tablet menu button: three bars that fold into an X while the
   menu is open (aria-expanded is set by main.js). Sits above the panel so
   it is always there to close it. */
.nav-toggle{
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-toggle span{
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"]{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible{ outline: 2px solid var(--sage-light); outline-offset: 3px; }

/* Dimmed page behind the open menu (main.js adds the element); tap to close.
   A flat tint on purpose: a backdrop blur would be recomputed over the
   whole page on every frame of the fade, which stutters on phones. */
.nav-backdrop{
  position: fixed; inset: 0;
  z-index: 99; /* just under .site-header */
  background: rgba(6, 20, 15, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-backdrop.is-visible{ opacity: 1; pointer-events: auto; }

/* Scrolled state (JS adds .is-scrolled) + non-hero pages (.site-header.solid) */
.site-header.is-scrolled,.site-header.solid{
  background: rgba(13, 43, 33, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.4);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 55%, var(--green-600) 130%);
  color: var(--white);
  overflow: hidden;
  padding-top: 110px;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
.hero-blob--1{ width: 520px; height: 520px; top: -120px; right: -140px; }
.hero-blob--2{ width: 360px; height: 360px; bottom: -100px; left: -120px; }

.hero .container{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 22px;
}
.hero-eyebrow::before{
  content: "";
  width: 30px; height: 1px;
  background: var(--sage-light);
}
.hero h1{ color: var(--white); }
.hero-lede{
  font-size: 1.15rem;
  color: var(--sage-light);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stat .num{
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--white);
  display: block;
}
.hero-stat .label{
  font-size: 0.8rem;
  color: var(--sage-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-portrait{
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}
.hero-portrait .frame{
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.15);
}

@keyframes portraitBlobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
  33%      { border-radius: 62% 38% 30% 70% / 55% 65% 35% 45%; }
  66%      { border-radius: 35% 65% 55% 45% / 65% 35% 65% 35%; }
}
@keyframes portraitBlobFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-12px, 14px); }
}
@keyframes portraitRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-portrait img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* ---------- Page header (non-home pages) ---------- */
.page-hero{
  padding: 190px 0 90px;
  background: linear-gradient(160deg, var(--green-950), var(--green-700));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero .container{ position: relative; max-width: 760px; }
.page-hero h1{ color: var(--white); }
.page-hero p{ color: var(--sage-light); font-size: 1.1rem; max-width: 560px; }

/* ---------- Cards ---------- */
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: transparent; }
.card .icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card .icon svg{ width: 24px; height: 24px; }

/* ---------- Process timeline (buyers.html, sellers.html) ----------
   A thin rail with numbered stops. With JS, main.js adds .is-enhanced: the
   rail fills (scaleY of --progress) and each stop lights up as it scrolls
   into view. Without JS, or with reduced motion, it is simply a clean
   numbered list. Only transform, opacity and colour animate. */
.timeline{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}
.timeline::before,.timeline::after{
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
}
.timeline::before{ background: var(--border); }
.timeline::after{
  background: linear-gradient(var(--green-600), var(--sage));
  transform: scaleY(var(--progress, 0));
  transform-origin: top center;
  transition: transform 0.25s linear;
}
.timeline-step{
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding-bottom: 44px;
}
.timeline > .timeline-step:last-child{ padding-bottom: 0; }
.timeline-num{
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--green-600);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.45s ease, border-color 0.45s ease, color 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.timeline-num svg{ width: 24px; height: 24px; }
.timeline .is-reached .timeline-num{
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: 0 10px 22px -12px rgba(13, 43, 33, 0.55);
}

@media (max-width: 760px) {
  .timeline::before,.timeline::after{ left: 22px; top: 23px; bottom: 23px; }
  .timeline-step{ grid-template-columns: 46px 1fr; gap: 18px; padding-bottom: 34px; }
  .timeline-num{ width: 46px; height: 46px; font-size: 0.95rem; }
  .timeline-num svg{ width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline::after,.timeline-num{ transition: none; }
}

.steps{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}
.step:first-child{ padding-top: 0; }
.step:last-child{ border-bottom: none; }
.step h3{ margin-bottom: 8px; }
.step p{ margin: 0; max-width: 560px; }

/* ---------- Scroll-driven background shapes ----------
   Soft blurred circles placed before .container in the markup so they
   paint behind it (see .container's position:relative). main.js scrubs
   their transform to scroll progress through the parent section, so the
   background keeps shifting continuously as the page scrolls, rather
   than a one-time reveal. Transform/opacity only — no layout cost. */
.bg-drift{
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}
.bg-drift--green{ background: radial-gradient(circle, var(--green-500) 0%, transparent 72%); opacity: 0.32; }

@media (prefers-reduced-motion: reduce) {
  .bg-drift{ display: none; }
}
.guide-form{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-form small{ color: var(--sage-light); font-size: 0.76rem; }
.guide-form small a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-field .consent-check{ display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; font-weight: 400; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.form-field .consent-check input{ flex: none; width: 18px; height: 18px; padding: 0; margin: 2px 0 0; accent-color: var(--green-700); }
.promise{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.promise h3{ font-size: 1.15rem; margin-bottom: 10px; }
a.promise{ transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
a.promise:hover{ border-color: var(--sage); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.promise p{ margin: 0; }

/* ---------- About / split ---------- */
.split{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

/* Decorative money symbols drifting upward in the About section's
   top-right corner. Rather than squeezing into the narrow gutter beside
   the centered .container (which vanishes on smaller screens), this sits
   in the open band ABOVE the copy — the right column is vertically
   centered against the much taller portrait, so there is real empty space
   there. Its height is capped in JS to whatever that band actually
   measures, so it never reaches down into the text. */
.money-float{
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(340px, 42%);
  height: 200px;
  pointer-events: none;
  overflow: hidden;
}
.money-float span{
  position: absolute;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--sage);
  line-height: 1;
  opacity: 0;
  will-change: transform, opacity;
}
/* Once the layout stacks there is no clear band left, so drop them. */
@media (max-width: 980px) {
  .money-float{ display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .money-float{ display: none; }
}

/* ---------- Forms (Book Appointment) ---------- */
.form-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 48px);
}
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field{ display: flex; flex-direction: column; gap: 8px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-900);
}
.form-field label .req{ color: #b3543f; }
.form-field label .opt{ color: var(--text-muted); font-weight: 400; }
.form-field input,.form-field select,.form-field textarea{
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--green-50);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
}
.form-field textarea{ resize: vertical; min-height: 110px; }
.form-field .error-msg{
  display: none;
  font-size: 0.78rem;
  color: #b3543f;
}
.form-field.invalid input,.form-field.invalid select,.form-field.invalid textarea{
  border-color: #b3543f;
}
.form-field.invalid .error-msg{ display: block; }

.radio-group{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio-pill{
  position: relative;
}
.radio-pill input{ position: absolute; opacity: 0; }
.radio-pill span{
  display: inline-flex;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--green-50);
}
.radio-pill input:checked + span{
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

.appt-success{
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.appt-success .icon-circle{
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
/* Entrance is CSS rather than a GSAP tween — it was the only thing on
   book-appointment.html that needed the library. */
.appt-success.is-visible{
  display: block;
  animation: apptSuccessIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes apptSuccessIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .appt-success.is-visible{ animation: none; }
}
.form-card.is-hidden{ display: none; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--green-950);
  color: var(--sage-light);
  padding: 70px 0 30px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand{ color: var(--white); }
.footer-top p{ color: var(--sage-light); max-width: 280px; }
.footer-col h2{
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ color: var(--sage-light); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover{ color: var(--white); }
.footer-logo img{ height: 34px; width: auto; margin-bottom: 14px; }
/* Brokerage disclosure: Georgia advertising rules want the firm's name and phone shown. */
.footer-broker{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a{ color: var(--sage-light); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.footer-bottom a:hover{ color: var(--white); }
.eho{ display: inline-flex; align-items: center; gap: 8px; }
/* Equal Housing mark links to fair-housing.html: no leading margin, underline only on hover. */
.footer-bottom a.eho{ margin-left: 0; text-decoration: none; }
.footer-bottom a.eho:hover{ text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal{ max-width: 760px; }
.legal h2{ font-size: 1.35rem; margin: 44px 0 14px; }
.legal p,.legal li{ color: var(--text-muted); line-height: 1.75; }
.legal ul{ padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated{ font-size: 0.85rem; letter-spacing: 0.04em; }

/* ---------- Utility ---------- *//* Scroll reveals are plain CSS transitions toggled by an
   IntersectionObserver in main.js (see "Scroll reveals"). They used to be
   GSAP tweens with a ScrollTrigger each; moving them to the compositor
   cut a large chunk of main-thread work, and it means they no longer
   depend on GSAP being loaded at all. */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in{
  opacity: 1;
  transform: none;
}

[data-stagger] > *{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-stagger].is-in > *{
  opacity: 1;
  transform: none;
}
/* The stagger itself — delay each child a little more than the last. */
[data-stagger].is-in > *:nth-child(1){ transition-delay: 0s; }
[data-stagger].is-in > *:nth-child(2){ transition-delay: 0.12s; }
[data-stagger].is-in > *:nth-child(3){ transition-delay: 0.24s; }
[data-stagger].is-in > *:nth-child(4){ transition-delay: 0.36s; }
[data-stagger].is-in > *:nth-child(5){ transition-delay: 0.48s; }
[data-stagger].is-in > *:nth-child(6){ transition-delay: 0.6s; }
[data-stagger].is-in > *:nth-child(n+7){ transition-delay: 0.72s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,[data-stagger] > *{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.center-cta{ text-align: center; margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container{ grid-template-columns: 1fr; }
  .hero-portrait{ max-width: 300px; }
  .split{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}

/* The menu collapses to the drawer earlier than the rest of the layout: six links
   plus the signature wordmark no longer fit on one line below ~1000px. */
@media (max-width: 1000px) {
  /* Slide-in menu panel */
.nav-links{
    position: fixed;
    top: 0; right: 0;
    z-index: 1;
    height: 100vh;
    height: 100dvh;
    width: min(86vw, 360px);
    background: linear-gradient(165deg, var(--green-800) 0%, var(--green-950) 62%);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.55);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 108px 28px 32px;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden; /* keeps the links out of the tab order while closed */
    will-change: transform; /* its own layer, so the slide never repaints */
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.45s;
  }
  .nav-links.is-open{
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }
  .nav-links::before{
    content: "Menu";
    position: absolute;
    top: 40px; left: 28px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
  }
  .nav-links::after{
    content: "Erik Bridges \00B7\00A0 Real Broker, LLC";
    margin-top: auto;
    padding-top: 28px;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
  }

  /* Each link slides in a beat after the one above it */
.nav-links li{
    border-bottom: 1px solid rgba(255,255,255,0.09);
    opacity: 0;
    transform: translateX(64px);
    /* Closing: everything fades out together, quickly */
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  /* Opening: each link glides in from the right, one after another */
.nav-links.is-open li{
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.is-open li:nth-child(1){ transition-delay: 0.12s; }
  .nav-links.is-open li:nth-child(2){ transition-delay: 0.19s; }
  .nav-links.is-open li:nth-child(3){ transition-delay: 0.26s; }
  .nav-links.is-open li:nth-child(4){ transition-delay: 0.33s; }
  .nav-links.is-open li:nth-child(5){ transition-delay: 0.40s; }
  .nav-links.is-open li:nth-child(6){ transition-delay: 0.47s; }
  .nav-links.is-open li:nth-child(7){ transition-delay: 0.54s; }

  .nav-links a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 10px 18px 4px;
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.9);
    border-radius: 0;
    white-space: normal;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links a::after{
    content: "\2192";
    font-family: var(--font-body);
    color: var(--sage);
    opacity: 0.5;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, color 0.3s ease;
  }

  /* Hover / keyboard focus / tap (:active, since phones have no hover):
     the label eases right, its arrow follows a little further, and the
     divider under the row draws in sage from the left. Only transform,
     opacity and colour change, so nothing is re-laid-out or repainted
     beyond the row itself. */
.nav-links li{ position: relative; }
  .nav-links li:not(:last-child)::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: var(--sage-light);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }
  .nav-links li:not(:last-child):hover::after,.nav-links li:not(:last-child):focus-within::after,.nav-links li:not(:last-child):active::after{ transform: scaleX(1); }

  .nav-links a:not(.nav-cta):hover,.nav-links a:not(.nav-cta):focus-visible,.nav-links a:not(.nav-cta):active{
    background: none;
    color: var(--white);
    transform: translateX(6px);
    outline: none;
  }
  .nav-links a:not(.nav-cta):hover::after,.nav-links a:not(.nav-cta):focus-visible::after,.nav-links a:not(.nav-cta):active::after{ transform: translateX(4px); opacity: 1; color: var(--sage-light); }
  .nav-links a.active{ color: var(--sage-light); }
  .nav-links a.active::after{ content: "\25CF"; font-size: 0.5rem; opacity: 1; }

  /* The appointment button closes the list */
.nav-links li:last-child{ border-bottom: 0; margin-top: 28px; }
  .nav-links .nav-cta{
    justify-content: center;
    margin-left: 0;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    letter-spacing: 0;
    border-radius: 100px;
    box-shadow: 0 14px 30px -14px rgba(0,0,0,0.6);
  }
  .nav-links .nav-cta::after{ content: none; }
  .nav-links .nav-cta{ transition: background 0.25s ease, transform 0.25s ease; }
  .nav-links .nav-cta:hover,.nav-links .nav-cta:focus-visible,.nav-links .nav-cta:active{
    background: var(--sage-light);
    transform: translateY(-2px);
  }

  .nav-toggle{ display: flex; }
  /* No page scroll behind the open menu */
html.nav-open{ overflow: hidden; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .nav-links,.nav-links.is-open,.nav-links li,.nav-links.is-open li,.nav-links a,.nav-links a::after,.nav-links li::after,.nav-links .nav-cta,.nav-toggle span,.nav-backdrop{ transition: none; }
  .nav-links .nav-cta:hover,.nav-links a:not(.nav-cta):hover,.nav-links a:not(.nav-cta):focus-visible,.nav-links a:not(.nav-cta):active{ transform: none; }
}

@media (max-width: 760px) {
  .brand{ font-size: 2rem; }
  .site-header .brand{ font-size: 2.4rem; }
  .site-header.is-scrolled .brand{ font-size: 2rem; }
  .grid-3{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; }
  .step{ grid-template-columns: 56px 1fr; }
}

/* ============================================================
   Ported from ../first-time-buyer-guide-landing (compiled from its
   src/tailwind.css to plain CSS, class names unchanged): the lead
   form's error alert, the phone step cards, the post-guide
   qualifier, and the affordability calculator. Keep these in step
   with the landing page so both sites look and behave the same.
   ============================================================ *//* The landing page's stylesheet sits on Tailwind's reset; this site has no
   reset, so the ported components get the few defaults they rely on here.
   :where() keeps these at zero specificity, so every rule below (and .btn)
   still wins. */
:where(.calc, .calc-sticky, .qualifier, .step-progress, .step-nav, .faq-item),:where(.calc, .calc-sticky, .qualifier, .step-progress, .step-nav, .faq-item) *{
  border: 0 solid var(--border);
}
:where(.calc, .qualifier) :where(dl, dd, fieldset, legend){
  margin: 0;
  padding: 0;
}
:where(.calc, .qualifier) :where(button, input){
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}
:where(.calc, .qualifier) :where(button){
  background: transparent;
}
:where(.calc, .calc-sticky, .qualifier) svg{
  display: block;
}

/* Form-level alert (server rejected the submission, or the network
     request itself failed) — distinct from the per-field .error-msg
     pattern above, which is only for client-side field validation. */
.form-alert{
  margin-bottom: 1.25rem;
  border-radius: 8px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  background: #fbeae5;
  border: 1px solid #e2b6a8;
  color: #8a3c2b;
}

/* ---------- Post-guide qualifier ----------
     Sits as its own .form-card sibling right after #guideSuccess (see
     index.html), shown/hidden the same way (.is-visible, matching
     .appt-success) at the same moment the success panel appears. Its own
     three internal states (prompt / step-through / done) are plain
     [hidden] toggles driven by js/main.js — no animation library, same
     philosophy as the rest of the page. See README.md's "Qualifier
     delivery architecture" section for the js/main.js and Cloudflare
     Function pieces this markup is wired to. */
.qualifier{
  /* Bug found 2026-09-08: this card was missing the hidden-by-default
       half of the .is-visible pattern that #guideSuccess (.appt-success)
       already has, so it rendered open on every page load, before the
       guide form was ever submitted, instead of only appearing once
       js/main.js's qualifierOpen() adds .is-visible right after a
       successful submission. Fixed by mirroring .appt-success exactly:
       hidden here, shown (with the same entrance animation) only when
       .is-visible is present. */
  display: none;
  text-align: center;
}

.qualifier.is-visible{
  display: block;
}

.qualifier.is-visible{
  animation: apptSuccessIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .qualifier.is-visible{
    animation: none;
  }
}

.qualifier-prompt-title{
  margin-bottom: 0.5rem;
}

.qualifier-prompt-text{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  max-width: 440px;
  font-size: 0.92rem;
  --tw-text-opacity: 1;
  color: rgb(91 107 100 / var(--tw-text-opacity, 1));
}

.qualifier-prompt-actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qualifier-skip{
  cursor: pointer;
  border-width: 0px;
  background-color: transparent;
  font-size: 0.85rem;
  --tw-text-opacity: 1;
  color: rgb(91 107 100 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-decoration-color: #dfe9e3;
  text-underline-offset: 4px;
}

.qualifier-skip:hover{
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
}

/* Step-through state */
.qualifier-run{
  text-align: left;
}

.qualifier-progress{
  margin-bottom: 0.75rem;
  height: 0.25rem;
  overflow: hidden;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(223 233 227 / var(--tw-bg-opacity, 1));
}

/* Fill is full width and scaled with transform (compositor-friendly),
     clipped to a rounded track by .qualifier-progress's overflow. */
.qualifier-progress-fill{
  height: 100%;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(43 101 79 / var(--tw-bg-opacity, 1));
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.qualifier-step-label{
  margin-bottom: 1.5rem;
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  --tw-text-opacity: 1;
  color: rgb(91 107 100 / var(--tw-text-opacity, 1));
}

.qualifier-step-prompt{
  margin-bottom: 0.25rem;
  font-family: Cinzel, Georgia, Times New Roman, serif;
  font-size: 1.35rem;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(13 43 33 / var(--tw-text-opacity, 1));
}

.qualifier-step-sub{
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  --tw-text-opacity: 1;
  color: rgb(91 107 100 / var(--tw-text-opacity, 1));
}

.option-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-btn{
  cursor: pointer;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 233 227 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.9rem;
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.option-btn:hover{
  --tw-border-opacity: 1;
  border-color: rgb(60 125 99 / var(--tw-border-opacity, 1));
}

.option-btn[aria-pressed="true"]{
  --tw-border-opacity: 1;
  border-color: rgb(31 77 61 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(31 77 61 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.qualifier-note{
  margin-top: 1.25rem;
  border-radius: 8px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 233 227 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(244 250 247 / var(--tw-bg-opacity, 1));
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.qualifier-note p{
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
}

.qualifier-nav{
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qualifier-back{
  cursor: pointer;
  border-width: 0px;
  background-color: transparent;
  font-size: 0.85rem;
  --tw-text-opacity: 1;
  color: rgb(91 107 100 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-decoration-color: #dfe9e3;
  text-underline-offset: 4px;
}

.qualifier-back:hover{
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
}

.qualifier-next{
  margin-left: auto;
}

/* Done state — same visual language as .appt-success */
.qualifier-done{
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

.qualifier-done .icon-circle{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  display: flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(232 242 236 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(31 77 61 / var(--tw-text-opacity, 1));
}

.qualifier-done p{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  max-width: 380px;
  font-size: 0.95rem;
}

/* ---------- Affordability calculator (js/main.js "Affordability calculator") ---------- */
.calc{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0px;
  overflow: hidden;
  border-radius: 14px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 233 227 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 8px 24px -12px rgba(13, 43, 33, 0.2);
  --tw-shadow-colored: 0 8px 24px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  grid-template-columns: 1.15fr 1fr;
}

.calc-inputs{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(24px, 4vw, 44px);
}

.calc-field{
  margin: 0px;
  display: flex;
  min-width: 0px;
  flex-direction: column;
  gap: 0.5rem;
  border-width: 0px;
  padding: 0px;
}

.calc-field label,.calc-field legend{
  padding: 0px;
  font-size: 0.85rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(13 43 33 / var(--tw-text-opacity, 1));
}

.calc-field legend{
  margin-bottom: 0.5rem;
}

.calc-label-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.calc-row{
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

/* Text inputs with a "$" prefix or "%" suffix inside the same box */
.calc-money,.calc-pct{
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 8px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 233 227 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(244 250 247 / var(--tw-bg-opacity, 1));
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 14px;
  padding-right: 14px;
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
  transition: border-color 0.2s ease, background 0.2s ease;
}

.calc-money:focus-within,.calc-pct:focus-within{
  --tw-border-opacity: 1;
  border-color: rgb(43 101 79 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.calc-money span,.calc-pct span{
  font-size: 0.95rem;
  --tw-text-opacity: 1;
  color: rgb(91 107 100 / var(--tw-text-opacity, 1));
}

.calc-money input,.calc-pct input{
  width: 100%;
  min-width: 0px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  line-height: normal;
}

.calc-label-row .calc-money,.calc-label-row .calc-pct{
  width: 150px;
  flex-shrink: 0;
}

.calc-label-row .calc-pct{
  width: 100px;
}

.calc-field input[type="range"]{
  width: 100%;
  cursor: pointer;
  accent-color: var(--green-700);
}

.calc-hint{
  margin: 0px;
  min-height: 1.2em;
  font-size: 0.8rem;
}

/* Seller net sheet's closing month: a native select in the same box as
   .calc-money / .calc-pct */
.calc-select{
  width: 100%;
  border: 1px solid rgb(223 233 227);
  border-radius: 8px;
  background-color: rgb(244 250 247);
  padding: 13px 16px;
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
  color: rgb(27 36 31);
  cursor: pointer;
}
.calc-select:focus{
  border-color: rgb(43 101 79);
  background-color: rgb(255 255 255);
  outline: 2px solid transparent;
}

/* Loan type: radios styled as a segmented control; the real radio stays
     in the DOM (visually hidden) so keyboard and screen readers work. */
.calc-seg{
  display: grid;
  gap: 0.25rem;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(223 233 227 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(244 250 247 / var(--tw-bg-opacity, 1));
  padding: 0.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.calc-seg label{
  position: relative;
  cursor: pointer;
}

.calc-seg input{
  position: absolute;
  height: 1px;
  width: 1px;
  opacity: 0;
}

.calc-seg span{
  display: block;
  border-radius: 9999px;
  padding-top: 9px;
  padding-bottom: 9px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(31 77 61 / var(--tw-text-opacity, 1));
  transition: background 0.2s ease, color 0.2s ease;
}

.calc-seg input:checked + span{
  --tw-bg-opacity: 1;
  background-color: rgb(31 77 61 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.calc-seg input:focus-visible + span{
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

.calc-results{
  display: flex;
  flex-direction: column;
  --tw-bg-opacity: 1;
  background-color: rgb(13 43 33 / var(--tw-bg-opacity, 1));
  padding: clamp(24px, 4vw, 44px);
  --tw-text-opacity: 1;
  color: rgb(244 250 247 / var(--tw-text-opacity, 1));
}

.calc-intro{
  margin: 0px;
  margin-bottom: -0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(43 101 79 / var(--tw-text-opacity, 1));
}

.calc-results-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* "Updates live" marker; the dot pulses (opacity only) unless reduced motion */
.calc-live{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: rgb(255 255 255 / 0.1);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  --tw-text-opacity: 1;
  color: rgb(244 250 247 / var(--tw-text-opacity, 1));
}

.calc-live i{
  display: block;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: #7fd6a4;
  animation: calc-live-pulse 1.8s ease-in-out infinite;
}

@keyframes calc-live-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

/* The total flashes briefly each time it changes */
.calc-total.is-updated{
  animation: calc-total-flash 0.6s ease-out;
}

@keyframes calc-total-flash {
  0% {
    color: #7fd6a4;
  }

  100% {
    color: #ffffff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calc-live i,.calc-total.is-updated{
    animation: none;
  }
}

.calc-sticky{
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(13 43 33 / var(--tw-bg-opacity, 1));
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.9rem;
  --tw-text-opacity: 1;
  color: rgb(244 250 247 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px) * 0.5);
}

.calc-sticky[hidden]{
  display: none;
}

.calc-sticky > span:first-child{
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  white-space: nowrap;
}

.calc-sticky i{
  margin-right: 0.125rem;
  display: inline-block;
  height: 0.5rem;
  width: 0.5rem;
  align-self: center;
  border-radius: 9999px;
  background: #7fd6a4;
  animation: calc-live-pulse 1.8s ease-in-out infinite;
}

.calc-sticky strong{
  font-family: Cinzel, Georgia, Times New Roman, serif;
  font-size: 1.15rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-variant-numeric: tabular-nums;
}

.calc-sticky small{
  font-size: 0.75rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-sticky-link{
  white-space: nowrap;
  font-size: 0.8rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .calc-sticky i{
    animation: none;
  }
}

.calc-results-label{
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-total{
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  display: block;
  font-family: Cinzel, Georgia, Times New Roman, serif;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1.1;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-variant-numeric: tabular-nums;
}

.calc-total small{
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.4em;
  font-weight: 400;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-estimate-note{
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  line-height: 1.45;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-disclaimer strong{
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(13 43 33 / var(--tw-text-opacity, 1));
}

.calc-bar{
  margin-bottom: 1.25rem;
  display: flex;
  height: 0.75rem;
  overflow: hidden;
  border-radius: 9999px;
  background-color: rgb(255 255 255 / 0.1);
}

.calc-bar span{
  display: block;
  height: 100%;
}

.calc-bar-pi{
  background: var(--sage-light);
}

.calc-bar-mi{
  background: var(--sage);
}

.calc-bar-tax{
  background: var(--green-500);
}

.calc-bar-ins{
  background: var(--green-100);
}

.calc-bar-hoa{
  background: #c9b98f;
}

.calc-dot{
  margin-right: 0.625rem;
  display: inline-block;
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  vertical-align: 0.05em;
}

.calc-breakdown,.calc-extra{
  margin: 0px;
  display: flex;
  flex-direction: column;
}

.calc-breakdown div,.calc-extra div{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom-width: 1px;
  border-color: rgb(255 255 255 / 0.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.calc-breakdown dt,.calc-extra dt{
  font-size: 0.9rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-breakdown dd,.calc-extra dd{
  margin: 0px;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-variant-numeric: tabular-nums;
}

.calc-breakdown div.is-zero{
  opacity: 0.5;
}

.calc-extra{
  margin-bottom: 1.75rem;
}

/* Cash to close: a <details> whose summary matches the rows below it and
     opens into the itemized closing costs */
.calc-cc{
  margin-top: 1.25rem;
  border-bottom-width: 1px;
  border-color: rgb(255 255 255 / 0.1);
}

.calc-cc summary{
  display: flex;
  cursor: pointer;
  list-style-type: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.calc-cc summary::-webkit-details-marker{
  display: none;
}

.calc-cc summary:focus-visible{
  outline: 2px solid var(--sage-light);
  outline-offset: 2px;
}

.calc-cc-label{
  font-size: 0.9rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-cc-label small{
  display: block;
  font-size: 0.76rem;
  --tw-text-opacity: 1;
  color: rgb(123 163 140 / var(--tw-text-opacity, 1));
  opacity: 0.9;
}

.calc-cc-toggle{
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

.calc-cc[open] .calc-cc-toggle{
  text-decoration-line: none;
}

.calc-cc summary strong{
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-variant-numeric: tabular-nums;
}

.calc-cc-list{
  margin: 0px;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: rgb(255 255 255 / 0.05);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.calc-cc-list div{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 5px;
  padding-bottom: 5px;
}

.calc-cc-list div[hidden]{
  display: none;
}

.calc-cc-list dt{
  font-size: 0.82rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-cc-list dt small{
  display: block;
  font-size: 0.72rem;
  --tw-text-opacity: 1;
  color: rgb(123 163 140 / var(--tw-text-opacity, 1));
}

.calc-cc-list dd{
  margin: 0px;
  white-space: nowrap;
  font-size: 0.85rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-variant-numeric: tabular-nums;
}

.calc-cc-list .cc-sub{
  margin-top: 0.25rem;
  border-top-width: 1px;
  border-color: rgb(255 255 255 / 0.15);
  padding-top: 0.5rem;
}

.calc-cc-list .cc-sub dt,.calc-cc-list .cc-sub dd{
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.calc-cc-list .cc-credit dd{
  color: var(--sage-light);
}

.calc-cc-note{
  margin-top: 0px;
  margin-bottom: 0.75rem;
  font-size: 0.74rem;
  line-height: 1.5;
  --tw-text-opacity: 1;
  color: rgb(123 163 140 / var(--tw-text-opacity, 1));
}

.calc-extra dt small{
  display: block;
  font-size: 0.76rem;
  --tw-text-opacity: 1;
  color: rgb(123 163 140 / var(--tw-text-opacity, 1));
  opacity: 0.9;
}

/* Light button on the dark results panel (the standard green one
     disappears against green-900) */
.calc-results .btn-primary{
  --tw-bg-opacity: 1;
  background-color: rgb(244 250 247 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(13 43 33 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.calc-results .btn-primary:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

/* "Email me these numbers" (on the dark results panel) */
.calc-email{
  margin-bottom: 1rem;
}

.calc-email[hidden]{
  display: none;
}

.calc-email-toggle{
  display: inline-flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.3);
  background-color: transparent;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition: background 0.2s ease, border-color 0.2s ease;
}

.calc-email-toggle:hover{
  border-color: rgb(255 255 255 / 0.5);
  background-color: rgb(255 255 255 / 0.1);
}

.calc-email-toggle:focus-visible{
  outline: 2px solid var(--sage-light);
  outline-offset: 2px;
}

.calc-email-toggle[aria-expanded="true"]{
  display: none;
}

.calc-email-form{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 8px;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.1);
  background-color: rgb(255 255 255 / 0.05);
  padding: 1rem;
}

.calc-email-form[hidden]{
  display: none;
}

.calc-email-lede{
  margin: 0px;
  font-size: 0.85rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-email-row{
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-email-row label{
  font-size: 0.8rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(244 250 247 / var(--tw-text-opacity, 1));
}

.calc-email-row input{
  border-radius: 8px;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.2);
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-family: Jost, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
  --tw-text-opacity: 1;
  color: rgb(27 36 31 / var(--tw-text-opacity, 1));
  line-height: normal;
}

.calc-email-row input:focus{
  --tw-border-opacity: 1;
  border-color: rgb(169 201 184 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(169, 201, 184, 0.45);
}

.calc-email-consent{
  display: flex;
  cursor: pointer;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.78rem;
  line-height: 1.5;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-email-consent input{
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--sage);
}

.calc-email-consent a{
  --tw-text-opacity: 1;
  color: rgb(244 250 247 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

.calc-email-hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.calc-email-turnstile{
  min-height: 65px;
  min-width: 0px;
}

.calc-email-status{
  margin: 0px;
  min-height: 1.2em;
  font-size: 0.82rem;
  --tw-text-opacity: 1;
  color: rgb(169 201 184 / var(--tw-text-opacity, 1));
}

.calc-email-status.is-error{
  color: #f2b8a8;
}

.calc-email-form .btn-primary:disabled{
  opacity: 0.6;
}

.calc-email-done{
  margin: 0px;
  border-radius: 8px;
  background-color: rgb(255 255 255 / 0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.9rem;
  --tw-text-opacity: 1;
  color: rgb(244 250 247 / var(--tw-text-opacity, 1));
}

.calc-disclaimer{
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.25rem;
  margin-bottom: 0px;
  max-width: 880px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
}

.btn-ghost{
  background: transparent;
  color: var(--green-700);
  border-color: var(--border);
}

.btn-ghost:hover{
  background: var(--green-50);
}

.step-progress{
  margin-bottom: 22px;
}

.step-progress-label{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
}

.step-progress-label span:last-child{
  color: var(--text-muted);
  font-weight: 600;
}

.step-progress-bar{
  height: 6px;
  border-radius: 999px;
  background: var(--green-100);
  overflow: hidden;
}

.step-progress-bar span{
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0.3333);
  transform-origin: left center;
  background: var(--green-700);
  transition: transform 0.35s ease;
}

.step-nav{
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.step-nav .btn{
  flex: 1;
  justify-content: center;
}

.step-nav[hidden],.step-nav .btn[hidden]{
  display: none;
}

/* Step 1 has only Continue; last step has only Back (under the submit button) */
.form-card.is-stepped:not(.is-last-step) .form-submit{
  display: none;
}

.form-card.is-stepped .form-grid > [data-step]:not(.is-active-step){
  display: none;
}

/* Keep Turnstile mounted (and solving in the background) while off-step. */
.form-card.is-stepped .form-grid > .turnstile-field:not(.is-active-step){
  display: flex;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Card-style slide: Continue brings the next card in from the right, Back from the left. */
.form-card.is-stepped .form-grid.step-dir-next{
  animation: stepInNext 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-card.is-stepped .form-grid.step-dir-back{
  animation: stepInBack 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .form-card.is-stepped .form-grid.step-dir-next,.form-card.is-stepped .form-grid.step-dir-back{
    animation: none;
  }

  .step-progress-bar span{
    transition: none;
  }
}

@keyframes stepInNext {
  from {
    opacity: 0;
    transform: translateX(44px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stepInBack {
  from {
    opacity: 0;
    transform: translateX(-44px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Honeypot fields: off-screen for real visitors, still in the form for bots. */
.hp-field{
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Calculator breakpoints (same as the landing page) */
@media (max-width: 980px) {
  .calc{ grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .calc-row{ grid-template-columns: 1fr; }
  .calc-label-row .calc-money{ width: 130px; }
  /* The long CTA label must wrap on phones instead of overflowing */
.calc-results .btn{ white-space: normal; text-align: center; }
}
@media (max-width: 380px) {
  /* Pinned calculator bar: just the arrow on the narrowest phones */
.calc-sticky-more{ display: none; }
}

.check-list{
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.check-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}
.check-list li svg{
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--green-600);
}

.faq-list{
  max-width: 780px;
  margin: 0 auto;
}
.faq-group-title{
  max-width: 780px;
  margin: 44px auto 6px;
  font-size: 1.3rem;
}
.faq-group-title:first-of-type{ margin-top: 0; }
.faq-item{ border-bottom: 1px solid var(--border); }
.faq-item summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--green-900);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .plus{
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-600);
  transition: transform 0.2s ease;
}
.faq-item[open] summary .plus{ transform: rotate(45deg); }
.faq-item p{
  max-width: 660px;
  margin-bottom: 24px;
  padding: 0 2px;
}
@media (max-width: 760px) {
  .form-card{ padding: 24px 20px; }
}

/* Space between the success card and the qualifier card that follows it
   on the guide page (the landing page has the same gap). */
.appt-success.is-visible{ margin-bottom: 24px; }

/* ============================================================
   For Buyers page (buyers.html)
   ============================================================ *//* Tighter vertical rhythm than the default .section */
.section--snug{ padding: clamp(56px, 7vw, 92px) 0; }
.section--snug .section-head{ margin-bottom: 36px; }
.prep-card{
  margin-top: 20px;
  padding: 32px 30px;
  border-radius: 22px;
  background: linear-gradient(165deg, var(--green-800), var(--green-950));
  color: var(--green-50);
  box-shadow: var(--shadow);
}
.prep-card .eyebrow{ color: var(--sage-light); }
.prep-card h3{ color: var(--white); font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; }
.prep-lede{ font-size: 0.92rem; color: var(--sage-light); margin: 0 0 18px; }
.prep-list{ list-style: none; margin: 0 0 16px; padding: 0; }
.prep-list li{
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prep-list li:first-child{ border-top: 1px solid rgba(255,255,255,0.1); }
.prep-list svg{
  flex: none;
  width: 22px; height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(169,201,184,0.16);
  color: var(--sage-light);
}
.prep-list span{ display: flex; flex-direction: column; font-size: 0.82rem; line-height: 1.45; color: var(--sage-light); }
.prep-list b{ font-size: 0.96rem; font-weight: 600; color: var(--white); }
.prep-note{ font-size: 0.78rem; line-height: 1.5; color: var(--sage); margin: 0 0 20px; }

/* Cards on a dark section */
.section--dark .card{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}
.section--dark .card:hover{ border-color: rgba(169,201,184,0.45); }
.section--dark .card .icon{ background: rgba(169,201,184,0.14); color: var(--sage-light); }
.section--dark .eyebrow{ color: var(--sage-light); }

@media (max-width: 980px) {
  .prep-card{ margin-top: 0; }
}

.appt-section{ padding-top: 0; overflow: visible; }
.appt-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: -84px;
}
.appt-main{ min-width: 0; }
.appt-main .form-card{ box-shadow: var(--shadow); }
.appt-aside{ margin-top: 0; }
/* Pin the card beside the taller form only when the whole card fits on
   screen below the header; on shorter screens a pinned card had its bottom
   cut off, so there it just scrolls with the page. */
@media (min-width: 981px) and (min-height: 780px) {
  .appt-aside{ position: sticky; top: 104px; }
}
.appt-aside h3{ margin-bottom: 18px; }

.appt-agent{
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.appt-agent picture{ flex: none; }
.appt-agent img{
  display: block;
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(169,201,184,0.55);
}
.appt-agent strong{ display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--white); }
.appt-agent span{ display: block; font-size: 0.78rem; line-height: 1.45; color: var(--sage-light); }

/* Numbered variant of the checklist rows */
.prep-list--steps i{
  flex: none;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(169,201,184,0.16);
  color: var(--sage-light);
  font-family: var(--font-head);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
}
.prep-note a{ color: var(--sage-light); text-decoration: underline; text-underline-offset: 3px; }
.prep-note a:hover{ color: var(--white); }

@media (max-width: 980px) {
  .appt-grid{ grid-template-columns: 1fr; margin-top: -64px; }
}

/* position: sticky needs its section not to be a scroll container.
   .section uses overflow: hidden (which makes one); clip trims the same
   way without that side effect, so the checklist cards can stay in view. */
.section--snug{ overflow: clip; }

/* ============================================================
   Home page (index.html)
   ============================================================ *//* Buttons on dark sections: the green primary button nearly vanished
   against the green background, so it flips to white there. */
.section--dark .btn-primary{ background: var(--white); color: var(--green-900); }
.section--dark .btn-primary:hover{ background: var(--green-100); }

/* ---------- "Book an Appointment" in the header ----------
   Flat and crisp: a solid white pill with a hairline border, no gradient,
   ring or shadow. Hover / keyboard focus inverts it (clear with white text
   and border). Colour only, so there is nothing to repaint beyond the
   button. */
@media (min-width: 1001px) {
  .nav-links a.nav-cta{
    padding: 10px 22px;
    background: var(--white);
    border: 1px solid var(--white);
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .nav-links a.nav-cta:hover,.nav-links a.nav-cta:focus-visible{
    background: transparent;
    color: var(--white);
    transform: none;
    outline: none;
  }
  /* On the appointment page itself the button rests in its inverted state */
.nav-links a.nav-cta.active{ background: transparent; color: var(--white); }
  /* ...and hovering it there fills it back in, so it still responds */
.nav-links a.nav-cta.active:hover,.nav-links a.nav-cta.active:focus-visible{ background: var(--white); color: var(--green-900); }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .nav-links .nav-cta{ padding: 9px 15px; font-size: 0.84rem; }
}
@media (min-width: 1001px) and (prefers-reduced-motion: reduce) {
  .nav-links .nav-cta{ transition: none; }
}

/* ============================================================
   Style review, 2026-10-06: bring the ported form, qualifier and
   calculator pieces in line with this site's own controls.
   ============================================================ *//* Qualifier answer pills = this site's .radio-pill (same fill, weight,
   size and padding), so every "pick one" control looks alike. */
.option-btn{
  padding: 11px 20px;
  background-color: var(--green-50);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.option-btn[aria-pressed="true"]{ background-color: var(--green-700); border-color: var(--green-700); color: var(--white); }
/* Qualifier question: same weight as every other Cinzel heading, with
   room before the answers. */
.qualifier-step-prompt{ font-weight: 600; letter-spacing: 0.015em; margin-bottom: 6px; }
.qualifier-step-prompt + .option-grid{ margin-top: 16px; }

/* Keyboard focus ring for the new controls, matching the calculator's */
.option-btn:focus-visible,.qualifier-skip:focus-visible,.qualifier-back:focus-visible,.step-nav .btn:focus-visible,.form-submit .btn:focus-visible{
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}

/* Success cards: a card-sized heading instead of the full section h2 */
.appt-success h2{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }

/* Calculator fields: same inner spacing and height as .form-field inputs */
.calc-money,.calc-pct{ padding: 13px 16px; }
.calc-email-row input{ padding: 13px 16px; }
@keyframes hbFloat {
  0%, 100% { transform: translate(16px, -20px) rotate(7deg); }
  50% { transform: translate(11px, -12px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .option-btn{ transition: none; }
}

/* ---------- Book an Appointment: calendar booking ----------
   "Pick A Time" (the Cal.com calendar) / "Have Me Reach Out" (the
   request form). The switch is the calculator's segmented control. */
.booking-tabs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.booking-tabs[hidden]{ display: none; }
.booking-tabs button{
  padding: 12px 14px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--green-700);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.booking-tabs button:hover{ background: var(--green-50); }
.booking-tabs button[aria-selected="true"]{ background: var(--green-700); color: var(--white); }
.booking-tabs button:focus-visible{ outline: 2px solid var(--green-600); outline-offset: 2px; }

.booking-cal{ box-shadow: var(--shadow); }
.booking-head h2{ font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.booking-head p{ margin-bottom: 20px; }
.booking-hours{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.booking-hours li{ padding: 14px 14px 14px 0; font-size: 0.86rem; line-height: 1.4; color: var(--text-muted); }
.booking-hours li + li{ padding-left: 14px; border-left: 1px solid var(--border); }
.booking-hours b{ display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-700); }
.booking-frame{
  min-height: 380px;
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}
/* Cal.com's embed sizes its own iframe to fit the calendar */
.booking-frame iframe{ display: block; width: 100%; border: 0; }
/* Shown over the frame until Cal.com's form is ready (js: showLoading) */
.booking-frame.is-loading{ position: relative; }
.booking-loading{
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 28px 22px; text-align: center;
  background: var(--green-50); color: var(--text-muted); font-size: 0.88rem;
}
.booking-loading strong{ font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--green-900); }
.booking-spinner{
  width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--green-700);
  animation: bookingSpin 0.9s linear infinite;
}
@keyframes bookingSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .booking-spinner{ animation-duration: 2.4s; } }
.booking-frame.is-failed{ min-height: 0; padding: 28px 22px; text-align: center; color: var(--text-muted); background: var(--green-50); }
.booking-zone{ margin: 12px 0 0; font-size: 0.8rem; text-align: center; color: var(--text-muted); }
.booking-facts{ list-style: none; margin: -8px 0 14px; padding: 0; }
.booking-facts li{ display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.booking-facts li:last-child{ border-bottom: 0; }
.booking-facts svg{ flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.booking-facts span{ display: flex; flex-direction: column; font-size: 0.84rem; line-height: 1.45; color: var(--text-muted); }
.booking-facts b{ font-size: 0.95rem; font-weight: 600; color: var(--green-900); }
.booking-note{ margin: 18px 0 0; font-size: 0.86rem; text-align: center; }
.booking-link{
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.booking-link:hover{ color: var(--green-900); }
/* The page's own day -> time -> details picker (src/main.ts). One panel
   shows at a time and slides in from the side it came from. */
.slot-progress{ list-style: none; display: flex; gap: 8px; margin: 4px 0 22px; padding: 0; }
.slot-progress li{
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 3px solid var(--border);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.slot-progress i{
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  font-style: normal; font-size: 0.74rem;
  color: var(--green-700);
  transition: background 0.25s ease, color 0.25s ease;
}
.slot-progress li.is-on{ border-top-color: var(--green-700); color: var(--green-900); }
.slot-progress li.is-current i{ background: var(--green-700); color: var(--white); }

.slot-panel[hidden]{ display: none; }
.slot-panel.slide-forward{ animation: slotForward 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
.slot-panel.slide-back{ animation: slotBack 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes slotForward { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes slotBack { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.slot-picker{ overflow: hidden; }
.slot-panel h3{ font-family: var(--font-head); font-size: 1.25rem; line-height: 1.3; color: var(--green-900); margin: 0; }
.slot-panel h3:focus{ outline: none; }
.slot-sub{ font-size: 0.88rem; color: var(--text-muted); margin: 6px 0 18px; }

.slot-month{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.slot-nav{
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-700);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.slot-nav svg{ width: 18px; height: 18px; }
.slot-nav:hover:not(:disabled){ background: var(--green-50); border-color: var(--sage); }
.slot-nav:disabled{ opacity: 0.35; cursor: default; }

.slot-weekdays,.slot-days{ display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.slot-weekdays{ margin-bottom: 8px; }
.slot-weekdays span{ text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.slot-days{ min-height: 250px; align-content: start; transition: opacity 0.2s ease; }
.slot-days.is-loading{ opacity: 0.45; }
.slot-day{
  position: relative;
  aspect-ratio: 1 / 0.82;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #b3c1ba;
}
.slot-day.is-open{
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.slot-day.is-open:hover{ background: var(--green-700); color: var(--white); transform: translateY(-1px); }
.slot-day.is-today::after{
  content: "";
  position: absolute; left: 50%; bottom: 6px;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}
.slot-status{ margin: 14px 0 0; font-size: 0.84rem; text-align: center; color: var(--text-muted); min-height: 1.3em; }

.slot-back{
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 0 14px -6px; padding: 6px 10px 6px 4px;
  border: 0; border-radius: 100px;
  background: none;
  font: inherit; font-size: 0.86rem; font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
}
.slot-back svg{ width: 16px; height: 16px; }
.slot-back:hover{ background: var(--green-50); }
.slot-times{ display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.slot-time{
  padding: 13px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.slot-time:hover{ background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.slot-nav:focus-visible,.slot-day:focus-visible,.slot-time:focus-visible,.slot-back:focus-visible{ outline: 2px solid var(--green-600); outline-offset: 2px; }

/* Cal.com's whole calendar as the fallback, or after a booking: no steps */
.slot-picker.is-fallback .slot-progress,.slot-picker.is-fallback .slot-back,.slot-picker.is-fallback .slot-panel h3,.slot-picker.is-fallback .slot-sub,.slot-picker.is-booked .slot-progress,.slot-picker.is-booked .slot-back,.slot-picker.is-booked .slot-sub{ display: none; }

@media (max-width: 480px) {
  .slot-weekdays,.slot-days{ gap: 4px; }
  .slot-day{ aspect-ratio: 1; font-size: 0.88rem; }
  .slot-days{ min-height: 0; }
  .slot-times{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot-progress li{ font-size: 0.72rem; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .slot-panel.slide-forward,.slot-panel.slide-back{ animation: none; }
  .slot-day.is-open,.slot-time,.slot-progress li,.slot-progress i{ transition: none; }
}

#bookingDoneWhen{ display: block; margin-bottom: 6px; font-size: 1.1rem; color: var(--green-900); }
@media (max-width: 760px) {
  .booking-hours{ grid-template-columns: 1fr; }
  .booking-hours li,.booking-hours li + li{ display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-left: 0; }
  .booking-hours li + li{ border-top: 1px solid var(--border); }
  .booking-tabs button{ font-size: 0.86rem; padding: 11px 8px; }
}
@media (prefers-reduced-motion: reduce) { .booking-tabs button{ transition: none; } }

/* ============================================================
   Lead widgets: sellers-home-value.html and
   down-payment-assistance.html. Both reuse the appointment page's
   layout (.page-hero--form, .appt-grid, .form-card, .prep-card) and the
   guide qualifier's question cards (.qualifier-*, .option-*).
   ============================================================ *//* Text for screen readers only (e.g. "opens in a new tab") */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keyboard focus on the pill radios (their input is visually hidden) */
.radio-pill input:focus-visible + span{
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}
.form-field.invalid .radio-pill span{ border-color: #b3543f; }

/* A one-line pointer to a tool, under the calculator and in the guide copy */
.tool-hint{
  max-width: 880px;
  margin: 22px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  text-align: center;
}
.tool-hint a{ color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tool-hint a:hover{ color: var(--green-900); }
.tool-hint--left{ margin-left: 0; text-align: left; background: var(--green-50); }

/* --- Down payment assistance checker --- */
.dpa-quiz{ min-height: 300px; }
.dpa-quiz .qualifier-step-prompt{ margin-top: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.dpa-quiz .qualifier-step-prompt:focus{ outline: none; }
.dpa-quiz .qualifier-step-sub{ max-width: 560px; font-size: 0.92rem; line-height: 1.55; }
.dpa-quiz .qualifier-step-sub + .option-grid{ margin-top: 4px; }
/* The county question has 17 answers: an even grid reads better than a ragged wrap */
.option-grid--many{ display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.option-grid--many .option-btn{ padding-left: 12px; padding-right: 12px; text-align: center; }
.option-grid--many .option-btn:last-child{ grid-column: 1 / -1; }

/* Quiz buttons on the down payment checker and the guide's follow-up
   questions (.qualifier-run). A solid 1.5px border (buttons otherwise
   fall back to the browser's two-tone "outset" edge), one height, and a
   white fill so the chosen answer stands out. Hover, active and selected
   change colour only, so nothing moves. */
:is(.dpa-quiz, .qualifier-run) .option-grid{ gap: 12px; }
:is(.dpa-quiz, .qualifier-run) .option-btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; min-width: 112px; padding: 12px 24px;
  border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--white); color: var(--green-900);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; line-height: 1.25; text-align: center;
  box-shadow: 0 1px 2px rgba(13, 43, 33, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
:is(.dpa-quiz, .qualifier-run) .option-grid--many .option-btn{ min-width: 0; padding-left: 12px; padding-right: 12px; }
@media (hover: hover) {
  :is(.dpa-quiz, .qualifier-run) .option-btn:hover{ border-color: var(--green-500); background: var(--green-50); box-shadow: var(--shadow-sm); }
}
:is(.dpa-quiz, .qualifier-run) .option-btn:active{ background: var(--green-100); }
:is(.dpa-quiz, .qualifier-run) .option-btn[aria-pressed="true"]{ border-color: var(--green-700); background: var(--green-700); color: var(--white); box-shadow: var(--shadow-sm); }

/* Back and "Change my answers": a quiet text button with a chevron, the
   site font, and a 44px tap target. The negative margin lines the chevron
   up with the answers' left edge. */
:is(.dpa-quiz, .qualifier-run) .qualifier-back,.dpa-result .qualifier-back{
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; margin-left: -14px; padding: 10px 18px 10px 14px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--green-700); font-family: var(--font-body); font-size: 0.92rem; font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
:is(.dpa-quiz, .qualifier-run) .qualifier-back::before,.dpa-result .qualifier-back::before{
  content: ""; width: 7px; height: 7px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}
@media (hover: hover) {
  :is(.dpa-quiz, .qualifier-run) .qualifier-back:hover,.dpa-result .qualifier-back:hover{ background: var(--green-50); color: var(--green-900); }
}
.dpa-result .qualifier-back{ margin-top: 8px; }

/* Thank-you card: the two buttons the same width, side by side, then stacked on phones */
.dpa-success-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.dpa-success-actions .btn{ flex: 1 1 240px; max-width: 290px; justify-content: center; }

@media (max-width: 600px) {
  /* Answers in an even two-column grid; an odd one out takes the full row */
:is(.dpa-quiz, .qualifier-run) .option-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  :is(.dpa-quiz, .qualifier-run) .option-btn{ min-width: 0; padding-left: 12px; padding-right: 12px; }
  :is(.dpa-quiz, .qualifier-run) .option-grid > .option-btn:last-child:nth-child(odd){ grid-column: 1 / -1; }
  .dpa-success-actions{ flex-direction: column; align-items: stretch; }
  .dpa-success-actions .btn{ flex: none; max-width: none; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.dpa-quiz, .qualifier-run) .option-btn,:is(.dpa-quiz, .qualifier-run) .qualifier-back,.dpa-result .qualifier-back{ transition: none; }
}

/* Result + contact step. Collapsed rather than display:none until the
   quiz is done, so the Turnstile widget inside can load in the meantime. */
.dpa-result-wrap{ height: 0; overflow: hidden; visibility: hidden; }
.dpa-result-wrap.is-visible{
  height: auto; overflow: visible; visibility: visible;
  display: grid; gap: 24px;
  animation: apptSuccessIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dpa-result-wrap > *{ min-width: 0; }
.dpa-result-wrap .appt-success.is-visible{ margin-bottom: 0; }
.dpa-result{ scroll-margin-top: 100px; }
.dpa-result:focus{ outline: none; }
.dpa-result h2{ font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.25; margin-bottom: 14px; }
.dpa-result-lede{ font-size: 1.02rem; line-height: 1.6; color: var(--text); margin: 0 0 20px; }
.dpa-points{ margin-bottom: 22px; border-top: 1px solid var(--border); }
.dpa-points li{ padding: 12px 0; border-bottom: 1px solid var(--border); }
.dpa-points li b{ color: var(--green-900); font-weight: 600; }
.dpa-points li.is-check svg{ color: #a8731a; }
.dpa-notes p{ font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); margin: 0 0 12px; }
.dpa-fineprint{
  margin: 20px 0 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.dpa-fineprint a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.dpa-form-title{ font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 8px; }
.dpa-form-lede{ font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; }
#home-value-form .form-submit p a,#dpa-form .form-submit p a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .dpa-result-wrap.is-visible{ animation: none; }
}

/* Address starter on the Sellers page (inside the dark .guide-panel) */
.hv-starter label{ font-size: 0.85rem; font-weight: 600; color: var(--white); }
.hv-starter input{
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
}
.hv-starter input:focus-visible{ outline: 2px solid var(--sage-light); outline-offset: 2px; }
.hv-starter .btn{ border: 0; cursor: pointer; font-family: var(--font-body); }

/* Home value form: step cards on desktop too. Keep the card from jumping
   in height between steps, and don't stretch the Back / Continue buttons
   across the full width of a wide card. */
@media (min-width: 761px) {
  #home-value-form.is-stepped .form-grid{ min-height: 300px; align-content: start; }
  #home-value-form.is-stepped .step-nav{ justify-content: flex-end; }
  #home-value-form.is-stepped .step-nav .btn{ flex: 0 0 auto; min-width: 170px; }
  #home-value-form.is-stepped.is-last-step .step-nav{ justify-content: center; margin-top: 14px; }
}

/* Thank-you card note for a visitor who unsubscribed earlier (js: showOptedOutNote) */
.opted-out-note{
  margin: 0 0 20px; padding: 14px 16px;
  background: #fff8e6; border: 1px solid #f0dca8; border-radius: var(--radius-sm);
  color: var(--green-900); font-size: 0.9rem; line-height: 1.55; text-align: left;
}
.opted-out-note[hidden]{ display: none; }
.appt-success [hidden]{ display: none; } /* buyer/seller variants on the request thank-you card */
.opted-out-note a{ color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Feedback form (feedback.html) ---------- */
.star-field{ border: 0; margin: 0; padding: 0; min-width: 0; }
.star-field legend{ padding: 0; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--green-900); }
/* Inputs run 5 → 1 in the markup and are laid out right to left, so
   "this star and every later sibling" is "this star and all below it". */
.star-rating{ display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-rating input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label{ width: 44px; height: 44px; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.star-rating label::before{ content: "★"; font-size: 2rem; line-height: 1; color: var(--border); transition: color 0.15s ease, transform 0.15s ease; }
.star-rating label:hover::before,.star-rating label:hover ~ label::before,.star-rating input:checked ~ label::before{ color: #d9a441; }
.star-rating label:hover::before{ transform: scale(1.12); }
.star-rating input:focus-visible + label{ outline: 2px solid var(--green-600); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .star-rating label::before{ transition: none; } }
.success-feedback{ margin: 18px 0 0; font-size: 0.86rem; color: var(--text-muted); }
.success-feedback a{ color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Reviews (index.html; rendered only when reviews.json has approved reviews) ---------- */
.review-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.review-card{ margin: 0; padding: 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review-stars{ color: #d9a441; font-size: 1.05rem; letter-spacing: 2px; }
.review-stars span{ color: var(--border); }
.review-card blockquote{ margin: 0; font-size: 0.98rem; line-height: 1.65; color: var(--green-900); }
.review-card figcaption{ margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 0.86rem; }
.review-card figcaption strong{ color: var(--green-900); }
.review-card figcaption span{ color: var(--text-muted); }
.review-note{ margin: 22px 0 0; text-align: center; font-size: 0.82rem; color: var(--text-muted); }
.review-note a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }

/* Calculator: "See homes up to $X" (buyers.html, in the dark results panel) */
.calc-search{
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; min-height: 48px; margin-top: 22px; padding: 0.8rem 1.25rem;
  border-radius: 9999px; background: var(--white); color: var(--green-800);
  font-weight: 600; font-size: 0.95rem; text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.calc-search:hover{ background: var(--green-100); transform: translateY(-2px); }
.calc-search:focus-visible{ outline: 2px solid var(--sage-light); outline-offset: 3px; }
.calc-search-note{ margin: 8px 0 14px; text-align: center; font-size: 0.76rem; color: var(--sage-light); }
@media (prefers-reduced-motion: reduce) { .calc-search{ transition: none; } .calc-search:hover{ transform: none; } }
.area-crumbs{ font-size: 0.82rem; color: var(--sage-light); margin-bottom: 18px; }
.area-crumbs a{ color: var(--sage-light); text-decoration: underline; text-underline-offset: 3px; }
.area-crumbs a:hover{ color: var(--white); }
.area-btn-ghost{ border-color: rgba(255,255,255,0.55); color: var(--white); }
.area-btn-ghost:hover{ background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.area-stats{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area-stat{ background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: grid; gap: 4px; align-content: start; }
.area-stat-k,.area-stat-n{ font-size: 0.82rem; color: var(--text-muted); }
.area-stat-v{ font-family: var(--font-head); font-size: 1.6rem; color: var(--green-900); font-variant-numeric: tabular-nums; }
.area-stats--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

.area-range{ margin-top: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.area-range h3{ font-size: 1.15rem; margin: 0; }
.area-range-track{ position: relative; height: 44px; margin-top: 14px; }
.area-range-axis{ position: absolute; left: 0; right: 0; top: 20px; height: 4px; background: var(--green-100); border-radius: 2px; }
.area-range-band{ position: absolute; top: 16px; height: 12px; background: var(--sage-light); border-radius: 6px; }
.area-range-dot{ position: absolute; top: 12px; width: 20px; height: 20px; margin-left: -10px; background: var(--green-700); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--green-700); }
.area-range-labels{ display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.area-range-legend{ display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.area-sw{ display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; background: var(--sage-light); }
.area-sw--dot{ background: var(--green-700); border-radius: 50%; }

.area-two{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.area-card{ background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; }
.area-card h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.area-card h3{ font-size: 1.05rem; margin: 0; }
.area-card p,.area-card .check-list{ margin: 0; }
.area-card .eyebrow{ margin-bottom: 0; }
.area-card .btn{ white-space: normal; text-align: center; }
.area-pay-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.area-pay-row button{ font: 500 0.9rem var(--font-body); border: 1.5px solid var(--border); background: var(--white); color: var(--text); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; }
.area-pay-row button[aria-pressed="true"]{ border-color: var(--green-700); background: var(--green-100); color: var(--green-900); }
.area-pay-row button:focus-visible{ outline: 3px solid var(--sage); outline-offset: 2px; }
.area-pay-big{ font-family: var(--font-head); font-size: 2.4rem; color: var(--green-900); font-variant-numeric: tabular-nums; line-height: 1.1; }
.area-pay-big small{ font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); }
.area-fine{ font-size: 0.8rem; color: var(--text-muted); }
.area-pill{ font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-800); }
.area-pill--mid{ background: #fdf0d2; color: #6d5208; }

.area-about{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.area-about-copy{ max-width: 64ch; }
.area-about-copy p{ color: var(--text); }
.area-facts{ margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; align-self: start; }
.area-facts div{ display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--border); }
.area-facts div:first-child{ border-top: 0; }
.area-facts dt{ color: var(--text-muted); }
.area-facts dd{ margin: 0; font-weight: 500; text-align: right; }

.area-market{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area-others{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.area-others a{ font-size: 0.88rem; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--green-800); background: var(--white); }
.area-others a:hover{ border-color: var(--green-700); background: var(--green-50); }

.area-cta{ display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.area-cta h2{ margin: 0; }
.area-cta p{ margin: 8px 0 0; max-width: 58ch; }

.area-list{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.area-item{ display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border); }
.area-item a{ font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--green-900); }
.area-item a:hover{ color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }
.area-item-county{ grid-column: 1; font-size: 0.82rem; color: var(--text-muted); }
.area-item-note{ grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.82rem; color: var(--green-700); font-variant-numeric: tabular-nums; }
.area-list-foot{ margin: 28px 0 0; font-size: 0.92rem; }
.area-list-foot a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

.area-sources{ font-size: 0.78rem; color: var(--sage); margin: 22px 0 0; max-width: 90ch; }

/* Market reports (market/<month>.html, generated by scripts/market-reports.mts) */
.mr-table-wrap{ overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.mr-table-wrap:focus-visible{ outline: 3px solid var(--sage); outline-offset: 2px; }
.mr-table{ width: 100%; min-width: 860px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mr-table th,.mr-table td{ padding: 12px 16px; text-align: left; border-top: 1px solid var(--border); }
.mr-table thead th{ border-top: 0; background: var(--green-50); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.mr-table tbody th{ font-family: var(--font-head); font-weight: 600; color: var(--green-900); }
.mr-table .num{ text-align: right; white-space: nowrap; }
.mr-note{ max-width: 80ch; margin: 14px 0 0; }
.mr-sources{ margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.mr-sources a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.mr-others{ margin-top: 22px; }
.mr-summary{ max-width: 72ch; display: grid; gap: 14px; }
.mr-summary p{ margin: 0; color: var(--text); font-size: 1.05rem; line-height: 1.7; }
.mr-small{ color: var(--green-600); margin-left: 2px; }

@media (max-width: 980px) {
  .area-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .area-two,.area-about,.area-market,.area-cta{ grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .area-list,.area-stats{ grid-template-columns: 1fr; }
  .area-card{ padding: 22px; }
}

/* Market report charts (scripts/market-reports.mts): HTML/CSS bars, no script.
   Up/down colors pass the dataviz palette checks (CVD-safe on white). */
.ch-lede{ margin: 28px 0 12px; color: var(--text-muted); font-size: 0.92rem; }
.ch-trends{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ch-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ch-card{ margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 16px; }
.ch-card figcaption{ font-family: var(--font-head); font-weight: 600; color: var(--green-900); font-size: 0.95rem; margin-bottom: 10px; }
.ch-card figcaption span{ display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.ch-cols{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch-col{ display: grid; gap: 6px; text-align: center; }
.ch-col-plot{ height: 130px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 1px solid var(--border); }
.ch-col-v{ font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-bottom: 4px; white-space: nowrap; }
.ch-col-bar{ display: block; width: 62%; max-width: 40px; background: var(--sage); border-radius: 4px 4px 0 0; }
.ch-col.is-now .ch-col-bar{ background: var(--green-600); }
.ch-col.is-now .ch-col-v{ color: var(--text); font-weight: 600; }
.ch-col-k{ font-size: 0.72rem; color: var(--text-muted); }
.ch-col.is-now .ch-col-k{ color: var(--text); font-weight: 600; }
.ch-key{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; font-size: 0.78rem; color: var(--text-muted); }
.ch-sw{ display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 4px; }
.ch-sw:first-child{ margin-left: 0; }
.ch-key-ref{ display: inline-block; width: 18px; border-top: 2px dashed var(--green-900); }
.ch-rows{ list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ch-row{ display: grid; grid-template-columns: 6.6rem 1fr 4.8rem; align-items: center; gap: 10px; padding: 2px 4px; border-radius: 4px; font-size: 0.84rem; }
.ch-row:hover{ background: var(--green-50); }
.ch-name{ color: var(--text); white-space: nowrap; }
.ch-val{ text-align: right; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-track{ position: relative; height: 14px; }
.ch-bar{ position: absolute; top: 0; bottom: 0; left: 0; background: var(--green-600); border-radius: 0 4px 4px 0; }
.ch-ref{ position: absolute; top: -3px; bottom: -3px; border-left: 2px dashed var(--green-900); }
.ch-track--div::before{ content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 1px solid #9aa7a1; }
.ch-bar.is-up,.ch-sw.is-up{ background: #2a78a8; }
.ch-bar.is-down,.ch-sw.is-down{ background: #c4682c; }
.ch-bar.is-down{ left: auto; border-radius: 4px 0 0 4px; }
.ch-bar.is-small{ background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.55) 0 3px, transparent 3px 6px); }
.ch-sw.is-small{ background: #7d8a84 repeating-linear-gradient(45deg, rgba(255,255,255,0.55) 0 3px, transparent 3px 6px); }
@media (max-width: 980px) {
  .ch-trends{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ch-trends{ grid-template-columns: 1fr; }
  .ch-row{ grid-template-columns: 5.6rem 1fr 4.4rem; gap: 8px; font-size: 0.8rem; }
}
@media (forced-colors: active) {
  .ch-bar,.ch-col-bar,.ch-sw{ forced-color-adjust: none; border: 1px solid CanvasText; }
}
.guide-body a{ color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.guide-body{ max-width: 72ch; margin-bottom: 36px; }
.guide-body h2{ margin: 36px 0 12px; font-size: 1.45rem; color: var(--green-900); }
.guide-body p,.guide-body li{ font-size: 1.04rem; line-height: 1.75; color: var(--text); }
.guide-body ul,.guide-body ol{ padding-left: 1.2em; display: grid; gap: 8px; }
.guide-note{ margin-top: 32px; padding: 16px 18px; border: 1px solid var(--border); background: var(--green-50); border-radius: var(--radius-sm); font-size: 0.95rem !important; color: var(--text-muted) !important; }
.guide-sources{ max-width: 72ch; }

/* ===== Redesign (2026-10): header, hero and home styles ===== */
.nh{position:relative;overflow:hidden;padding-top:100px;font-family:var(--font-body)}
.nh .in{max-width:1200px;margin:0 auto;padding:0 24px;position:relative}
.nh .eb{display:inline-flex;align-items:center;gap:10px;font:700 .76rem var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:var(--green-600)}
.nh .eb::before{content:"";width:30px;height:2px;background:#d4af5a}
.nh h1{font-family:var(--font-head);color:var(--green-900);line-height:1.04;margin:.35em 0 .4em;text-wrap:balance}
.nh .dot{color:#d4af5a}
.nh .lede{font-size:1.15rem;color:#55635b;max-width:480px;margin:0 0 30px}
.nh .acts{display:flex;gap:14px;flex-wrap:wrap}
.nh .me{position:relative;display:block;height:auto;-webkit-mask-image:linear-gradient(to bottom,#000 80%,transparent 100%),linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,#000 80%,transparent 100%),linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%);mask-composite:intersect;}.pick{background:#fff;border-radius:20px;box-shadow:0 18px 40px -22px rgba(13,43,33,.45);padding:8px;max-width:520px}
 .pick p{margin:10px 14px 6px;font:700 .72rem var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--green-600)}
 .pick a{display:flex;align-items:center;gap:14px;padding:14px;border-radius:14px;text-decoration:none;color:var(--green-900)}
 .pick a+a{border-top:1px solid #e6ece8}
 .pick a:hover{background:var(--green-50)}
 .pick .ic{flex:none;width:40px;height:40px;border-radius:12px;background:var(--green-100);display:grid;place-items:center;color:var(--green-700);font-weight:700}
 .pick b{display:block;font:600 1rem var(--font-head)}.pick small{color:#55635b;font-size:.82rem}
 .pick .ar{margin-left:auto;color:#d4af5a;font-size:1.3rem}.nh{position:relative;overflow:hidden;padding-top:100px;font-family:var(--font-body)}
.nh .in{max-width:1200px;margin:0 auto;padding:0 24px;position:relative}
.nh .eb{display:inline-flex;align-items:center;gap:10px;font:700 .76rem var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:var(--green-600)}
.nh .eb::before{content:"";width:30px;height:2px;background:#d4af5a}
.nh h1{font-family:var(--font-head);color:var(--green-900);line-height:1.04;margin:.35em 0 .4em;text-wrap:balance}
.nh .dot{color:#d4af5a}
.nh .lede{font-size:1.15rem;color:#55635b;max-width:480px;margin:0 0 30px}
.nh .acts{display:flex;gap:14px;flex-wrap:wrap}
.nh .me{position:relative;display:block;height:auto;-webkit-mask-image:linear-gradient(to bottom,#000 80%,transparent 100%),linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,#000 80%,transparent 100%),linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%);mask-composite:intersect;}.pick{background:#fff;border-radius:20px;box-shadow:0 18px 40px -22px rgba(13,43,33,.45);padding:8px;max-width:520px}
 .pick p{margin:10px 14px 6px;font:700 .72rem var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--green-600)}
 .pick a{display:flex;align-items:center;gap:14px;padding:14px;border-radius:14px;text-decoration:none;color:var(--green-900)}
 .pick a+a{border-top:1px solid #e6ece8}
 .pick a:hover{background:var(--green-50)}
 .pick .ic{flex:none;width:40px;height:40px;border-radius:12px;background:var(--green-100);display:grid;place-items:center;color:var(--green-700);font-weight:700}
 .pick b{display:block;font:600 1rem var(--font-head)}.pick small{color:#55635b;font-size:.82rem}
 .pick .ar{margin-left:auto;color:#d4af5a;font-size:1.3rem}
.vs .bg{position:absolute;inset:14% 0 0 0;border-radius:40px;background:linear-gradient(165deg,var(--green-600),var(--green-900))}
.vs .bg::after{content:"";position:absolute;inset:14px;border:1.5px solid rgba(212,175,90,.75);border-radius:30px}.nh{position:relative;overflow:hidden;padding-top:100px;font-family:var(--font-body)}
.nh .in{max-width:1200px;margin:0 auto;padding:0 24px;position:relative}
.nh .eb{display:inline-flex;align-items:center;gap:10px;font:700 .76rem var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:var(--green-600)}
.nh .eb::before{content:"";width:30px;height:2px;background:#d4af5a}
.nh h1{font-family:var(--font-head);color:var(--green-900);line-height:1.04;margin:.35em 0 .4em;text-wrap:balance}
.nh .dot{color:#d4af5a}
.nh .lede{font-size:1.15rem;color:#55635b;max-width:480px;margin:0 0 30px}
.nh .acts{display:flex;gap:14px;flex-wrap:wrap}
.nh .me{position:relative;display:block;height:auto;-webkit-mask-image:linear-gradient(to bottom,#000 80%,transparent 100%),linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,#000 80%,transparent 100%),linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%);mask-composite:intersect;}.pick{background:#fff;border-radius:20px;box-shadow:0 18px 40px -22px rgba(13,43,33,.45);padding:8px;max-width:520px}
 .pick p{margin:10px 14px 6px;font:700 .72rem var(--font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--green-600)}
 .pick a{display:flex;align-items:center;gap:14px;padding:14px;border-radius:14px;text-decoration:none;color:var(--green-900)}
 .pick a+a{border-top:1px solid #e6ece8}
 .pick a:hover{background:var(--green-50)}
 .pick .ic{flex:none;width:40px;height:40px;border-radius:12px;background:var(--green-100);display:grid;place-items:center;color:var(--green-700);font-weight:700}
 .pick b{display:block;font:600 1rem var(--font-head)}.pick small{color:#55635b;font-size:.82rem}
 .pick .ar{margin-left:auto;color:#d4af5a;font-size:1.3rem}
 .vh{background:var(--cream)}
.vh .in{min-height:680px;display:flex;align-items:center}.vh .txt{width:52%;padding:40px 0 60px}.vh h1{font-size:clamp(2.4rem,4.4vw,3.8rem)}
@media(max-width:900px){.vh .in{min-height:0}.vh .txt{width:100%}}
.ab2{background:#fff;padding:clamp(64px,8vw,110px) 0;text-align:center}
.ab2 .wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.ab2 h2{max-width:900px;margin:.35em auto .9em;font-size:clamp(2rem,4vw,3.2rem)}
.ab2 .row{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:40px;align-items:center;text-align:left}
.ab2 .row p{font-size:1.05rem;line-height:1.7;margin:0}
.ab2 .more{max-width:720px;margin:40px auto 0}.ab2 .more p{font-size:1.05rem;line-height:1.7;margin:0;color:#cfe3d7}.ab2 .more p+p{margin-top:1em}.ab2 .more a{color:#d4af5a;text-decoration:underline;text-underline-offset:3px}
.ab2 .row p:first-child::first-letter{float:left;font:600 3.4rem/0.9 var(--font-head);color:var(--green-700);margin:6px 10px 0 0}
.ab2 .pic{position:relative;aspect-ratio:4/5}
.ab2 .pic::before{content:"";position:absolute;left:6%;right:6%;top:18%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,var(--green-100),#cfe3d7)}
.ab2 .pic::after{content:"";position:absolute;left:0;right:0;top:12%;margin:auto;width:100%;aspect-ratio:1;border-radius:50%;border:1.5px solid #d4af5a;opacity:.75}
.ab2 .pic img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;object-position:top;-webkit-mask:linear-gradient(#000,#000) 0 0/100% 53.2% no-repeat,radial-gradient(44% 35.2% at 50% 53.2%,#000 99.5%,transparent 100%);mask:linear-gradient(#000,#000) 0 0/100% 53.2% no-repeat,radial-gradient(44% 35.2% at 50% 53.2%,#000 99.5%,transparent 100%)}
.ab2 .band{list-style:none;margin:48px auto 32px;padding:22px 0;display:grid;grid-template-columns:repeat(3,1fr);max-width:900px;border-top:1px solid #d4af5a;border-bottom:1px solid #d4af5a}
.ab2 .band li+li{border-left:1px solid var(--border)}
.ab2 .band strong{display:block;font:600 2.2rem/1.1 var(--font-head);color:var(--green-700)}
.ab2 .band span{display:block;font-size:.85rem;color:var(--text-muted)}
.ab2 .band small{display:block;font-size:.75rem;color:var(--green-600);margin-top:4px}.ab2 .band a{color:inherit}
@media(max-width:900px){.ab2 .row{grid-template-columns:1fr}.ab2 .pic{order:-1;max-width:340px;margin:0 auto;width:100%}.ab2 .band{grid-template-columns:1fr;gap:16px}.ab2 .band li+li{border-left:0}}
.ab2 .pic{overflow:visible}.ab2 .word{position:absolute;z-index:0;left:50%;top:2%;transform:translateX(-50%);font:600 clamp(56px,7.4vw,104px)/1 var(--font-head);color:#d4af5a;letter-spacing:.03em;white-space:nowrap}
 .ab2 .pic::before,.ab2 .pic::after{z-index:0}.ab2 .row{position:relative}
 @media(max-width:900px){.ab2 .word{font-size:58px;top:-4%}.ab2 .pic{margin-top:40px}}.ab2{background:radial-gradient(ellipse at 50% 0%,var(--green-700) 0%,transparent 60%),linear-gradient(170deg,var(--green-800),var(--green-950))}
 .ab2 .eyebrow{color:#d4af5a}.ab2 h2{color:#fff}.ab2 .row p{color:#cfe3d7}.ab2 .row p:first-child::first-letter{color:#d4af5a}
 .ab2 .pic::before{background:radial-gradient(circle at 35% 30%,#e8f2ec,#cfe3d7)}
 .ab2 .band strong{color:#fff}.ab2 .band span{color:#cfe3d7}.ab2 .band small{color:#d4af5a}.ab2 .band li+li{border-left-color:rgba(255,255,255,.15)}
 .ab2 .btn-primary{background:#d4af5a;color:var(--green-950)}

.ab2 .city{position:absolute;left:6%;width:88%;top:18%;aspect-ratio:1;border-radius:50%;overflow:hidden;z-index:0}.ab2{overflow-x:clip}.ab2 .word{z-index:1!important}
.ab2 .city svg{width:100%;height:100%;display:block}
.ab2 .pic::before{display:none}
.ab2 .word{font-size:clamp(84px,11.5vw,156px)!important;top:-4%!important;letter-spacing:.02em;z-index:0}
.ab2 .word span{background:linear-gradient(180deg,#f6e2a6 0%,#d4af5a 48%,#a5812f 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.ab2 .word span{filter:drop-shadow(0 2px 0 rgba(0,0,0,.18))}
.ab2 .profiles{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 12px;margin:28px auto 0}.ab2 .profiles-k{font:500 .78rem var(--font-body);letter-spacing:.2em;text-transform:uppercase;color:#cfe3d7;margin-right:4px}.ab2 .profiles a{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid rgba(212,175,90,.55);border-radius:999px;color:#fff;font-size:.92rem;text-decoration:none;transition:background .2s,border-color .2s}.ab2 .profiles a:hover,.ab2 .profiles a:focus-visible{background:rgba(212,175,90,.14);border-color:#d4af5a}.ab2 .profiles svg{width:16px;height:16px;fill:#d4af5a;flex:none}@media(max-width:900px){.ab2 .profiles-k{flex-basis:100%;text-align:center;margin:0}}
.footer-col a .ft-ico{width:14px;height:14px;fill:currentColor;vertical-align:-2px;margin-right:7px}
.ab2 .coords{margin:26px 0 0;font:500 .78rem var(--font-body);letter-spacing:.32em;color:#d4af5a;text-align:center}
@media(max-width:900px){.ab2 .word{font-size:72px!important;top:-6%!important}.ab2 .coords{letter-spacing:.2em;font-size:.7rem}}

.ab2 .word span{background-image:linear-gradient(105deg,transparent 30%,rgba(255,250,232,.95) 50%,transparent 70%),linear-gradient(180deg,#f6e2a6 0%,#d4af5a 48%,#a5812f 100%);background-size:300% 100%,100% 100%;background-position:100% 0,0 0;background-repeat:no-repeat}
.ab2.play .word span{animation:rise .7s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 70ms) forwards,foil 1.1s ease-in-out calc(1.2s + var(--i) * 120ms) 1 forwards}
@keyframes foil{from{background-position:90% 0,0 0}to{background-position:10% 0,0 0}}
@media (prefers-reduced-motion:reduce){.ab2.play .word span{animation:none}}

.ab2 .row{margin-top:56px}@media(max-width:900px){.ab2 .row{margin-top:24px}}
.ab2 .sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.ab2 .pic::after{top:13.2%!important;bottom:auto!important;margin:0 auto!important}

.ab2 .city.money{display:none}body.city-money .ab2 .city.money{display:block}body.city-money .ab2 .city:not(.money){display:none}

/* Islands: logo, links and button as separate floating pieces */
body.nav-islands .site-header{background:none!important;box-shadow:none;padding:16px 0}
body.nav-islands .site-header .brand{background:var(--green-950);border:1px solid rgba(212,175,90,.55);border-radius:999px;padding:6px 22px 4px;box-shadow:0 10px 24px -14px rgba(0,0,0,.5);font-size:2.1rem}
body.nav-islands .brand-key{color:#d4af5a}
@media(min-width:1001px){
 body.nav-islands .nav-links li:not(:last-child){background:#fff;box-shadow:0 10px 24px -16px rgba(13,43,33,.45)}
 body.nav-islands .nav-links li:first-child{border-radius:999px 0 0 999px;padding-left:10px}
 body.nav-islands .nav-links li:nth-last-child(2){border-radius:0 999px 999px 0;padding-right:10px}
 body.nav-islands .nav-links a:not(.nav-cta){color:var(--green-800)}
 body.nav-islands .nav-links a:not(.nav-cta):hover{color:var(--green-950)}
 body.nav-islands .nav-links a:not(.nav-cta)::after{background:#d4af5a;height:2px}
 body.nav-islands .nav-links a.nav-cta{background:#d4af5a;color:var(--green-950);box-shadow:0 10px 24px -14px rgba(0,0,0,.5)}
}
body.nav-islands .nav-toggle{background:var(--green-950);border-color:rgba(212,175,90,.55)}
body.nav-islands .site-header.is-scrolled::before{content:"";position:absolute;inset:0 0 -18px 0;z-index:-1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:rgba(11,36,28,.08);-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
body.nav-islands .site-header{isolation:isolate}
/* The blur lives on ::before only. A backdrop-filter on the header itself makes it
   the containing block for the fixed phone menu, so once scrolled the menu opened
   inside the 77px header (stuck at the top) instead of rising from the bottom. */
body.nav-islands .site-header.is-scrolled,body.nav-islands .site-header.solid{-webkit-backdrop-filter:none;backdrop-filter:none}

[hidden]{display:none!important}
/* motion */
@property --sweep{syntax:"<angle>";inherits:false;initial-value:360deg}
.ab2 .word span{display:inline-block}
@media (prefers-reduced-motion: no-preference){.vs .bg::after{animation:draw 1.6s ease-in-out .5s both}
 .armed .word span{opacity:0;transform:translateY(.45em)}
 .armed .pic img{opacity:0;transform:translateY(30px) scale(.9);transform-origin:50% 100%}
 .armed .pic::after{--sweep:0deg}
 .play .word span{animation:rise .7s cubic-bezier(.2,.7,.2,1) forwards;animation-delay:calc(var(--i) * 70ms)}
 .play .pic img{animation:step 1s cubic-bezier(.2,.7,.2,1) .35s forwards}
 .play .pic::after{animation:draw 1.4s ease-in-out .6s forwards}
}
.ab2 .pic::after{-webkit-mask:conic-gradient(#000 var(--sweep),transparent 0);mask:conic-gradient(#000 var(--sweep),transparent 0)}
@keyframes stepc{from{opacity:0;transform:translate(-50%,30px) scale(.92)}to{opacity:1;transform:translateX(-50%)}}
.vs .bg::after{-webkit-mask:conic-gradient(#000 var(--sweep),transparent 0);mask:conic-gradient(#000 var(--sweep),transparent 0)}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes step{from{opacity:0;transform:translateY(30px) scale(.9);transform-origin:50% 100%}to{opacity:1;transform:none}}
@keyframes draw{from{--sweep:0deg}to{--sweep:360deg}}

.site-footer{padding-bottom:90px}

/* Phone/tablet menu: the "thumb sheet". js/redesign.js adds .nav-sheet to the
   menu list, the sheet header (avatar, name) and the link icons; the menu
   button keeps its three bars. js/main.js still opens and closes it (.is-open, the
   backdrop, Escape, html.nav-open). Desktop keeps the bar menu: the added
   pieces are hidden there. */

@media (min-width: 1001px) {
  .nav-links .sheet-head, .nav-links .ni { display: none; }
  /* the hidden header item sits first, so the first visible link keeps its rounded end */
  body.nav-islands .nav-links .sheet-head + li { border-radius: 999px 0 0 999px; padding-left: 10px; }
}

/* Phone contact bar, built by js/redesign.js. The footer's extra room keeps the
   disclaimer and the last lines of the page clear of it. */
.cbar { display: none; }
@media (max-width: 768px) {
  footer.site-footer { padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)); }
  .cbar {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(201,162,74,.5);
    background: linear-gradient(180deg, #14382c, #0b241c);
    box-shadow: 0 -12px 30px -18px rgba(0,0,0,.6);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), visibility 0s .25s;
  }
  .cbar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
  html.nav-open .cbar { transform: translateY(100%); visibility: hidden; }
  .cbar a {
    flex: 1;
    min-height: 48px;
    display: flex; align-items: center; justify-content: center;
    gap: 7px;
    border: 1px solid rgba(212,175,90,.55);
    border-radius: 999px;
    color: #f4faf7;
    font: 600 1rem var(--font-body);
    text-decoration: none;
  }
  .cbar .cbar-book { background: #d4af5a; border-color: #d4af5a; color: #0b241c; }
  .cbar svg { width: 18px; height: 18px; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cbar { transition: none; }
}

@media (max-width: 1000px) {
  .nav-backdrop { background: rgba(11,36,28,.55); }

  /* The sheet: rises from the bottom edge */
  .nav-links.nav-sheet {
    top: auto; right: 0; bottom: 0; left: 0;
    width: auto;
    height: auto;
    max-height: 85vh;
    max-height: 85dvh;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 8px;
    padding: 12px 22px calc(22px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-top: 1px solid rgba(201,162,74,.5);
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, #14382c, #0b241c);
    box-shadow: 0 -24px 60px -24px rgba(0,0,0,.6);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s;
  }
  .nav-links.nav-sheet.is-open {
    transform: translateY(0);
    transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s;
  }
  .nav-links.nav-sheet::before, .nav-links.nav-sheet::after { content: none; }

  /* Every item: no drawer slide-in, dividers or arrows */
  .nav-links.nav-sheet li,
  .nav-links.nav-sheet.is-open li {
    opacity: 1;
    transform: none;
    border: 0;
    margin: 0;
    transition: none;
  }
  .nav-links.nav-sheet li::after { content: none; }
  .nav-links.nav-sheet .sheet-head,
  .nav-links.nav-sheet .wide,
  .nav-links.nav-sheet li:last-child { grid-column: 1 / -1; }

  /* Header: grab handle, then avatar, name and title over a divider */
  .nav-links.nav-sheet .sheet-head { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .sheet-grab { display: block; width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 999px; background: rgba(255,255,255,.3); }
  .sheet-id { display: flex; align-items: center; gap: 12px; }
  .sheet-avatar {
    flex: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #c9a24a;
    box-shadow: 0 0 0 3px rgba(201,162,74,.18);
    background: #1d4a3a;
  }
  .sheet-name { display: block; font: 600 .95rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
  .sheet-title { display: block; font: italic 500 1rem/1.25 "Cormorant Garamond", Georgia, serif; color: #e3c98a; }

  /* Link tiles */
  .nav-links.nav-sheet a:not(.nav-cta) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 52px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: #f3efe4;
    transform: none;
    transition: background .2s ease;
  }
  .nav-links.nav-sheet a:not(.nav-cta)::after { content: none; }
  .nav-links.nav-sheet a:not(.nav-cta):hover,
  .nav-links.nav-sheet a:not(.nav-cta):focus-visible,
  .nav-links.nav-sheet a:not(.nav-cta):active { background: rgba(255,255,255,.12); color: #fff; transform: none; }
  .nav-links.nav-sheet a:not(.nav-cta):focus-visible { outline: 2px solid #c9a24a; outline-offset: 2px; }
  .nav-links.nav-sheet a.active:not(.nav-cta) { color: #fff; box-shadow: inset 0 0 0 1.5px #c9a24a; }
  .nav-links.nav-sheet .ni { flex: none; width: 20px; height: 20px; color: #c9a24a; }

  /* Book an Appointment: outlined, full width, big enough for a thumb */
  .nav-links.nav-sheet li:last-child { margin-top: 6px; }
  body .nav-links.nav-sheet a.nav-cta,
  body .nav-links.nav-sheet a.nav-cta.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 15px;
    border: 1px solid #c9a24a;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e3c98a;
    transform: none;
  }
  body .nav-links.nav-sheet a.nav-cta:hover,
  body .nav-links.nav-sheet a.nav-cta:focus-visible,
  body .nav-links.nav-sheet a.nav-cta:active { background: rgba(201,162,74,.12); color: #f3e2b0; transform: none; }
}

@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .nav-links.nav-sheet, .nav-links.nav-sheet.is-open { transition: none; }
}

/* Redesign (2026-10): two-tone headings (spans added by js/redesign.js).
   Loaded last on every page. */
/* Cinzel mixes */
body:is(.hf-mixD,.hf-mixF) :is(h1,h2) .t1{display:block}body:is(.hf-mixD,.hf-mixF) :is(h1,h2) .t2{display:inline;text-transform:none;letter-spacing:-.005em;font-weight:500;font-style:italic;color:#c99f45}
body:is(.hf-mixD,.hf-mixF) .tpC h1 .t2{color:#e6c878}
body.hf-mixD :is(h1,h2) .t2{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.12em;line-height:1.05}
body.hf-mixD .hxE h1 .t2{color:#a5812f}

/* Reduced motion: every redesign animation and transition settles at its end
   state at once (the redesign adds many small motions; this covers them all). */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Looping animations pause while their section is off screen (js/redesign.js). */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after,
.is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* lazy-render: below-the-fold sections and the footer are laid out only as they
   near the screen, so the hero appears sooner. Sections whose content reaches
   outside their box (the form sections) are left out: it would be clipped. */
main > section ~ section:not(.appt-section),
main > .pg > section ~ section:not(.appt-section),
main > section ~ div:not(.pg) > section,
footer.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
/* Opening at an #anchor or clicking an in-page link renders everything first
   (js/redesign.js), so the jump lands on the real position. */
html.no-lazy main section, html.no-lazy footer.site-footer { content-visibility: visible !important; }
/* end lazy-render */

/* Contrast: the gold half of a heading is a shade deeper where it sits on a light background */
:is(.gc .gc-tx,.gdx .card,.gq .hd,.nsec .section-head,.nxB .hd,.rx.cx .cert,.rx.gx .lft,.stx .hd,.wy.lt .wy-hd,.appt-section .booking-head,.section--snug:not(.section--dark) :is(.area-card,.area-about-copy,.section-head)) h2 .t2,body:not(.hv-mix) .appt-section .appt-success h2 .t2{color:#9a7628}
@media(max-width:980px){#inside .toc h2 .t2{color:#86671f}}

/* Readability floor: informational labels at 12px or more, at every width.
   Scoped to each label's own context so nothing that is already larger gets
   shrunk. Left small on purpose (decorative): the ribbon diamonds, stamps,
   postmarks and the drawings' lettering, plus the map's pin and road labels,
   whose names are also in the list beside the map.
   !important because this is a floor over many page stylesheets that load
   earlier with more specific selectors. */
.pick > p, a.c > .no, :is(a.ft, a.sm, a.it) .tg, .ab2 .coords,
.cert .lic, .ban .tag .lic, .tag .lic, footer.site-footer .footer-col h2,
.calc-live, .calc-cc dt small, .calc-cc-note,
.ev .stamp i, .card .ch > span, .rpt .rk, .rpt .rt, .rpt .rt b,
.gh-tx .gh-tag, .gh-tag b, .obk .lp .lk, .toc .toc-h span, .gf-head span, .vs .vs-t,
.tagA b, #home-value-form .form-field > label[for^="hv"], .qualifier-step-label,
.mapwrap .mapnote, a.hl small, .ch-val span, .jump-l, .fw-k, .ltoc > span, .ltoc a em, .apc dt,
.paper .mast .ed, .kick, a.lead .inside b, .guide-body th,
.qt .qt-h span, .qt-bars i, .qt-row small,
.ch-col .ch-col-v, .ch-col .ch-col-k, .mr-table thead th, .l-head .l-sub, .env .env-d
{ font-size: 12px !important; }

/* the market quote card: tighter tracking so the bigger labels stay on one line */
.qt .qt-h span { letter-spacing: .06em; white-space: nowrap; }
.qt .qt-h { gap: 10px; }
.qt-row small { letter-spacing: .04em; }

/* Phone floor (max-width 600px; desktop unchanged).
   1. Form fields at 16px or more, so iPhone Safari doesn't zoom in on tap.
   2. Footer links get a 44px-tall tap area; the list's row gap shrinks to
      make up for it, so the footer keeps its rhythm. */
@media (max-width: 600px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=hidden]),
  select, textarea { font-size: max(16px, 1rem) !important; }

  footer.site-footer .footer-col ul { row-gap: 0 !important; }
  footer.site-footer .footer-col a,
  footer.site-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}
