/*
Theme Name:   AZ Reneau
Theme URI:    https://www.azreneau.com/
Description:  Standalone block theme for AZ Reneau Group (residential real estate, My Home Group). A reskin of a licensed layout structure; design tokens live in theme.json only.
Author:       AZ Reneau Group
Version:      0.6.3
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.2
License:      Proprietary (font: Montserrat, SIL OFL, see assets/fonts/)
Text Domain:  azreneau
*/

/* ============================================================
   ALIAS CONTRACT — the licensed stylesheet's variable names,
   remapped to the AZ Reneau tokens in theme.json. Light surfaces,
   navy type, sage accents. Every text/background pair below was
   contrast-checked (see CONVENTIONS.md). No hex outside theme.json.
   ============================================================ */
:root{
  --ink:        var(--wp--preset--color--sage-light); /* page background (sage) */
  --charcoal:   var(--wp--preset--color--sage-light); /* alternate sections = sage ground */
  --elevated:   var(--wp--preset--color--canvas);     /* card surfaces (white on sage) */
  --line:       var(--wp--preset--color--line);       /* borders */
  --paper:      var(--wp--preset--color--ink);        /* body text */
  --gold:       var(--wp--preset--color--navy);       /* headings, primary buttons, key accents */
  --gold-light: var(--wp--preset--color--navy-soft);  /* hover text, card titles, links */
  --gold-muted: var(--wp--preset--color--sage-deep);  /* eyebrows, small labels (5.8:1 on white) */
  --gold-deep:  var(--wp--preset--color--sage);       /* borders and dividers ONLY */
  --sage:       var(--wp--preset--color--sage);
  --sage-light: var(--wp--preset--color--sage-light);
  --sage-deep:  var(--wp--preset--color--sage-deep);
  --muted:      var(--wp--preset--color--muted);
}

/* ============================================================
   BASE STYLESHEET (licensed layout structure) + index hero variant
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--ink);
  color:var(--paper);
  font-family:'Montserrat',sans-serif;
  font-weight:300;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Montserrat',sans-serif;
  color:var(--gold);
  font-weight:600;
  letter-spacing:0.01em;
}
a{color:inherit;text-decoration:none;}
.eyebrow{
  font-family:'Montserrat',sans-serif;
  text-transform:uppercase;
  letter-spacing:0.28em;
  font-size:0.72rem;
  color:var(--gold-muted);
  font-weight:500;
}
img{display:block;max-width:100%;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
button, .btn{cursor:pointer;border:none;font-family:'Montserrat',sans-serif;}

/* ---------- SKYLINE SIGNATURE MOTIF ---------- */
.skyline-svg line, .skyline-svg polyline{
  stroke:var(--gold);
  stroke-width:1;
  fill:none;
  opacity:0.55;
}
.skyline-divider{width:100%;display:block;height:auto;}

/* ---------- HEADER ---------- */
header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:var(--wp--custom--color--header-veil);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:1180px;margin:0 auto;padding:16px 32px;
  display:flex;align-items:center;justify-content:space-between;
}
.logo-mark{display:flex;align-items:center;gap:16px;}
.logo-mark img{height:34px;width:auto;}
.logo-divider{width:1px;height:30px;background:var(--line);display:inline-block;}
nav{display:flex;gap:18px;align-items:center;flex-wrap:nowrap;}
nav a{
  font-size:0.72rem;letter-spacing:0.05em;text-transform:uppercase;
  color:var(--paper);opacity:0.82;font-weight:400;white-space:nowrap;
  transition:opacity .2s, color .2s;
}
nav a:hover{opacity:1;color:var(--gold-light);}
.header-cta{
  display:flex;gap:14px;align-items:center;
}
.call-btn{
  border:1px solid var(--gold);color:var(--gold);
  padding:9px 20px;font-size:0.78rem;letter-spacing:0.08em;text-transform:uppercase;
  border-radius:2px;transition:all .25s;
  display:flex;align-items:center;gap:8px;
}
.call-btn:hover{background:var(--gold);color:var(--ink);}
.nav-toggle{display:none;background:none;color:var(--gold);font-size:1.6rem;}

/* ---------- HERO (index variant: broker banner + offset inner) ---------- */
.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;
  padding-top:90px;overflow:hidden;
  background:
    radial-gradient(ellipse at 25% 15%, var(--wp--custom--color--sage-glow), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--wp--custom--color--canvas-soft) 60%, var(--ink) 100%);
}
.hero-skyline{
  position:absolute;bottom:0;left:0;right:0;width:100%;opacity:0.9;
  pointer-events:none;
}
.hero-inner{
  position:relative;z-index:2;margin:150px auto 0;padding:0 32px;
  max-width:860px;
}

/* ---------- HERO BROKER LOGO BANNER (dominant broker lockup, ADRE R4-28-502 prominence) ---------- */
.hero-broker-banner{
  position:absolute;top:100px;left:0;right:0;z-index:3;
  display:flex;align-items:center;justify-content:center;gap:30px;
  padding:0 32px;
}
.hero-broker-azreneau img{height:112px;width:auto;display:block;}
.hero-broker-mark img{height:112px;width:auto;display:block;}
.hero-broker-divider{width:1px;height:96px;background:var(--line);display:inline-block;}
@media(max-width:980px){
  .hero-broker-banner{top:80px;gap:16px;flex-wrap:wrap;}
  .hero-broker-azreneau img{height:56px;}
  .hero-broker-mark img{height:66px;}
}
.hero-eyebrow{margin-bottom:22px;}
.hero h1{
  font-size:clamp(2.4rem, 4.4vw, 3.6rem);
  line-height:1.08;
  margin-bottom:22px;
}
.hero h1 em{
  font-style:italic;color:var(--gold-light);
  display:block;position:relative;height:1.15em;
}
.rotator{position:relative;display:inline-block;height:1.3em;overflow:hidden;vertical-align:top;width:100%;}
.rotator span{
  position:absolute;left:0;top:0;opacity:0;white-space:nowrap;
  animation:rotateWords 9s infinite;
}
.rotator span:nth-child(1){animation-delay:0s;}
.rotator span:nth-child(2){animation-delay:3s;}
.rotator span:nth-child(3){animation-delay:6s;}
@keyframes rotateWords{
  0%{opacity:0; transform:translateY(8px);}
  4%{opacity:1; transform:translateY(0);}
  30%{opacity:1;transform:translateY(0);}
  34%{opacity:0;transform:translateY(-8px);}
  100%{opacity:0;}
}
.hero p.lede{
  font-size:1.08rem;color:var(--paper);opacity:0.82;max-width:520px;margin-bottom:36px;
  font-weight:300;
}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;}
.btn-primary{
  background:var(--gold);color:var(--ink);padding:16px 30px;
  font-size:0.82rem;letter-spacing:0.1em;text-transform:uppercase;font-weight:500;
  border-radius:2px;transition:all .25s;
  display:inline-flex;align-items:center;gap:10px;
}
.btn-primary:hover{background:var(--gold-light);transform:translateY(-1px);}
.btn-secondary{
  background:transparent;color:var(--gold-light);padding:16px 30px;
  border:1px solid var(--line);font-size:0.82rem;letter-spacing:0.1em;text-transform:uppercase;
  border-radius:2px;transition:all .25s;
  display:inline-flex;align-items:center;gap:10px;
}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold-light);}

/* ---------- TRUST BAR ---------- */
.trust-bar{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:var(--charcoal);
}
.trust-inner{
  max-width:1180px;margin:0 auto;padding:34px 32px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;
}
.trust-inner .stat-num{font-family:'Montserrat',sans-serif;font-size:2.1rem;color:var(--gold);font-weight:600;}
.trust-inner .stat-label{font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;opacity:0.65;margin-top:4px;}

/* ---------- SECTION GENERIC ---------- */
section{padding:100px 0;position:relative;}
.section-head{max-width:640px;margin-bottom:56px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(1.9rem,3.2vw,2.7rem);margin-top:14px;}
.section-head p{opacity:0.72;margin-top:16px;font-size:1rem;}
.alt-bg{background:var(--charcoal);}

