/* =====================================================================
   Premier Home Funding — shared stylesheet (Phase 3 rebuild; incl. Ivey + reviews)
   Brand values pulled verbatim from team-page officer.html.
   Edit a variable here = reskins the whole site.
   ===================================================================== */
:root{
  --brand:#26358d;        /* royal blue — primary */
  --brand-dk:#1a2566;
  --accent:#c79a3f;       /* gold accent */
  --accent-dk:#a9812e;
  --gray:#8c8c8d;         /* roof gray */
  --ink:#121a3a;          /* body text */
  --muted:#646b82;
  --line:#e2e6f1;
  --tint:#eef0f9;         /* soft section tint */
  --tint-line:#d6dcef;
  --paper:#f5f7fc;        /* page background */
  --surface:#ffffff;
  --shadow:0 1px 2px rgba(18,26,58,.06),0 14px 34px -14px rgba(18,26,58,.22);
  --radius:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.serif{font-family:'Fraunces',Georgia,serif;font-weight:500;letter-spacing:-.01em;line-height:1.1}
h1{font-size:clamp(34px,5vw,56px)}
h2{font-size:clamp(26px,3.4vw,40px)}
h3{font-size:20px}
p{color:#3a4264}
a{color:inherit}
.sec-label{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7d5e1e;margin-bottom:12px}
.block{padding:80px 0}
.block.sm{padding:56px 0}
.tint{background:var(--tint)}
.center{text-align:center}
.maxw{max-width:720px;margin-left:auto;margin-right:auto}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px;padding:14px 24px;border-radius:11px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:transform .12s ease,background .15s ease,border-color .15s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:#23190a;border-color:var(--accent)}
.btn-primary:hover{background:var(--accent-dk);border-color:var(--accent-dk)}
.btn-ghost{background:#fff;color:var(--brand);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--brand)}
.btn-outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn-outline-light:hover{border-color:#fff}

/* header */
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.topbar .wrap{position:relative;display:flex;align-items:center;justify-content:space-between;height:clamp(88px,11vw,132px)}
.logo img{height:clamp(66px,9vw,120px);width:auto;display:block}
.nav{display:flex;align-items:center;gap:26px}
.nav .nav-links{display:flex;gap:26px;align-items:center}
.nav a{text-decoration:none;font-weight:500;font-size:15px;color:var(--ink)}
.nav a:hover{color:var(--brand)}
.nav .btn{padding:10px 20px;font-size:15px}
@media(max-width:920px){.nav .nav-links{display:none}}

/* interior page hero */
.page-hero{background:linear-gradient(160deg,var(--brand) 0%,var(--brand-dk) 100%);color:#fff}
.page-hero .wrap{padding:72px 24px}
.page-hero .eyebrow{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#c3cce0;font-weight:600;margin-bottom:14px}
.page-hero h1{color:#fff;max-width:22ch}
.page-hero p{color:#d7deee;font-size:19px;margin-top:18px;max-width:54ch}
.page-hero .ctas{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}

/* home hero */
.hero{background:linear-gradient(160deg,var(--brand) 0%,var(--brand-dk) 100%);color:#fff;position:relative;overflow:hidden}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding:90px 24px}
.hero h1{color:#fff}
.hero p.lede{color:#d7deee;font-size:19px;margin:20px 0 30px;max-width:42ch}
.hero .ctas{display:flex;gap:14px;flex-wrap:wrap}
.hero-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius);padding:28px}
.hero-card h3{color:#fff;font-family:'Fraunces',serif;font-weight:500;margin-bottom:6px}
.hero-card .field{display:block;width:100%;margin-top:12px;padding:13px 15px;border-radius:10px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.95);font-size:15px;font-family:inherit}
.hero-card .btn{width:100%;justify-content:center;margin-top:14px}
.hero-card .consent{font-size:11.5px;color:#aeb8d0;margin-top:10px;line-height:1.4}
.hero-trust{display:flex;gap:22px;margin-top:26px;color:#c3cce0;font-size:13.5px;flex-wrap:wrap}
@media(max-width:880px){.hero .wrap{grid-template-columns:1fr;padding:60px 24px}}

/* feature grids */
.stakes,.steps,.pillars,.videos,.quotes,.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cards2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.card .ic{width:44px;height:44px;border-radius:12px;background:var(--tint);display:grid;place-items:center;margin-bottom:14px;color:var(--brand);font-size:20px}
.card h3{font-family:'Fraunces',serif;font-weight:500;margin-bottom:6px}
.card p{font-size:14.5px}
@media(max-width:820px){.stakes,.steps,.pillars,.videos,.quotes,.cards3,.cards2{grid-template-columns:1fr}}

.step .num{width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700;margin-bottom:14px}

/* split / prose */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.top{align-items:start}
@media(max-width:820px){.split{grid-template-columns:1fr;gap:28px}}
.stat-row{display:flex;gap:34px;margin-top:24px;flex-wrap:wrap}
.stat b{font-family:'Fraunces',serif;font-size:30px;color:var(--brand);display:block;line-height:1}
.stat span{font-size:13.5px;color:var(--muted)}
.media-ph{background:var(--tint);border:1px solid var(--line);border-radius:var(--radius);min-height:320px;display:grid;place-items:center;color:var(--muted);font-size:14px;text-align:center;padding:24px}
.prose p{margin-bottom:16px;font-size:16.5px}
.prose h2{margin:8px 0 14px}
.prose h3{font-family:'Fraunces',serif;font-weight:500;margin:22px 0 8px;color:var(--ink)}
.prose ul{margin:0 0 16px 0;padding-left:0;list-style:none}
.prose ul li{position:relative;padding-left:30px;margin-bottom:10px;font-size:16px;color:#3a4264}
.prose ul li::before{content:"";position:absolute;left:6px;top:9px;width:9px;height:9px;border-radius:50%;background:var(--accent)}

/* teaching pillars */
.pillar{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column}
.pillar .head{padding:24px;color:#fff}
.pillar .head .tag{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:rgba(255,255,255,.2);padding:4px 10px;border-radius:999px;margin-bottom:12px}
.pillar .head h3{font-family:'Fraunces',serif;font-weight:500;font-size:21px}
.pillar.c1 .head{background:var(--brand)}
.pillar.c2 .head{background:var(--accent)}
.pillar.c2 .head .tag{background:rgba(0,0,0,.14);color:#23190a}
.pillar.c2 .head h3{color:#23190a}
.pillar.c3 .head{background:var(--gray)}
.pillar .body{padding:22px;flex:1;display:flex;flex-direction:column}
.pillar .body p{font-size:14.5px;flex:1}
.pillar .body a{margin-top:14px;font-weight:600;color:var(--brand);text-decoration:none}

/* videos */
.vid{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.vid .thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#2a3b66,#1c2e54);display:grid;place-items:center;color:#fff}
.vid .thumb .play{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center}
.vid .meta{padding:16px}
.vid .meta h4{font-size:15px;font-weight:600;margin-bottom:6px;line-height:1.35}
.vid .meta span{font-size:12.5px;color:var(--muted)}
.placeholder-note{font-size:12.5px;color:var(--muted);margin-top:18px;font-style:italic}

/* testimonials */
.quote{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.quote .stars{color:var(--accent);margin-bottom:10px}
.quote p{font-size:14.5px}
.quote cite{display:block;margin-top:14px;font-style:normal;font-weight:600;font-size:13.5px;color:var(--ink)}

/* final CTA band */
.finalcta{background:linear-gradient(160deg,var(--brand),var(--brand-dk));color:#fff;text-align:center}
.finalcta h2{color:#fff;max-width:20ch;margin:0 auto 14px}
.finalcta p{color:#d7deee;max-width:48ch;margin:0 auto 26px}
.finalcta .ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* forms */
.leadform{display:flex;flex-direction:column;gap:12px;max-width:560px}
.leadform input,.leadform textarea,.leadform select{width:100%;padding:13px 15px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:15px;font-family:inherit;color:var(--ink)}
.leadform textarea{min-height:120px;resize:vertical}
.leadform .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.leadform .row{grid-template-columns:1fr}}
.consent{font-size:12px;color:var(--muted);line-height:1.5}
.compliance-flag{background:#fff7e6;border:1px solid #f0d28a;border-radius:10px;padding:12px 14px;font-size:12.5px;color:#7a5b16;margin-top:6px}

/* footer */
footer{background:var(--brand-dk);color:#c3cce0;padding:54px 0 30px}
footer .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:34px}
footer img.flogo{height:64px;margin-bottom:14px;background:#fff;border-radius:12px;padding:8px}
footer h5{color:#fff;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:14px}
footer a{display:block;color:#c3cce0;text-decoration:none;font-size:14px;margin-bottom:9px}
footer a:hover{color:#fff}
footer .ftxt{color:#c3cce0;font-size:14px;max-width:38ch}
footer .social{display:flex;gap:12px;margin-top:14px}
footer .social a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.2);display:grid;place-items:center;margin:0;font-size:13px}
.legal{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;font-size:12.5px;color:#9aa6c2;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.legal a{display:inline;color:#c3cce0;text-decoration:underline;margin:0}
.legal img{height:40px;background:#fff;border-radius:6px;padding:3px}
@media(max-width:820px){footer .cols{grid-template-columns:1fr}}

/* ---------------- Accessibility ---------------- */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--brand);color:#fff;padding:10px 16px;border-radius:0 0 8px 0;z-index:200;font-weight:600}
.skip-link:focus{left:0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.btn:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;width:44px;height:44px;flex-direction:column;justify-content:center;gap:5px;padding:10px}
.nav-toggle span{display:block;height:2px;width:100%;background:var(--ink);border-radius:2px}
@media(max-width:920px){
  .nav-toggle{display:inline-flex}
  .nav .nav-links{display:none}
  .nav.open .nav-links{display:flex;flex-direction:column;align-items:stretch;gap:4px;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:12px 24px}
  .nav.open .nav-links a{padding:11px 0;border-bottom:1px solid var(--line)}
}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* ---------------- Offer / proof (conversion) ---------------- */
.scarcity{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:#23190a;background:var(--accent);padding:6px 13px;border-radius:999px}
.offer-card{background:linear-gradient(160deg,var(--brand),var(--brand-dk));color:#fff;border-radius:var(--radius);padding:38px;box-shadow:var(--shadow)}
.offer-card h2{color:#fff}
.offer-card .stack{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px}
.offer-card .stack li{position:relative;padding-left:36px;color:#e7ecfb;font-size:15.5px;line-height:1.5}
.offer-card .stack li b{color:#fff}
.offer-card .stack li::before{content:"✓";position:absolute;left:0;top:1px;width:23px;height:23px;border-radius:50%;background:var(--accent);color:#23190a;display:grid;place-items:center;font-size:13px;font-weight:800}
.offer-disclaimer{font-size:11.5px;color:#aeb8d0;margin-top:18px;line-height:1.5;max-width:62ch}
.reversal{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.reversal .r{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.reversal .r .ic{width:42px;height:42px;border-radius:11px;background:var(--tint);color:var(--brand);display:grid;place-items:center;font-size:18px;margin-bottom:12px}
.reversal .r h3{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:17px;margin-bottom:6px}
.reversal .r p{font-size:14px}
@media(max-width:760px){.reversal{grid-template-columns:1fr}}
.casework{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.case{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.case .label{font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--accent-dk)}
.case h3{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:18px;margin:8px 0 10px}
.case p{font-size:14px}
.case .win{margin-top:12px;font-size:13.5px;font-weight:600;color:var(--brand)}
@media(max-width:820px){.casework{grid-template-columns:1fr}}
.cred-band{background:var(--ink);color:#fff;border-radius:var(--radius);padding:26px 24px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center;box-shadow:var(--shadow)}
.cred-band .c b{font-family:'Fraunces',Georgia,serif;font-size:22px;line-height:1.05;display:block;color:#fff;margin-bottom:6px}
.cred-band .c span{font-size:12.5px;color:#c3cce0}
@media(max-width:680px){.cred-band{grid-template-columns:1fr 1fr;gap:22px}}

/* ---------------- FAQ accordion + service-area cards ---------------- */
.faq{display:flex;flex-direction:column;gap:12px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.faq summary{cursor:pointer;font-weight:600;padding:16px 20px;list-style:none;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;color:var(--brand);font-weight:700;font-size:18px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details > p{padding:0 20px 16px;color:#3a4264;font-size:14.5px}
.area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:820px){.area-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.area-grid{grid-template-columns:1fr}}
.area-card{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);text-decoration:none;color:inherit}
.area-card:hover{border-color:var(--brand)}
.area-card h3{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:18px;color:var(--brand);margin-bottom:4px}
.area-card span{font-size:13px;color:var(--muted)}

/* ---------------- Ivey mascot ---------------- */
.ivey-greet{display:flex;align-items:center;gap:28px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px 32px;max-width:760px;margin:0 auto}
.ivey-greet img{width:150px;height:auto;flex:0 0 auto}
.ivey-greet .eyebrow{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#7d5e1e;margin-bottom:6px}
.ivey-greet h3{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:24px;color:var(--ink);margin-bottom:6px}
.ivey-greet p{font-size:15px;color:#3a4264;margin:0}
@media(max-width:560px){.ivey-greet{flex-direction:column;text-align:center;gap:14px;padding:26px 20px}.ivey-greet img{width:120px}}

.ivey-coach{display:flex;align-items:flex-end;gap:14px;margin:0 0 4px}
.ivey-coach img{width:84px;height:auto;flex:0 0 auto}
.ivey-coach .say{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:14px;border-bottom-left-radius:4px;box-shadow:var(--shadow);padding:12px 16px;font-size:14.5px;color:#3a4264}
.ivey-coach .say::before{content:"";position:absolute;left:-8px;bottom:10px;width:0;height:0;border:7px solid transparent;border-right-color:var(--line)}
.ivey-coach .say::after{content:"";position:absolute;left:-6px;bottom:11px;width:0;height:0;border:6px solid transparent;border-right-color:var(--surface)}
@media(max-width:560px){.ivey-coach img{width:64px}}

.ivey-help{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;align-items:flex-end;gap:10px;flex-direction:row-reverse}
.ivey-help .btn-ivey{background:var(--brand);border:none;border-radius:50%;width:66px;height:66px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;cursor:pointer;box-shadow:var(--shadow);padding:0;transition:transform .15s}
.ivey-help .btn-ivey:hover{transform:translateY(-3px)}
.ivey-help .btn-ivey img{width:58px;height:auto;margin-bottom:-2px;pointer-events:none}
.ivey-help .tip{background:var(--surface);border:1px solid var(--line);border-radius:14px;border-bottom-right-radius:4px;box-shadow:var(--shadow);padding:12px 14px;max-width:230px;font-size:13.5px;color:var(--ink);display:none}
.ivey-help .tip a{color:var(--brand);font-weight:600;text-decoration:none}
.ivey-help.open .tip{display:block}
.ivey-help .tip .x{float:right;color:var(--muted);cursor:pointer;font-size:15px;line-height:1;margin:-2px -2px 0 8px}
@media(max-width:560px){.ivey-help .btn-ivey{width:58px;height:58px}.ivey-help .btn-ivey img{width:50px}}
@media(prefers-reduced-motion:reduce){.ivey-help .btn-ivey{transition:none}}

@keyframes iveyHop{0%{transform:translateX(420px) translateY(0) rotate(0)}15%{transform:translateX(340px) translateY(-14px) rotate(-4deg)}30%{transform:translateX(270px) translateY(0) rotate(3deg)}45%{transform:translateX(190px) translateY(-14px) rotate(-4deg)}60%{transform:translateX(110px) translateY(0) rotate(3deg)}75%{transform:translateX(55px) translateY(-11px) rotate(-3deg)}90%{transform:translateX(8px) translateY(0) rotate(1deg)}100%{transform:translateX(0) translateY(0) rotate(0)}}
@keyframes iveyBubble{0%{opacity:0;transform:scale(.7) translateY(8px)}100%{opacity:1;transform:scale(1) translateY(0)}}
.ivey-entrance{position:fixed;right:18px;bottom:18px;z-index:55;display:none;align-items:flex-end;gap:12px}
.ivey-entrance.show{display:flex}
.ivey-entrance .e-dog{width:124px;height:auto;flex:0 0 auto;transform-origin:50% 90%}
.ivey-entrance.show .e-dog{animation:iveyHop 2s cubic-bezier(.45,.05,.35,1) forwards}
.ivey-entrance .e-bubble{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:16px;border-bottom-right-radius:4px;box-shadow:var(--shadow);padding:14px 18px 14px 16px;max-width:240px;font-size:15px;color:var(--ink);line-height:1.5;opacity:0}
.ivey-entrance.show .e-bubble{animation:iveyBubble .4s ease-out 1.9s forwards}
.ivey-entrance .e-bubble b{color:var(--brand)}
.ivey-entrance .e-x{position:absolute;top:6px;right:9px;color:var(--muted);cursor:pointer;font-size:16px;line-height:1;background:none;border:none;padding:2px}
.ivey-entrance .e-x:hover{color:var(--ink)}
@media(max-width:560px){.ivey-entrance .e-dog{width:96px}.ivey-entrance .e-bubble{max-width:200px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.ivey-entrance.show .e-dog{animation:none;transform:none}.ivey-entrance.show .e-bubble{animation:none;opacity:1}}

/* ---------------- Google reviews footer carousel ---------------- */
.rev-band{background:var(--brand);color:#fff;padding:26px 0}
.rev-inner{max-width:760px;margin:0 auto;text-align:center;min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.rev-stars{color:var(--accent);font-size:18px;letter-spacing:3px;line-height:1}
.rev-quote{font-family:'Fraunces',Georgia,serif;font-weight:400;font-style:italic;font-size:clamp(16px,2.2vw,20px);line-height:1.45;color:#fff;margin:0;max-width:64ch;transition:opacity .4s ease}
.rev-quote.fading{opacity:0}
.rev-meta{font-size:13px;color:#c3cce0;margin-top:2px;transition:opacity .4s ease}
.rev-meta.fading{opacity:0}
.rev-meta .rev-author{color:#fff;font-weight:600}
.rev-g{display:inline-flex;align-items:center;gap:5px;font-weight:600}
.rev-g .g{font-family:Arial,sans-serif;font-weight:700}
.rev-g .gB{color:#4285F4}.rev-g .gR{color:#EA4335}.rev-g .gY{color:#FBBC05}.rev-g .gG{color:#34A853}
.rev-dots{display:flex;gap:7px;margin-top:10px}
.rev-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.4);border:none;padding:0;cursor:pointer;transition:background .2s}
.rev-dot[aria-current="true"]{background:var(--accent)}
.rev-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.12);border:none;color:#fff;width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center}
.rev-nav:hover{background:rgba(255,255,255,.24)}
.rev-band .wrap{position:relative}
.rev-prev{left:8px}.rev-next{right:8px}
@media(max-width:600px){.rev-nav{display:none}}
@media(prefers-reduced-motion:reduce){.rev-quote,.rev-meta{transition:none}}

/* ---------------- Branded image panels (replace photo placeholders) ---------------- */
.brand-panel{background:linear-gradient(160deg,var(--brand),var(--brand-dk));border-radius:var(--radius);min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px 32px;box-shadow:var(--shadow)}
.brand-panel img{width:min(72%,300px);height:auto;margin-bottom:24px}
.brand-panel p{color:#d7deee;font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:18px;line-height:1.45;max-width:30ch;margin:0}


/* ---------------- Local market snapshot band (ORRA data) ---------------- */
.market-band{padding:48px 0;background:#f6f7fb;border-top:1px solid #e7e9f2}
.market-band .mb-head{text-align:center;max-width:680px;margin:0 auto 28px}
.market-band .mb-head h2{margin:8px 0 10px}
.market-band .mb-head p{color:#5b6170;max-width:52ch;margin:0 auto}
.market-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:980px;margin:0 auto}
.market-stat{background:#fff;border:1px solid #e7e9f2;border-radius:var(--radius);padding:24px 18px;text-align:center;box-shadow:var(--shadow)}
.market-stat .ms-num{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(22px,3vw,30px);line-height:1.1;color:var(--brand)}
.market-stat .ms-lbl{font-size:13px;font-weight:600;color:#3a3f4c;margin-top:8px}
.market-stat .ms-sub{font-size:12px;color:#6b7280;margin-top:4px}
.market-src{text-align:center;font-size:12px;color:#6b7280;margin-top:20px}
.market-src a{color:inherit;text-decoration:underline}
@media(max-width:760px){.market-stats{grid-template-columns:repeat(2,1fr)}}
