:root {
  color-scheme: dark;
  --ink: #0a0e11;
  --ink-2: #0c1214;
  --ink-3: #101819;
  --paper: #eee3cd;
  --muted: #adb5af;
  --muted-2: #8f9a95;
  --brass: #c99a5d;
  --brass-deep: #8e6a3c;
  --line: rgba(201, 154, 93, .22);
  --line-soft: rgba(238, 227, 205, .1);
  --green: #9cbfad;
  --blue: #a4bbd3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --stage: 1520px;
  --shell: 1400px;
  --header-h: 72px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

html.modal-open {
  overflow: hidden;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(ellipse 80% 42% at 50% 0%, rgba(38, 56, 54, .38), transparent 72%),
    radial-gradient(ellipse 60% 50% at 12% 30%, rgba(20, 40, 40, .24), transparent 70%),
    var(--ink);
  font: 15.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; }

p { margin: 0; }

section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 600;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 2px solid #efd6a1;
  outline-offset: 4px;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ---------- Sticky header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(8, 12, 14, .9);
  border-bottom: 1px solid rgba(238, 227, 205, .07);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 13, .98);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .42);
}
.header-inner {
  width: min(100%, var(--stage));
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: clamp(14px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .24em;
  color: #f0e6d2;
  white-space: nowrap;
}
.brand-mark { color: var(--brass); font-size: 20px; line-height: 1; letter-spacing: 0; }
.brand-name b { font-weight: 400; color: var(--brass); }

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
}
.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #b9c0ba;
  font-size: 11px;
  letter-spacing: .08em;
  transition: color .2s;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.header-nav a:hover,