/* ---------- JOURNEY CARDS ---------- */
.journey-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
.journey-card{
  background:var(--elevated);border:1px solid var(--line);
  padding:34px 28px;border-radius:3px;transition:all .3s;position:relative;overflow:hidden;
}
.journey-card:hover{border-color:var(--gold-muted);transform:translateY(-4px);}
.journey-card .num{font-family:'Montserrat',sans-serif;color:var(--gold-deep);font-size:0.85rem;letter-spacing:0.15em;}
.journey-card h3{font-size:1.35rem;margin:14px 0 10px;}
.journey-card p{font-size:0.9rem;opacity:0.68;margin-bottom:20px;}
.journey-card .link{font-size:0.76rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold);border-bottom:1px solid var(--gold-deep);padding-bottom:3px;}

/* ---------- SERVICES STRIP ---------- */
.services-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:14px;
}
.service-chip{
  background:var(--elevated);border:1px solid var(--line);padding:26px 16px;text-align:center;
  border-radius:3px;transition:all .25s;
}
.service-chip:hover{border-color:var(--gold);}
.service-chip .ic{margin-bottom:12px;display:flex;justify-content:center;}
.service-chip .ic svg{width:40px;height:40px;}
.service-chip h4{font-family:'Montserrat',sans-serif;color:var(--gold-light);font-size:0.86rem;letter-spacing:0.04em;font-weight:500;}
.service-chip span{display:block;font-size:0.72rem;opacity:0.5;margin-top:4px;}

/* ---------- LISTINGS CAROUSEL ---------- */
.listings-track{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
}
.listing-card{
  background:var(--elevated);border:1px solid var(--line);border-radius:3px;overflow:hidden;
  transition:all .3s;
}
.listing-card:hover{border-color:var(--gold-muted);transform:translateY(-4px);}
.listing-photo{
  height:170px;background:linear-gradient(135deg,var(--wp--custom--color--photo-start),var(--wp--custom--color--photo-end));
  display:flex;align-items:center;justify-content:center;position:relative;
}
.listing-photo svg{width:70%;opacity:0.35;}
.listing-tag{
  position:absolute;top:12px;left:12px;background:var(--gold);color:var(--ink);
  font-size:0.66rem;letter-spacing:0.08em;text-transform:uppercase;padding:4px 10px;border-radius:2px;font-weight:600;
}
.listing-body{padding:22px;}
.listing-body h4{font-family:'Montserrat',sans-serif;color:var(--gold-light);font-size:1.2rem;margin-bottom:6px;}
.listing-meta{font-size:0.78rem;opacity:0.6;margin-bottom:14px;}
.listing-stats{display:flex;gap:16px;font-size:0.78rem;opacity:0.75;margin-bottom:18px;border-top:1px solid var(--line);padding-top:14px;}
.listing-cta{font-size:0.74rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--gold);}

/* ---------- WHY / TRUST LADDER ---------- */
.ladder{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
.ladder-list{list-style:none;}
.ladder-list li{
  display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);
}
.ladder-list li:first-child{padding-top:0;}
.ladder-list .rank{font-family:'Montserrat',sans-serif;color:var(--gold-deep);font-size:1.1rem;min-width:26px;}
.ladder-list h4{color:var(--gold-light);font-family:'Montserrat',sans-serif;font-size:0.98rem;font-weight:500;margin-bottom:4px;}
.ladder-list p{font-size:0.85rem;opacity:0.62;}

.diff-grid{display:grid;gap:20px;}
.diff-item{
  background:var(--elevated);border-left:2px solid var(--gold);padding:20px 24px;border-radius:2px;
}
.diff-item h4{color:var(--gold-light);font-size:1.02rem;margin-bottom:6px;font-family:'Montserrat',sans-serif;font-weight:500;}
.diff-item p{font-size:0.86rem;opacity:0.65;}

/* ---------- TESTIMONIALS ---------- */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.testi-card{
  background:var(--elevated);border:1px solid var(--line);padding:30px 26px;border-radius:3px;position:relative;
}
.testi-quote-mark{font-family:'Montserrat',sans-serif;font-size:3rem;color:var(--gold-deep);line-height:0;position:relative;top:22px;}
.testi-card p.quote{font-size:0.94rem;opacity:0.85;margin:10px 0 22px;font-style:italic;}
.testi-person{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:16px;}
.testi-person .avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:1px solid var(--gold-deep);}
.testi-person .name{color:var(--gold-light);font-size:0.88rem;font-weight:500;}
.testi-person .role{font-size:0.72rem;opacity:0.55;}

/* ---------- TEAM PREVIEW ---------- */
.team-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:14px;}
.team-tile{text-align:center;display:block;}
.team-tile .photo-wrap{
  aspect-ratio:1/1;border-radius:50%;overflow:hidden;border:1px solid var(--line);margin-bottom:12px;
  transition:border-color .25s;
}
.team-tile:hover .photo-wrap{border-color:var(--gold);}
.team-tile img{width:100%;height:100%;object-fit:cover;}
.team-tile h5{font-size:0.82rem;color:var(--gold-light);font-weight:500;}
.team-tile span{font-size:0.68rem;opacity:0.5;display:block;margin-top:2px;}

/* ---------- MARKET INSIGHTS TEASER ---------- */
.insights-card{
  background:linear-gradient(120deg, var(--elevated), var(--charcoal));
  border:1px solid var(--line);border-radius:4px;
  display:grid;grid-template-columns:1.3fr 1fr;gap:0;overflow:hidden;
}
.insights-copy{padding:52px;}
.insights-copy .eyebrow{margin-bottom:16px;}
.insights-copy h3{font-size:1.9rem;margin-bottom:16px;}
.insights-copy p{opacity:0.72;margin-bottom:26px;font-size:0.95rem;}
.insights-stats{
  padding:52px;border-left:1px solid var(--line);
  display:flex;flex-direction:column;gap:22px;justify-content:center;
}
.insights-stats .row{display:flex;justify-content:space-between;font-size:0.85rem;border-bottom:1px dashed var(--line);padding-bottom:14px;}
.insights-stats .row b{color:var(--gold);font-family:'Montserrat',sans-serif;font-size:1.1rem;}

/* ---------- FINAL CTA ---------- */
.final-cta{
  text-align:center;padding:120px 0;position:relative;
  background:radial-gradient(ellipse at 50% 0%, var(--wp--custom--color--sage-glow-soft), transparent 60%);
}
.final-cta h2{font-size:clamp(2rem,4vw,3.2rem);margin-bottom:20px;}
.final-cta p{opacity:0.7;max-width:480px;margin:0 auto 36px;}
.final-cta-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

/* ---------- FOOTER ---------- */
footer{background:var(--charcoal);border-top:1px solid var(--line);padding:60px 0 100px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:50px;}

.footer-grid p.tag{font-size:0.85rem;opacity:0.55;max-width:260px;}
.footer-col h5{font-size:0.76rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--gold-muted);margin-bottom:16px;}
.footer-col a, .footer-col p{display:block;font-size:0.86rem;opacity:0.7;margin-bottom:10px;}
.footer-col a:hover{opacity:1;color:var(--gold-light);}
.social-row{display:flex;gap:14px;margin-top:16px;}
.social-row a{
  width:36px;height:36px;border:1px solid var(--line);border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:0.8rem;
}
.social-row a:hover{border-color:var(--gold);color:var(--gold);}
.footer-bottom{
  border-top:1px solid var(--line);padding-top:26px;
  display:flex;justify-content:space-between;font-size:0.76rem;opacity:0.45;flex-wrap:wrap;gap:10px;
}

/* ---------- STICKY MOBILE CALL BAR ---------- */
.sticky-call{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:200;
  background:var(--gold);color:var(--ink);padding:16px 24px;
  align-items:center;justify-content:center;gap:10px;font-weight:600;
  letter-spacing:0.06em;text-transform:uppercase;font-size:0.85rem;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
  nav{display:none;}
  .nav-toggle{display:block;}
  .hero-inner{text-align:left;margin-top:90px;}
  .hero h1{font-size:clamp(1.9rem, 6.5vw, 2.6rem);}
  .rotator{height:2.5em;}
  .rotator span{white-space:normal;}
  .journey-grid{grid-template-columns:1fr;}
  .services-grid{grid-template-columns:repeat(3,1fr);}
  .listings-track{grid-template-columns:1fr;}
  .ladder{grid-template-columns:1fr;gap:40px;}
  .testi-grid{grid-template-columns:1fr;}
  .team-strip{grid-template-columns:repeat(4,1fr);}
  .insights-card{grid-template-columns:1fr;}
  .insights-stats{border-left:none;border-top:1px solid var(--line);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .trust-inner{grid-template-columns:repeat(2,1fr);}
  .sticky-call{display:flex;}
  section{padding:70px 0;}
  body{padding-bottom:64px;}
}
@media(max-width:560px){
  .team-strip{grid-template-columns:repeat(3,1fr);}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr;}
}

