@font-face {
  font-family: "Golos"; src: url(../fonts/golos-cyr.woff2) format("woff2");
  font-weight: 400 900; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos"; src: url(../fonts/golos-latin.woff2) format("woff2");
  font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Ruslan"; src: url(../fonts/ruslan-cyr.woff2) format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Ruslan"; src: url(../fonts/ruslan-latin.woff2) format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+2212;
}
@font-face {
  font-family: "Cormorant Lobby";
  src: url(../fonts/lobby-cormorant.woff) format("woff");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --bg: #101719; --ink: #f6efe0; --muted: #c9bead; --gold: #f0c68a; --brass: #caab72;
  --line: #474a42; --body: "Golos",system-ui,-apple-system,sans-serif;
  --display: "Ruslan",serif; --folio: "Cormorant Lobby",serif; --edge: clamp(24px, 5.5vw, 106px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img,video { display: block; max-width: 100%; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: var(--gold); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid #ffdfaa; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--edge) * 2), 1450px); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-180%); background: var(--gold); padding: 12px; color: #191813; }
.skip:focus { transform: none; }
h1,h2,h3,p { margin: 0; }
.btns,.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.btn,.iphone-link { text-decoration: none; display: inline-flex; justify-content: center; gap: 14px; align-items: center; font: 600 14px/1.15 var(--body); }
.btn { min-height: 51px; padding: 0 24px; }
.btn-gold {
  min-width: 13.8rem;
  padding-inline: 2.75rem;
  color: #fff3d7;
  background: url(../img/scenes/battle-clasp.webp) center / 100% 100% no-repeat;
  text-shadow: 0 1px 2px #201106;
}
.btn-gold:hover, .btn-gold:focus-visible { color: white; filter: brightness(1.14); }
.btn-gold:active { filter: brightness(.96); }
.btn-ghost,.iphone-link { border: 1px solid #8c7958; color: var(--ink); }
.btn-ghost:hover,.iphone-link:hover,.iphone-link[aria-current] { background: #272a25; color: var(--gold); border-color: var(--brass); }
.btn svg { width: 18px; height: 18px; }

.top { position: relative; z-index: 4; background: #141b1a url(../img/scenes/lobby-vellum.webp) center / 290px; background-blend-mode: luminosity; border-bottom: 1px solid #343631; }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: clamp(24px,4vw,64px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 39px; height: 39px; object-fit: contain; border-radius: 50%; mix-blend-mode: screen; }
.brand span { font: 400 32px/.84 var(--display); text-transform: uppercase; padding-top: 5px; }
.nav { order: 2; display: flex; align-items: center; gap: clamp(20px, 2.9vw, 48px); border-left: 1px solid var(--line); padding-left: clamp(24px, 3.6vw, 54px); }
.nav a, footer nav a { text-decoration: none; color: var(--muted); }
.nav a { position: relative; font: 500 15px/1.25 var(--body); display: inline-flex; align-items: center; min-height: 44px; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 5px;
  background: url(../img/scenes/title-rule.svg) left center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left;
}
.nav a:is(:hover,:focus-visible,[aria-current])::after { transform: scaleX(1); }
.nav a:hover,.nav a[aria-current], footer nav a:hover { color: var(--gold); }
.iphone-link { order: 3; margin-left: auto; min-height: 40px; padding: 0 18px; gap: 8px; font-size: 13px; }
.iphone-link svg { width: 17px; height: 19px; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #0e1416; }
.hero > img,.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero > img { object-fit: cover; }
.hero { --art-x: 64%; --art-y: 54%; }
.hero > img { object-position: var(--art-x) var(--art-y); }
.hero-effects-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  pointer-events: none;
}
.hero-atmosphere {
  /* Same cover calculation and focal point as object-fit on the painting. */
  position: absolute;
  width: max(100cqw, calc(100cqh * 80 / 37));
  aspect-ratio: 80 / 37;
  left: var(--art-x);
  top: var(--art-y);
  transform: translate(calc(0% - var(--art-x)), calc(0% - var(--art-y)));
  --hero-atmosphere-play: running;
}
.hero-atmosphere[data-paused="true"] { --hero-atmosphere-play: paused; }
html:not(.interactive) .hero-effects-viewport, .hero-atmosphere[data-active="false"] .gorynych-fire { display: none; }
.hero-atmosphere { z-index: 1; }
.hero-atmosphere[data-active="false"] .hero-river-fog { opacity: .65; }
.gorynych-fire { position: absolute; inset: 0; width: 100%; height: 100%; }
.atmosphere-toggle {
  position: absolute;
  right: 0;
  bottom: 21px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.atmosphere-toggle span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #baa581;
  border-radius: 50%;
  background: #10161696;
}
.atmosphere-toggle svg { width: 16px; height: 16px; }
.atmosphere-toggle .resume-symbol, .atmosphere-toggle[aria-pressed="true"] .pause-symbol { display: none; }
.atmosphere-toggle[aria-pressed="true"] .resume-symbol { display: grid; }
.atmosphere-toggle:hover span, .atmosphere-toggle:focus-visible span { background: #3b3024; color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .hero-effects-viewport, .atmosphere-toggle { display: none; }
}
.hero-shade { background: linear-gradient(90deg,rgba(8,12,13,.85) 0%,rgba(11,13,14,.60) 26%,rgba(10,12,13,.12) 55%,transparent 71%),linear-gradient(0deg,rgba(9,14,15,.82),transparent 26%); }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: clamp(525px,43vw,690px); padding-block: 62px 85px; }
.hero-copy { width: fit-content; max-width: 100%; }
.hero h1 { width: fit-content; }
.hero-name { display: block; font: 400 clamp(105px,10.9vw,177px)/.79 var(--display); letter-spacing: -.045em; text-transform: uppercase; color: #f8ecd5; }
.hero-subtitle { display: flex; align-items: center; gap: 17px; margin-top: 8px; color: #f3c884; font: 400 clamp(20px,2.3vw,37px)/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.hero-subtitle::before,.hero-subtitle::after { content: ""; flex: 1; height: 12px; background: url(../img/scenes/title-rule.svg) center / 100% 100% no-repeat; }
.hero-subtitle::after { transform: scaleX(-1); }
.hero-lead { font: 450 clamp(18px,1.5vw,23px)/1.4 var(--body); color: #f6f0e4; margin-top: clamp(23px,2.3vw,32px); }
.hero-actions { margin-top: 24px; gap: clamp(20px,2.4vw,38px); }
.hero-actions .btn { gap: 8px; min-width: 13.6rem; }
.film-trigger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 14px; }
.play-icon { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.play-icon::before {
  content: ""; position: absolute; width: 22px; height: 22px; transform: rotate(45deg);
  border: 1px solid #c6a373; box-shadow: inset 0 0 0 2px #201d18;
}
.play-icon svg { width: 17px; height: 17px; color: var(--gold); }
.film-trigger:hover { color: var(--gold); }
.film-trigger:hover .play-icon::before { border-color: #f6d79c; box-shadow: inset 0 0 0 2px #7b5b34; }
.film-heading button,.menu-toggle { border: 0; background: transparent; padding: 0; width: 44px; height: 44px; align-items: center; justify-content: center; }
.woven {
  --weave-height: clamp(18px, 1.6vw, 22px);
  position: relative;
  z-index: 1;
  height: var(--weave-height);
  background: #4a2a28 url(../img/scenes/weave.svg) center / auto 100% repeat-x;
  box-shadow: 0 1px 0 #312821, 0 -1px 0 #312821;
}
.woven::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--weave-height) * 1.95);
  aspect-ratio: 36 / 30;
  transform: translate(-50%, -50%);
  background: url(../img/scenes/clasp.svg) center / contain no-repeat;
  pointer-events: none;
}

.oath {
  position: relative; color: var(--ink); background: #1b201e url(../img/scenes/lobby-vellum.webp) center / 310px;
  background-blend-mode: luminosity; scroll-margin-top: 15px;
}
.oath::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 22px; pointer-events: none;
  background: linear-gradient(to bottom, #121a1d, transparent);
}
.oath-inner {
  position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 8%; padding-block: clamp(40px, 5.5vw, 88px) clamp(48px, 6vw, 90px); align-items: start;
}
.oath-heading { display: grid; justify-items: start; gap: 13px; }
.oath-heading img { width: clamp(39px, 4.2vw, 65px); height: auto; }
.oath h2 { font: 600 clamp(44px, 4.8vw, 75px)/.95 var(--folio); letter-spacing: -.043em; }
.oath-text { border-top: 1px solid #83765e; }
.oath details { border-bottom: 1px solid #51534a; }
.oath summary {
  position: relative; list-style: none; min-height: 58px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 3px 14px 0; cursor: pointer; font: 600 clamp(23px, 2.1vw, 32px)/1.12 var(--folio);
}
.oath summary::-webkit-details-marker { display: none; }
.oath summary span {
  display: grid; place-items: center; width: 17px; height: 17px; flex: none;
  border: 1px solid #9c8055; transform: rotate(45deg); color: #d6b27b;
}
.oath summary span::before {
  content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0;
  transform: translate(0, -1px);
}
.oath details[open] summary { color: #f3d4a2; }
.oath details[open] summary span::before { transform: rotate(180deg) translate(0, -1px); }
.oath details p { max-width: 53ch; padding: 0 25px 22px 0; color: #d3c9b9; line-height: 1.6; }
footer { padding-block: clamp(25px, 3.6vw, 58px); background: #0d1314; }
footer::before {
  content: ""; display: block; height: 1px; width: min(calc(100% - var(--edge) * 2), 1450px);
  margin: 0 auto clamp(19px, 2vw, 33px); background: linear-gradient(90deg, #a38b60, #48483e 34%, #363c38);
}
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 35px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.age { font-size: 11px; color: var(--muted); padding: 1px 5px; border: 1px solid #66685a; }
.footer-up { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: 13px; color: #d4be98; text-decoration: none; }
.footer-up:hover, .footer-up:focus-visible { color: var(--ink); text-decoration: underline; }
.footer-up span { color: var(--brass); }
footer nav { display: grid; grid-template-columns: minmax(0, auto) minmax(0, auto); column-gap: clamp(23px, 5.8vw, 95px); }
footer nav ul { margin: 0; padding: 0; list-style: none; }
footer nav a { display: flex; align-items: center; min-height: 44px; width: fit-content; font-size: 14px; text-underline-offset: .22em; }
footer nav a:is(:hover, :focus-visible, [aria-current=page]) { color: var(--gold); text-decoration: underline; }
.film-dialog { border: 1px solid #74634a; padding: 0; width: min(930px,94vw); max-width: none; background: #101719; color: var(--ink); }
dialog::backdrop { background: #05090bea; }
body:has(dialog[open]) { overflow: hidden; }
.film-heading { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--line); }
.film-heading h2 { font: 650 28px/1 var(--folio); }
.film-heading button { display: grid; place-items: center; }
.film-heading svg { width: 20px; }
.film-dialog video { width: 100%; max-height: 75svh; background: black; }

@media (prefers-reduced-motion: no-preference) {
  .nav a::after { transition: transform .24s ease-out; }
  .btn-gold { transition: filter .18s ease-out; }
  .play-icon::before { transition: box-shadow .18s, border-color .18s; }
}
@media (max-width: 880px) {
  .header-inner { min-height: 58px; gap: 12px; flex-wrap: wrap; }
  .brand { gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 27px; }
  .iphone-link { min-height: 44px; padding: 0 10px; font-size: 12px; gap: 4px; }
  .nav {
    order: 5; width: 100%; padding: 0 0 8px; border: 0;
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px;
  }
  .nav a { min-height: 44px; border-top: 1px solid var(--line); }
  .nav a::after { max-width: 62px; }
  .interactive .nav {
    position: absolute; top: 100%; inset-inline: 0; display: none;
    padding: 8px var(--edge) 14px; background: var(--bg); border-bottom: 1px solid var(--brass);
  }
  .interactive .menu-toggle { display: inline-flex; order: 4; width: 44px; }
  .menu-toggle svg { width: 23px; height: 23px; }
  .interactive .menu-toggle[aria-expanded="true"] + .nav { display: grid; }
}
@media (max-width: 760px) {
  :root { --edge: clamp(20px,5.3vw,35px); }
  .oath-inner { grid-template-columns: 1fr; gap: 22px; }
  .oath-heading { display: flex; align-items: center; gap: 13px; }
  .oath-heading img { width: 37px; }
  .footer-inner { flex-direction: column; gap: 15px; }
  .footer-brand { width: 100%; }
  .footer-up { margin-left: auto; }
  footer nav { width: 100%; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; }
}
@media (max-width: 650px) {
  .hero { --art-x: 76%; --art-y: 36%; }
  .hero > img, .hero-effects-viewport { height: clamp(260px,71vw,370px); }
  .atmosphere-toggle { inset: 8px auto auto 0; }
  .hero-shade { height: clamp(262px,72vw,376px); background: linear-gradient(0deg,#0e1416 0%,rgba(14,20,22,.94) 8%,rgba(14,20,22,.18) 42%,transparent 60%); }
  .hero-inner { min-height: 0; padding-top: clamp(199px,56vw,296px); padding-bottom: 28px; }
  .hero-name { font-size: clamp(83px,18.8vw,119px); }
  .hero-subtitle { margin-top: 3px; font-size: clamp(20px,5vw,27px); gap: 10px; }
  .hero-lead { font-size: 17px; margin-top: 15px; line-height: 1.35; }
  .hero-actions { gap: 18px; margin-top: 17px; }
  .hero-actions .btn { min-width: 10.9rem; min-height: 45px; padding-inline: 1.75rem; font-size: 13px; }
  .hero-actions .btn svg { display: none; }
  .film-trigger { font-size: 13px; gap: 7px; }
  .play-icon { width: 29px; height: 29px; }
  .woven { --weave-height: 16px; }
  .oath-inner { padding-block: 31px 37px; }
  .oath h2 { font-size: clamp(39px, 9.5vw, 52px); }
  .oath summary { min-height: 54px; }
  footer nav a { font-size: 13px; }
}
@media (max-width: 355px) {
  .hero-actions .btn { min-width: 9rem; padding-inline: 1.1rem; }
  .header-inner { width: calc(100% - 24px); gap: 4px; }
  .iphone-link { gap: 3px; font-size: 11px; }
  .interactive .header-inner { flex-wrap: nowrap; }
  .hero-name { font-size: 76px; }
  .hero-actions { gap: 7px; }
  .hero-actions .film-trigger { gap: 4px; font-size: 12px; }
  .hero-actions .play-icon { width: 24px; }
  .hero-actions .play-icon::before { width: 17px; height: 17px; }
  .brand span { font-size: 23px; }
  .brand img { width: 28px; height: 28px; }
  .interactive .menu-toggle { width: 44px; }
  .iphone-link { padding-inline: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .film-dialog[open] { animation: page-arrival 250ms ease-out; }
  .film-dialog[open]::backdrop { animation: scrim-arrival 200ms ease-out; }
}
@keyframes page-arrival {
  from { opacity: .45; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrim-arrival { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .oath summary span::before { transition: transform 180ms ease-out; }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .oath details { interpolate-size: allow-keywords; }
    .oath details::details-content {
      overflow: clip; block-size: 0; transition: block-size .22s ease-out, content-visibility .22s allow-discrete;
    }
    .oath details[open]::details-content { block-size: auto; }
  }
}
@media (orientation: landscape) and (min-width: 651px) and (max-height: 500px) {
  .hero-inner { min-height: clamp(270px, calc(100svh - 68px), 410px); padding-block: 24px 28px; }
  .hero-name { font-size: clamp(78px, 9.8vw, 118px); }
  .hero-subtitle { font-size: 22px; }
  .hero-lead { font-size: 16px; line-height: 1.3; margin-top: 12px; }
  .hero-actions { margin-top: 15px; }
  .hero-actions .btn { min-height: 44px; }
  .atmosphere-toggle { bottom: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