.header-nav a.is-active { color: #f0e6d2; }
.header-nav a:hover::after,
.header-nav a.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(6px, 1.2vw, 18px);
}
.lang-switch {
  display: inline-flex;
  height: 44px;
  border: 1px solid rgba(201, 154, 93, .24);
}
.lang-switch button {
  min-width: 44px;
  height: 42px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font: 600 11px var(--sans);
  letter-spacing: .06em;
  cursor: pointer;
}
.lang-switch button + button { border-left: 1px solid rgba(201, 154, 93, .2); }
.lang-switch button.is-active { color: #f3e6ce; background: rgba(201, 154, 93, .14); }
.lang-switch button:hover { color: #f3e6ce; }
.lang-switch button:active { background: rgba(201, 154, 93, .22); }
.header-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(201, 154, 93, .24);
  color: #cfd3c8;
  font-size: 11px;
  letter-spacing: .03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.header-follow:hover {
  color: #f3e6ce;
  border-color: var(--brass);
  background: rgba(201, 154, 93, .08);
}
.header-follow:active { background: rgba(201, 154, 93, .16); }
.header-follow-short { display: none; }
.header-follow.is-disabled { opacity: .55; cursor: not-allowed; }

.header-actions .cta { min-height: 44px; padding: 0 16px; font-size: 12px; }
.cta-label-short { display: none; }

/* ---------- Mobile section menu ---------- */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(201, 154, 93, .24);
  background: transparent;
  color: #e4d9c4;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.menu-toggle:hover { border-color: var(--brass); background: rgba(201, 154, 93, .08); color: #fff0d5; }
.menu-toggle:active { background: rgba(201, 154, 93, .16); }
.menu-toggle-bars { display: block; width: 18px; }
.menu-toggle-bars i {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 69;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #080c0e;
  box-shadow: 0 26px 52px rgba(0, 0, 0, .52);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
}
.mobile-menu.is-open { opacity: 1; transform: none; }
html.menu-open .site-header::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  bottom: 0;
  z-index: 68;
  background: rgba(4, 8, 9, .62);
}
.mobile-menu-nav { display: grid; }
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(238, 227, 205, .07);
  color: #d6dcd4;
  font-size: 12px;
  letter-spacing: .1em;
  text-decoration: none;
  transition: color .2s, background .2s, padding-left .2s;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible { color: #fff0d5; background: rgba(201, 154, 93, .09); padding-left: 14px; }
.mobile-menu-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid rgba(201, 154, 93, .22);
  color: #e0d5c0;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
}
.mobile-menu-follow:hover { border-color: var(--brass); background: rgba(201, 154, 93, .08); color: #fff0d5; }
.mobile-menu-follow.is-disabled { opacity: .55; cursor: not-allowed; }

/* Progressive enhancement: controls that need JS stay out of the no-JS layout. */
html:not(.js) .menu-toggle,
html:not(.js) .mobile-menu,
html:not(.js) .to-top { display: none !important; }

/* ---------- Hero poster ---------- */

.poster {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: #0a0e11;
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: clamp(26px, 4.5vh, 56px) clamp(22px, 4.5%, 64px) clamp(22px, 3.5vh, 40px);
  background:
    radial-gradient(ellipse at 22% 0%, rgba(40, 58, 55, .42), transparent 62%),
    linear-gradient(180deg, #0b1113, #0a0e11);
}

.hero-heading { min-width: 0; }

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .24em;
  color: #d0ab78;
  font-weight: 600;
}
.hero-heading .eyebrow { text-shadow: 0 2px 10px #000; }

h1 {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  font-size: clamp(56px, 6.2vw, 112px);
  letter-spacing: -.03em;
  margin: 0;
  text-shadow: 0 3px 24px #020608;
  white-space: normal;
}
/* The title is split into a hidden measure and an animated layer; a
   pseudo first-letter would create an extra line box before the measure. */
.title-measure {
  display: block;
  visibility: hidden;
  white-space: pre-line;
}
.title-line {
  position: absolute;
  inset: 0;
  display: block;
  white-space: pre-line;
}
.js .title-line::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .78em;
  margin-left: .07em;
  vertical-align: -.04em;
  background: #d0ab78;
  box-shadow: 0 0 9px rgba(208, 171, 120, .8);
  animation: title-caret 1.05s steps(1, end) infinite;
}
@keyframes title-caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.subtitle {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 270px;
  margin: 22px 0 0;
  font: 13px var(--serif);
  letter-spacing: .54em;
  color: #d0ab78;
}
.subtitle span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #a58354);
}
.subtitle span:last-child { transform: rotate(180deg); }

.hero-side {
  justify-self: end;
  max-width: 520px;
}

.tagline {
  position: relative;
  font: italic 19px/1.7 var(--serif);
  color: #e1d9c8;
  margin: 0;
  max-width: 380px;
  text-shadow: 0 2px 12px #000;
}
.ripple-line {
  position: relative;
  display: inline-block;
  animation: slogan-waver 7.4s ease-in-out infinite, slogan-flicker 9.2s steps(1, end) infinite;
}
.ripple-line::before,
.ripple-line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  mix-blend-mode: screen;
}
.ripple-line::before {
  color: #86d9d2;
  text-shadow: -2px 0 rgba(76, 183, 190, .65), 1px 0 rgba(255, 208, 122, .35);
  animation: slogan-glitch-cyan 8.2s steps(1, end) infinite;
}
.ripple-line::after {
  color: #e29a86;
  text-shadow: 2px 0 rgba(215, 102, 82, .55);
  animation: slogan-glitch-amber 10.7s steps(1, end) infinite;
}
@keyframes slogan-waver {
  0%, 100% { transform: translateY(0) skewX(0); }
  31% { transform: translateY(-.45px) skewX(-.45deg); }
  63% { transform: translateY(.35px) skewX(.35deg); }
}
@keyframes slogan-flicker {
  0%, 68%, 70%, 86%, 100% { opacity: 1; }
  69% { opacity: .76; }
  87% { opacity: .88; }
}
@keyframes slogan-glitch-cyan {
  0%, 12%, 14%, 52%, 54%, 100% { opacity: 0; transform: none; clip-path: inset(0); filter: none; }
  13% { opacity: .72; transform: translate(-2px, 1px); clip-path: inset(8% 0 56% 0); filter: blur(.25px); }
  52.5% { opacity: .55; transform: translate(2px, -1px); clip-path: inset(58% 0 5% 0); filter: blur(.35px); }
  53.2% { opacity: .7; transform: translate(-1px, 0); clip-path: inset(28% 0 38% 0); filter: none; }
}
@keyframes slogan-glitch-amber {
  0%, 34%, 36%, 78%, 80%, 100% { opacity: 0; transform: none; clip-path: inset(0); filter: none; }
  35% { opacity: .48; transform: translate(2px, 0); clip-path: inset(70% 0 8% 0); filter: blur(.3px); }
  78.5% { opacity: .5; transform: translate(-2px, 1px); clip-path: inset(18% 0 62% 0); filter: blur(.25px); }
  79.2% { opacity: .38; transform: translate(1px, -1px); clip-path: inset(48% 0 28% 0); filter: none; }
}