::selection{background:var(--gold);color:var(--ink);}
:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px;}
@media (prefers-reduced-motion: reduce){
  .rotator span{animation:none;opacity:1;position:relative;}
}

/* ============================================================
   LISTING DETAIL (the layout's 18 property pages)
   ============================================================ */
.listing-hero{padding:150px 0 50px;background:linear-gradient(180deg,var(--ink),var(--wp--custom--color--canvas-soft));}
.listing-crumb{font-size:0.76rem;letter-spacing:0.06em;text-transform:uppercase;color:var(--gold-muted);margin-bottom:18px;display:block;}
.listing-crumb a:hover{color:var(--gold-light);}
.listing-head{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap;margin-bottom:8px;}
.listing-head h1{font-size:clamp(1.8rem,3.4vw,2.6rem);max-width:680px;}
.listing-price{font-family:'Montserrat',sans-serif;color:var(--gold);font-size:2rem;font-weight:600;white-space:nowrap;}
.listing-address{opacity:0.7;font-size:1rem;margin-bottom:18px;}
.listing-tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:6px;}
.tag-pill{font-size:0.7rem;letter-spacing:0.08em;text-transform:uppercase;padding:5px 13px;border-radius:20px;border:1px solid var(--gold-deep);color:var(--gold-light);}
.tag-status{background:var(--gold);color:var(--ink);border:none;font-weight:600;}

/* GALLERY */
.gallery-wrap{margin:36px 0;}
.gallery-main{width:100%;aspect-ratio:16/9;border-radius:4px;overflow:hidden;border:1px solid var(--line);background:var(--charcoal);cursor:zoom-in;position:relative;}
.gallery-main img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .2s;}
.gallery-thumbs{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;}
.gallery-thumbs img{width:90px;height:64px;object-fit:cover;border-radius:3px;border:1px solid var(--line);cursor:pointer;opacity:0.6;transition:all .2s;}
.gallery-thumbs img.active{opacity:1;border-color:var(--gold);}
.gallery-thumbs img:hover{opacity:1;}
.lightbox{display:none;position:fixed;inset:0;background:var(--wp--custom--color--lightbox-veil);z-index:999;align-items:center;justify-content:center;cursor:zoom-out;}
.lightbox.open{display:flex;}
.lightbox img{max-width:90vw;max-height:88vh;border-radius:4px;}

.video-tour{margin-top:22px;}
.video-tour h3{color:var(--gold-light);font-family:'Montserrat',sans-serif;font-size:0.95rem;font-weight:600;margin-bottom:12px;letter-spacing:0.04em;text-transform:uppercase;}
.video-tour video{width:100%;max-height:520px;border-radius:4px;border:1px solid var(--line);background:var(--wp--custom--color--pure-black);display:block;margin:0 auto;}

/* BODY GRID */
.listing-body{display:grid;grid-template-columns:1.6fr 1fr;gap:50px;align-items:start;}
.listing-main h2{font-size:1.5rem;margin:36px 0 14px;}
.listing-main h2:first-child{margin-top:0;}
.listing-desc{opacity:0.8;font-size:0.98rem;margin-bottom:8px;}
.spec-table{width:100%;border-collapse:collapse;margin-bottom:10px;}
.spec-table tr{border-bottom:1px solid var(--line);}
.spec-table td{padding:11px 4px;font-size:0.92rem;}
.spec-table td:first-child{color:var(--gold-muted);text-transform:uppercase;font-size:0.72rem;letter-spacing:0.08em;width:40%;}
.spec-table td:last-child{color:var(--paper);text-align:right;font-weight:500;}
.highlight-list{list-style:none;margin-bottom:10px;}
.highlight-list li{position:relative;padding-left:22px;margin-bottom:12px;font-size:0.94rem;opacity:0.85;}
.highlight-list li:before{content:"—";position:absolute;left:0;color:var(--gold);}
.map-embed{width:100%;height:320px;border:1px solid var(--line);border-radius:4px;margin-top:10px;filter:grayscale(0.3) invert(0.92) contrast(0.9);}

/* SIDEBAR */
.sidebar{position:sticky;top:100px;}
.sidebar-card{background:var(--elevated);border:1px solid var(--line);border-radius:4px;padding:26px;margin-bottom:20px;}
.sidebar-card h3{color:var(--gold-light);font-family:'Montserrat',sans-serif;font-size:1rem;font-weight:600;margin-bottom:16px;}
.sidebar-card .btn-primary, .sidebar-card .btn-secondary{width:100%;justify-content:center;margin-bottom:10px;}
.om-gate{display:none;margin-top:14px;}
.om-gate.open{display:block;}
.om-gate input{
  width:100%;padding:11px 14px;margin-bottom:10px;background:var(--ink);border:1px solid var(--line);
  color:var(--paper);border-radius:2px;font-family:'Montserrat',sans-serif;font-size:0.85rem;
}
.om-gate input:focus{outline:none;border-color:var(--gold);}
.om-success{display:none;font-size:0.82rem;color:var(--gold-light);margin-top:10px;text-align:center;}
.om-success.open{display:block;}
.agent-card-mini{display:flex;gap:12px;align-items:center;padding:14px 0;border-top:1px solid var(--line);}
.agent-card-mini:first-of-type{border-top:none;padding-top:0;}
.agent-card-mini img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:1px solid var(--gold-deep);}
.agent-card-mini .name{color:var(--gold-light);font-size:0.9rem;font-weight:500;}
.agent-card-mini .role{font-size:0.72rem;opacity:0.55;margin-bottom:4px;}
.agent-card-mini a{font-size:0.76rem;color:var(--gold-muted);display:block;}
.agent-card-mini a:hover{color:var(--gold-light);}

/* SIMILAR LISTINGS */
.similar-section{padding:70px 0 100px;}

@media(max-width:900px){
  .listing-body{grid-template-columns:1fr;}
  .sidebar{position:static;}
}

/* ============================================================
   ADVISOR PROFILE (the layout's 8 team pages)
   ============================================================ */
.profile-hero{
  padding:160px 0 90px;
  background:radial-gradient(ellipse at 20% 10%, var(--wp--custom--color--sage-glow), transparent 55%), var(--ink);
}
.profile-grid{display:grid;grid-template-columns:300px 1fr;gap:60px;align-items:start;}
.profile-photo{
  width:100%;aspect-ratio:1/1;border-radius:50%;overflow:hidden;
  border:1px solid var(--gold-deep);
}
.profile-photo img{width:100%;height:100%;object-fit:cover;}
.back-link{
  display:inline-flex;align-items:center;gap:8px;font-size:0.76rem;letter-spacing:0.08em;
  text-transform:uppercase;color:var(--gold-muted);margin-bottom:26px;
}
.back-link:hover{color:var(--gold-light);}
.profile-title h1{font-size:clamp(2.1rem,4vw,3rem);margin-bottom:4px;}
.profile-role{font-size:1.02rem;color:var(--paper);opacity:0.7;margin-bottom:8px;}
.profile-specialty{
  display:inline-block;font-size:0.72rem;letter-spacing:0.1em;text-transform:uppercase;
  color:var(--gold-muted);border:1px solid var(--line);padding:6px 14px;border-radius:2px;margin-bottom:26px;
}
.profile-bio{font-size:1rem;opacity:0.82;max-width:640px;margin-bottom:34px;}
.profile-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px;}
.profile-contact-row{
  display:flex;gap:36px;flex-wrap:wrap;margin-top:34px;padding-top:28px;border-top:1px solid var(--line);
}
.profile-contact-row div{font-size:0.78rem;}
.profile-contact-row .lbl{text-transform:uppercase;letter-spacing:0.08em;color:var(--gold-muted);margin-bottom:6px;}
.profile-contact-row a{color:var(--gold-light);font-size:0.95rem;}
@media(max-width:760px){
  .profile-grid{grid-template-columns:1fr;}
  .profile-photo{max-width:200px;margin:0 auto;}
}

