/* VALDORIA V4.1 — launch layout polish.
   Public static styles only. Keeps V4 content and assets unchanged.
   Addresses narrow / wrapped desktop header and all supported viewport sizes. */
:root {
  --val-header-height: 82px;
  --val-header-ink: rgba(3, 8, 18, .86);
  --val-line: rgba(231, 199, 118, .18);
}
html { scroll-padding-top: calc(var(--val-header-height) + 12px); }
body { overflow-x: clip; }
/* Header: three deliberate columns, no shrinking menu copy */
.site-header,
.launch-store-page .site-header {
  background: var(--val-header-ink);
  border-bottom: 1px solid var(--val-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 34px rgba(1, 4, 12, .12);
}
.site-header.scrolled,
.launch-store-page .site-header.scrolled {
  background: rgba(3, 8, 18, .96);
  border-bottom-color: rgba(236, 201, 120, .28);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .26);
}
.site-header .nav-shell {
  width: min(calc(100% - 64px), 1450px);
  max-width: 1450px;
  min-width: 0;
  height: var(--val-header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(20px, 2.2vw, 35px);
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.site-header .brand img {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}
.site-header .brand span {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .17em;
}
.site-header .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  flex-wrap: nowrap;
  gap: clamp(0px, .35vw, 6px);
  min-width: 0;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  margin: 0;
  border: 1px solid rgba(238, 206, 136, .09);
  background: rgba(9, 18, 35, .4);
  border-radius: 999px;
}
.site-header .desktop-nav a,
.site-header .desktop-nav .nav-shop {
  flex: 0 0 auto;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  height: 38px;
  padding: 0 clamp(8px, .72vw, 12px);
  white-space: nowrap;
  line-height: 1;
  font-size: .67rem;
  letter-spacing: .067em;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
}
.site-header .desktop-nav a:hover,
.site-header .desktop-nav a.active,
.site-header .desktop-nav a[aria-current="page"] {
  background: rgba(232, 189, 104, .095);
  color: #f0ce84;
}
.site-header .desktop-nav .nav-shop small {
  display: inline-flex;
  align-items: center;
  padding: 4px 5px;
  font-size: .47rem;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: .07em;
}
.site-header .desktop-nav a::after { bottom: -1px; }
.site-header .nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  flex-wrap: nowrap;
  gap: 11px;
  min-width: max-content;
}
.site-header .lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 76px;
  height: 42px;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(228, 204, 151, .17);
  border-radius: 6px;
  background: rgba(10, 19, 35, .4);
  font-size: .69rem;
  letter-spacing: .065em;
}
.site-header .lang-switch span { color: #d1a64a; }
.site-header .desktop-cta {
  display: inline-flex !important;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 173px;
  min-height: 44px;
  padding: 0 17px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.15;
  font-size: .69rem;
  letter-spacing: .065em;
  border-radius: 4px;
}
.site-header .menu-toggle { display: none; }
/* Match legibility of the premium header with a calm cinematic hero */
.hero { overflow: hidden; }
.hero-media { background-position: center 52%; filter: saturate(.9) contrast(1.03) brightness(.86); }
.hero-vignette {
  background:
    linear-gradient(180deg, rgba(3, 8, 17, .62) 0%, rgba(3, 8, 17, .17) 27%, rgba(3, 8, 17, .46) 62%, rgba(3, 8, 17, .92) 94%, var(--bg) 100%),
    radial-gradient(ellipse at center 53%, rgba(5, 10, 24, .31), rgba(3, 7, 17, .15) 35%, rgba(2, 5, 12, .42) 80%);
}
.hero-content {
  width: min(100%, 1060px);
  max-width: 1060px;
  padding: clamp(137px, 17vh, 177px) 22px 76px;
}
.hero-logo { width: clamp(170px, 15vw, 224px) !important; height: auto; margin-bottom: 4px; }
.hero h1 { font-size: clamp(4.2rem, 8vw, 7.8rem); line-height: 1.02; letter-spacing: .045em; }
.hero .eyebrow { letter-spacing: .19em; }
.hero-lead { line-height: 1.55; max-width: 670px; text-wrap: balance; }
.hero-actions .btn { border-radius: 4px; }
.hero-status { border-color: rgba(242, 201, 117, .28); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.hero-facts { background: rgba(3, 9, 20, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* Give anchor destinations breathing room below sticky navigation */
main [id] { scroll-margin-top: calc(var(--val-header-height) + 16px); }
/* Consistent polished product presentation */
.launch-products .launch-product { border-radius: 5px; overflow: hidden; }
.launch-filter { border-radius: 4px; }
.launch-filter:focus-visible, .launch-product a:focus-visible { outline-offset: 3px; }
/* Tablet: replace dense desktop navigation with a full accessible menu. */
@media (max-width: 1259px) {
  .site-header .nav-shell {
    grid-template-columns: minmax(0, 1fr) max-content;
    width: min(calc(100% - 48px), 1160px);
    gap: 18px;
  }
  .site-header .desktop-nav { display: none !important; }
  .site-header .menu-toggle {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(228, 204, 151, .20);
    border-radius: 6px;
    background: rgba(9, 19, 35, .5);
  }
  .site-header .menu-toggle:hover { border-color: rgba(241, 197, 103, .55); }
  .site-header .menu-toggle span { left: 10px; }
  .site-header .mobile-menu {
    inset: var(--val-header-height) 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(155deg, rgba(6, 14, 28, .98), rgba(2, 6, 15, .99));
    border-top: 1px solid rgba(231, 198, 122, .1);
  }
  .site-header .mobile-menu-inner {
    height: auto;
    min-height: 100%;
    width: min(100%, 620px);
    margin-inline: auto;
    padding: 34px 24px 55px;
    justify-content: center;
    gap: 16px;
  }
  .site-header .mobile-menu a:not(.btn) { font-size: clamp(1.12rem, 3vw, 1.55rem); line-height: 1.3; text-align: center; }
  .site-header .mobile-menu .nav-shop { display: inline-flex !important; align-items: center; gap: 9px !important; }
  .site-header .mobile-menu .nav-shop small { font-size: .52rem; }
  .site-header .mobile-menu .btn { max-width: 300px; width: 100%; }
  .site-header .mobile-menu .mobile-emblem { display: block; max-height: 92px; width: auto; height: 92px; margin-inline: auto; object-fit: contain; }
  .site-header .mobile-home-mark { display: flex; justify-content: center; align-items: center; }
  .site-header .mobile-menu .eyebrow { margin: 0; }
}
@media (max-width: 760px) {
  :root { --val-header-height: 70px; }
  .site-header .nav-shell { width: calc(100% - 32px); gap: 10px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 42px; height: 42px; flex-basis: 42px; }
  .site-header .brand span { font-size: .77rem; letter-spacing: .12em; }
  .site-header .nav-actions { gap: 7px; }
  .site-header .lang-switch { height: 40px; min-width: 61px; padding-inline: 6px; font-size: .62rem; }
  .site-header .desktop-cta { display: none !important; }
  .site-header .menu-toggle { width: 41px; height: 41px; flex-basis: 41px; }
  .site-header .menu-toggle span { left: 9px; }
  .hero-media { background-position: 51% center; }
  .hero-vignette {
    background: linear-gradient(180deg, rgba(3, 8, 17, .67), rgba(3, 8, 17, .34) 26%, rgba(3, 8, 17, .56) 65%, #050914 100%);
  }
  .hero-content { padding: 112px 18px 96px; }
  .hero-logo { width: clamp(140px, 38vw, 170px) !important; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.8rem); letter-spacing: .018em; }
  .hero-lead { font-size: .99rem; max-width: 380px; margin-inline: auto; }
  .hero-facts { max-width: 420px; }
  .hero-status { font-size: .59rem; }
  .site-header .mobile-menu-inner { gap: 13px; padding: 21px 20px 102px; }
  .site-header .mobile-menu .mobile-emblem { height: 70px; }
  .site-header .mobile-menu a:not(.btn) { font-size: 1.18rem; }
  .site-header .mobile-menu .eyebrow { font-size: .65rem; }
  .mobile-discord-bar {
    width: min(calc(100% - 24px), 390px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 5px;
  }
  .mobile-discord-bar.is-hidden,
  body.menu-open .mobile-discord-bar {
    opacity: 0;
    transform: translate(-50%, 85px);
    pointer-events: none;
  }
}
@media (max-width: 385px) {
  .site-header .brand span { font-size: .7rem; letter-spacing: .085em; }
  .site-header .brand img { width: 37px; height: 37px; flex-basis: 37px; }
  .site-header .nav-actions { gap: 4px; }
  .site-header .lang-switch { min-width: 54px; }
  .hero h1 { font-size: clamp(2.85rem, 14.8vw, 3.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .hero-logo, .hero-media, .site-header .brand img { transition: none !important; }
}