.hero-release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 18px 0 14px;
  color: #ded2bb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px #000;
}
.hero-release i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8b077;
  box-shadow: 0 0 10px #c39b60;
}
.hero-release span { color: #aeb6ae; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions .cta { min-height: 50px; }
.hero-note { margin-top: 12px; max-width: 430px; text-shadow: 0 1px 8px #000; }

.story-caption {
  margin-top: 18px;
  font: italic 18px var(--serif);
  color: #dfd1b8;
  text-shadow: 0 2px 12px #000;
}
.story-caption span { color: #a9b4b0; }

.concept-label {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .14em;
  color: #9fa8a1;
}

/* Staged hero entrance: the approved art is visible immediately, copy follows. */
.hero-intro .hero-heading .eyebrow,
.hero-intro .title-line,
.hero-intro .subtitle,
.hero-intro .tagline,
.hero-intro .hero-release,
.hero-intro .hero-actions,
.hero-intro .hero-note,
.hero-intro .story-caption,
.hero-intro .concept-label {
  opacity: 0;
  animation: hero-rise .46s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-intro .hero-heading .eyebrow { animation-delay: .04s; }
.hero-intro .title-line { animation-delay: .1s; }
.hero-intro .subtitle { animation-delay: .18s; }
.hero-intro .tagline { animation-delay: .24s; }
.hero-intro .hero-release { animation-delay: .3s; }
.hero-intro .hero-actions { animation-delay: .36s; }
.hero-intro .hero-note,
.hero-intro .story-caption,
.hero-intro .concept-label { animation-delay: .42s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-art {
  position: relative;
  background: #070b0d;
}
.hero-main { display: block; }
.hero-art-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: contain;
}
.hero-tavern {
  display: none;
  margin: 0;
  background: #070b0d;
}
.hero-tavern img { display: block; width: 100%; height: auto; }

/* Image-aligned living details. SVG viewBoxes follow the same crop as the
   approved art, so effects remain attached through resize and browser zoom. */
.hero-primary { position: relative; }
.hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.hero-fx-full { display: block; }
.hero-fx-traveler { display: none; }
.hero-tavern { position: relative; }
.hero-fx-tavern { position: absolute; inset: 0; }
.hero-fx .eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: eye-pulse 5.6s ease-in-out infinite;
}
.hero-fx .eye-core { display: none; }
.hero-fx .eye-b { animation-delay: -1.7s; }
.hero-fx .eye-c { animation-delay: -3.1s; }
.hero-fx .eye-d { animation-delay: -0.8s; }
@keyframes eye-pulse {
  0%, 100% { opacity: .52; transform: scale(.96); }
  18% { opacity: .88; transform: scale(1.06); }
  31% { opacity: .6; transform: scale(1); }
  57% { opacity: .8; transform: scale(1.03); }
  67% { opacity: .55; transform: scale(.98); }
}
.hero-fx .candle-halo {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: candle-breathe 4.2s ease-in-out infinite;
}
.hero-fx .candle-flame {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: candle-flicker 2.7s ease-in-out infinite;
}
@keyframes candle-breathe {
  0%, 100% { opacity: .55; transform: scale(.96); }
  37% { opacity: .82; transform: scale(1.04); }
  61% { opacity: .62; transform: scale(1); }
}
@keyframes candle-flicker {
  0%, 100% { transform: skewX(0) scaleY(1); opacity: .86; }
  19% { transform: skewX(-2deg) scaleY(1.05); opacity: .96; }
  39% { transform: skewX(1.5deg) scaleY(.96); opacity: .8; }
  63% { transform: skewX(-1deg) scaleY(1.03); opacity: .92; }
  81% { transform: skewX(2deg) scaleY(.98); opacity: .84; }
}
@media (max-width: 767px) {
  .hero-fx-full { display: none; }
  .hero-fx-traveler { display: block; }
}

/* ---------- L10 cinematic desktop hero ---------- */

@media (min-width: 1200px) {
  .header-inner {
    width: 100%;
    max-width: none;
    padding-inline: clamp(24px, 6vw, 230px);
  }

  .poster { background: #070b0d; }

  .poster::before {
    content: "";
    position: absolute;
    inset: -5%;
    z-index: 0;
    pointer-events: none;
    background: url("../assets/saltshore-hero-atmosphere.webp") center / cover no-repeat;
    filter: blur(44px) brightness(.32) saturate(.82);
    transform: scale(1.08);
    opacity: .92;
  }

  .poster::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(180deg, transparent 0%, transparent 88%, rgba(8, 12, 14, .58) 96%, #080c0e 100%),
      radial-gradient(ellipse at 17% 46%, rgba(4, 8, 10, .42), transparent 58%);
  }

  .hero-art {
    z-index: 1;
    display: block;
    min-height: 0;
    aspect-ratio: 27 / 10;
    overflow: hidden;
    background: transparent;
  }
  .hero-primary { width: 100%; height: 100%; }
  .hero-main { width: 100%; height: 100%; }
  .hero-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    aspect-ratio: auto;
  }

  .hero-copy {
    position: absolute;
    z-index: 3;
    left: clamp(24px, 6vw, 230px);
    top: max(74px, 7vh);
    display: block;
    width: clamp(380px, 28vw, 560px);
    max-width: 560px;
    padding: 0;
    background: none;
  }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -44px -96px -36px -86px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 18% 44%, rgba(4, 8, 10, .93) 0%, rgba(4, 8, 10, .78) 42%, rgba(4, 8, 10, .28) 72%, transparent 100%);
    filter: blur(18px);
  }

  .hero-heading .eyebrow { margin-bottom: 16px; }
  h1 { font-size: clamp(56px, 5vw, 106px); }
  .subtitle { margin-top: 18px; }

  .hero-side {
    justify-self: auto;
    max-width: none;
    margin-top: 22px;
  }
  .tagline {
    font-size: clamp(15px, 1.05vw, 20px);
    line-height: 1.65;
    max-width: 440px;
  }
  .hero-release { margin: 16px 0 14px; }
  .hero-note { max-width: 440px; margin-top: 12px; }
  .hero-actions { gap: 6px; }
  .hero-actions .cta { padding-inline: 12px; font-size: 11px; gap: 7px; }

  .story-caption,
  .concept-label { display: none; }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .subtitle,
  .hero-note,
  .tagline,
  .hero-release { display: none; }
  .hero-side { margin-top: 14px; }
  .hero-copy::before { inset: -30px -50px -20px -50px; }
}

@media (min-width: 1200px) and (max-width: 2000px) {
  html[lang="ru"] .tagline,
  html[lang="ru"] .hero-release { display: none; }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  html[lang="ru"] .title-measure,
  html[lang="ru"] .title-line { white-space: nowrap; }
  html[lang="ru"] .title-measure br,
  html[lang="ru"] .title-line br { display: none; }
  html[lang="ru"] h1 { font-size: clamp(44px, 3.5vw, 52px); }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .tagline { display: none; }
}

@media (min-width: 1200px) and (max-width: 2299px) {
  .hero-note { display: none; }
}

@media (min-width: 1200px) and (max-width: 2000px) {
  html[lang="ru"] .subtitle { display: none; }
}

@media (min-width: 3000px) {
  .hero-copy { width: 660px; max-width: 660px; }
  h1 { font-size: 124px; }
  .tagline { max-width: 480px; font-size: 21px; }
}

/* ---------- Shared sections ---------- */

.section {
  position: relative;
  padding: clamp(58px, 7vw, 100px) 0;
  border-top: 1px solid var(--line-soft);
}
.section:focus { outline: none; }
.about { border-top: 0; }

.section-head h2 {
  font: 400 clamp(30px, 3.3vw, 46px)/1.14 var(--serif);
  letter-spacing: -.015em;
  margin: 0;
  color: #f0e6d1;
}
.section-head.center {
  max-width: 720px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  text-align: center;
}
.lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}
.section-head.center .lead { margin-inline: auto; }