/* ============================================================
   LISTINGS ARCHIVE (the layout's listings.html)
   ============================================================ */
.listings-hero{padding:150px 0 50px;text-align:center;background:linear-gradient(180deg,var(--ink),var(--wp--custom--color--canvas-soft));}
.listings-hero .eyebrow{margin-bottom:16px;}
.listings-hero h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:14px;}
.listings-hero p{opacity:0.72;max-width:560px;margin:0 auto;}

.filter-bar{
  display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:34px 0;
  border-bottom:1px solid var(--line);margin-bottom:50px;
}
.filter-pill{
  background:var(--elevated);border:1px solid var(--line);color:var(--paper);
  padding:9px 20px;border-radius:30px;font-size:0.8rem;letter-spacing:0.04em;
  cursor:pointer;transition:all .2s;
}
.filter-pill.active{background:var(--gold);color:var(--ink);border-color:var(--gold);font-weight:600;}
.filter-pill:hover:not(.active){border-color:var(--gold-muted);}
.filter-divider{width:1px;background:var(--line);margin:0 6px;}

.grid-count{text-align:center;font-size:0.82rem;opacity:0.55;margin-bottom:30px;letter-spacing:0.04em;}

.listings-full-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding-top:50px;padding-bottom:100px;
}
.lcard{
  background:var(--elevated);border:1px solid var(--line);border-radius:4px;overflow:hidden;
  transition:all .3s;display:flex;flex-direction:column;
}
.lcard:hover{border-color:var(--gold-muted);transform:translateY(-4px);}
.lcard .photo{height:200px;overflow:hidden;position:relative;}
.lcard .photo img{width:100%;height:100%;object-fit:cover;}
.lcard .status-tag{
  position:absolute;top:12px;left:12px;background:var(--gold);color:var(--ink);
  font-size:0.66rem;letter-spacing:0.08em;text-transform:uppercase;padding:4px 10px;border-radius:2px;font-weight:600;
}
.lcard .body{padding:20px 22px;flex:1;display:flex;flex-direction:column;}
.lcard h4{font-family:'Montserrat',sans-serif;color:var(--gold-light);font-size:1.15rem;margin-bottom:6px;line-height:1.25;}
.lcard .addr{font-size:0.78rem;opacity:0.6;margin-bottom:10px;}
.lcard .price{font-family:'Montserrat',sans-serif;color:var(--gold);font-size:1.1rem;font-weight:600;margin-bottom:12px;}
.lcard .tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px;}
.lcard .tags span{font-size:0.65rem;letter-spacing:0.06em;text-transform:uppercase;border:1px solid var(--line);color:var(--gold-muted);padding:3px 9px;border-radius:20px;}
.lcard .cta{margin-top:auto;font-size:0.74rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--gold);}

.alerts-band{
  background:var(--charcoal);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:60px 0;text-align:center;
}
.alerts-band h3{font-size:1.6rem;margin-bottom:10px;}
.alerts-band p{opacity:0.68;margin-bottom:24px;}
.alerts-form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;max-width:440px;margin:0 auto;}
.alerts-form input{
  flex:1;min-width:200px;padding:13px 16px;background:var(--ink);border:1px solid var(--line);
  color:var(--paper);border-radius:2px;font-family:'Montserrat',sans-serif;
}
.alerts-form input:focus{outline:none;border-color:var(--gold);}
.alerts-success{display:none;color:var(--gold-light);font-size:0.9rem;margin-top:16px;}
.alerts-success.open{display:block;}

@media(max-width:900px){
  .listings-full-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
  .listings-full-grid{grid-template-columns:1fr;}
  .filter-bar{padding:24px 16px;}
}

/* ============================================================
   NOTABLE TRANSACTIONS (the layout's notable-transactions.html)
   ============================================================ */
.nt-hero{padding:150px 0 50px;text-align:center;background:linear-gradient(180deg,var(--ink),var(--wp--custom--color--canvas-soft));}
.nt-hero .eyebrow{margin-bottom:16px;}
.nt-hero h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:14px;}
.nt-hero p{opacity:0.72;max-width:580px;margin:0 auto;}

.nt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:50px 0 100px;}
.nt-card{
  background:var(--elevated);border:1px solid var(--line);border-radius:4px;overflow:hidden;
  transition:all .3s;display:flex;flex-direction:column;
}
.nt-card:hover{border-color:var(--gold-muted);transform:translateY(-4px);}
.nt-card .photo{height:190px;background:linear-gradient(135deg,var(--wp--custom--color--photo-start),var(--wp--custom--color--photo-end));position:relative;display:flex;align-items:center;justify-content:center;}
.nt-card .photo img{width:100%;height:100%;object-fit:cover;}
.nt-card .deal-tag{
  position:absolute;top:12px;left:12px;background:var(--gold);color:var(--ink);
  font-size:0.66rem;letter-spacing:0.08em;text-transform:uppercase;padding:4px 10px;border-radius:2px;font-weight:600;
}
.nt-card .body{padding:22px;flex:1;display:flex;flex-direction:column;}
.nt-card h4{font-family:'Montserrat',sans-serif;color:var(--gold-light);font-size:1.2rem;margin-bottom:6px;line-height:1.25;}
.nt-card .addr{font-size:0.78rem;opacity:0.6;margin-bottom:10px;}
.nt-card .result{font-family:'Montserrat',sans-serif;color:var(--gold);font-size:1.05rem;font-weight:600;margin-bottom:10px;}
.nt-card .meta-row{font-size:0.76rem;opacity:0.65;border-top:1px solid var(--line);padding-top:12px;margin-top:auto;}

.nt-placeholder{
  grid-column:1/-1;text-align:center;padding:80px 40px;border:1px dashed var(--line);border-radius:4px;
}
.nt-placeholder p{opacity:0.6;max-width:480px;margin:0 auto 20px;}

/* ============================================================
   WIRING ADDITIONS — not in the layout's CSS. Marked for the layout's review.
   ============================================================ */

/* 1. Mobile nav open state.
   the layout's CSS styles the .nav-toggle button (gold ☰, shown under 980px)
   but his HTML never shipped the button or an open state — mobile
   users could only reach Listings via the footer. This completes
   the component he specced, using only existing tokens. Remove this
   block + the button in parts/header.html to revert. */
@media(max-width:980px){
  nav.open{
    display:flex;flex-direction:column;align-items:flex-start;gap:16px;
    position:absolute;top:100%;left:0;right:0;
    background:var(--wp--custom--color--header-veil);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
    padding:20px 32px 26px;
  }
}

/* 2. WordPress admin bar offset for logged-in users.
   the layout's fixed header sits at top:0; WP's admin bar would overlap it. */
body.admin-bar header{top:var(--wp-admin--admin-bar--height, 32px);}

/* 3. Neutralize core block layout gaps inside the layout's markup.
   the layout's components manage their own spacing; core auto-layout must not add any. */
.wp-site-blocks{padding:0;}
.wp-site-blocks > *{margin-block-start:0;}

/* 4. Inline-style relocations — the layout's exact values, moved from style=""
   attributes in his footer markup to classes. No visual change. */
.footer-logo-mark{margin-bottom:16px;}
.footer-logo-img{height:30px;}

/* 5. Generic page template offset — the layout author has no generic interior page; his
   heroes all carry their own 150px+ top padding under the fixed header.
   This gives templates/page.html the same clearance. */
.page-content{padding:150px 32px 100px;}

/* 6. Video tour as YouTube embed (the layout's rule targeted self-hosted <video>;
   architecture decision moved video to YouTube — iframe gets the same frame). */
.video-tour iframe{width:100%;aspect-ratio:16/9;max-height:520px;border:1px solid var(--line);border-radius:4px;background:var(--wp--custom--color--pure-black);display:block;}

/* 7. Gallery placeholder for listings without photos — the layout's skyline motif
   in his photo-placeholder gradient, at gallery proportions. */
.gallery-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--wp--custom--color--photo-start),var(--wp--custom--color--photo-end));cursor:default;}
.gallery-placeholder .skyline-svg{width:60%;opacity:0.35;}

