/* Follows the visitor's own device settings. Nothing here applies with ordinary settings, so the design is unchanged for everyone else.
   html.ost-large is set in each page's head when the visitor's text size is about 125% or more (it follows their setting up to 200%). */

/* ---------- large text: keep everything on the screen and readable ---------- */
html.ost-large main,html.ost-large footer{overflow-wrap:anywhere}
html.ost-large .sec>*{min-width:0}
html.ost-large .landing h1{font-size:min(clamp(2.2rem,5vw,4rem),11.5vw)}
html.ost-large .sec .k h2,html.ost-large .hk h2{font-size:min(2.1rem,3.1vw)}
html.ost-large .sec .k .kicker,html.ost-large .hk .kicker{font-size:min(.72rem,1.25vw);letter-spacing:.1em}
html.ost-large .peek{font-size:min(1.7rem,10.5vw)}
html.ost-large .m-name{font-size:min(1.7rem,3.1vw);white-space:normal}
html.ost-large .m-role{white-space:normal;max-width:100%;padding:0 14px;box-sizing:border-box}
html.ost-large .rec .links{flex-wrap:wrap}html.ost-large .rec .links a{white-space:nowrap}
html.ost-large .cdet a{overflow-wrap:anywhere}
html.ost-large .stair span{white-space:normal}
/* the sideways video row needs a fixed height, which large text cannot fit: the videos become one ordinary column, with their full captions */
html.ost-large #watch{height:auto!important}
html.ost-large .hpin{position:static!important;height:auto!important;overflow:visible;display:grid;grid-template-columns:1fr 2fr;column-gap:60px;padding:100px 40px;max-width:1400px;margin:0 auto}
html.ost-large .hk{position:static!important;grid-column:1;grid-row:1 / span 2;width:auto;align-self:start}
html.ost-large .hclip{position:static!important;grid-column:2;clip-path:none!important}
html.ost-large .htrack{position:static!important;display:block!important;transform:none!important;padding:0!important}
html.ost-large .slide{width:100%!important;opacity:1!important;margin:0 0 56px}
html.ost-large .hprog{display:none}
html.ost-large .hyt{position:static!important;grid-column:2;justify-self:start}
@media(max-width:860px){
  html.ost-large .sec .k h2,html.ost-large .hk h2{font-size:min(2.1rem,11vw)}
  html.ost-large .sec .k .kicker,html.ost-large .hk .kicker{font-size:.72rem}
  html.ost-large .sec,html.ost-large .hpin{padding-right:14px!important}
  html.ost-large .sec,html.ost-large .hpin{padding-left:calc(var(--lx,8vw) + 12px)!important}
  html.ost-large .bio p,html.ost-large .bio .big,html.ost-large .hang,html.ost-large .field p{hyphens:auto;-webkit-hyphens:auto}
  html.ost-large .word{font-size:min(clamp(3.4rem,6.5vw,6.2rem),15vw)}
  html.ost-large .stair{font-size:min(12vw,2.3rem);max-width:100%}
  html.ost-large .def .stair span{padding-left:0!important} /* the staircase steps need more width than a phone has at this size */
  html.ost-large .def .stair{width:auto}
  html.ost-large .hpin{display:block;padding-top:60px;padding-bottom:60px}
  html.ost-large .hk{margin-bottom:28px}
}

/* ---------- high contrast: plain black on white, nothing faint, nothing behind the text ---------- */
@media (prefers-contrast:more){
  html:root{--paper:#fff;--ink:#000;--ink-soft:#000;--green:#000;--pale:#fff;--rule:#000;--sage:#fff}
  html,body{background:#fff!important;color:#000!important}
  .ink-w{background-image:none!important;color:#000!important;-webkit-text-fill-color:#000!important}
  .kicker,.small,.tiny,.vt,.vt span,.vt b,.dl a,.dl a span,.ul,.hyt,footer,footer *,.line .k,.copy,.cdet,.cdet a,.who,.who b,.hang,.field p,.word small,.rec b,.hx .hint{color:#000!important;opacity:1!important}
  .landing h1{color:#000!important}
  .peek{color:#000!important}
  #sm{color:#000!important}#sm .lines i{opacity:1!important}#sm.open nav a{opacity:1!important}
  #sm.hide{opacity:1!important;pointer-events:auto!important}
  .hl{background:#000!important}
  .m-rule{background:#fff!important}.m-role,.m-name,.hx .hxcap .role,.hx .hxcap .name{color:#fff!important;text-shadow:none!important}
  .hx .hxcap .role{opacity:1!important}
  .meta{background:linear-gradient(transparent 55%,#000 88%)}
  .hx .hxcap{left:0;right:0;bottom:0!important;padding:18px 10px 28px;background:#000}
  :focus-visible{outline-color:#000!important}.ost-skip:focus{outline-color:#fff!important}
}
@media (forced-colors:active){
  .ink-w{background-image:none!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}
  a .ink-w{color:LinkText!important;-webkit-text-fill-color:LinkText!important}
  .landing h1{color:CanvasText!important}
  #sm .lines i,.hl,.lvp,.hx .lv,.hx .lh{forced-color-adjust:none;background:CanvasText!important}
  #sm{color:CanvasText!important}#sm.open nav a{opacity:1!important}#sm.hide{opacity:1!important;pointer-events:auto!important}
  .m-role,.m-name{forced-color-adjust:none;color:CanvasText;background:Canvas;padding:2px 8px}
  .hx .hxcap{forced-color-adjust:none;color:CanvasText;background:Canvas;bottom:0!important;padding:14px 8px}
  .hx .hxcap .role,.hx .hxcap .name{color:CanvasText!important;text-shadow:none!important;opacity:1!important}
  :focus-visible{outline-color:Highlight!important}
}
@media (prefers-contrast:more),(forced-colors:active){
  /* the decorative glows and the frosted screen go; the text stands on its own */
  .ost-halo,.glow,.veil,.landing .glow,.landing .glass,.landing .win,#sm::before{display:none!important}
  .hl{-webkit-mask-image:none!important;mask-image:none!important;opacity:1!important}
  .slide{opacity:1!important}.rv{opacity:1!important;transform:none!important;filter:none!important}
  .peek.ghost{display:none!important}
  .hx .hint{display:none!important}
  .peekw{display:block!important;opacity:1!important;pointer-events:none}
  .peek{overflow:visible!important;height:auto!important;line-height:1.15!important}
  .peek span{white-space:normal!important;transform:none!important}
  /* on a computer each artist's name stays visible at the foot of the column, not only when the photo opens */
  @media(min-width:761px){
    .peekw{position:absolute;inset:auto 0 40px 0;padding:0 10px}
    .hl{-webkit-mask-image:linear-gradient(#000 calc(100% - 130px),transparent calc(100% - 130px))!important;mask-image:linear-gradient(#000 calc(100% - 130px),transparent calc(100% - 130px))!important}
    .peek{position:static;text-align:center;font-family:var(--serif);font-style:italic;font-weight:500;font-size:1.7rem}
  }
  @media(max-width:760px){.peek{bottom:calc(50% + 4px)!important}}
}