.note, .small {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.65;
}
.note { margin-top: 26px; }

.chip {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
}
.chip-ready { color: var(--green); border-color: rgba(156, 191, 173, .35); }
.chip-planned { color: #cbb28b; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 600px; font-size: 16px; }
.about-copy p:first-child { color: #d8d2c3; font-size: 16px; }
.about-copy blockquote {
  margin: 26px 0 0;
  padding: 2px 0 2px 20px;
  border-left: 1px solid var(--brass);
  font: italic 19px/1.55 var(--serif);
  color: #eadfc8;
  max-width: 500px;
}
.facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: clamp(26px, 4vw, 46px) 0 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.facts > div { background: var(--ink); padding: 20px 22px; }
.facts dt {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.facts dd { margin: 0; font: 17px var(--serif); color: #e5dcc9; }

/* ---------- Features ---------- */

.feature-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
}
.feature-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(34, 46, 44, .32), rgba(10, 14, 17, .1) 60%);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--brass), transparent);
  opacity: .5;
}
.feature-card h3 { font: 400 23px var(--serif); margin: 0 0 18px; }
.feature-card ul { list-style: none; margin: 0; padding: 0; }
.feature-card li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid rgba(238, 227, 205, .06);
  color: #c6cbc3;
  font-size: 15px;
}
.feature-card li:first-child { border-top: 0; }
.feature-card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 9px;
  color: var(--brass);
}
.feature-card:nth-child(2) li::before { content: "◇"; color: #8fa29a; }

/* ---------- Mira ---------- */

.mira-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.mira-art { margin: 0; }
.mira-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 20%, rgba(90, 118, 106, .28), transparent 60%),
    linear-gradient(180deg, #16201f, #0b1012);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 60px rgba(0, 0, 0, .35);
}
.mira-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 154, 93, .18);
  pointer-events: none;
}
.mira-local {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.mira-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 30px;
  text-align: center;
}
.mira-placeholder svg { width: min(58%, 190px); height: auto; opacity: .9; }
.mira-placeholder p { font-size: 11px; letter-spacing: .08em; color: var(--muted-2); line-height: 1.7; }
.mira-art figcaption {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-2);
}
.mira-copy h2 {
  font: 400 clamp(34px, 3.8vw, 52px)/1.05 var(--serif);
  margin: 0 0 20px;
}
.mira-copy > p { color: var(--muted); max-width: 600px; margin-bottom: 16px; font-size: 16px; }
.mira-facts {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.mira-facts li {
  display: flex;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: #d6d2c6;
}
.mira-facts span {
  flex: 0 0 88px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-top: 3px;
}
.gate {
  font-size: 12px;
  color: #b9ac93;
  border-left: 1px solid var(--brass-deep);
  padding-left: 14px;
}

/* ---------- Gallery ---------- */

.gallery-empty {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px dashed rgba(201, 154, 93, .3);
  background: rgba(16, 24, 25, .45);
}
.gallery-mark {
  font-size: 34px;
  line-height: 1;
  color: var(--brass-deep);
}
.gallery-empty p { color: var(--muted); max-width: 700px; }
.gallery-empty p + p { margin-top: 10px; }
.gallery-empty strong { color: #e6ddca; font-weight: 600; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.gallery-card {
  display: block;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: #0c1214;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 896;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.gallery-card:hover img { transform: scale(1.025); opacity: .92; }
.gallery-card-caption {
  display: block;
  padding: 10px 12px 12px;
  font: 13px/1.4 var(--sans);
  color: #d5d1c5;
}
.gallery-local-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-2);
}
.gallery-dialog {
  width: min(1120px, calc(100% - 24px));
  max-height: 94vh;
}
.gallery-dialog-body {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 20px 22px 10px;
  background: #070b0d;
}
.gallery-dialog-body img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line-soft);
}
.gallery-caption {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.gallery-dialog-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 14px 22px 20px;
}
.gallery-dialog-nav .text-link { min-width: 44px; min-height: 44px; }

