/* Restore Mariya's approved original Albra Sans italic accent asset. */
@font-face{font-family:'Neue Montreal';src:url('/assets/neue-montreal-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Basis Grotesque';src:url('/assets/fonts/basis-grotesque.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Albra Sans';src:url('/assets/albra-sans-thin-italic.woff2') format('woff2');font-style:italic;font-weight:300;font-display:swap}
:root{--font-heading:'Neue Montreal',sans-serif;--font-body:'Basis Grotesque',sans-serif;--font-accent:'Albra Sans',sans-serif}
html{font-synthesis:none}
body,body[data-page=work-index],.w-header,.w-footer{font-family:var(--font-body)!important}
h1,h2,h3,h4,h5,h6,.w-brand,.w-card h2,.w-selection-links strong{font-family:var(--font-heading)!important}
em,h1 em,h2 em,h3 em,.project-title-row>p{font-family:var(--font-accent)!important;font-style:italic!important;font-weight:300!important}
button,input,select,textarea,label,.w-label{font-family:var(--font-body)!important}

/* === Batch 5: case page openings. The work starts on the first screen. === */
main.case .intro h1,main .intro.wrap h1,main .hero-head h1,main .project-heading h1{font-size:clamp(52px,6.7vw,100px);line-height:1.02}
main h1.h1-d1{font-size:clamp(46px,5.7vw,86px)!important}
main h1.h1-d2{font-size:clamp(40px,4.9vw,74px)!important}
main.case .intro h1{margin-bottom:0}
main.case .breadcrumb{padding-top:20px}
main.case .intro{padding-top:26px;padding-bottom:28px}
main.case .intro .eyebrow,main .intro.wrap .eyebrow{margin-bottom:16px}
main.case .intro-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:5vw}
main .intro.wrap{padding-top:22px;padding-bottom:28px}
main .intro.wrap .breadcrumb{margin-bottom:26px}
@media(max-width:1050px){main.case .intro-grid{gap:36px}}
@media(max-width:650px){
  main.case .intro h1,main .intro.wrap h1,main .hero-head h1,main .project-heading h1{font-size:clamp(36px,11.2vw,46px)}
  main h1.h1-p1{font-size:clamp(32px,9.8vw,40px)!important}
  main h1.h1-p2{font-size:clamp(29px,8.6vw,35px)!important}
  main.case .intro .eyebrow,main .intro.wrap .eyebrow{margin-bottom:12px}
  /* Phone: headline, then the artwork, then the summary. */
  main.case{display:flex;flex-direction:column}
  main.case>.intro,main.case>.intro>.intro-grid{display:contents}
  main.case>.intro>.intro-grid>*{width:var(--work-rail);margin-inline:auto}
  main.case>.breadcrumb{order:-4;padding-top:16px}
  main.case>.intro>.intro-grid>:first-child{order:-3;padding-top:18px;padding-bottom:16px}
  main.case>.hero-wide{order:-2}
  main.case>.intro>.intro-grid>:nth-child(2){order:-1;padding-bottom:28px}
}
main.case .intro-facts{padding-bottom:34px}
main.case .intro-facts .facts{margin-top:0;border-top:0;padding-top:4px}
body.sts main .hero .zoom{display:block;aspect-ratio:16/9!important;overflow:hidden}
body.sts main .hero .zoom img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 85%!important}
.ac-story{padding-block:4px 30px}
.ac-story p{max-width:640px;font-size:19px;line-height:1.5;margin:0}
main>.hero.wrap:has(>.hero-head){padding-top:30px}
main>.hero.wrap>.hero-head{margin-bottom:26px}
@media(max-width:650px){
  .ac-story p{font-size:17px}
  /* Accolad and Sports Timing Systems: headline, artwork, then the summary */
  main:not(.case):has(>.intro.wrap){display:flex;flex-direction:column}
  main:not(.case)>.intro.wrap,main:not(.case)>.intro.wrap>.intro-grid{display:contents}
  main:not(.case)>.intro.wrap>.breadcrumb,main:not(.case)>.intro.wrap>.intro-grid>*{width:var(--work-rail);margin-inline:auto}
  main:not(.case)>.intro.wrap>.breadcrumb{order:-4;margin-top:16px;margin-bottom:14px}
  main:not(.case)>.intro.wrap>.intro-grid>:first-child{order:-3;padding-bottom:16px}
  main:not(.case)>.hero.wrap,main:not(.case)>.ac-scope{order:-2}
  main:not(.case)>.intro.wrap>.intro-grid>:nth-child(2){order:-1;padding-block:8px 28px;max-width:none}
  /* LandSale and Beauty Brand Books: headline, artwork, then the introduction */
  main>.hero.wrap:has(>.hero-head){display:flex;flex-direction:column;padding-top:20px}
  main>.hero.wrap>.hero-head{display:contents}
  main>.hero.wrap>.eyebrow{order:-3}
  main>.hero.wrap>.hero-head>h1{order:-2;margin-bottom:16px}
  main>.hero.wrap>.hero-board,main>.hero.wrap>.cover-grid{order:-1}
  main>.hero.wrap>.hero-head>:not(h1){order:0;margin-top:22px}
}
.project-hero .hero-art{margin-top:38px}
.project-hero .project-meta{margin:26px 0 0}
@media(max-width:700px){.project-hero .hero-art{margin-top:24px}.project-hero .project-meta{margin-top:20px}}
