/* ---------------- Эмпирей: the season's own world ---------------- */
/* built on style.css (tokens, type, buttons, sections); amethyst is the Listeners' colour and marks this page */
.emp { --amethyst: #b58cf0; --amethyst-deep: #2a1f46; --calcite: #e9ecef; }

/* hero: a screenshot of the world behind the text (on a phone, under it) */
.emp-hero { position: relative; overflow: hidden; background: var(--void); display: flex; flex-direction: column; }
.emp-hero-shot { margin: 0; order: 2; position: relative; }
.emp-hero-shot img { display: block; width: 100%; height: auto; }
.emp-hero-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--void) 0%, rgba(21, 18, 42, 0) 22%, rgba(21, 18, 42, 0) 80%, var(--void) 100%); }
.emp-hero-in { position: relative; z-index: 1; width: 100%; max-width: var(--wide); margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter) 1.5rem; }
.emp-hero-in > div { max-width: 38rem; }
@media (min-width: 900px) {
  .emp-hero { min-height: min(46rem, 90vh); justify-content: center; }
  .emp-hero-shot { position: absolute; inset: 0; order: 0; }
  .emp-hero-shot img { height: 100%; object-fit: cover; object-position: 72% 50%; }
  .emp-hero-shot::after { background:
    linear-gradient(90deg, rgba(21, 18, 42, .95) 0%, rgba(21, 18, 42, .86) 30%, rgba(21, 18, 42, .45) 55%, rgba(21, 18, 42, 0) 76%),
    linear-gradient(180deg, rgba(21, 18, 42, .35) 0%, rgba(21, 18, 42, 0) 20%, rgba(21, 18, 42, 0) 78%, var(--void) 100%); }
  .emp-hero-in { padding-block: clamp(3rem, 9vh, 6rem); }
}
.emp-hero h1 { font-size: 32px; line-height: 1.2; color: var(--pearl); margin: .4rem 0 0;
  text-shadow: .035em .035em 0 #3b3063, .07em .07em 0 #2a2350, 0 0 .6em rgba(21, 18, 42, .8); }
@media (min-width: 560px) { .emp-hero h1 { font-size: 48px; } }
@media (min-width: 1000px) { .emp-hero h1 { font-size: 64px; } }
.emp-hero .lede, .emp-author, .emp-crumbs { text-shadow: 0 0 1rem var(--void); }
.emp-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .7rem; }
.emp-crumbs span, .emp-crumbs b { font-family: var(--pixel); font-weight: 400; font-size: 12px; line-height: 1.8; color: var(--mist); }
.emp-author { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; margin: 1.4rem 0 0; color: var(--pearl); }
.emp-author-tag { display: inline-block; padding: .45rem .55rem .35rem; font-family: var(--pixel); font-size: 8px; line-height: 1; text-transform: uppercase;
  color: var(--void); background: var(--amethyst); transform: rotate(-2deg); box-shadow: 0 0 1.2rem -.2rem var(--amethyst); text-shadow: none; }
.emp-author b { color: var(--amethyst); }
.emp-facts { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.emp-facts li { padding: .3rem .7rem; background: rgba(30, 26, 54, .88); border: 1px solid var(--slate); color: var(--pearl); font-size: .98rem; line-height: 1.4; }
.emp-facts li.soon { border-color: var(--lantern); color: var(--lantern); }
.emp-hero .actions { margin: 1.6rem 0 0; }

/* section tabs */
.emp-nav { position: sticky; top: 0; z-index: 20; background: rgba(21, 18, 42, .94); border-bottom: 1px solid var(--slate);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.emp-nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--wide) + 2 * var(--gutter));
  display: flex; gap: .1rem; overflow-x: auto; scrollbar-width: none; }