/* ---------- Updates ---------- */

.updates-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.updates-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-soft);
  background: rgba(16, 24, 25, .45);
}
.updates-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.updates-empty {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.7;
}
.updates-list li + li { border-top: 1px solid var(--line-soft); }
.updates-entry { display: block; padding: 14px 0; text-decoration: none; }
.updates-entry:hover .updates-entry-title { color: var(--brass); }
.updates-entry time { display: block; font-size: 11px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.updates-entry-title { display: block; font: 18px var(--serif); color: #e8dfcc; margin-top: 4px; transition: color .2s; }

/* ---------- Release ---------- */

.release-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}
.release-copy h2 { font: 400 clamp(34px, 3.8vw, 52px)/1.05 var(--serif); margin: 0 0 18px; }
.release-copy > p { color: var(--muted); max-width: 560px; }
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 14px;
}
.release-status {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34, 46, 44, .3), rgba(10, 14, 17, .2));
}
.release-status dl { margin: 0 0 20px; }
.release-status dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.release-status dt { color: var(--muted-2); }
.release-status dd { margin: 0; text-align: right; color: #dfd6c2; }
.release-status dd[data-release-field="sha256"] { font-family: Consolas, monospace; font-size: 11px; word-break: break-all; }

.support-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--line-soft);
  background: rgba(16, 24, 25, .4);
}
.support-strip h3 { font: 400 24px var(--serif); margin: 0 0 8px; }
.support-strip p { color: var(--muted); font-size: 13px; max-width: 560px; }
.support-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.support-action .cta { min-width: 210px; }

/* ---------- CTA ---------- */

