/* Walsh Real Estate — Unified Vision, premium editorial redesign (content unchanged). */
.walsh-uv-page{--g:#c9a96a;--ink:#0e0e0e;--ivory:#f7f3ec;background:var(--ivory);color:#1a1a1a;font-family:var(--walsh-font-body);overflow:hidden;counter-reset:uv}

/* Hero — design F */
.walsh-uv-hero{position:relative;height:300px;overflow:hidden;background:var(--ink);display:flex;align-items:center;justify-content:center}
.walsh-uv-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.05);animation:uvzoom 14s ease-out forwards}
.walsh-uv-hero::after{content:"";position:absolute;inset:0;background:rgba(12,12,12,.6)}
.walsh-uv-hero h1{position:relative;z-index:2;margin:0;padding:22px 56px;border:1px solid var(--g);background:rgba(12,12,12,.55);color:#fff;font-family:var(--walsh-font-heading);font-size:58px;font-weight:700;line-height:1;letter-spacing:.08em;text-transform:uppercase;text-align:center}
@keyframes uvzoom{to{transform:scale(1)}}

/* Blocks — alternating split, numbered chapters */
.walsh-uv-blocks{padding:120px 0 100px}
.walsh-uv-card{counter-increment:uv;display:grid;grid-template-columns:5fr 7fr;gap:90px;align-items:center;width:min(1180px,calc(100% - 80px));margin:0 auto 130px}
.walsh-uv-card:last-child{margin-bottom:20px}
.walsh-uv-card--reverse{grid-template-columns:7fr 5fr}
.walsh-uv-card>*{min-width:0}
.walsh-uv-card:nth-child(2){position:relative}
.walsh-uv-card__photo{position:relative;margin:0 22px 22px 0;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#fff;box-shadow:0 30px 60px -30px rgba(0,0,0,.35)}
.walsh-uv-card--reverse .walsh-uv-card__photo{margin:0 0 22px 22px}
.walsh-uv-card__photo::before{content:"";position:absolute;inset:22px -22px -22px 22px;border:1px solid var(--g);z-index:-1}
.walsh-uv-card--reverse .walsh-uv-card__photo::before{inset:22px 22px -22px -22px}
.walsh-uv-card__photo img{display:block;width:100%;height:100%;object-fit:cover}
.walsh-uv-card__photo--narrow img{object-fit:contain;padding:10%}
.walsh-uv-card__photo--logo{background:var(--ink)}
.walsh-uv-card__photo--logo img{width:82%;height:auto;object-fit:contain}
.walsh-uv-card__text::before{content:"0" counter(uv);display:flex;align-items:center;gap:16px;margin-bottom:22px;color:var(--g);font-family:var(--walsh-font-heading);font-size:18px;letter-spacing:.2em}
.walsh-uv-card__text h2{margin:0 0 28px;color:var(--ink);font-family:var(--walsh-font-heading);font-size:38px;font-weight:700;line-height:1.2}
.walsh-uv-card__text h2::after{content:"";display:block;width:56px;height:2px;background:var(--g);margin-top:22px}
.walsh-uv-card__copy{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;color:#3a3a3a;font-size:17px;font-weight:300;line-height:1.8}
.walsh-uv-card__copy p{margin:0 0 18px}
.walsh-uv-card__copy p:last-child{margin-bottom:0}

/* Collapse + button */
.walsh-uv-page .walsh-bio-collapse{position:relative;overflow:hidden;transition:max-height .6s cubic-bezier(.4,0,.2,1)}
.walsh-uv-page .walsh-bio-collapse::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(to bottom,rgba(247,243,236,0),var(--ivory));pointer-events:none;transition:opacity .4s}
.walsh-uv-page .walsh-bio-collapse.is-open::after{opacity:0}
.walsh-uv-card__more{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:12px 26px;border:1px solid var(--g);background:transparent;color:var(--ink);font-family:var(--walsh-font-body);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:background .3s,color .3s}
.walsh-uv-card__more::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .3s}
.walsh-uv-card__more[aria-expanded="true"]::after{transform:rotate(-135deg) translateY(-2px)}
.walsh-uv-card__more:hover{background:var(--g);color:#fff}
.walsh-uv-card__more:focus-visible{outline:2px solid var(--g);outline-offset:3px}

/* Tablet */
@media (max-width:1023px){
  .walsh-uv-hero{height:260px}.walsh-uv-hero h1{font-size:44px;padding:20px 40px}
  .walsh-uv-blocks{padding:80px 0 70px}
  .walsh-uv-card,.walsh-uv-card--reverse{grid-template-columns:1fr;gap:56px;width:calc(100% - 64px);max-width:640px;margin-bottom:90px}
  .walsh-uv-card--reverse .walsh-uv-card__photo{order:-1}
  .walsh-uv-card__photo,.walsh-uv-card--reverse .walsh-uv-card__photo{width:min(380px,calc(100% - 22px));margin:0 auto 22px;left:-11px}
  .walsh-uv-card--reverse .walsh-uv-card__photo::before{inset:22px -22px -22px 22px}
  .walsh-uv-card__text h2{font-size:32px}
}

/* Phone */
@media (max-width:767px){
  .walsh-uv-hero{height:190px}.walsh-uv-hero h1{font-size:28px;padding:16px 24px;letter-spacing:.06em;max-width:calc(100% - 40px)}
  .walsh-uv-blocks{padding:56px 0 40px}
  .walsh-uv-card,.walsh-uv-card--reverse{width:calc(100% - 40px);gap:40px;margin-bottom:64px}
  .walsh-uv-card__photo,.walsh-uv-card--reverse .walsh-uv-card__photo{width:calc(100% - 16px);left:-8px;margin-bottom:16px}
  .walsh-uv-card__photo::before,.walsh-uv-card--reverse .walsh-uv-card__photo::before{inset:16px -16px -16px 16px}
  .walsh-uv-card__text h2{font-size:26px;margin-bottom:20px}
  .walsh-uv-card__copy{font-size:15px;line-height:1.75}
}
@media (prefers-reduced-motion:reduce){.walsh-uv-hero img{animation:none}}
