.staff-home{--ink: #232139; --muted: #666477; --purple: #7866ee; --line: #dedbea; --bg: #f5f4f9;}
.staff-home *{box-sizing: border-box;}
.staff-home{scroll-behavior: smooth; scroll-padding-top: 120px;}
.staff-home{margin: 0px; background: var(--bg); color: var(--ink); font: 16px / 1.5 Arial, sans-serif;}
.staff-home a{color: var(--purple);}
.staff-home .sh-wrap{width: min(1160px, 100% - 64px); margin: auto;}
.staff-home .sh-staff-hero{padding-top: 170px; padding-bottom: 12.6px; display: grid; grid-template-columns: 1fr 319px; gap: 54px; align-items: center;}
.staff-home .eyebrow{font-size: 12px; font-weight: 700; letter-spacing: 1.8px; color: rgb(121, 112, 156); margin: 0px 0px 22px;}
.staff-home h1,.staff-home h2{font-family: Georgia, serif; font-weight: 400; letter-spacing: -1.8px; line-height: 1.08; margin: 0px;}
.staff-home h1{font-size: clamp(42px, 5vw, 66px);}
.staff-home h1 em,.staff-home h2 em{color: rgb(128, 112, 181); font-weight: 400;}
.staff-home .sh-hero-description{font-size: 19px; line-height: 1.6; max-width: 650px; margin: 26px 0px; color: var(--muted);}
.staff-home .hero-benefits{display: flex; gap: 10px; flex-wrap: wrap;}
.staff-home .hero-benefits span{padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; background: rgba(255, 255, 255, 0.46);}
.staff-home .sh-price-card{border: 1px solid rgb(216, 209, 247); background: rgb(235, 231, 252); border-radius: 24px; padding: 28px; transform: rotate(2deg);}
.staff-home .sh-availability{font-size: 18px; display: flex; align-items: center; gap: 8px;}
.staff-home .sh-availability i{width: 10.5px; height: 10.5px; flex-shrink: 0; border-radius: 50%; background: rgb(82, 156, 113);}
.staff-home .sh-price{display: grid; margin: 27px 0px 24px;}
.staff-home .sh-price strong{font: 400 48px / 1.2 Georgia, serif; letter-spacing: -2px;}
.staff-home .sh-price strong span{font-size: 34px;}
.staff-home .sh-price > span{font-size: 14px; color: var(--muted); margin-top: 7px;}
.staff-home .sh-price-rule{height: 1px; background: rgb(212, 205, 235);}
.staff-home .sh-price-card > p:not(.sh-price){font-size: 16px; color: var(--muted);}
.staff-home .sh-price-card a{font-size: 13px; text-decoration: none; display: flex; justify-content: space-between; gap: 8px; margin-top: 26px;}
.staff-home .sh-staff-selection{padding-bottom: 76px;}
.staff-home .sh-section-heading{display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px;}
.staff-home .sh-section-heading .eyebrow{margin-bottom: 12px;}
.staff-home h2{font-size: 40px;}
.staff-home .sh-section-heading > p{color: var(--muted); font-size: 14px; margin: 0px;}
.staff-home .sh-roles{border: 0px; padding: 0px; margin: 0px; display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 14px;}
.staff-home .sh-role-card{position: relative; display: block; cursor: pointer;}
.staff-home .sh-role-card input{position: absolute; opacity: 0; width: 1px; height: 1px;}
.staff-home .sh-role-body{display: block; height: 100%; padding: 17.6px 24px 20px; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 18px; transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;}
.staff-home .sh-role-top{display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;}
.staff-home .sh-role-number{font: italic 16px Georgia, serif; color: rgb(170, 161, 196);}
.staff-home .sh-role-check{width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--purple);}
.staff-home .sh-role-check::after{content: ""; font-size: 20px; line-height: 1;}
.staff-home .sh-role-body strong{display: block; font: 400 23px / 1.2 Georgia, serif; margin-bottom: 12px;}
.staff-home .sh-role-description{display: block; font-size: 14px; line-height: 1.55; color: var(--muted);}
@media (hover: hover) {.staff-home .sh-role-card:hover .sh-role-body{transform: translateY(-2.5px) scale(1.01); border-color: rgb(170, 160, 228); box-shadow: rgba(77, 66, 107, 0.11) 0px 22px 48px;}}
.staff-home .sh-role-card input:checked + .sh-role-body{border-color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); background: rgb(239, 236, 255);}
.staff-home .sh-role-card input:checked + .sh-role-body .sh-role-check{background: var(--purple); border-color: var(--purple); color: rgb(255, 255, 255);}
.staff-home .sh-role-card input:checked + .sh-role-body .sh-role-check::after{content: ""; width: 15px; height: 15px; background: currentcolor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5L9.5 18L20 6' fill='none' stroke='black' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center center / contain no-repeat;}
.staff-home .sh-role-card input:focus-visible + .sh-role-body{box-shadow: rgba(120, 102, 238, 0.27) 0px 0px 0px 4px;}
.staff-home .sh-role-card input:disabled + .sh-role-body{opacity: 0.55;}
.staff-home .sh-role-card:has(input:disabled){cursor: default;}
.staff-home .sh-button{display: inline-flex; justify-content: center; align-items: center; gap: 26px; padding: 16px 24px; border: 0px; border-radius: 11px; background: var(--ink); color: white; font: 400 16px / 1.2 Arial, sans-serif; text-decoration: none; cursor: pointer; transition: background 0.2s;}
.staff-home .sh-button:hover{background: rgb(81, 68, 117);}
.staff-home .sh-button:focus-visible{box-shadow: rgba(120, 102, 238, 0.376) 0px 0px 0px 4px;}
.staff-home .sh-button:disabled{opacity: 0.65; cursor: wait;}
.staff-home [hidden]{display: none !important;}
.staff-home .contact-section{background: rgb(234, 231, 243); padding: 72px 0px;}
.staff-home .contact-layout{display: grid; grid-template-columns: 1fr 1fr; gap: 64px;}
.staff-home .contact-layout h2{font-size: 46px; line-height: 1.16;}
.staff-home .contact-intro{font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 430px; margin: 26px 0px;}
.staff-home .contact-small{font-size: 13px; color: var(--muted); max-width: 340px;}
.staff-home form{padding: 28px; background: rgba(255, 255, 255, 0.72); border: 1px solid white; border-radius: 20px;}
.staff-home form > label{display: block; font-size: 15px; margin: 18px 0px 8px;}
.staff-home textarea,.staff-home input:not([type="checkbox"]):not([type="radio"]){width: 100%; font: 16px / 1.5 Arial, sans-serif; color: var(--ink); background: rgb(247, 246, 251); border: 1px solid rgb(217, 213, 231); border-radius: 10px; padding: 12px 14px;}
.staff-home textarea{resize: vertical;}
.staff-home textarea:focus,.staff-home input:focus{outline: 2px solid var(--purple); outline-offset: 2px;}
.staff-home .chosen{padding-bottom: 18px; border-bottom: 1px solid var(--line);}
.staff-home .chosen > span{font-size: 12px; color: var(--muted);}
.staff-home .chosen p{margin: 6px 0px 0px; font-size: 15px; color: rgb(102, 84, 182);}
.staff-home form .consent{display: flex; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; margin: 20px 0px;}
.staff-home .consent input{width: 18px; height: 18px; flex-shrink: 0; margin: 1px 0px; accent-color: var(--purple);}
.staff-home form .sh-button{width: 100%;}
.staff-home #form-status{font-size: 13px; color: var(--muted); margin: 14px 0px 0px;}
.staff-home #form-status.error{color: rgb(181, 46, 62);}
.staff-home footer{display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0px; font-size: 12px; color: var(--muted);}
.staff-home footer p{margin: 4px 0px;}
.staff-home .footer-brand{font-size: 26px; font-weight: 800; letter-spacing: -1px; text-decoration: none; color: var(--ink);}
.staff-home .sh-sr-only{position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);}
@media (max-width: 800px) {.staff-home .sh-staff-hero{grid-template-columns: 1fr; gap: 30px; padding-top: 125px; padding-bottom: 33.6px;}
.staff-home .sh-price-card{max-width: none; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;}
.staff-home .sh-price{grid-area: 1 / 2 / 4; margin: 0px; align-self: center;}
.staff-home .sh-price-rule{display: none;}
.staff-home .sh-price-card > p:not(.sh-price){margin: 6px 0px;}
.staff-home .sh-price-card a{margin: 6px 0px;}
.staff-home .sh-roles{grid-template-columns: repeat(2, minmax(0px, 1fr));}
.staff-home .sh-section-heading{display: block;}
.staff-home .sh-section-heading > p{margin-top: 18px;}
.staff-home .contact-layout{grid-template-columns: 1fr; gap: 28px;}
.staff-home .contact-intro{max-width: 100%;}}
@media (max-width: 500px) {.staff-home .sh-wrap{width: calc(100% - 36px);}
.staff-home h1{font-size: 44px; letter-spacing: -1.4px;}
.staff-home h2{font-size: 33px; letter-spacing: -1px;}
.staff-home .sh-hero-description{font-size: 17px;}
.staff-home .eyebrow{font-size: 10px; letter-spacing: 1.3px;}
.staff-home .hero-benefits{gap: 6px;}
.staff-home .hero-benefits span{font-size: 11px; padding: 7px 10px;}
.staff-home .sh-price-card{padding: 20px; gap: 8px 12px;}
.staff-home .sh-price strong{font-size: 39px;}
.staff-home .sh-price > span{font-size: 12px;}
.staff-home .sh-price-card > p:not(.sh-price){font-size: 13px;}
.staff-home .sh-price-card a{font-size: 11px;}
.staff-home .sh-availability{font-size: 16.5px;}
.staff-home .sh-roles{grid-template-columns: 1fr; gap: 10px;}
.staff-home .sh-role-body{padding: 14.4px 20px;}
.staff-home .sh-role-top{margin-bottom: 10px;}
.staff-home .sh-role-body strong{font-size: 23px;}
.staff-home .sh-staff-selection{padding-bottom: 40px;}
.staff-home .contact-section{padding: 44px 0px;}
.staff-home .contact-layout h2{font-size: 37px;}
.staff-home form{padding: 20px;}
.staff-home footer{flex-direction: column; text-align: center; padding: 28px 0px;}
.staff-home .contact-intro{font-size: 16px;}}
@media (prefers-reduced-motion: reduce) {.staff-home{scroll-behavior: auto;}
.staff-home *{transition: none !important;}}
.staff-home .sh-selection-bar{display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 20px 24px; border-radius: 18px; background: var(--ink); color: white;}
.staff-home .sh-selection-details{min-width: 0px;}
.staff-home .sh-selection-details p{margin: 0px; font: 400 16px / 1.5 Arial, sans-serif;}
.staff-home .sh-selection-details .sh-selection-note{margin-top: 4px; font-size: 14px; color: rgb(188, 184, 206);}
.staff-home #hire-button{flex-shrink: 0; background: var(--purple); white-space: nowrap;}
.staff-home #hire-button:hover{background: rgb(104, 85, 223);}
@media (max-width: 600px) {.staff-home .sh-selection-bar{align-items: stretch; flex-direction: column; gap: 16px; padding: 20px;}
.staff-home .sh-selection-bar .sh-button{width: 100%;}}
.staff-home .sh-price strong .sh-price-period{display: block; font: inherit; letter-spacing: inherit;}
.staff-home .sh-selection-reveal{display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.1s;}
.staff-home .sh-selection-reveal.is-open{grid-template-rows: 1fr;}
.staff-home .sh-selection-clip{min-height: 0px; overflow: hidden;}
.staff-home .sh-role-person{display: flex; align-items: center; gap: 12px;}
.staff-home .sh-role-avatar{display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;}
.staff-home .sh-role-custom .sh-role-body{display: flex; flex-direction: column;}
.staff-home .sh-role-custom .sh-role-top{height: 48px; flex-shrink: 0; margin-bottom: 12px;}
.staff-home .sh-role-custom .sh-role-top strong{margin: 0px; transform: translateY(-3px);}
.staff-home .sh-role-custom .sh-role-top label{cursor: pointer;}
.staff-home .sh-role-custom textarea{display: block; min-height: 138px; max-width: 100%; cursor: text; flex: 1 1 0%;}
.staff-home .sh-role-custom textarea:focus{outline-width: 1px; outline-offset: 0px;}
.staff-home .sh-custom-task-count{display: block; text-align: right; font-size: 12px; color: var(--muted); margin-top: 6px;}
.staff-home #selection-status,.staff-home #chosen-roles{overflow-wrap: anywhere;}
.staff-home .sh-role-card:not(.sh-role-custom) .sh-role-top{gap: 12px;}
.staff-home .sh-role-card:not(.sh-role-custom) .sh-role-top strong{margin: 0px;}
.staff-home .sh-role-card:not(.sh-role-custom) .sh-role-check{flex-shrink: 0;}
.staff-home .sh-role-card:not(.sh-role-custom) .sh-role-person{min-height: 48px; margin-bottom: 12px;}
.staff-home .sh-price-card{position: relative; border: 1px solid rgb(210, 205, 225); border-radius: 18px; padding: 46px 24px 28px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.25)), rgb(235, 231, 252); box-shadow: rgba(255, 255, 255, 0.45) 0px 0px 0px 7px inset, rgba(35, 33, 57, 0.08) 0px 12px 28px;}
.staff-home .sh-price-card::before{content: ""; position: absolute; top: 16px; left: 50%; width: 52px; height: 7px; transform: translateX(-50%); border: 1px solid rgb(210, 205, 225); border-radius: 8px; background: var(--bg); box-shadow: rgba(35, 33, 57, 0.08) 0px 1px 2px inset;}
.staff-home .sh-price strong{font-size: 34px; letter-spacing: -1.4px; white-space: nowrap;}
.staff-home .sh-price strong span{font-size: inherit;}
.staff-home .sh-price strong .sh-price-period{display: inline;}
.staff-home .sh-price strong .sh-price-period::before{content: " ";}
@media (max-width: 800px) {.staff-home .sh-price-card{display: block; width: 100%; max-width: 319px; margin-inline: auto; padding: 46px 24px 28px;}
.staff-home .sh-price{margin: 27px 0px 24px;}
.staff-home .sh-price-rule{display: block;}
.staff-home .sh-price-card a{margin-top: 26px;}}
@media (max-width: 500px) {.staff-home .sh-price strong{font-size: 34px;}
.staff-home .sh-price-card{padding: 46px 24px 28px;}}
.staff-home .sh-role-card:not(.sh-role-custom) .sh-role-person{display: none;}
.staff-home .sh-badge-photo{display: block; width: 144px; height: 160px; object-fit: cover; object-position: center center; border-radius: 6px; border: 1px solid rgb(210, 205, 225); margin: 0px auto 22px;}
.staff-home .sh-price-card > p:not(.sh-price){font-size: 14px;}
@media (max-width: 500px) {.staff-home .sh-price-card > p:not(.sh-price){font-size: 12px;}}
.staff-home .sh-role-custom .sh-role-body{position: relative;}
.staff-home .sh-role-custom .sh-role-top{height: auto; min-height: 27.6px; margin-bottom: 12px;}
.staff-home .sh-role-custom .sh-role-top strong{transform: none;}
.staff-home .sh-role-custom textarea{height: 63.7px; min-height: 63.7px; padding: 5px 10px; font-size: 14px; line-height: 20px; resize: none;}
.staff-home .sh-role-custom .sh-custom-task-count{position: absolute; right: 24px; bottom: 5px; margin: 0px; font-size: 10px; line-height: 14px;}
@media (max-width: 500px) {.staff-home .sh-role-custom .sh-custom-task-count{right: 20px; bottom: 3px;}}
.staff-home .sh-role-custom textarea{flex: 0 0 63.7px;}
.staff-home .sh-hero-copy{max-width:none}.staff-home h1{color:var(--ink)}

