/* Mizora Perps obsidian hero. Self-contained component styles. */
.mz-mist-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #f5f1eb;
  direction: ltr;
  font-synthesis: none;
  --presence-gutter: max(8.6%, calc((100vw - 1320px) / 2));
  --presence-frame-inset: 26px;
  min-height: max(740px, calc(100svh - var(--site-header-height)));
  background: #050607;
}

.mz-mist-hero,
.mz-mist-hero *,
.mz-mist-hero *::before,
.mz-mist-hero *::after { box-sizing: border-box; }
.mz-mist-hero a { text-decoration: none; touch-action: manipulation; }
.mz-mist-hero:focus-visible { outline: 2px solid #f28a7b; outline-offset: -4px; }

/* The artwork stays still. All framing and type are independent HTML layers. */
.mz-mist-hero .mz-mist-art {
  pointer-events: none;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.mz-mist-hero .mz-mist-art img {
  max-width: none;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 64% 50%;
  mask-image: none;
  -webkit-mask-image: none;
}
.mz-mist-hero .mz-mist-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #050607f0 0%, #050607b0 25%, #05060745 48%, transparent 69%),
    linear-gradient(0deg, #050607f2 0%, #0506076e 18%, transparent 39%),
    linear-gradient(180deg, #05060729 0%, transparent 30%);
}
.mz-mist-hero .presence-frame {
  position: absolute;
  z-index: 2;
  inset: var(--presence-frame-inset);
  pointer-events: none;
  border: 1px solid #ddd5cb20;
}
.mz-mist-hero .presence-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #b44b40;
  border-style: solid;
  border-width: 0;
}
.mz-mist-hero .presence-corner-tl { inset: -1px auto auto -1px; border-top-width: 1px; border-left-width: 1px; }
.mz-mist-hero .presence-corner-tr { inset: -1px -1px auto auto; border-top-width: 1px; border-right-width: 1px; }
.mz-mist-hero .presence-corner-bl { inset: auto auto -1px -1px; border-bottom-width: 1px; border-left-width: 1px; }
.mz-mist-hero .presence-corner-br { inset: auto -1px -1px auto; border-bottom-width: 1px; border-right-width: 1px; }
.mz-mist-hero .presence-side-caption {
  position: absolute;
  z-index: 3;
  left: 46px;
  top: 50%;
  margin: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #afa6a07d;
  font-size: 8px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* A quiet left corridor leaves the dragon and landscape exposed. */
.mz-mist-hero .mz-mist-intro,
.mz-mist-hero .mz-mist-detail {
  position: relative;
  z-index: 1;
  width: min(56%, 760px);
  max-width: none;
  margin-inline-start: var(--presence-gutter);
}
.mz-mist-hero .mz-mist-intro { padding-top: clamp(110px, 14vh, 160px); }
.mz-mist-hero .mz-mist-eyebrow {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 14px;
  color: #bcaea4;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.mz-mist-hero .mz-mist-eyebrow > span:first-child {
  display: block;
  flex-shrink: 0;
  width: 31px;
  height: 1px;
  flex-basis: 31px;
  border-radius: 0;
  background: #d05746;
}
.mz-mist-hero h1 {
  max-width: 14ch;
  margin: 26px 0 0;
  color: #f1e9dc;
  font-size: clamp(60px, 5.8vw, 91px);
  font-weight: 450;
  line-height: 1.055;
  letter-spacing: -.061em;
}
.mz-mist-hero h1 > span { display: block; }
.mz-mist-hero h1 > span + span { margin-top: 2px; }
.mz-mist-hero .mz-mist-detail { margin-top: 27px; }
.mz-mist-hero .mz-mist-copy {
  margin: 0;
  max-width: 44ch;
  color: #b4aaa1;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: -.01em;
}
.mz-mist-hero .mz-mist-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}
.mz-mist-hero .mz-mist-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: background .18s, transform .18s;
  min-height: 56px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2685550;
  border-radius: 2px;
  background: #df4739;
  color: #190a08;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 570;
  letter-spacing: .005em;
  box-shadow: inset 0 1px #ffb49b15;
}
.mz-mist-hero .mz-mist-primary > span:first-child { padding: 17px 23px; }
.mz-mist-hero .mz-mist-primary > .presence-arrow {
  display: grid;
  place-items: center;
  width: 56px;
  min-height: 56px;
  flex: 0 0 56px;
  align-self: stretch;
  border-inline-start: 1px solid #401e183b;
  background: #5f201b0d;
}
.mz-mist-hero .presence-arrow svg { display: block; width: 18px; height: 18px; }
.mz-mist-hero .mz-mist-primary:hover { background: #ed5b47; transform: translateY(-1px); }
.mz-mist-hero .mz-mist-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  gap: 21px;
  padding: 14px 21px;
  border: 1px solid #d5c8b52e;
  border-radius: 2px;
  color: #d2c6ba;
  background: #080a0b2e;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}
.mz-mist-hero .mz-mist-secondary > span:last-child { color: #a28f80; font-size: 17px; }
.mz-mist-hero .mz-mist-secondary:hover { border-color: #d5c8b55c; background: #d5c8b509; color: #fff2e0; }
.mz-mist-hero .mz-mist-actions a:focus-visible { outline: 2px solid #f4ad94; outline-offset: 5px; }

/* Existing programme details form a restrained editorial baseline. */
.mz-mist-hero .mz-mist-stats {
  position: relative;
  z-index: 1;
  display: grid;
  width: auto;
  grid-template-columns: repeat(3, minmax(0, 165px));
  gap: 38px;
  margin: auto var(--presence-gutter) 0;
  padding: 27px 0 53px;
  border-top: 1px solid #dad0be23;
}
.mz-mist-hero .mz-mist-stats::before {
  position: absolute;
  inset: -1px auto auto 0;
  content: "";
  width: 32px;
  height: 1px;
  background: #bc5242;
}
.mz-mist-hero .mz-mist-detail + .mz-mist-stats { margin-top: 77px; }
.mz-mist-hero .mz-mist-stats > div { min-width: 0; }
.mz-mist-hero .mz-mist-stats dt {
  margin: 0 0 10px;
  color: #9b8f85;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.mz-mist-hero .mz-mist-stats dd { margin: 0; color: #e5d8c6; font-size: 12px; font-weight: 450; line-height: 1.5; }
html[dir="rtl"] .mz-mist-hero .mz-mist-intro,
html[dir="rtl"] .mz-mist-hero .mz-mist-detail,
html[dir="rtl"] .mz-mist-hero .mz-mist-stats { direction: rtl; text-align: right; }
html[dir="rtl"] .mz-mist-hero .mz-mist-intro,
html[dir="rtl"] .mz-mist-hero .mz-mist-detail { margin-left: var(--presence-gutter); margin-right: 0; }
html[dir="rtl"] .mz-mist-hero h1 { letter-spacing: -.025em; }
html[dir="rtl"] .mz-mist-hero .mz-mist-stats { direction: rtl; grid-template-columns: repeat(3, minmax(0, 165px)); justify-content: start; }

@media (min-width: 1700px) {
  .mz-mist-hero { min-height: max(800px, calc(100svh - var(--site-header-height))); }
  .mz-mist-hero .mz-mist-copy { font-size: 15px; }
  .mz-mist-hero .mz-mist-detail + .mz-mist-stats { margin-top: auto; padding-top: 29px; }
  .mz-mist-hero .mz-mist-detail { padding-bottom: 65px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .mz-mist-hero { --presence-gutter: 8%; }
  .mz-mist-hero .presence-side-caption { left: 40px; font-size: 7px; }
  .mz-mist-hero .mz-mist-intro { padding-top: 110px; }
  .mz-mist-hero h1 { font-size: 61px; }
  .mz-mist-hero .mz-mist-copy { font-size: 13px; max-width: 40ch; }
  .mz-mist-hero .mz-mist-primary > span:first-child { padding-inline: 18px; }
  .mz-mist-hero .mz-mist-secondary { padding-inline: 18px; gap: 16px; }
  .mz-mist-hero .mz-mist-detail + .mz-mist-stats { margin-top: 69px; }
}

/* A distinct landscape window exposes the face and mountains on small screens. */
@media (max-width: 999px) {
  .mz-mist-hero { --presence-gutter: 32px; --presence-frame-inset: 14px; min-height: 0; }
  .mz-mist-hero .presence-side-caption { display: none; }
  .mz-mist-hero .presence-frame { border-color: #ddd5cb16; }
  .mz-mist-hero .presence-corner { width: 9px; height: 9px; }
  .mz-mist-hero .mz-mist-intro,
  .mz-mist-hero .mz-mist-detail { width: auto; max-width: none; margin: 0; padding-inline: var(--presence-gutter); }
  .mz-mist-hero .mz-mist-intro { order: 0; padding-top: 49px; }
  .mz-mist-hero .mz-mist-eyebrow { font-size: 9px; letter-spacing: .105em; gap: 11px; }
  .mz-mist-hero .mz-mist-eyebrow > span:first-child { width: 24px; flex-basis: 24px; }
  .mz-mist-hero h1 { font-size: clamp(39px, 7.1vw, 65px); max-width: 15ch; margin-top: 22px; line-height: 1.09; letter-spacing: -.058em; }
  .mz-mist-hero .mz-mist-art {
    order: 1;
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(315px, 59vw, 460px);
    margin: 4px 0 0;
  }
  .mz-mist-hero .mz-mist-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 77% 52%;
    margin: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .mz-mist-hero .mz-mist-art::after { background: linear-gradient(180deg, #050607 0%, #05060700 15%, #05060700 72%, #050607 100%); }
  .mz-mist-hero .mz-mist-detail { order: 2; margin-top: 0; padding-top: 7px; padding-bottom: 35px; }
  .mz-mist-hero .mz-mist-copy { max-width: 52ch; font-size: 14px; line-height: 1.8; }
  .mz-mist-hero .mz-mist-actions { margin-top: 25px; gap: 11px; }
  .mz-mist-hero .mz-mist-primary { min-height: 52px; font-size: 12px; }
  .mz-mist-hero .mz-mist-primary > span:first-child { padding: 16px 17px; }
  .mz-mist-hero .mz-mist-primary > .presence-arrow { width: 45px; min-height: 52px; flex-basis: 45px; }
  .mz-mist-hero .presence-arrow svg { width: 16px; height: 16px; }
  .mz-mist-hero .mz-mist-secondary { min-height: 54px; padding: 12px 16px; gap: 16px; font-size: 12px; }
  .mz-mist-hero .mz-mist-stats,
  .mz-mist-hero .mz-mist-detail + .mz-mist-stats {
    order: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 var(--presence-gutter);
    padding: 22px 0 39px;
    gap: 17px;
  }
  .mz-mist-hero .mz-mist-stats dt { font-size: 9px; letter-spacing: .05em; margin-bottom: 7px; }
  .mz-mist-hero .mz-mist-stats dd { font-size: 11px; }
  html[dir="rtl"] .mz-mist-hero .mz-mist-intro,
  html[dir="rtl"] .mz-mist-hero .mz-mist-detail { margin: 0; }
  html[dir="rtl"] .mz-mist-hero .mz-mist-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  .mz-mist-hero { --presence-gutter: 27px; --presence-frame-inset: 11px; }
  .mz-mist-hero .mz-mist-intro { padding-top: 42px; }
  .mz-mist-hero h1 { font-size: clamp(36px, 9.25vw, 44px); }
  .mz-mist-hero .mz-mist-art { height: clamp(280px, 81vw, 350px); margin-top: 5px; }
  .mz-mist-hero .mz-mist-art img { object-position: 79% 51%; }
  .mz-mist-hero .mz-mist-copy { font-size: 14px; }
  .mz-mist-hero .mz-mist-actions { align-items: stretch; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .mz-mist-hero .mz-mist-primary { justify-content: space-between; min-height: 53px; }
  .mz-mist-hero .mz-mist-primary > span:first-child { padding-inline: 19px; }
  .mz-mist-hero .mz-mist-primary > .presence-arrow { width: 53px; min-height: 53px; flex-basis: 53px; }
  .mz-mist-hero .mz-mist-secondary { justify-content: space-between; min-height: 49px; padding: 12px 19px; }
  .mz-mist-hero .mz-mist-stats,
  .mz-mist-hero .mz-mist-detail + .mz-mist-stats { gap: 11px; }
  .mz-mist-hero .mz-mist-stats dt { font-size: 9px; }
  .mz-mist-hero .mz-mist-stats dd { font-size: 11px; line-height: 1.55; }
}
@media (max-width: 359px) {
  .mz-mist-hero { --presence-gutter: 24px; }
  .mz-mist-hero h1 { font-size: 32px; }
  .mz-mist-hero .mz-mist-eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mz-mist-hero .mz-mist-primary { transition: none; }
  .mz-mist-hero .mz-mist-primary:hover { transform: none; }
}
