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

/* Hero — design F: compact image band, centered uppercase title in gold box */
.walsh-bio-hero{position:relative;height:300px;overflow:hidden;background:var(--ink);display:flex;align-items:center;justify-content:center}
.walsh-bio-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;transform:scale(1.05);animation:biozoom 14s ease-out forwards}
.walsh-bio-hero::after{content:"";position:absolute;inset:0;background:rgba(12,12,12,.6)}
.walsh-bio-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 biozoom{to{transform:scale(1)}}

/* People — alternating editorial split */
.walsh-bio-people{padding:120px 0 90px}
.walsh-bio-card{display:grid;grid-template-columns:5fr 7fr;gap:90px;align-items:center;width:min(1180px,calc(100% - 80px));margin:0 auto 130px}
.walsh-bio-card:last-child{margin-bottom:40px}
.walsh-bio-card--reverse{grid-template-columns:7fr 5fr}
.walsh-bio-card>*{min-width:0}
.walsh-bio-card__photo{position:relative;margin:0 22px 22px 0}
.walsh-bio-card--reverse .walsh-bio-card__photo{margin:0 0 22px 22px}
.walsh-bio-card__photo::before{content:"";position:absolute;inset:22px -22px -22px 22px;border:1px solid var(--g);z-index:0}
.walsh-bio-card--reverse .walsh-bio-card__photo::before{inset:22px 22px -22px -22px}
.walsh-bio-card__photo img{position:relative;z-index:1;display:block;width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;object-position:center 20%;background:var(--ink);box-shadow:0 30px 60px -30px rgba(0,0,0,.45)}
.walsh-bio-card__text{position:relative}
.walsh-bio-card__text::before{content:"";display:block;width:56px;height:2px;background:var(--g);margin-bottom:26px}
.walsh-bio-card__text h2{margin:0 0 28px;color:var(--ink);font-family:var(--walsh-font-heading);font-size:40px;font-weight:700;line-height:1.15}
.walsh-bio-card__copy{color:#3a3a3a;font-size:17px;font-weight:300;line-height:1.8}
.walsh-bio-card__copy p{margin:0 0 18px}
.walsh-bio-card__copy p:last-child{margin-bottom:0}
.walsh-bio-card__copy p:first-child::first-letter{float:left;font-family:var(--walsh-font-heading);font-size:64px;line-height:.9;color:var(--g);padding:6px 10px 0 0}
.walsh-bio-card__copy.is-expanded{display:block;overflow:visible;-webkit-line-clamp:unset}
.walsh-bio-card__more{display:none;margin:16px 0 0;padding:0 0 4px;border:0;border-bottom: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}
.walsh-bio-card__more:focus-visible{outline:2px solid var(--g);outline-offset:3px}

/* Certificates — dark band */
.walsh-bio-certs{padding:100px 0 110px;background:var(--ink);overflow:hidden}
.walsh-bio-certs h2{margin:0 0 50px;color:#fff;font-family:var(--walsh-font-heading);font-size:42px;font-weight:700;line-height:1.2;text-align:center}
.walsh-bio-certs h2::after{content:"";display:block;width:56px;height:2px;background:var(--g);margin:22px auto 0}
.walsh-bio-certs__viewport{width:100%;overflow:hidden}
.walsh-bio-certs__track{display:flex;width:max-content;align-items:center;gap:28px;animation:walsh-bio-marquee 60s linear infinite}
.walsh-bio-certs__viewport:hover .walsh-bio-certs__track{animation-play-state:paused}
.walsh-bio-cert{margin:0;padding:10px;border:1px solid rgba(201,169,106,.45);background:#161616}
.walsh-bio-cert img{display:block;width:auto;height:330px;background:#fff;object-fit:contain}
@keyframes walsh-bio-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.walsh-bio-certs__track{animation:none}.walsh-bio-certs__viewport{overflow-x:auto}.walsh-bio-hero img{animation:none}}

/* Tablet */
@media (max-width:1023px){
  .walsh-bio-hero{height:260px}.walsh-bio-hero h1{font-size:48px;padding:20px 44px}
  .walsh-bio-people{padding:80px 0 60px}
  .walsh-bio-card,.walsh-bio-card--reverse{grid-template-columns:1fr;gap:56px;width:calc(100% - 64px);max-width:640px;margin-bottom:90px}
  .walsh-bio-card--reverse .walsh-bio-card__photo{order:-1}
  .walsh-bio-card__photo,.walsh-bio-card--reverse .walsh-bio-card__photo{width:min(420px,calc(100% - 22px));margin:0 auto 22px;left:-11px}
  .walsh-bio-card--reverse .walsh-bio-card__photo::before{inset:22px -22px -22px 22px}
  .walsh-bio-card__text h2{font-size:34px}
  .walsh-bio-certs{padding:70px 0 80px}.walsh-bio-certs h2{font-size:34px;margin-bottom:38px}
  .walsh-bio-cert img{height:250px}
}

/* Phone */
@media (max-width:767px){
  .walsh-bio-hero{height:190px}.walsh-bio-hero h1{font-size:34px;padding:16px 30px;letter-spacing:.06em}
  .walsh-bio-people{padding:56px 0 30px}
  .walsh-bio-card,.walsh-bio-card--reverse{width:calc(100% - 40px);gap:40px;margin-bottom:64px}
  .walsh-bio-card__photo,.walsh-bio-card--reverse .walsh-bio-card__photo{width:calc(100% - 16px);left:-8px;margin-bottom:16px}
  .walsh-bio-card__photo::before,.walsh-bio-card--reverse .walsh-bio-card__photo::before{inset:16px -16px -16px 16px}
  .walsh-bio-card__text h2{font-size:28px;margin-bottom:20px}
  .walsh-bio-card__copy{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:8;font-size:15px;line-height:1.75}
  .walsh-bio-card__copy.is-expanded{display:block;overflow:visible;-webkit-line-clamp:unset}
  .walsh-bio-card__copy p:first-child::first-letter{font-size:50px}
  .walsh-bio-card__more{display:inline-block}
  .walsh-bio-certs{padding:52px 0 60px}.walsh-bio-certs h2{font-size:26px;margin-bottom:28px}
  .walsh-bio-certs__track{gap:16px}.walsh-bio-cert{padding:6px}.walsh-bio-cert img{height:190px}
}

/* Collapsible bio copy — all devices */
.walsh-bio-page .walsh-bio-card__copy{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
.walsh-bio-collapse{position:relative;overflow:hidden;transition:max-height .6s cubic-bezier(.4,0,.2,1)}
.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-bio-collapse.is-open::after{opacity:0}
.walsh-bio-page .walsh-bio-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);transition:background .3s,color .3s}
.walsh-bio-page .walsh-bio-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-bio-page .walsh-bio-card__more[aria-expanded="true"]::after{transform:rotate(-135deg) translateY(-2px)}
.walsh-bio-page .walsh-bio-card__more:hover{background:var(--g);color:#fff}