.staff-home .sh-role-custom .sh-role-top strong label{font:inherit;letter-spacing:inherit;color:inherit;margin:0}

@media(min-width:801px){.staff-home .sh-staff-hero{padding-top:160px;padding-bottom:5.6px}}

.staff-home .sh-role-card{margin:0}
.staff-home .sh-role-custom .sh-role-top label{margin:0;line-height:inherit}

.staff-home .sh-role-custom textarea{margin:0 0 -14.7px}
@media(max-width:800px){.staff-home .sh-role-custom textarea{padding-right:62px}.staff-home .sh-role-custom .sh-custom-task-count{right:32px;bottom:18px;pointer-events:none}}

.staff-home .sh-tabs{display:flex;gap:6px;width:fit-content;max-width:100%;padding:5px;margin:0 0 24px;border:1px solid var(--line);border-radius:14px;background:#eeebf6}
.staff-home .sh-tabs button{border:0;border-radius:10px;padding:12px 20px;background:transparent;color:var(--muted);font:400 16px/1.3 Arial,sans-serif;cursor:pointer}
.staff-home .sh-tabs button[aria-selected="true"]{background:var(--purple);color:#fff;box-shadow:0 3px 10px #7866ee22}
.staff-home .sh-tabs button:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.staff-home .sh-role-card[hidden]{display:none}
@media(max-width:500px){.staff-home .sh-tabs{width:100%}.staff-home .sh-tabs button{flex:1;padding:12px 8px;font-size:14px}}

/* Reserve a separate row for the counter even when the card is alone. */
.staff-home .sh-role-custom .sh-role-body{min-height:160px;padding-bottom:4.8px}
.staff-home .sh-role-custom textarea{margin:0;padding-right:10px}
.staff-home .sh-role-custom .sh-custom-task-count{position:static;align-self:stretch;margin-top:auto;padding-top:12px;flex-shrink:0}

.staff-home .sh-tabs{position:relative;isolation:isolate}
.staff-home .sh-tabs::before{content:"";position:absolute;top:5px;left:0;width:var(--tab-width,0px);height:calc(100% - 10px);border-radius:10px;background:var(--purple);box-shadow:0 3px 10px #7866ee22;transform:translateX(var(--tab-left,5px));transition:transform .2s ease,width .2s ease;z-index:-1;pointer-events:none}
.staff-home .sh-tabs button[aria-selected="true"]{background:transparent;box-shadow:none}
.staff-home .sh-tabs button{transition:color .2s ease}
@media(prefers-reduced-motion:reduce){.staff-home .sh-tabs::before,.staff-home .sh-tabs button{transition:none}}

.staff-home .sh-badge-photo{transform:scale(1.15)}
.staff-home .sh-price-card::before{transform:translateX(-50%) scale(1.15)}

/* Soft LED indicators follow the accessible tab selection state. */
.staff-home .sh-tabs button{display:flex;align-items:center;justify-content:center;gap:10px}
.staff-home .sh-tabs button::before{content:"";display:block;box-sizing:border-box;flex:0 0 4.8px;width:4.8px;height:4.8px;border:1px solid #b8b2c7;border-radius:50%;background:#f4f2f8;box-shadow:none;transition:background-color .35s ease,border-color .35s ease,box-shadow .35s ease}
.staff-home .sh-tabs button[aria-selected="true"]::before{border-color:#d9ff9b;background:#c5f77c;box-shadow:inset 0 1px 2px #f4ffdec9,0 0 4px 1px #c4ff80bb,0 0 10px 3px #baff7080,0 0 19px 6px #b6f97033}
@media(max-width:500px){.staff-home .sh-tabs button{gap:7px}}
@media(prefers-reduced-motion:reduce){.staff-home .sh-tabs button::before{transition:none}}

/* The photo window moves with the badge; the portrait stays in screen space. */
.staff-home .sh-badge-photo{overflow:hidden;background:#b1b2b4 url('/staff-badge-david.jpg?v=2') center top/100% 16000% no-repeat}
.staff-home .sh-badge-portrait{display:block;width:110%;height:auto;max-width:none;margin-left:-5%;object-fit:cover;object-position:center top;}

.staff-home .sh-badge-photo.has-fixed-portrait .sh-badge-portrait{opacity:0}
.badge-fixed-window{position:absolute;z-index:1;pointer-events:none}
.badge-fixed-window[hidden]{display:none}
.badge-fixed-window img{position:fixed;display:block;max-width:none;object-fit:cover;object-position:center top;transform:rotate(2deg);transform-origin:0 0}

/* Brief electrical flickers bypass the normal soft selection transition. */
.staff-home .sh-tabs button.led-flickering::before{transition:none}
.staff-home .sh-tabs button[aria-selected="true"].led-off::before{border-color:#b8b2c7;background:#f4f2f8;box-shadow:none}

/* Match the chat fix: prevent iOS focus zoom without disabling pinch zoom. */
@media (pointer: coarse), (max-width: 600px) {
  .staff-home .sh-role-custom textarea{font-size:16px}
}

/* Compact task cards, including the shared custom-task card. */
.staff-home .sh-roles:has([data-category="tasks"]:not([hidden])) .sh-role-body{padding-top:14.08px;padding-bottom:16px}
.staff-home .sh-roles:has([data-category="tasks"]:not([hidden])) .sh-role-custom .sh-role-body{min-height:0;padding-bottom:3.84px}
@media(max-width:500px){
  .staff-home .sh-roles:has([data-category="tasks"]:not([hidden])) .sh-role-body{padding-top:11.52px;padding-bottom:11.52px}
  .staff-home .sh-roles:has([data-category="tasks"]:not([hidden])) .sh-role-custom .sh-role-body{padding-bottom:3.84px}
}