.cta {
  font: 600 12px var(--sans);
  letter-spacing: .03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  min-height: 52px;
  border: 1px solid #756447;
  background: #151b1d;
  color: #e4d9c4;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, color .25s, box-shadow .25s;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, #fff1cd24 48%, transparent 75%);
  transform: translateX(-125%);
  transition: transform .65s ease;
}
.cta > span[aria-hidden="true"] { font-size: 16px; line-height: 1; transition: color .25s; }
.cta .cta-tail { margin-left: 2px; font-size: 12px; }
.cta.primary {
  color: #f3e3c6;
  border-color: #b58a50;
  background: linear-gradient(135deg, #79542f, #4e3825);
}
.cta:disabled { cursor: not-allowed; opacity: .62; }
.cta:focus-visible { border-color: var(--brass); box-shadow: 0 0 20px rgba(201, 154, 93, .25); }
@media (hover: hover) and (pointer: fine) {
  .cta:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):hover {
    background: #252b2a;
    border-color: var(--brass);
    color: #fff0d5;
    box-shadow: 0 4px 20px rgba(201, 154, 93, .2), inset 0 0 12px rgba(201, 154, 93, .12);
    transform: translateY(-2px);
  }
  .cta.primary:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):hover { background: linear-gradient(135deg, #946d3d, #65412d); }
  .cta:not(:disabled):not(.is-disabled):not([aria-disabled="true"]):hover::before { transform: translateX(125%); }
}
.cta:not(:disabled):not(.is-disabled):active {
  transform: translateY(0);
  transition-duration: .07s;
  background: #101617;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .4);
}
.cta.primary:not(:disabled):not(.is-disabled):active { background: linear-gradient(135deg, #5f411f, #3f2d1c); }
a.cta.is-disabled,
a.cta[aria-disabled="true"],
button.cta.is-disabled {
  opacity: .58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brass);
  font: 600 12px var(--sans);
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(201, 154, 93, .45);
  cursor: pointer;
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: #efd6a1; text-decoration-color: currentColor; }
.text-link:active { color: #fff0d5; }
.text-link:disabled {
  color: var(--muted-2);
  text-decoration: none;
  cursor: not-allowed;
}
.text-link:disabled:hover { color: var(--muted-2); }
.text-link.is-disabled,
.text-link[aria-disabled="true"] {
  color: var(--muted-2);
  text-decoration: none;
  cursor: not-allowed;
}
.text-link.is-disabled:hover { color: var(--muted-2); }

/* ---------- Card interactions ---------- */

.feature-card,
.gallery-card,
.updates-panel,
.release-status {
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 154, 93, .3);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .3);
  }
  .gallery-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 154, 93, .4);
  }
  .updates-panel:hover,
  .release-status:hover { border-color: rgba(201, 154, 93, .3); }
}

/* ---------- Dialog ---------- */