/* 8. Front-page inline SVGs (hero skyline, service icons) converted from
   hex stroke attributes to currentColor per the no-hex contract —
   this single rule supplies the gold. */
.front-sections svg{color:var(--gold);}

/* 9. Testimonial cleanup (per Adam/Sean 2026-08-11, on the layout's review list):
   degraded straight-quote ornament removed in markup; attribution rows
   pinned to card bottom so short quotes align with long ones. */
.testi-card{display:flex;flex-direction:column;}
.testi-card p.quote{flex:1;}

/* 10. Service chips are links now (Adam/Sean directive 2026-08-11): five
   route to the pre-filtered listings archive, Advisory to /#contact.
   Anchor display matches the former div rendering. */
.service-chip{display:block;}

/* 11. Honeypot field (spam defense, step 8) — visually removed, present in DOM. */
.azr-hp{position:absolute !important;left:-9999px !important;height:1px;width:1px;overflow:hidden;}


/* ============================================================
   ED'S "HOW CAN WE HELP" PACKAGE (delivered 2026-08-12, via Sean).
   Ported verbatim except: near-miss values normalized onto the
   canonical tokens (his package drifted to Playfair/Inter and
   off-by-a-shade gold/ink), Google Fonts import removed, grid
   heading demoted to h2 on the homepage, detail headline
   promoted to page h1.
   ============================================================ */
/* ==========================================================================
   HELP GRID + DETAIL PAGES (licensed components)
   Shared stylesheet — add via WordPress: Appearance > Customize > Additional
   CSS, or enqueue as its own stylesheet. Do not rename the class names
   without updating the HTML files, they're shared across all 7 sections.
   ========================================================================== */

:root {
  --azr-bg: var(--ink);
  --azr-card: var(--charcoal);
  --azr-card-border: var(--line);
  --azr-gold: var(--gold);
  --azr-gold-light: var(--gold-light);
  --azr-text: var(--paper);
  --azr-text-dim: color-mix(in srgb, var(--paper) 62%, transparent);
}

/* ---------- Shared type ---------- */

.azr-section h1,
.azr-section h2,
.azr-section h3,
.azr-section h4.azr-sidebar-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.azr-section {
  background: var(--azr-bg);
  color: var(--azr-text);
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 80px 24px 100px;
}

.azr-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Grid view (homepage / services page) ---------- */

.azr-grid-header {
  text-align: center;
  margin-bottom: 56px;
}

.azr-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azr-gold);
  margin-bottom: 18px;
}

.azr-grid-header h1,
.azr-grid-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--azr-gold-light);
  margin-bottom: 16px;
}

.azr-grid-header p {
  color: var(--azr-text-dim);
  font-size: 1rem;
}

.azr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .azr-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .azr-card-grid { grid-template-columns: 1fr; }
}

.azr-card {
  background: var(--azr-card);
  border: 1px solid var(--azr-card-border);
  border-radius: 4px;
  padding: 32px 28px;
  text-align: left;
  display: block;
  text-decoration: none;
  color: var(--azr-text);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
  position: relative;
}

.azr-card:hover {
  border-color: var(--azr-gold);
  transform: translateY(-2px);
}

.azr-card .azr-num {
  font-family: 'Montserrat', sans-serif;
  color: var(--azr-gold);
  opacity: 0.9;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: block;
}
/* ^ the layout author shipped 0.85rem @ 55% opacity — unreadable per Sean 2026-08-12; enlarged. */

.azr-card h3 {
  color: var(--azr-gold-light);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.azr-card p {
  color: var(--azr-text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

.azr-card .azr-link-tag {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azr-gold);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 3px;
  display: inline-block;
}

/* ---------- Detail page (each individual WordPress page) ---------- */

.azr-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azr-text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 40px;
  transition: color .2s ease;
}
.azr-back-link:hover { color: var(--azr-gold-light); }

.azr-detail h1,
.azr-detail h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--azr-gold-light);
  margin-bottom: 22px;
  max-width: 700px;
}

.azr-detail-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--azr-text);
  max-width: 640px;
  margin-bottom: 40px;
}

.azr-detail-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (max-width: 800px) {
  .azr-detail-body { grid-template-columns: 1fr; }
}

.azr-includes h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azr-gold);
  margin-bottom: 20px;
}

.azr-includes ul { list-style: none; margin: 0; padding: 0; }

.azr-includes li {
  padding: 14px 0;
  border-top: 1px solid var(--azr-card-border);
  color: var(--azr-text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}
.azr-includes li:first-child { border-top: none; }
.azr-includes li strong { color: var(--azr-text); }

.azr-sidebar-box {
  background: var(--azr-card);
  border: 1px solid var(--azr-card-border);
  border-radius: 4px;
  padding: 28px;
  align-self: start;
}

.azr-sidebar-box h4.azr-sidebar-title {
  color: var(--azr-gold-light);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.azr-sidebar-box p {
  color: var(--azr-text-dim);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ---------- CTA bar (shared) ---------- */

.azr-cta-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--azr-card-border);
  padding-top: 32px;
  margin-top: 8px;
}

.azr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity .2s ease, transform .2s ease;
}

.azr-btn:hover { transform: translateY(-1px); }

.azr-btn-primary {
  background: var(--azr-gold);
  color: var(--ink);
}
.azr-btn-primary:hover { opacity: 0.9; }

.azr-btn-secondary {
  background: transparent;
  border: 1px solid var(--azr-gold);
  color: var(--azr-gold-light);
}
.azr-btn-secondary:hover { background: var(--wp--custom--color--sage-glow-soft); }


/* Hero rotator, two-word cycle (the layout author directive 2026-08-12):
   "Moving Business Forward." is static; Together / With Confidence cycle. */
.rotator-duo span{animation-name:rotateWordsDuo;animation-duration:6s;}
.rotator-duo span:nth-child(2){animation-delay:3s;}
@keyframes rotateWordsDuo{
  0%{opacity:0;transform:translateY(8px);}
  6%{opacity:1;transform:translateY(0);}
  44%{opacity:1;transform:translateY(0);}
  50%{opacity:0;transform:translateY(-8px);}
  100%{opacity:0;}
}

/* ============================================================
   ED'S BATCH (2026-08-12): carousel, asset panels, social icons.
   Token-normalized ports of his prototypes; azr-* component styles
   from the help package are reused by the asset panels.
   ============================================================ */

/* Featured listings carousel */
.carousel-outer{overflow:hidden;position:relative;}
.carousel-outer::before,.carousel-outer::after{content:"";position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none;}
.carousel-outer::before{left:0;background:linear-gradient(90deg,var(--ink) 0%,transparent 100%);}
.carousel-outer::after{right:0;background:linear-gradient(270deg,var(--ink) 0%,transparent 100%);}
.carousel-track{display:flex;gap:24px;width:max-content;will-change:transform;}
.carousel-track .listing-card{width:340px;flex-shrink:0;}
.carousel-static{overflow-x:auto;}
.carousel-static .carousel-track{width:auto;}
@media(max-width:560px){.carousel-track .listing-card{width:280px;}}

/* Asset-class detail panels (chips toggle these; azr-* components styled above) */
.azr-asset-panels{margin-top:34px;}
.azr-asset-detail{display:none;}
.azr-asset-detail.active{display:block;}
.azr-asset-detail .eyebrow{margin-bottom:14px;}
.azr-asset-detail h3{font-size:clamp(1.5rem,3vw,2rem);color:var(--gold-light);margin-bottom:16px;max-width:700px;}
.services-grid-hidden{display:none;}
.azr-asset-back{margin-bottom:28px;}

/* Footer social icons */
.social-row a svg{width:16px;height:16px;fill:currentColor;display:block;}