.emp-nav ul::-webkit-scrollbar { display: none; }
.emp-nav a { display: block; padding: .85rem .7rem .75rem; font-family: var(--pixel); font-size: 8px; line-height: 1.6; color: var(--mist);
  text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.emp-nav a:hover { color: var(--pearl); }
.emp-nav a[aria-current] { color: var(--amethyst); border-bottom-color: var(--amethyst); }
.emp-nav a:focus-visible { outline: 3px solid var(--lantern); outline-offset: -3px; }
main section[id] { scroll-margin-top: 3.2rem; }

/* shared pieces */
.emp-k { font-family: var(--pixel); font-size: 12px; color: var(--amethyst); margin: 0 0 .9rem; }
.emp-hint { color: var(--mist); max-width: var(--text); }
.emp-motto { font-style: italic; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.35; color: var(--calcite); max-width: 32ch; margin: 0 0 1.6rem;
  padding-left: 1rem; border-left: 3px solid var(--amethyst); }
.emp-cards { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .9rem; }
.emp-cards > li { display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.1rem 1.1rem; background: var(--deep); border-top: 3px solid var(--c, var(--slate)); }
.emp-cards h3 { margin: 0; font-family: var(--book); font-weight: 600; font-size: 1.18rem; line-height: 1.3; color: var(--pearl); }
.emp-cards p { margin: 0; color: var(--mist); font-size: 1rem; line-height: 1.55; }
.emp-cards ul { margin: 0; padding-left: 1.1rem; color: var(--mist); font-size: 1rem; line-height: 1.55; display: flex; flex-direction: column; gap: .25rem; }
.emp-cards b { color: var(--pearl); }
.emp-floor { align-self: flex-start; font-family: var(--pixel); font-size: 8px; line-height: 1; text-transform: uppercase; padding: .35rem .45rem .28rem;
  color: var(--void); background: var(--c, var(--mist)); }

/* the story told from the first loss to now */
.emp-chron { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; max-width: var(--text); counter-reset: c; }
.emp-chron li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; color: var(--mist); }
.emp-chron li::before { counter-increment: c; content: counter(c); font-family: var(--pixel); font-size: 14px; line-height: 1.9; color: var(--amethyst); }
.emp-chron b { color: var(--pearl); }

/* figures: renders of the real world, click to see them large */
.emp-fig { margin: 1.8rem 0 0; }
.emp-fig .zoom { border: 2px solid var(--slate); transition: border-color .25s; }
.emp-fig .zoom:hover { border-color: var(--amethyst); }
.emp-fig img { width: 100%; height: auto; }
.emp-duo { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
@media (min-width: 900px) { .emp-duo { grid-template-columns: 1fr 1fr; } }
.emp-duo .emp-fig { margin: 0; }

/* the world in floors, from the sea to the crown */
.emp-floors { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0; max-width: 56rem; border-left: 3px solid var(--slate); }
.emp-floors li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .4rem 1.4rem; padding: .95rem 0 .95rem 1.2rem; position: relative; }
.emp-floors li + li { border-top: 1px solid var(--slate); }
.emp-floors li::before { content: ""; position: absolute; left: -9px; top: 1.25rem; width: 15px; height: 15px; background: var(--c); box-shadow: 0 0 .7rem var(--c); }
.emp-floors .h { font-family: var(--pixel); font-size: 10px; line-height: 2; color: var(--c); }
.emp-floors b { display: block; font-size: 1.12rem; color: var(--pearl); }
.emp-floors span { color: var(--mist); font-size: 1rem; }
@media (max-width: 560px) { .emp-floors li { grid-template-columns: 1fr; } }

/* the way through, step by step */
.emp-path { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0; max-width: 52rem; }
.emp-path li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding-bottom: 1.5rem; position: relative; }
.emp-path li::after { content: ""; position: absolute; left: calc(1.3rem - 1px); top: 2.7rem; bottom: .2rem; width: 2px; background: var(--slate); }
.emp-path li:last-child::after { display: none; }
.emp-path .n { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; font-family: var(--pixel); font-size: 12px; color: var(--void);
  background: var(--amethyst); box-shadow: 0 0 1rem -.2rem var(--amethyst); }
.emp-path li:last-child .n { background: var(--lantern); box-shadow: 0 0 1rem -.2rem var(--lantern); }
.emp-path h3 { margin: .35rem 0 .45rem; font-family: var(--book); font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: var(--pearl); }
.emp-path p { margin: 0 0 .5rem; color: var(--mist); }
.emp-path p b { color: var(--pearl); }

/* achievements */
.emp-adv { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .6rem; }
.emp-adv li { padding: .75rem .9rem; background: var(--deep); border-left: 3px solid var(--amethyst); font-size: .98rem; line-height: 1.45; color: var(--mist); }
.emp-adv b { display: block; color: var(--pearl); font-weight: 600; }
.emp-adv li.hid { border-left-color: var(--slate); }
.emp-adv li.hid b { color: var(--mist); letter-spacing: .12em; }

/* secrets: only rumours here */
.emp-secrets { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; max-width: var(--text); }
.emp-secrets li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: baseline; color: var(--pearl); }
.emp-secrets li::before { content: "?"; font-family: var(--pixel); font-size: 14px; color: var(--amethyst); text-shadow: 0 0 .6rem var(--amethyst); }

/* the closing card */
.emp-made { margin-top: 2.2rem; padding: 1.4rem 1.3rem 1.5rem; background:
  radial-gradient(36rem 20rem at 100% 0%, rgba(181, 140, 240, .12), transparent 70%), var(--deep);
  border: 2px solid var(--amethyst); box-shadow: 0 0 2.4rem -1.2rem var(--amethyst), .3rem .3rem 0 #0d0b1b; max-width: 56rem; }
.emp-made p { color: var(--mist); }
.emp-made p:first-of-type { color: var(--pearl); }
.emp-made .actions { margin: 1rem 0 0; }
