/* Study Mythology site extras: home stage, spotlight, story cards, hover cards */
.mlh-stage { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(500px, 80vh, 720px); display: flex; align-items: center; background: #0d0a14; color: #f1e8d8; margin-top: 0 !important; margin-bottom: 0 !important; }
.mlh-wall { position: absolute; inset: -60px 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; transform: rotate(-4deg) scale(1.08); z-index: -2; }
.mlh-track { display: flex; gap: 18px; width: max-content; animation: mlh-drift var(--dur, 120s) linear infinite; animation-delay: var(--del, 0s); }
.mlh-row:nth-child(even) .mlh-track { animation-direction: reverse; }
.mlh-row:hover .mlh-track { animation-play-state: paused; }
.mlh-t { --s: 156px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; overflow: hidden; border: 2px solid var(--tc); box-shadow: 0 6px 18px rgba(0,0,0,.55); opacity: .7; filter: saturate(.9); transition: opacity .25s, transform .25s, filter .25s; background: #1d1829; display: block; }
.mlh-t:hover, .mlh-t:focus-visible { opacity: 1; filter: none; transform: scale(1.15); position: relative; z-index: 2; }
.ml-sp { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-size: calc(var(--spc) * 100%) auto; }
@keyframes mlh-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mlh-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 70% 45%, transparent 0 35%, rgba(13,10,20,.55) 70%, rgba(13,10,20,.92) 100%),
              linear-gradient(90deg, rgba(13,10,20,.97) 0%, rgba(13,10,20,.9) 34%, rgba(13,10,20,.35) 62%, rgba(13,10,20,.15) 100%),
              linear-gradient(0deg, #13101c 0, transparent 22%); }
.mlh-copy { width: 100%; max-width: 1340px; margin: 0 auto; padding: 56px var(--wp--style--root--padding-right, 24px) 64px var(--wp--style--root--padding-left, 24px); pointer-events: none; box-sizing: border-box; }
.mlh-copy > * { pointer-events: auto; max-width: 640px; }
.mlh-eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: #cdbfa6; margin: 0; }
.mlh-copy h1 { font-family: var(--wp--preset--font-family--display, Georgia, serif); font-weight: 400; font-size: clamp(2.8rem, 6.4vw, 5rem) !important; line-height: 1.02; margin: .3em 0 0; text-shadow: 0 2px 24px rgba(0,0,0,.6); color: #f1e8d8; }
.mlh-copy h1 em { font-style: normal; color: #cf9f5f; }
.mlh-lede { margin: 16px 0 0; font-size: 1.3rem; line-height: 1.5; color: #e9dfcd; }
.mlh-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; max-width: 760px !important; }
.mlh-btn { display: inline-block; font: inherit; font-size: 1.05rem; padding: 12px 20px; border-radius: 999px; border: 1px solid #f1e8d8; color: #f1e8d8 !important; background: rgba(19,16,28,.55); text-decoration: none !important; cursor: pointer; }
.mlh-btn:hover { border-color: #e6c56a; color: #e6c56a !important; }
.mlh-btn.gold { background: #cf9f5f; border-color: #cf9f5f; color: #1a1208 !important; font-weight: 700; }
.mlh-btn.gold:hover { background: #e0b678; color: #1a1208 !important; }
.mlh-counts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.mlh-counts b { display: block; font-family: var(--wp--preset--font-family--display, Georgia, serif); font-weight: 400; font-size: 2.2rem; color: #e6c56a; line-height: 1; }
.mlh-counts span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #b9ad9f; }
.mlh-stage.enter .mlh-wall { animation: mlh-in 1.6s ease-out both; }
.mlh-stage.enter .mlh-copy > * { animation: mlh-up .9s cubic-bezier(.2,.7,.2,1) both; }
.mlh-stage.enter .mlh-copy > :nth-child(2) { animation-delay: .12s; } .mlh-stage.enter .mlh-copy > :nth-child(3) { animation-delay: .24s; } .mlh-stage.enter .mlh-copy > :nth-child(4) { animation-delay: .36s; } .mlh-stage.enter .mlh-copy > :nth-child(5) { animation-delay: .48s; }
@keyframes mlh-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mlh-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) {
  .mlh-stage { align-items: flex-end; min-height: 0; }
  .mlh-t { --s: 108px; }
  .mlh-wall { gap: 10px; justify-content: flex-start; inset: 0; padding-top: 8px; } .mlh-track { gap: 10px; }
  .mlh-shade { background: linear-gradient(0deg, #13101c 0, rgba(13,10,20,.96) 45%, rgba(13,10,20,.55) 72%, rgba(13,10,20,.25) 100%); }
  .mlh-copy { padding-top: 240px; padding-bottom: 28px; }
  .mlh-counts { gap: 18px; } .mlh-counts b { font-size: 1.8rem; }
}
/* spotlight */
.mlh-spot { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #241c33, #1d1829 60%); border: 1px solid #8a6533; border-radius: 18px; padding: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.mlh-spot img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 3px solid var(--tc, #cf9f5f); display: block; }
.mlh-spot .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: #a99db4; margin: 0; }
.mlh-spot h3 { font-family: var(--wp--preset--font-family--display, Georgia, serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin: .15em 0 .1em; color: #f1e8d8; }
.mlh-spot .ty { color: var(--tc, #cf9f5f); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin: 0 0 12px; }
.mlh-spot p.d { font-size: 1.2rem; line-height: 1.55; margin: 0 0 18px; }
.mlh-spot .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .mlh-spot { grid-template-columns: 1fr; } .mlh-spot img { max-width: 260px; } }
/* story cards */
.mlh-stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.mlh-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: 16px; overflow: hidden; text-decoration: none !important; color: #f1e8d8 !important; border: 1px solid #3b3249; background: #1d1829; transition: transform .2s, border-color .2s, box-shadow .2s; isolation: isolate; }
.mlh-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; transition: transform .5s; }
.mlh-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,10,20,.97) 8%, rgba(13,10,20,.72) 45%, rgba(13,10,20,.05) 75%); }
.mlh-card:hover { transform: translateY(-4px); border-color: #cf9f5f; box-shadow: 0 16px 32px rgba(0,0,0,.4); }
.mlh-card:hover img { transform: scale(1.05); }
.mlh-card .in { padding: 16px; }
.mlh-card h3 { font-family: var(--wp--preset--font-family--display, Georgia, serif); font-weight: 400; font-size: 1.45rem; margin: 0 0 6px; color: #f1e8d8; }
.mlh-card p { margin: 0; font-size: .98rem; line-height: 1.4; color: #d9cfbf; }
.mlh-card .n { display: inline-block; margin-top: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #e6c56a; }
/* hover cards */
.ml-peek { position: fixed; z-index: 99999; width: 300px; max-width: calc(100vw - 24px); background: #1d1829; color: #f1e8d8; border: 1px solid #3b3249; border-top: 3px solid var(--tc, #cf9f5f); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.5); padding: 12px; font-size: 15px; line-height: 1.45; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.ml-peek.on { opacity: 1; transform: none; }
.ml-peek .ph { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.ml-peek .im { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--tc, #cf9f5f); flex: none; }
.ml-peek .pn { font-family: var(--wp--preset--font-family--display, Georgia, serif); font-size: 21px; line-height: 1.15; }
.ml-peek .pt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tc, #a99db4); }
.ml-peek p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .mlh-track, .mlh-stage.enter .mlh-wall, .mlh-stage.enter .mlh-copy > * { animation: none; } .ml-peek { transition: none; } }