/* Lead forms (contact + referral) — the layout's prototype form styles, tokenized. */
.azr-form-header{text-align:center;margin:64px auto 40px;}
.azr-form-header h3{font-size:clamp(1.6rem,3vw,2.1rem);color:var(--gold-light);margin-bottom:12px;}
.azr-form-header p{color:var(--paper);opacity:0.6;font-size:0.95rem;}
.azr-lead-form{max-width:640px;margin:0 auto;background:var(--charcoal);border:1px solid var(--line);border-radius:4px;padding:40px;text-align:left;}
.azr-form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
@media(max-width:560px){.azr-form-row{grid-template-columns:1fr;}}
.azr-field{display:flex;flex-direction:column;}
.azr-field.full{grid-column:1/-1;}
.azr-field label{font-size:0.72rem;letter-spacing:0.06em;text-transform:uppercase;color:var(--gold-muted);margin-bottom:8px;}
.azr-field input,.azr-field select,.azr-field textarea{background:var(--ink);border:1px solid var(--line);color:var(--paper);font-family:'Montserrat',sans-serif;font-size:0.92rem;padding:12px 14px;border-radius:2px;}
.azr-field textarea{min-height:110px;resize:vertical;}
.azr-field input:focus,.azr-field select:focus,.azr-field textarea:focus{outline:none;border-color:var(--gold);}
.azr-optional-tag{color:var(--gold-muted);text-transform:none;letter-spacing:0;}
.azr-form-fineprint{color:var(--paper);opacity:0.5;font-size:0.78rem;margin-top:16px;text-align:center;}
.azr-form-success{max-width:640px;margin:24px auto 0;color:var(--gold-light);font-size:0.95rem;text-align:center;border:1px dashed var(--gold-deep);border-radius:4px;padding:22px;}
.azr-lead-form .azr-btn{width:100%;justify-content:center;border:none;cursor:pointer;font-family:'Montserrat',sans-serif;}
/* advisor profile social icons */
.profile-socials{display:flex;gap:12px;align-items:center;}
.profile-socials a{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold-muted);transition:all .2s;}
.profile-socials a:hover{border-color:var(--gold);color:var(--gold);}
.profile-socials svg{width:15px;height:15px;fill:currentColor;display:block;}


/* OM Upload — business line radio group (theme 0.17.1; label uses --gold per contrast rules) */
.azr-field-label{font-size:0.72rem;letter-spacing:0.06em;text-transform:uppercase;color:var(--gold);margin-bottom:8px;}
.azr-radio-row{display:flex;gap:28px;}
.azr-radio-row label{display:flex;align-items:center;gap:8px;margin-bottom:0;cursor:pointer;}
.azr-radio-row input[type="radio"]{padding:0;width:16px;height:16px;accent-color:var(--gold);}


/* ============================================================
   AZ RENEAU WIRING (fenced; each block reversible independently)
   ============================================================ */
/* W1. Body weight: 300 on a dark ground read fine; on white, Montserrat
   needs 400 for AA legibility. */
body{font-weight:400;}
/* W2. Decorative numerals/quote marks used --gold-deep (now sage) as
   TEXT; sage on white is 2.49:1. Route those three to sage-deep. */
.journey-card .num,.ladder-list .rank,.testi-quote-mark{color:var(--gold-muted);}
/* W3. Primary buttons: navy fill, white label (16:1). Secondary: navy
   outline. Hover states inherit navy-soft via the alias. */
.btn-primary{color:var(--wp--preset--color--canvas);}
.btn-primary:hover{color:var(--wp--preset--color--canvas);}
/* W4. Sage as a surface: tag pills and the status tag on cards take a
   sage-light tint with navy text (13:1). */
.tag-pill,.status-tag,.listing-tag{background:var(--sage-light);color:var(--gold);border-color:var(--sage);}
/* W5. Home search app block (secondary conversion) — one button to the
   request page, built on the existing .final-cta / .btn styles. */
.app-cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:center;margin-top:26px;}
.app-privacy{max-width:640px;margin:16px auto 0;font-size:0.95rem;color:var(--muted);text-align:center;}
/* W6. Sold state on listing pages. */
.listing-sold .listing-price{color:var(--gold-muted);}
.sold-band{display:inline-block;background:var(--gold);color:var(--wp--preset--color--canvas);padding:6px 14px;border-radius:2px;font-size:0.72rem;letter-spacing:0.18em;text-transform:uppercase;font-weight:600;margin-bottom:14px;}
/* W7. Last-verified stamp and disclosures. */
.verified-stamp{font-size:0.78rem;color:var(--muted);margin-top:22px;}
.disclosure-list{list-style:none;margin-top:28px;padding-top:20px;border-top:1px solid var(--line);}
.disclosure-list li{font-size:0.86rem;color:var(--muted);margin-bottom:8px;padding-left:16px;position:relative;}
.disclosure-list li::before{content:"";position:absolute;left:0;top:0.6em;width:6px;height:6px;border-radius:50%;background:var(--sage);}
/* W8. Fact strip under the listing address (beds/baths/sqft). */
.fact-strip{display:flex;flex-wrap:wrap;gap:10px 28px;margin:14px 0 22px;font-size:0.95rem;color:var(--paper);}
.fact-strip span strong{color:var(--gold);font-weight:700;}
/* W9. Broker lockup: brokerage name must be prominent (ADRE). */
.logo-mark img{max-height:56px;width:auto;}
.broker-line{font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--gold-muted);}
.eho-mark{display:flex;align-items:center;gap:10px;font-size:0.72rem;color:var(--muted);margin-top:12px;}
.eho-mark img{height:32px;width:auto;}
/* W10. Bio block on the front page. */
.bio-grid{display:grid;grid-template-columns:320px 1fr;gap:56px;align-items:start;}
.bio-photo img{width:100%;border-radius:6px;border:1px solid var(--line);}
.bio-body p{margin-bottom:16px;font-size:1.02rem;}
@media(max-width:760px){.bio-grid{grid-template-columns:1fr;}.bio-photo{max-width:320px;}}
/* W11. Contact form (secondary conversion). */
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:720px;margin:30px auto 0;text-align:left;}
.contact-form .full{grid-column:1/-1;}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:4px;background:var(--wp--preset--color--canvas);color:var(--paper);font-family:inherit;font-size:0.95rem;}
.contact-form textarea{min-height:120px;}
.contact-form button{grid-column:1/-1;justify-self:center;}
.form-note{grid-column:1/-1;font-size:0.8rem;color:var(--muted);text-align:center;}
@media(max-width:600px){.contact-form{grid-template-columns:1fr;}}
/* W12. Honeypot: present in DOM, invisible. */
.azr-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}

/* W13. Sage presence (S. Reneau 2026-09-21): alternate sections and the
   footer sit on sage-light (navy 13:1, muted 5:1); the app section is a
   full sage band with navy type at full opacity (6.4:1). */
#app.alt-bg{background:var(--sage);}
#app .eyebrow,#app .section-head h2,#app .section-head p,#app .app-privacy{color:var(--gold);opacity:1;}
#app .btn-primary{border:1px solid var(--wp--preset--color--canvas);}
.alerts-band{background:var(--sage);}
.alerts-band h3,.alerts-band p,.alerts-band .app-privacy{color:var(--gold);opacity:1;}
.hero{background:radial-gradient(ellipse at 25% 15%, var(--wp--custom--color--sage-glow), transparent 55%),linear-gradient(180deg, var(--ink) 0%, var(--sage-light) 100%);}

/* W14. Sage-forward ground (Marcy, 2026-09-21): the page itself sits on
   sage-light; white becomes the contrast surface (alt sections, cards,
   forms). Full sage keeps the app bands and now the footer. Pairs:
   ink 13.4:1 and navy 13.1:1 on sage-light; navy 6.4:1 on sage. */
.hero{background:radial-gradient(ellipse at 25% 15%, var(--wp--custom--color--sage-glow), transparent 55%),linear-gradient(180deg, var(--wp--preset--color--canvas) 0%, var(--sage-light) 100%);}
footer{background:var(--sage);}
footer, footer a, footer .tag, footer .broker-line, footer .eho-mark, footer h5{color:var(--gold);opacity:1;}
.footer-bottom, .footer-bottom span{color:var(--gold);}
.contact-form input,.contact-form select,.contact-form textarea{background:var(--wp--preset--color--canvas);}
.tag-pill,.status-tag,.listing-tag{background:var(--wp--preset--color--canvas);}

/* W15. Hero rotator clipping fix: the licensed 1.3em window was sized for
   the original serif; Montserrat's taller metrics and italic descenders
   ("happiness", "bearing") clip at the baseline. Give the window the h1
   line-height and let descenders breathe. */
.hero h1 .rotator{height:1.45em;line-height:1.35;}
.hero h1 .rotator span{line-height:1.35;padding-bottom:0.08em;}

