/* Responsive World floor: cover-led archive records below the wide accordion.
   This file is intentionally isolated so no other homepage floor is affected. */

/* The chapter headline begins one display line below the atlas top edge. */
@media (min-width:861px){
  .ledger-floor--world .ledger-floor__copy{
    top:calc(clamp(-64px,-4.4vw,-48px) - 28px + clamp(38px,4vw,58px))!important;
  }
  .ledger-floor--world .ledger-floor__directory-link{
    grid-column:2;
    justify-self:end;
  }
}

/* Medium and narrow layouts use one stable card state. The first card is not
   treated as an open accordion record here, so hovering a sibling cannot blur
   its cover or hide its copy. */
@media (max-width:1399px){
  .ledger-floor--world .world-atlas{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    gap:12px!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .ledger-floor--world .world-atlas__tile,
  .ledger-floor--world .world-atlas__tile.is-default,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover),
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.is-default:not(:focus-within){
    --world-card-title-size:clamp(20px,2vw,23px);
    --world-card-copy-size:12px;
    --world-card-meta-size:9px;
    position:relative!important;
    isolation:isolate!important;
    display:grid!important;
    grid-template-columns:clamp(106px,9.4vw,132px) minmax(0,1fr)!important;
    grid-template-rows:auto auto 1fr auto!important;
    column-gap:16px!important;
    flex:none!important;
    min-width:0!important;
    min-height:174px!important;
    padding:0 16px 0 0!important;
    overflow:hidden!important;
    border:1px solid rgba(47,58,62,.18)!important;
    background:#f8f9f8!important;
    filter:none!important;
    transform:none!important;
    box-shadow:none!important;
    transition:transform .32s cubic-bezier(.16,.84,.28,1),background-color .3s ease,box-shadow .3s ease!important;
  }

  .ledger-floor--world .world-atlas__tile::before,
  .ledger-floor--world .world-atlas__tile.is-default::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover)::before{
    content:""!important;
    display:block!important;
    position:relative!important;
    grid-column:1!important;
    grid-row:1 / -1!important;
    z-index:0!important;
    inset:auto!important;
    width:100%!important;
    height:100%!important;
    min-height:172px!important;
    box-sizing:border-box!important;
    background-color:#e6eaeb!important;
    background-position:center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
    transform-origin:center!important;
    transition:transform .62s cubic-bezier(.16,.84,.28,1),filter .3s ease!important;
  }
  .ledger-floor--world .world-atlas__tile.has-cover::before,
  .ledger-floor--world .world-atlas__tile.is-default.has-cover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:not(:hover)::before{
    background-image:var(--entry-cover)!important;
  }
  .ledger-floor--world .world-atlas__tile:not(.has-cover)::before{
    background-image:linear-gradient(145deg,#edf0f0,#dfe4e5)!important;
  }
  .ledger-floor--world .world-atlas__tile::after,
  .ledger-floor--world .world-atlas__tile.is-default::after,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile::after,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover::after{
    display:none!important;
    opacity:0!important;
  }

  .ledger-floor--world .world-atlas__tile>span,
  .ledger-floor--world .world-atlas__tile h3,
  .ledger-floor--world .world-atlas__tile p,
  .ledger-floor--world .world-atlas__tile small{
    grid-column:2!important;
    position:relative!important;
    z-index:1!important;
    inset:auto!important;
    min-width:0!important;
    opacity:1!important;
    transform:none!important;
  }
  .ledger-floor--world .world-atlas__tile>span{
    margin-top:17px!important;
    color:#80683d!important;
  }
  .ledger-floor--world .world-atlas__tile h3,
  .ledger-floor--world .world-atlas__tile.is-default h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:not(:hover) h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) h3,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile h3{
    margin:7px 0 8px!important;
    font-size:var(--world-card-title-size)!important;
    line-height:1!important;
    opacity:1!important;
    transform:none!important;
  }
  .ledger-floor--world .world-atlas__tile h3 a,
  .ledger-floor--world .world-atlas__tile p,
  .ledger-floor--world .world-atlas__tile small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) h3 a,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) small{
    color:#263034!important;
  }
  .ledger-floor--world .world-atlas__tile p,
  .ledger-floor--world .world-atlas__tile.is-default p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:not(:hover) p,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile p{
    display:-webkit-box!important;
    margin:0!important;
    min-height:0!important;
    max-height:2.96em!important;
    font-size:var(--world-card-copy-size)!important;
    line-height:1.48!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  .ledger-floor--world .world-atlas__tile small,
  .ledger-floor--world .world-atlas__tile.is-default small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:not(:hover) small,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile small{
    align-self:end!important;
    margin:10px 0 15px!important;
    font-size:var(--world-card-meta-size)!important;
  }

  html[data-theme="night"] .ledger-floor--world .world-atlas__tile,
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile.is-default,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover){
    border-color:rgba(204,175,118,.2)!important;
    background:#202426!important;
  }
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile>span{color:#c1a36d!important}
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile h3 a,
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile p,
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile small,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) h3 a,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) p,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) small{color:#f1eee7!important}

  @media (hover:hover) and (pointer:fine){
    .ledger-floor--world .world-atlas__tile:hover,
    .ledger-floor--world .world-atlas__tile:focus-within,
    html[data-theme="night"] .ledger-floor--world .world-atlas__tile:hover,
    html[data-theme="night"] .ledger-floor--world .world-atlas__tile:focus-within{
      z-index:2!important;
      border-color:inherit!important;
      transform:translateY(-2px)!important;
      box-shadow:0 10px 24px rgba(55,66,70,.08)!important;
    }
    html[data-theme="night"] .ledger-floor--world .world-atlas__tile:hover,
    html[data-theme="night"] .ledger-floor--world .world-atlas__tile:focus-within{
      box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
    }
    .ledger-floor--world .world-atlas__tile:hover::before,
    .ledger-floor--world .world-atlas__tile:focus-within::before,
    html[data-theme="night"] .ledger-floor--world .world-atlas__tile:hover::before,
    html[data-theme="night"] .ledger-floor--world .world-atlas__tile:focus-within::before{
      opacity:1!important;
      filter:none!important;
      transform:none!important;
    }
  }
}

