/* TonyMed v3.1 — page-specific photographic hero sections */
.tm31-about .tm08-hero,.tm31-contact .tm08-hero{min-height:clamp(580px,75vh,790px);display:flex;align-items:center;padding:145px 0 90px;background-color:#4b3424;background-position:center;background-size:cover;overflow:hidden}
.tm31-about .tm08-hero{background-image:linear-gradient(90deg,rgba(35,27,20,.86) 0%,rgba(40,29,19,.72) 34%,rgba(46,31,18,.18) 75%),url('assets/about-hero-tonymed.png');background-position:center center}
.tm31-contact .tm08-hero{background-image:linear-gradient(270deg,rgba(39,29,20,.84) 0%,rgba(45,30,18,.7) 35%,rgba(47,33,20,.12) 77%),url('assets/contact-hero-tonymed.png');background-position:center center}
.tm31-about .tm08-hero:after,.tm31-contact .tm08-hero:after{display:none}
.tm31-about .tm08-hero .tm08-wrap,.tm31-contact .tm08-hero .tm08-wrap{position:relative;z-index:1;width:min(1140px,calc(100% - 48px));animation:tm31Reveal .8s both}
.tm31-about .tm08-hero .tm08-wrap{margin-inline:auto;text-align:left}
.tm31-contact .tm08-hero .tm08-wrap{margin-inline:auto;text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding-left:min(47%,530px)}
.tm31-about .tm08-hero h1,.tm31-contact .tm08-hero h1{color:#fff;font-size:clamp(45px,5.5vw,76px);max-width:660px;text-shadow:0 3px 22px rgba(0,0,0,.12)}
.tm31-contact .tm08-hero h1{font-size:clamp(42px,5vw,70px)}
.tm31-about .tm08-hero p,.tm31-contact .tm08-hero p{color:#f5e9d8;max-width:580px}
.tm31-about .tm08-hero .tm08-kicker,.tm31-contact .tm08-hero .tm08-kicker{color:#f4c782}
.tm31-about .tm08-hero em,.tm31-contact .tm08-hero em{color:#ffcf87}
.tm31-about .tm08-hero .tm08-btn,.tm31-contact .tm08-hero .tm08-btn{background:#d4923b;color:#281b14!important}
.tm31-about .tm08-hero .tm08-btn--outline,.tm31-contact .tm08-hero .tm08-btn--outline{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.65);color:white!important;backdrop-filter:blur(8px)}
@keyframes tm31Reveal{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.tm31-contact .tm08-hero{background-image:linear-gradient(0deg,rgba(34,25,18,.9) 0%,rgba(34,25,18,.64) 54%,rgba(34,25,18,.08) 100%),url('assets/contact-hero-tonymed.png');background-position:36% center}.tm31-about .tm08-hero{background-image:linear-gradient(0deg,rgba(34,25,18,.9) 0%,rgba(34,25,18,.58) 65%,rgba(34,25,18,.1) 100%),url('assets/about-hero-tonymed.png');background-position:65% center}.tm31-contact .tm08-hero .tm08-wrap{padding-left:0}.tm31-about .tm08-hero,.tm31-contact .tm08-hero{min-height:600px;align-items:flex-end;padding:130px 0 70px}.tm31-about .tm08-hero h1,.tm31-contact .tm08-hero h1{font-size:clamp(42px,9vw,64px)}}
@media(prefers-reduced-motion:reduce){.tm31-about .tm08-hero .tm08-wrap,.tm31-contact .tm08-hero .tm08-wrap{animation:none}}