/* W16. Real sage (Marcy, 2026-09-26): sage-light token deepened to a
   true sage tint (#c4cea8 via theme.json) and companions darkened to
   hold AA — ink 9.9:1, navy 9.7:1, muted 5.8:1, eyebrows 4.8:1 on the
   ground. Hero now sits fully on the sage ground. Borders deepen to
   stay visible on green.
   W16b. Rotator: phrase measured at 631px vs 796px column yet clips in
   production, so the rotating line is set 15% smaller than the first
   line — longest phrase 536px, fitting with a third of the column to
   spare at every viewport. */
.hero{background:radial-gradient(ellipse at 25% 15%, var(--wp--custom--color--sage-glow), transparent 55%), var(--ink);}
:root{--line: var(--wp--preset--color--sage);}
.hero h1 em{font-size:0.85em;}
.hero h1 .rotator{height:1.5em;line-height:1.4;}

/* W17. No white sections (Marcy, 2026-09-27): the header veil is sage
   (theme.json token) and alternate sections sit on the same sage ground
   as the page — white now exists only on cards, form fields, badges and
   the photo frames, so every section reads green with white islands.
   Contrast unchanged: all type on the ground was verified at W16. */
.journey-card,.diff-item,.sidebar-card,.lcard,.listing-card{background:var(--wp--preset--color--canvas);}
header{border-bottom:1px solid var(--sage);}

/* W18. 55+ readability (Marcy, 2026-09-27): body raised to 18px with
   1.65 line spacing; no informational text below ~15px — the old 11.5px
   eyebrows and 12–14px legal/support text are lifted and given weight
   rather than size reduction; buttons, nav and form fields meet 48px
   touch targets. Headings unchanged (already large). */
.eyebrow{font-size:0.85rem;font-weight:700;letter-spacing:0.16em;}
.listing-crumb,.broker-line{font-size:0.9rem;}
.verified-stamp,.form-note{font-size:0.95rem;}
.disclosure-list li{font-size:1rem;line-height:1.6;}
.eho-mark{font-size:0.9rem;}
.listing-meta,.addr{font-size:1rem;}
.fact-strip{font-size:1.1rem;}
.spec-table td{font-size:1.05rem;padding:12px 14px;}
.highlight-list li{font-size:1.05rem;line-height:1.6;margin-bottom:10px;}
.tag-pill,.status-tag,.listing-tag{font-size:0.85rem;font-weight:700;}
.btn-primary,.btn-secondary{font-size:1.02rem;padding:16px 30px;min-height:48px;}
nav a{font-size:1rem;}
.call-btn{font-size:1.05rem;min-height:48px;display:inline-flex;align-items:center;}
.contact-form input,.contact-form select,.contact-form textarea{font-size:1.05rem;padding:14px 15px;min-height:48px;}
.contact-form button{min-height:52px;}
.footer-col a,.footer-col p{font-size:1rem;line-height:1.7;}
.app-privacy{font-size:1.05rem;}
.lede{font-size:1.3rem;line-height:1.55;}
.journey-card p,.diff-item p{font-size:1.02rem;line-height:1.62;}
.bio-body p{font-size:1.1rem;line-height:1.68;}
.sticky-call a{font-size:1.05rem;min-height:48px;display:inline-flex;align-items:center;}

/* W19. MLS search by city and recently-closed cards (2026-11-01). Tokens
   only. City tiles sit on the sage ground as white cards with a navy
   name and a sage-deep call to action; hover lifts and draws a navy rule.
   Sold cards lead with the price in navy and the side represented as a
   sage pill. Both grids collapse to two columns, then one. */
.city-search{padding:96px 0;}
.city-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.city-tile{
  display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:132px;
  background:var(--elevated);border:1px solid var(--line);border-top:3px solid var(--gold-deep);border-radius:3px;padding:24px 22px 20px;
  transition:transform .25s,border-color .25s,box-shadow .25s;
}
.city-tile:hover,.city-tile:focus-visible{transform:translateY(-4px);border-top-color:var(--gold);box-shadow:0 14px 30px var(--wp--custom--color--navy-glow);}
.city-tile.is-wide{border-top-style:dashed;}
.city-name{font-family:'Montserrat',sans-serif;font-weight:700;font-size:1.3rem;color:var(--gold);letter-spacing:-0.01em;}
.city-cta{font-size:0.78rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--gold-muted);font-weight:600;}
.city-tile:hover .city-cta{color:var(--gold);}
.city-all{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px;}
.city-note{margin-top:22px;font-size:0.95rem;color:var(--muted);max-width:760px;}
.city-note a{color:var(--gold);text-decoration:underline;}
.sold-head{margin-top:72px;}
.sold-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.sold-card{
  background:var(--elevated);border:1px solid var(--line);border-radius:3px;padding:24px 24px 22px;
  display:flex;flex-direction:column;gap:10px;transition:transform .25s,border-color .25s;
}
.sold-card:hover{transform:translateY(-4px);border-color:var(--gold-muted);}
.sold-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;}
.sold-side{display:inline-block;background:var(--sage-light);color:var(--gold);border-radius:12px;padding:3px 12px;font-size:0.78rem;letter-spacing:0.06em;text-transform:uppercase;font-weight:600;}
.sold-when{font-size:0.85rem;color:var(--muted);letter-spacing:0.08em;text-transform:uppercase;}
.sold-price{font-family:'Montserrat',sans-serif;font-weight:700;font-size:2rem;color:var(--gold);line-height:1.1;letter-spacing:-0.02em;}
.sold-addr{font-size:1.02rem;color:var(--paper);}
.sold-addr span{display:block;color:var(--muted);font-size:0.95rem;}
@media(max-width:900px){.city-grid{grid-template-columns:repeat(2,1fr);}.sold-grid{grid-template-columns:repeat(2,1fr);}.city-search{padding:72px 0;}}
@media(max-width:560px){.city-grid{grid-template-columns:1fr 1fr;gap:12px;}.city-tile{min-height:116px;padding:18px 16px 16px;}.city-name{font-size:1.1rem;}.sold-grid{grid-template-columns:1fr;}}

/* W20. Photo placeholder (2026-11-01): the compass drew in navy and read
   as a black dot on the card. The house outline and label use sage-deep
   (5.8:1 on white) on the photo gradient, at 0.55 so it stays quiet. */
.photo-placeholder{width:62%;opacity:0.55;}
.photo-placeholder polyline,.photo-placeholder line,.photo-placeholder rect{fill:none;stroke:var(--gold-muted);stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;}
.photo-placeholder text{fill:var(--gold-muted);font-weight:600;}
.listing-photo .photo-placeholder,.lcard .photo .photo-placeholder,.gallery-placeholder .photo-placeholder{opacity:0.55;}

/* W21. Hero photo (Marcy, 2026-11-01): the sunset over the Westbrook
   Village course, carried over from the previous site. The photo sits
   behind a navy veil (tokens hero-veil-top/-bottom) so the type can be
   white: white on the darkest band is 10:1, on the lightest 8:1, both
   measured against the sunset under the veil. The broker lockup moves
   onto a white card (hero-card) so both logos stay on a light ground as
   the ADRE prominence rule expects. Landscape crop on wide screens, the
   full portrait frame on phones. */
.hero{
  background:
    linear-gradient(180deg, var(--wp--custom--color--hero-veil-top) 0%, var(--wp--custom--color--hero-veil-bottom) 100%),
    url("assets/img/hero-sunset.jpg") center 62% / cover no-repeat,
    var(--gold);
}
.hero-eyebrow{color:var(--sage-light);}
.hero h1{color:var(--wp--preset--color--canvas);text-shadow:0 2px 18px var(--wp--custom--color--hero-veil-bottom);}
.hero h1 em{color:var(--sage-light);}
.hero p.lede{color:var(--wp--preset--color--canvas);opacity:0.94;font-weight:400;}
.hero .btn-primary{border:1px solid var(--wp--preset--color--canvas);}
.hero .btn-secondary{border-color:var(--wp--preset--color--canvas);color:var(--wp--preset--color--canvas);}
.hero .btn-secondary:hover{background:var(--wp--preset--color--canvas);color:var(--gold);border-color:var(--wp--preset--color--canvas);}
.hero-broker-banner{
  left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);
  background:var(--wp--custom--color--hero-card);border-radius:6px;padding:14px 32px;
  box-shadow:0 10px 30px var(--wp--custom--color--hero-veil-top);
}
.hero-broker-divider{background:var(--line);}
@media(max-width:700px){
  .hero{background:
    linear-gradient(180deg, var(--wp--custom--color--hero-veil-top) 0%, var(--wp--custom--color--hero-veil-bottom) 100%),
    url("assets/img/hero-sunset-tall.jpg") center 55% / cover no-repeat, var(--gold);}
  .hero-broker-banner{padding:10px 18px;}
}