/* Medium layouts receive the fuller desktop hover: the whole file floats a
   little while its cover eases forward inside the clipped image column. */
@media (min-width:861px) and (max-width:1399px) and (hover:hover) and (pointer:fine){
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within,
  html[data-theme="light"] .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  html[data-theme="light"] .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  html[data-theme="night"] .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within{
    transform:translateY(-4px) scale(1.015)!important;
    transform-origin:center!important;
    background-color:#fbfcfc!important;
    box-shadow:0 15px 30px rgba(55,66,70,.12)!important;
  }
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  html[data-theme="night"] .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within{
    background-color:#25292a!important;
    box-shadow:0 15px 30px rgba(0,0,0,.24)!important;
  }
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.has-cover:focus-within::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.has-cover:focus-within::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.has-cover:focus-within::before{
    opacity:1!important;
    filter:none!important;
    transform:scale(1.045)!important;
  }
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover>span,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover small,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within>span,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within h3,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within p,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within small{
    inset:auto!important;
    opacity:1!important;
    transform:none!important;
    transition:color .3s ease,text-decoration-color .3s ease!important;
  }
}

/* Direction A: phone widths become a single cover-first archive list. */
@media (max-width:860px){
  body.home-mode .ledger-floor--world{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
    padding-top:80px!important;
    padding-bottom:84px!important;
  }
  .ledger-floor--world .ledger-floor__copy{
    top:auto!important;
    margin-top:clamp(38px,10vw,52px)!important;
  }
  .ledger-floor--world .world-atlas{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
  .ledger-floor--world .world-atlas__tile,
  .ledger-floor--world .world-atlas__tile.is-default,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover){
    --world-card-title-size:clamp(20px,6.6vw,24px);
    --world-card-copy-size:11px;
    --world-card-meta-size:8px;
    grid-template-columns:clamp(118px,31vw,156px) minmax(0,1fr)!important;
    min-height:164px!important;
    height:164px!important;
    max-height:164px!important;
    align-self:start!important;
  }
  .ledger-floor--world .world-atlas__tile::before,
  .ledger-floor--world .world-atlas__tile.is-default::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile::before{
    min-height:162px!important;
    height:100%!important;
  }
  .ledger-floor--world .ledger-floor__directory-link{
    grid-column:1!important;
    justify-self:end!important;
    margin-top:18px!important;
  }
  .ledger-floor--world .world-atlas__tile.has-cover::before,
  .ledger-floor--world .world-atlas__tile.is-default.has-cover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:not(:hover)::before,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.has-cover:focus-within::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas__tile.is-default.has-cover::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile.is-default.has-cover::before{
    inset:auto!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
}

@media (max-width:600px){
  .ledger-floor--world .world-atlas__tile,
  .ledger-floor--world .world-atlas__tile.is-default,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover){
    grid-template-columns:clamp(106px,32vw,136px) minmax(0,1fr)!important;
    column-gap:13px!important;
    min-height:158px!important;
    height:158px!important;
    max-height:158px!important;
    padding-right:12px!important;
  }
  .ledger-floor--world .world-atlas__tile::before,
  .ledger-floor--world .world-atlas__tile.is-default::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile::before{min-height:156px!important;height:100%!important}
  .ledger-floor--world .world-atlas__tile>span{margin-top:14px!important;font-size:8.5px!important}
  .ledger-floor--world .world-atlas__tile h3,
  .ledger-floor--world .world-atlas__tile.is-default h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:not(:hover) h3{
    margin:6px 0 7px!important;
    font-size:var(--world-card-title-size)!important;
  }
  .ledger-floor--world .world-atlas__tile p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:not(:hover) p{font-size:var(--world-card-copy-size)!important;line-height:1.42!important;max-height:2.84em!important}
  .ledger-floor--world .world-atlas__tile small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:not(:hover) small{margin:8px 0 12px!important;font-size:var(--world-card-meta-size)!important}

  /* Phone cards have one identical image state. In particular the resting
     first record cannot inherit the wide accordion's open-cover zoom. */
  .ledger-floor--world .world-atlas__tile.has-cover::before,
  .ledger-floor--world .world-atlas__tile.is-default.has-cover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:not(:hover)::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas__tile.is-default.has-cover::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas__tile.is-default.has-cover::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before{
    inset:auto!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
}

/* The editorial font extends slightly above its nominal line box. Keep the
   narrow watermark inside the floor instead of letting the glyph tops meet
   the section's clipping boundary. */
@media (max-width:700px){
  .ledger-floor--world .floor-watermark{top:18px!important}
}

/* Canonical compact interaction. This deliberately sits last so none of the
   former accordion selectors can resize the lead cover or animate its copy. */
@media (max-width:860px){
  .ledger-floor--world .world-atlas .world-atlas__tile,
  .ledger-floor--world .world-atlas .world-atlas__tile.is-default,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:hover,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover),
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within{
    filter:none!important;
    transform:none!important;
    transition:transform .34s cubic-bezier(.16,.84,.28,1),background-color .3s ease,box-shadow .34s ease!important;
  }

  .ledger-floor--world .world-atlas .world-atlas__tile.has-cover::before,
  .ledger-floor--world .world-atlas .world-atlas__tile.is-default.has-cover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:hover::before,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:not(:hover)::before,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.has-cover::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:hover::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default.has-cover:hover::before{
    inset:auto!important;
    width:100%!important;
    height:100%!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
    transition:filter .3s ease!important;
  }

  .ledger-floor--world .world-atlas .world-atlas__tile>span,
  .ledger-floor--world .world-atlas .world-atlas__tile h3,
  .ledger-floor--world .world-atlas .world-atlas__tile p,
  .ledger-floor--world .world-atlas .world-atlas__tile small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover>span,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover small,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover)>span,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) h3,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) p,
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.is-default:not(:hover) small{
    position:relative!important;
    inset:auto!important;
    opacity:1!important;
    transform:none!important;
    transition:color .25s ease,text-decoration-color .25s ease!important;
  }
}

@media (max-width:860px) and (hover:hover) and (pointer:fine){
  .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within,
  html[data-theme="light"] .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover{
    z-index:2!important;
    border-color:inherit!important;
    transform:translateY(-3px)!important;
    background-color:#fbfcfc!important;
    box-shadow:0 10px 22px rgba(55,66,70,.1)!important;
  }
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile:hover,
  html[data-theme="night"] .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile:focus-within{
    background-color:#25292a!important;
    box-shadow:0 10px 22px rgba(0,0,0,.2)!important;
  }
  .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  .ledger-floor--world .world-atlas:has(.world-atlas__tile:focus-within) .world-atlas__tile.has-cover:focus-within::before,
  html[data-theme="light"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before,
  html[data-theme="night"] .ledger-floor--world .world-atlas:hover .world-atlas__tile.has-cover:hover::before{
    filter:saturate(1.035) brightness(1.025)!important;
    transform:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .ledger-floor--world .world-atlas__tile{transition:none!important}
}
