@font-face {
  font-family: Ponomar;
  src: url("art/Ponomar-Regular.ttf") format("truetype");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: OathFolio; src: url("../../fonts/lobby-cormorant.woff") format("woff");
  font-weight: 300 700; font-display: swap;
}
@font-face {
  font-family: OathGolos; src: url("../../fonts/golos-cyr.woff2") format("woff2");
  font-weight: 400 900; font-display: swap; unicode-range: U+0301,U+0400-052F,U+2116;
}
@font-face {
  font-family: OathGolos; src: url("../../fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+2190-2199;
}
:root {
  --display: Ponomar, Georgia, serif;
  --folio: OathFolio, Georgia, serif;
  --body: OathGolos, Arial, sans-serif;
  --ink: #141216;
  --ivory: #f7e9c9;
  --gold: #d5ad68;
  --muted: #d4c8ae;
  --edge: clamp(18px, 4.7vw, 84px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ivory); background: var(--ink); font: 400 16px/1.5 var(--body); }
html { -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #ffe095; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { z-index: 20; position: fixed; top: 4px; left: 8px; color: #151015; background: var(--ivory); padding: 10px; transform: translateY(-140%); }
.skip:focus-visible { transform: none; }
.mast { position: relative; z-index: 5; background: #151218; border-bottom: 1px solid #5d4b3b; }
.mast-inner, .end { display: flex; align-items: center; min-height: 70px; gap: clamp(14px, 3vw, 54px); width: min(calc(100% - 2 * var(--edge)), 1530px); margin: auto; }
.wordmark, .release, .mast-nav a, .end a { text-decoration: none; }
.wordmark { display: inline-flex; gap: 10px; align-items: center; min-height: 48px; }
.wordmark img { width: 38px; height: 38px; border-radius: 50%; mix-blend-mode: screen; }
.wordmark span { font: 400 31px/.9 var(--display); }
.wordmark small { display: block; font: 550 9px/1.2 var(--body); text-transform: uppercase; letter-spacing: .13em; margin: 4px 0 0 2px; color: #d8b77e; }
.mast-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 45px); margin-inline: auto; }
.mast-nav a, .release { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1.25 var(--body); }
.mast-nav a:hover, .end a:hover { color: #f4cd87; text-decoration: underline; text-underline-offset: .25em; }
.release { gap: 11px; border-block: 1px solid #7a6347; padding: 3px 12px; color: #f1d8a5; }
.release:hover { background: #322422; }
.menu svg, .release svg, .side svg, .trailer button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu { display: none; }
.oath-opening { background: #120e13; }
.duel-frame { position: relative; isolation: isolate; min-height: clamp(515px, 45vw, 790px); display: grid; justify-items: center; align-content: center; overflow: hidden; }
.duel-art, .duel-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.duel-art { z-index: -2; }
.duel-art img { object-fit: cover; object-position: 50% 45%; }
.duel-frame::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(to top, #110f16c9, transparent 22%);
}
.duel-title { position: relative; align-self: center; width: min(35vw, 620px); text-align: center; margin-bottom: 5%; }
.duel-title h1 { margin: 0; font: 400 clamp(76px, 8.1vw, 166px)/.94 var(--display); letter-spacing: -.04em; color: #ffebbd; text-shadow: 0 2px 18px #110c14; }
.duel-title h1 span { display: block; }
.duel-title p { margin: clamp(12px, 1.4vw, 22px) 0 6px; font: 550 clamp(14px, 1.15vw, 20px)/1.35 var(--body); color: #f9ecd2; text-shadow: 0 1px 7px #080b10; }
.watch { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #f6dbab; font: 500 14px/1.2 var(--body); text-decoration: none; }
.watch i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #bb9c63; transform: rotate(45deg); }
.watch svg { width: 13px; height: 13px; fill: currentColor; transform: rotate(-45deg); }
.watch:hover { text-decoration: underline; text-underline-offset: .25em; }
.duel-sides {
  position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(22px, 2.8vw, 48px);
  display: flex; justify-content: space-between; align-items: end; gap: 12px; pointer-events: none;
}
.side {
  min-width: min(23vw, 335px); min-height: 56px; padding: 6px 18px;
  display: inline-flex; align-items: center; gap: 10px; pointer-events: auto;
  background: #341a19ed; border: 1px solid #ac8752; color: #ffe3a6;
  text-decoration: none; font: 600 clamp(25px, 2.5vw, 46px)/1 var(--folio);
}
.side.dark { background: #111d27ed; color: #e2e8df; border-color: #87958a; }
.side img { width: clamp(34px,3.2vw,52px); height: auto; flex-shrink: 0; }
.side svg { margin-left: auto; width: 21px; height: 21px; }
.side:hover, .side:focus-visible { background-color: #582823; }
.side.dark:hover, .side.dark:focus-visible { background-color: #273b45; }
.duel-divider { height: 9px; background: #4a3026 url("../../img/scenes/weave.svg") center / auto 12px repeat-x; border-block: 1px solid #755538; }
.end { min-height: 90px; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #5a493c; padding-block: 15px; }
.end nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(16px, 2.8vw, 40px); }
.end nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
.end-mark { font: 400 28px/1.15 var(--display); }
.end > span { color: #c5b9a1; font-size: 13px; }
.trailer { width: min(900px, 94vw); max-width: 94vw; padding: 0; border: 1px solid #9b8055; color: var(--ivory); background: #110e13; }
.trailer::backdrop { background: #09080bed; }
body:has(.trailer[open]) { overflow: hidden; }
.trailer-head { display: flex; justify-content: space-between; align-items: center; padding: 0 5px 0 18px; }
.trailer h2 { font: 600 27px/1 var(--folio); margin: 10px 0; }
.trailer button { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ivory); border: none; background: none; }
.trailer video { width: 100%; max-height: 73svh; background: #07070b; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .watch i, .side, .side svg { transition: transform .25s ease, background-color .25s ease, border-color .25s ease; }
  .side:hover svg, .side:focus-visible svg { transform: translateX(3px); }
  .watch:hover i { transform: rotate(45deg) scale(1.08); }
}
@media (max-width: 760px) {
  .mast-inner { min-height: 57px; display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 0 6px; }
  .mast-nav { grid-column: 1 / -1; }
  .mast:not(.enhanced) .mast-inner { grid-template-columns: 1fr auto; }
  .wordmark { margin-right: auto; gap: 6px; }
  .wordmark img { width: 30px; height: 30px; }
  .wordmark span { font-size: 25px; }
  .wordmark small { font-size: 8px; }
  .release { font-size: 12px; gap: 5px; padding-inline: 6px; }
  .mast-nav { width: 100%; justify-content: space-evenly; order: 4; }
  .mast.enhanced .mast-nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 6px var(--edge); background: var(--ink); border-bottom: 1px solid var(--gold); }
  .mast.enhanced .menu[aria-expanded="true"] + .mast-nav { display: flex; }
  .menu:not([hidden]) { display: grid; place-items: center; width: 44px; height: 44px; order: 3; border: 0; background: none; color: var(--ivory); }
  .menu svg { width: 22px; height: 22px; }
  .end { gap: 4px 18px; }
  .end nav { order: 2; width: 100%; }
}
@media (max-width: 660px) {
  .duel-frame { min-height: clamp(455px, 120vw, 625px); align-content: start; }
  .duel-art img { object-position: center; }
  .duel-frame::before { background: linear-gradient(to bottom, #100d15a6, transparent 31%, transparent 65%, #0c0c13eb); }
  .duel-title { margin: 0; width: calc(100% - 2 * var(--edge)); padding-top: 23px; }
  .duel-title h1 { font-size: clamp(49px, 12vw, 78px); line-height: 1.02; }
  .duel-title h1 span { display: inline; }
  .duel-title p { margin: 6px 0 0; font-size: 13px; }
  .duel-title p br { display: none; }
  .duel-title .watch { position: absolute; top: calc(clamp(455px, 120vw, 625px) - 113px); left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .duel-sides { left: 12px; right: 12px; bottom: 14px; gap: 7px; }
  .side { width: calc(50% - 3.5px); min-width: 0; min-height: 48px; padding: 5px 7px; gap: 5px; font-size: clamp(19px, 5.2vw, 28px); }
  .side img { width: clamp(24px, 7vw, 36px); }
  .side svg { width: 13px; height: 13px; flex: 0 0 auto; }
}
@media (max-width: 415px) {
  .side { padding-inline: 6px; gap: 4px; font-size: clamp(17px, 4.9vw, 20px); }
  .side span { white-space: nowrap; }
  .side img { width: 24px; }
  .side svg { width: 11px; height: 11px; }
}
@media (max-width: 355px) {
  .side svg { display: none; }
  .mast-inner { width: calc(100% - 24px); }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 661px) {
  .duel-frame { min-height: clamp(310px, calc(100svh - 62px), 435px); }
  .duel-title { margin-bottom: 2%; }
  .duel-title h1 { font-size: clamp(48px, 7vw, 76px); }
  .duel-title p { font-size: 13px; margin: 5px 0; }
  .duel-sides { bottom: 12px; }
  .side { min-height: 46px; }
}