/* W22. Hero on phones (2026-11-01): the broker card wrapped to two rows
   and sat on the eyebrow line. Below 700px the card leaves the absolute
   layer and stacks above the headline in normal flow. */
@media(max-width:700px){
  .hero{flex-direction:column;justify-content:flex-start;align-items:stretch;padding-top:104px;min-height:100vh;}
  .hero-broker-banner{position:static;transform:none;margin:0 auto 22px;width:max-content;max-width:calc(100% - 32px);}
  .hero-inner{margin:8px auto 40px;}
}

/* W23. Featured listings row (2026-11-01): the marquee cloned cards into
   a 3-column grid, which wrapped them onto a second row. Three or fewer
   listings now sit centered in one row and never move; four or more run
   as a single-row marquee of fixed-width cards. */
.listings-track.is-static{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;}
.listings-track.is-static .listing-card{flex:0 1 360px;max-width:100%;}
.carousel-outer.is-static::before,.carousel-outer.is-static::after{display:none;}
.listings-track.is-marquee{display:flex;gap:24px;width:max-content;}
.listings-track.is-marquee .listing-card{flex:none;width:360px;}
@media(max-width:600px){.listings-track.is-static .listing-card{flex-basis:100%;}}

/* W24. Recently Closed marquee (Marcy, 2026-11-01): three or more closed
   deals drift left as one row of fixed-width cards, pausing on hover.
   Fewer sit centered. Same mechanics as the listings row. */
.sold-track.is-marquee{display:flex;gap:20px;width:max-content;}
.sold-track.is-marquee .sold-card{flex:none;width:320px;}
.sold-track.is-static{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;}
.sold-track.is-static .sold-card{flex:0 1 320px;max-width:100%;}

/* W25. Header fit (2026-11-01): seven nav items at the 55+ type size
   filled the 1180px row edge to edge, so the phone number wrapped and the
   logos sat at 34px (the square AZ Reneau badge rendered 37px wide).
   The header row now runs wider than page content, each logo is sized to
   its own shape, the number never wraps, the menu folds into the toggle
   below 1300px, and on phones the call button becomes a 48px icon (the
   sticky call bar carries the number there). */
.header-inner{max-width:1440px;gap:28px;}
header .logo-mark{gap:18px;flex-shrink:0;}
header .logo-mark img:first-child{height:64px;max-height:none;}
header .logo-mark img:last-of-type{height:42px;max-height:none;}
header .logo-mark .logo-divider{height:48px;}
nav{gap:22px;}
.header-cta{flex-shrink:0;}
.call-btn{white-space:nowrap;}
.nav-toggle{min-width:48px;min-height:48px;}
@media(max-width:1300px){
  nav{display:none;}
  .nav-toggle{display:block;}
  nav.open{
    display:flex;flex-direction:column;align-items:flex-start;gap:16px;
    position:absolute;top:100%;left:0;right:0;
    background:var(--wp--custom--color--header-veil);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
    padding:20px 32px 26px;
  }
}
@media(max-width:600px){
  .header-inner{padding:10px 16px;gap:10px;}
  header .logo-mark{gap:10px;}
  header .logo-mark img:first-child{height:46px;}
  header .logo-mark img:last-of-type{height:28px;}
  header .logo-mark .logo-divider{height:32px;}
  .header-cta{gap:6px;}
  .call-btn{width:48px;height:48px;padding:0;justify-content:center;}
  .call-btn .call-num{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
}

/* W26. Home search app page (/get-the-app/, 2026-11-15): intro, three
   steps on the existing journey cards, then the request form on the
   .final-cta surface. One column on phones; the header is fixed, hence
   the top padding. */
.app-page{padding:150px 0 70px;}
.app-page .section-head h1{font-size:clamp(2rem,4vw,3rem);margin-top:14px;}
.app-page .section-head .app-page-cta{opacity:1;margin-top:26px;}
.app-page-what{margin-top:64px;margin-bottom:24px;}
.app-page-list{max-width:640px;margin:0 auto;padding-left:22px;font-size:1.05rem;line-height:1.7;}
.app-page-list li{margin-bottom:10px;}
.final-cta .app-page-alt{max-width:640px;margin:22px auto 0;font-size:1rem;opacity:1;}
.app-page .journey-card:hover{transform:none;}
@media(max-width:600px){.app-page{padding:120px 0 50px;}}

/* W27. Hero broker card on phones (Sean, 2026-11-15): the card wrapped,
   leaving a small AZ Reneau mark above a full-width My Home Group
   wordmark. Below 700px the two logos stay on one row at matched visual
   weight (the wordmark is 3.6x wider than tall, so it runs shorter).
   Both remain in the card and in the header lockup. */
@media(max-width:700px){
  .hero-broker-banner{flex-wrap:nowrap;gap:14px;padding:12px 18px;}
  .hero-broker-azreneau img{height:72px;}
  .hero-broker-mark img{height:38px;}
  .hero-broker-divider{height:56px;flex:none;}
}

/* ---------- FOOTER, reformatted in 0.6.3 ----------
   Logos sit on a light panel so the sage emblem stays readable on the
   sage footer. All footer text is full-strength navy for contrast. */
footer{padding:64px 0 40px;}
footer .footer-grid{grid-template-columns:1.7fr 0.8fr 1.1fr 1.1fr;gap:44px;margin-bottom:44px;align-items:start;}
footer .footer-logo-mark{display:inline-flex;align-items:center;gap:16px;max-width:100%;box-sizing:border-box;background:var(--wp--preset--color--canvas);border-radius:10px;padding:8px 20px 8px 10px;margin-bottom:22px;}
footer .footer-logo-mark img.footer-logo-img{width:auto;max-height:none;}
footer .footer-logo-mark img.footer-logo-img:first-child{height:104px;flex:0 0 auto;}
footer .footer-logo-mark img.footer-logo-img:last-of-type{height:auto;width:162px;max-width:162px;min-width:0;flex:0 1 162px;}
footer .footer-logo-mark .logo-divider{height:56px;flex:0 0 1px;background:var(--wp--preset--color--line);}
footer .footer-grid p.tag{font-size:1.125rem;line-height:1.5;opacity:1;max-width:340px;margin:0 0 14px;}
footer .broker-line{font-size:1rem;line-height:1.5;letter-spacing:0.02em;text-transform:none;margin:0 0 20px;}
footer .broker-line strong{display:block;font-weight:700;}
footer .broker-line span{display:block;}
footer .eho-mark{margin-top:0;}
footer .eho-mark svg{height:52px;width:auto;display:block;font-family:inherit;}
footer .footer-col h5{font-size:0.85rem;font-weight:700;letter-spacing:0.12em;margin:0 0 14px;color:var(--gold);}
footer .footer-col a,footer .footer-col p{font-size:1.05rem;line-height:1.5;opacity:1;margin:0 0 8px;}
footer .footer-col a,footer .footer-col p{padding:4px 0;}
footer .footer-col a:hover{color:var(--gold);text-decoration:underline;}
footer .social-row{flex-wrap:wrap;gap:8px 18px;margin-top:18px;}
footer .social-row a{width:auto;height:auto;border:0;border-radius:0;font-size:1.05rem;text-decoration:underline;}
footer .footer-bottom{border-top:1px solid var(--sage-deep);padding-top:22px;font-size:0.9rem;line-height:1.5;opacity:1;gap:8px 24px;}
@media(max-width:980px){
  footer .footer-grid{grid-template-columns:1fr 1fr;gap:36px;}
  footer .footer-logo{grid-column:1/-1;}
}
@media(max-width:560px){
  footer .footer-grid{grid-template-columns:1fr;}
}