.dialog {
  width: min(600px, calc(100% - 28px));
  max-height: min(86vh, 760px);
  padding: 0;
  border: 1px solid var(--line);
  background: #101719;
  color: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
  overflow: auto;
}
.dialog::backdrop {
  background: rgba(4, 8, 9, .78);
  backdrop-filter: blur(3px);
}
.dialog[open] { animation: dialog-in .22s cubic-bezier(.22, .61, .36, 1) both; }
.dialog[open]::backdrop { animation: dialog-backdrop-in .22s ease both; }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes dialog-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.dialog-head .eyebrow { margin-bottom: 8px; }
.dialog-head h2 { font: 400 26px/1.2 var(--serif); margin: 0; }
.dialog-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.dialog-close:hover { color: var(--paper); border-color: var(--brass); }
.dialog-close:active { background: rgba(201, 154, 93, .14); }
.dialog-body { padding: 24px 28px 30px; }
.platform-list { display: grid; gap: 0; }
.platform-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.platform-row:first-child { border-top: 1px solid var(--line-soft); }
.platform-info { min-width: 0; }
.platform-row strong { font: 400 18px var(--serif); }
.platform-row p { color: #b7c0b8; font-size: 13px; margin-top: 4px; overflow-wrap: anywhere; }
.platform-row .cta { flex: 0 0 auto; min-height: 44px; padding: 0 14px; font-size: 11px; }
.platform-row.is-planned { opacity: .82; }
.badge {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
}
.badge-error { color: #d9a08a; border-color: rgba(217, 160, 138, .4); }
.release-meta { margin: 18px 0 0; }
.release-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.release-meta dt { color: var(--muted-2); }
.release-meta dd { margin: 0; text-align: right; word-break: break-all; }
.dialog-note { margin: 22px 0 18px; color: #c3c9c0; font-size: 14px; line-height: 1.7; }
.dialog-body .small { margin-top: 10px; color: #b3bcb4; }
.dialog-error { color: #d9a08a; }

/* Bug report */
.bug-dialog { width: min(720px, calc(100% - 28px)); }
.bug-intro { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.bug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.bug-field { display: grid; gap: 7px; color: #d7d0c1; font-size: 12px; letter-spacing: .04em; }
.bug-field-wide { grid-column: 1 / -1; }
.bug-field small { color: var(--muted-2); font-size: 11px; letter-spacing: 0; }
.bug-field input,
.bug-field select,
.bug-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: #0a1113;
  color: var(--paper);
  padding: 10px 12px;
  font: 14px/1.5 var(--sans);
}
.bug-field textarea { resize: vertical; min-height: 92px; }
.bug-field input:focus,
.bug-field select:focus,
.bug-field textarea:focus { outline: 2px solid #efd6a1; outline-offset: 2px; }
.bug-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bug-status { min-height: 20px; margin: 14px 0 0; color: #d9a08a; font-size: 13px; line-height: 1.5; }
.bug-status.is-success { color: #a9d3b1; }
.bug-status.is-pending { color: #cbb28b; }
.bug-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.bug-actions .cta { min-height: 46px; }
@media (max-width: 600px) {
  .bug-grid { grid-template-columns: 1fr; }
  .bug-field-wide { grid-column: auto; }
  .bug-dialog .dialog-head, .bug-dialog .dialog-body { padding-inline: 20px; }
  .bug-actions .cta { width: 100%; }
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(38px, 5vw, 58px) 0 26px;
  background: #080c0e;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
}
.footer-brand .studio-name {
  font: 400 15px var(--serif);
  letter-spacing: .24em;
  color: #eee3cd;
  margin-bottom: 10px;
}
.footer-brand .studio-name b { font-weight: 400; color: var(--brass); }
.footer-grid p { color: var(--muted-2); font-size: 13px; line-height: 1.7; }
.footer-title {
  color: var(--brass) !important;
  font-size: 11px !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px !important;
}
.footer-block strong { color: #d9d2c2; font-weight: 600; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(238, 227, 205, .06);
}
.footer-base p { color: #8a958f; font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.footer-legal a { color: var(--brass); font-size: 12px; text-underline-offset: 3px; }
.footer-todo { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(238, 227, 205, .06); }
.footer-todo p { color: #8f8a7d; font-size: 11px; }

/* ---------- Legal pages ---------- */

.legal-page { padding: clamp(34px, 6vw, 72px) 0 80px; }
.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.legal-top a { text-decoration: none; }
.legal-content { max-width: 760px; margin-top: 38px; }
.legal-content h1 { font: 400 clamp(34px, 4vw, 52px)/1.1 var(--serif); white-space: normal; margin-bottom: 18px; }
.legal-content h2 { font: 400 26px/1.2 var(--serif); margin: 38px 0 12px; }
.legal-content h3 { font: 400 19px/1.3 var(--serif); margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { margin: 10px 0 0; padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-draft {
  margin-top: 30px;
  padding: 14px 16px;
  border: 1px dashed rgba(201, 154, 93, .4);
  color: #cbb28b;
  font-size: 13px;
}
.legal-back { margin-top: 40px; }

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform .6s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .feature-columns .feature-card.reveal:nth-child(2) { transition-delay: .09s; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(201, 154, 93, .35);
  background: rgba(10, 16, 18, .92);
  color: #e8dcc4;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
  transition: opacity .2s, transform .2s, border-color .2s, background .2s;
}
.to-top:hover { border-color: var(--brass); background: rgba(20, 28, 27, .98); transform: translateY(-2px); }
.to-top:active { transform: none; background: rgba(201, 154, 93, .16); }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .hero-copy {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    gap: clamp(20px, 3vw, 44px);
  }
  h1 { font-size: clamp(54px, 6vw, 84px); }
  .hero-side { max-width: 460px; }
}

@media (max-width: 1050px) {
  .site-header { position: sticky; }
  .header-inner { height: 64px; }
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-follow { display: none; }
  .header-actions { margin-left: auto; }
  html.menu-open .site-header::after { top: 64px; }

  .hero-copy {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding: 24px 6% 22px;
    background:
      radial-gradient(ellipse at 30% 0%, rgba(40, 58, 55, .5), transparent 68%),
      linear-gradient(180deg, #0a1214, #0a0e11);
  }
  .hero-heading .eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 14px; }
  h1 { font-size: clamp(46px, 9vw, 72px); line-height: .98; letter-spacing: -.025em; }
  .subtitle { margin: 16px 0 0; width: 230px; font-size: 11px; letter-spacing: .42em; }
  .hero-side { justify-self: start; max-width: 640px; }
  .tagline { font-size: 16px; line-height: 1.55; max-width: 520px; }
  .hero-release { margin: 16px 0 12px; }
  .hero-actions { justify-content: flex-start; }
  .hero-note { max-width: 520px; }
  .story-caption { margin-top: 14px; font-size: 14px; }
  .concept-label { font-size: 9px; }

  .about-grid,
  .updates-grid,
  .release-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .mira-grid { grid-template-columns: minmax(0, 320px) 1fr; gap: 40px; }
  .feature-columns { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .hero-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
  }
  .hero-art-img { aspect-ratio: 1000 / 548; }
  .hero-main { display: block; align-self: end; }
  .hero-tavern {
    display: flex;
    align-items: flex-end;
    align-self: end;
    background: #070b0d;
  }
}

@media (max-width: 479px) {
  .hero-art { grid-template-columns: 1fr; }
}

@media (max-width: 767px) and (max-height: 500px) {
  .hero-copy { padding: 12px 6% 10px; gap: 10px; }
  .hero-heading .eyebrow { margin-bottom: 6px; font-size: 9px; }
  h1 { font-size: clamp(34px, 7vw, 46px); }
  .subtitle { margin-top: 7px; width: 180px; font-size: 9px; letter-spacing: .34em; }
  .tagline { font-size: 13px; line-height: 1.4; }
  .hero-release { margin: 7px 0; font-size: 10px; }
  .hero-actions .cta { min-height: 44px; }
  .hero-note { margin-top: 7px; font-size: 12px; }
  .story-caption, .concept-label { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .header-inner { height: 62px; padding-inline: 12px; gap: 8px; }
  html.menu-open .site-header::after { top: 62px; }
  .brand { font-size: 11px; letter-spacing: .18em; gap: 7px; }
  .brand-mark { font-size: 17px; }
  .header-actions { gap: 7px; }
  .header-follow { padding: 0 9px; font-size: 11px; }
  .header-follow-full { display: none; }
  .header-follow-short { display: inline; }
  .header-actions .cta { padding: 0 12px; font-size: 11px; }
  .cta-label-full { display: none; }
  .cta-label-short { display: inline; }

  .section { padding: 54px 0; }
  .about-grid { gap: 26px; }
  .facts > div { padding: 16px; }
  .facts dd { font-size: 15px; }
  .feature-columns { grid-template-columns: 1fr; }
  .mira-grid { grid-template-columns: 1fr; gap: 30px; }
  .mira-art { max-width: 340px; margin-inline: auto; }
  .mira-copy { order: -1; }
  .support-strip { grid-template-columns: 1fr; }
  .support-action { align-items: stretch; }
  .support-action .cta { width: 100%; min-width: 0; }
  .release-actions { flex-direction: column; align-items: stretch; }
  .release-actions .cta { width: 100%; }
  .gallery-empty { flex-direction: column; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .dialog-head { padding: 22px 20px 16px; }
  .dialog-body { padding: 20px 20px 24px; }
  .platform-row { align-items: flex-start; }
}

@media (max-width: 560px) {
  .brand { letter-spacing: .14em; }
  .header-actions .cta .cta-label-short { display: none; }
  .header-actions .cta { min-width: 44px; }
  .to-top { right: 12px; bottom: 12px; width: 44px; height: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .cta { width: 100%; }
  .hero-copy { padding: 20px 6% 18px; }
  h1 { font-size: clamp(42px, 13.5vw, 60px); }
  .tagline { font-size: 15px; }
  .story-caption { font-size: 13px; margin-top: 12px; }
  .concept-label { font-size: 9px; letter-spacing: .08em; }
  .platform-row { flex-direction: column; gap: 10px; }
  .platform-row .cta { width: 100%; }
}

@media (min-width: 768px) and (max-height: 500px) {
  .hero-copy { padding: 12px 3.5% 10px; gap: 22px; }
  .hero-heading .eyebrow { margin-bottom: 8px; }
  h1 { font-size: clamp(40px, 5vw, 60px); }
  .subtitle { margin-top: 8px; }
  .tagline { font-size: 15px; line-height: 1.45; }
  .hero-release { margin: 10px 0; }
  .story-caption, .concept-label { display: none; }
}

@media (max-width: 430px) {
  .header-inner { padding-inline: 10px; gap: 5px; }
  .brand { letter-spacing: .12em; font-size: 11px; }
  .brand-mark { font-size: 15px; }
  .header-actions { gap: 5px; }
  .header-follow { padding: 0 10px; min-width: 44px; }
  .header-follow-full { display: none; }
  .header-follow-short { display: inline; }
  .header-actions .cta { padding: 0 9px; font-size: 11px; }
  .lang-switch button { min-width: 44px; padding: 0 4px; font-size: 11px; }
}

@media (max-width: 360px) {
  .brand-name b { display: none; }
  .header-actions .cta .cta-label-short { display: none; }
  .header-actions .cta { min-width: 44px; padding: 0 12px; }
  .brand { letter-spacing: .1em; }
  .brand-mark { display: none; }
  h1 { font-size: 14.2vw; }
  .tagline { font-size: 13px; }
  .header-actions .cta { padding: 0 9px; }
  .cta { font-size: 11px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-intro .hero-heading .eyebrow,
  .hero-intro .title-line,
  .hero-intro .subtitle,
  .hero-intro .tagline,
  .hero-intro .hero-release,
  .hero-intro .hero-actions,
  .hero-intro .hero-note,
  .hero-intro .story-caption,
  .hero-intro .concept-label { opacity: 1 !important; transform: none !important; }
  .js .title-line::after { display: none; }
  .ripple-line::before,
  .ripple-line::after { display: none; }
  .hero-fx .eye,
  .hero-fx .candle-halo,
  .hero-fx .candle-flame { animation: none !important; }
  .mobile-menu, .to-top { transition: none; }
  .cta { transform: none !important; }
  .cta::before { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .site-header { transition: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
