/* tastemaker critique: ShowTell 4, Philosophy 4, Hierarchy 5, Specificity 4, Restraint 5, Variety 4.
   Homepage instructor profiles. Existing photos, mask crops, fonts and motion are retained.
   The legacy important card layer requires scoped important declarations.
   The 550ms opacity reveal reuses the existing observer; faces never animate separately.
   Layout: manual horizontal carousel; two profiles on desktop, one on smaller screens. */
@layer card-design {
 #instructors.hm-instructors-editorial {padding:96px 0!important;scroll-margin-top:80px!important}
 #instructors .hm-container {width:calc(100% - 80px)!important;max-width:1280px!important;margin-inline:auto!important;padding:0!important}
 #instructors .hm-coaches-header {display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:32px!important;max-width:none!important;margin:0 0 40px!important}
 #instructors .hm-coaches-header__title {font-size:44px!important;line-height:1.15!important;font-weight:400!important;white-space:normal!important;letter-spacing:-.035em!important;margin:0 0 18px!important}
 #instructors .hm-coaches-header__sub {font-size:17px!important;line-height:1.65!important;max-width:660px!important;margin:0!important;color:var(--ink-meta)!important}
 #instructors .hm-instructors-all {display:inline-flex!important;align-items:center!important;gap:14px!important;flex-shrink:0!important;min-height:48px!important;color:var(--ink-link)!important;font-size:15px!important;font-weight:500!important;text-decoration:none!important;border-bottom:1px solid #C8202E!important;padding:8px 0!important;white-space:nowrap!important}
 #instructors .hm-coaches-grid {display:flex!important;gap:24px!important;max-width:none!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;padding:4px 0 8px!important;align-items:stretch!important;touch-action:pan-x pan-y pinch-zoom!important}
 #instructors .hm-coaches-grid::-webkit-scrollbar {display:none}
 #instructors .hm-coach-card {display:grid!important;flex:0 0 calc((100% - 24px)/2)!important;scroll-snap-align:start!important;grid-template-columns:232px minmax(0,1fr)!important;align-items:center!important;min-width:0!important;padding:0!important;border-radius:12px!important;border-color:#dddfe1!important;box-shadow:none!important;transition:opacity 550ms cubic-bezier(.23,1,.32,1)!important}
 #instructors .hm-instructor-carousel-footer {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-top:16px!important}
 #instructors .hm-instructor-status-meta {font-size:14px!important;line-height:1.5!important;color:var(--ink-meta)!important;margin:0!important}
 #instructors .hm-instructor-controls:not([hidden]) {display:flex!important;gap:10px!important}
 #instructors .hm-instructor-arrow {display:grid!important;place-items:center!important;width:48px!important;height:48px!important;padding:0!important;border:1px solid var(--ink-control)!important;border-radius:50%!important;background:#fff!important;color:var(--ink-control)!important;cursor:pointer!important;touch-action:manipulation!important;transition:background-color 180ms,color 180ms!important}
 #instructors .hm-instructor-prev svg {transform:rotate(180deg)!important}
 #instructors .hm-instructor-arrow:disabled {opacity:.35!important;cursor:default!important}
 #instructors :is(.hm-coaches-grid,.hm-instructor-arrow):focus-visible {outline:2px solid #0D6E73!important;outline-offset:3px!important}
 #instructors .hm-coaches-grid:focus-visible {outline-offset:-2px!important}
 #instructors .hm-coach-card .sb-portrait-stage {height:100%!important;min-height:300px!important;width:100%!important;padding:18px 0 18px 12px!important;box-sizing:border-box!important;overflow:hidden!important}
 body #instructors .hm-coach-card .sb-portrait-frame {width:220px!important;max-width:100%!important;height:auto!important;border:0!important;border-radius:0!important;background:#fff!important}
 #instructors .hm-coach-info {display:flex!important;flex-direction:column!important;align-items:flex-start!important;align-self:stretch!important;min-width:0!important;border:0!important;padding:28px 24px 24px 20px!important}
 #instructors .hm-instructor-role-meta {font-size:14px!important;line-height:1.4!important;font-weight:500!important;color:#0D6E73!important;margin-bottom:12px!important}
 #instructors .hm-coach-name-row {display:block!important;margin:0 0 8px!important}
 #instructors .hm-coach-name-row h3 {font-size:26px!important;font-weight:500!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:0!important}
 #instructors .hm-coach-name-row a {color:var(--ink-heading)!important;text-decoration:none!important}
 #instructors .hm-instructor-credentials {display:block!important;font-size:14px!important;line-height:1.6!important;color:var(--ink-meta)!important}
 #instructors .hm-coach-bio {font-size:17px!important;line-height:1.6!important;font-weight:400!important;margin:16px 0 24px!important;padding:0!important;border:0!important;color:var(--ink-heading)!important}
 #instructors .hm-instructor-profile {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;min-height:44px!important;width:100%!important;margin-top:auto!important;padding-top:14px!important;border-top:1px solid #C7D0DC!important;text-decoration:none!important;font-size:15px!important;font-weight:500!important;line-height:1.5!important;color:var(--ink-link)!important}
 #instructors :is(.hm-instructor-profile,.hm-instructors-all) svg {flex-shrink:0!important;transition:transform 220ms cubic-bezier(.23,1,.32,1)!important}
 #instructors a:focus-visible {outline:2px solid #0D6E73!important;outline-offset:5px!important;border-radius:2px!important}
 #instructors .hm-coach-card:focus-within {border-color:#0D6E73!important}
 @media(hover:hover) and (pointer:fine) {
  #instructors .hm-instructor-arrow:hover:not(:disabled) {background:var(--ink-action)!important;color:#fff!important}
  #instructors .hm-coach-card:hover {border-color:#0D6E73!important;box-shadow:none!important}
  #instructors :is(.hm-instructor-profile,.hm-instructors-all):hover {text-decoration:underline!important;text-underline-offset:5px!important}
  #instructors :is(.hm-instructor-profile,.hm-instructors-all):hover svg {transform:translateX(4px)!important}
 }

 @media(max-width:1199px) {
  #instructors .hm-container {max-width:800px!important}
  #instructors .hm-coaches-grid {gap:20px!important}
  #instructors .hm-coach-card {grid-template-columns:260px minmax(0,1fr)!important;flex-basis:100%!important}
  body #instructors .hm-coach-card .sb-portrait-frame {width:240px!important}
  #instructors .hm-coach-info {padding:30px 28px 28px 12px!important}
  #instructors .hm-coaches-header {align-items:flex-start!important;flex-direction:column!important;gap:20px!important}
 }
 @media(max-width:600px) {
  #instructors.hm-instructors-editorial {padding:64px 0!important}
  #instructors .hm-container {width:calc(100% - 40px)!important}
  #instructors .hm-coaches-header {margin-bottom:28px!important}
  #instructors .hm-coaches-header__title {font-size:32px!important;line-height:1.15!important;letter-spacing:-.035em!important}
  #instructors .hm-coach-card {grid-template-columns:minmax(0,1fr)!important}
  #instructors .hm-coach-card .sb-portrait-stage {min-height:0!important;height:240px!important;padding:12px 20px 0!important}
  body #instructors .hm-coach-card .sb-portrait-frame {width:240px!important}
  #instructors .hm-coach-info {padding:20px 24px 24px!important}
  #instructors .hm-instructor-role-meta {margin-bottom:10px!important}
  #instructors .hm-coach-name-row h3 {font-size:26px!important}
  #instructors .hm-coach-bio {margin:16px 0 20px!important}
 }
 @media(prefers-reduced-motion:reduce) {
  #instructors .hm-instructor-arrow {transition:none!important}
  #instructors .hm-coach-card {transition:none!important;opacity:1!important}
  #instructors :is(.hm-instructor-profile,.hm-instructors-all) svg {transition:none!important;transform:none!important}
 }
 html[data-site-motion="reduced"] #instructors .hm-coach-card {transition:none!important;opacity:1!important}
 html[data-site-motion="reduced"] #instructors .hm-instructor-arrow {transition:none!important}
 html[data-site-motion="reduced"] #instructors :is(.hm-instructor-profile,.hm-instructors-all) svg {transition:none!important;transform:none!important}
 @media print {
  #instructors .hm-coaches-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important}
  #instructors .hm-coach-card {opacity:1!important;break-inside:avoid!important}
  #instructors .hm-instructor-carousel-footer {display:none!important}
 }
}
