@font-face {
  font-family: 'Myriad Pro';
  src: url('/MYRIADPRO-REGULAR.OTF') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('/MYRIADPRO-SEMIBOLD.OTF') format('opentype');
  font-weight: 600;
}

:root {
  --bg: #130c0b;
  --bg-soft: #201514;
  --ink: #efe6bc;
  --ink-soft: rgba(239, 230, 188, 0.84);
  --ink-dim: rgba(239, 230, 188, 0.64);
  --line: rgba(239, 230, 188, 0.18);
  --panel: rgba(9, 5, 5, 0.78);
  --panel-strong: rgba(11, 7, 6, 0.9);
  --button-top: #c45d22;
  --button-bottom: #8e2d12;
  --shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
  --header-h: 82px;
  --content: min(1120px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Myriad Pro', sans-serif;
  color: var(--ink);
  background: #120908;
}
body.home-page { overflow: hidden; }
body.inner-page { background: radial-gradient(circle at top, #2b1713 0%, #120908 36%, #0b0606 100%); }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.home-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
}
.home-header__bar {
  position: absolute;
  inset: 0;
  background: rgba(62, 67, 73, 0.66);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: background .25s ease, box-shadow .25s ease;
}
.home-header.is-scrolled .home-header__bar {
  background: rgba(18, 12, 12, 0.88);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}
.home-header__inner {
  position: relative;
  width: min(1320px, calc(100vw - 28px));
  max-width: none;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 236px 1fr 170px;
  align-items: center;
  gap: 12px;
}
.header-brand {
  width: 212px;
  justify-self: start;
  align-self: center;
  transform: translate(-18px, 28px);
  position: relative;
  z-index: 3;
}
.header-brand img {
  width: 212px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.28));
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  height: 100%;
}
.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-h);
  padding: 0 24px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1;
  color: var(--ink-soft);
  transition: color .2s ease, transform .2s ease;
}
.top-nav a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(239,230,188,.28);
}
.top-nav a:hover, .top-nav a.is-active { color: #fff4c3; transform: translateY(-1px); }
.lang-toggle {
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  margin-right: -8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(10, 17, 29, 0.34);
  color: #e9e2bf;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
  cursor: pointer;
}
.lang-toggle img {
  width: 20px;
  height: 20px;
}
.lang-toggle:hover {
  background: rgba(17, 28, 46, 0.56);
}
.lang-toggle--rail {
  width: calc(100% - 24px);
  justify-content: center;
  margin: 8px 12px 0;
}

.home-scroll {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}
.home-section {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
}
.section-content {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
}
.narrow-stack {
  padding-top: 110px;
  padding-bottom: 70px;
}
.section-wallpaper, .page-hero__bg, .hero-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.wallpaper-wood {
  background:
    linear-gradient(180deg, rgba(10,6,6,0.72), rgba(22,12,10,0.84)),
    linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 130px),
    linear-gradient(90deg, #29140f 0%, #4e2818 48%, #25110d 100%);
  background-size: auto, 132px 100%, auto;
}
.wallpaper-dark {
  background: radial-gradient(circle at center, rgba(33, 56, 89, 0.34), transparent 38%), linear-gradient(180deg, #100909 0%, #1b1010 45%, #0b0606 100%);
}
.wallpaper-parchment {
  background: linear-gradient(180deg, rgba(10,6,6,.42), rgba(10,6,6,.62)), linear-gradient(180deg, #eadbbb 0%, #dcc094 54%, #af8656 100%);
}
.wallpaper-night {
  background: radial-gradient(circle at center, rgba(57, 92, 169, 0.2), transparent 36%), linear-gradient(180deg, #090c1e 0%, #1a1224 40%, #0f080d 100%);
}
.wallpaper-plain {
  background: radial-gradient(circle at top, rgba(255,255,255,0.03), transparent 40%), linear-gradient(180deg, #0f0808 0%, #1a0f0f 100%);
}
.wallpaper-glow {
  background: radial-gradient(circle at 50% 70%, rgba(153, 73, 146, 0.26), transparent 36%), linear-gradient(180deg, #130909 0%, #16090f 54%, #090405 100%);
}
.wallpaper-hall {
  background: linear-gradient(180deg, rgba(12, 7, 7, 0.42), rgba(12, 7, 7, 0.84)), linear-gradient(180deg, #1d0f0f 0%, #301616 54%, #110707 100%);
}

.hero-section { display: grid; place-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-fallback { width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.22) 40%, rgba(8,5,5,0.72)); }
.hero-content {
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-logo { width: min(560px, 68vw); margin-bottom: 14px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.38)); }
.hero-content h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 74px);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-tagline {
  margin: 18px 0 28px;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: .22em;
  text-transform: uppercase;
  max-width: 760px;
}
.social-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.social-row a, .site-footer__socials a, .side-rail__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 245, 212, 0.9);
  display: grid;
  place-items: center;
  background: rgba(6, 5, 5, 0.55);
  font-weight: 600;
}
.graphic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, var(--button-top), var(--button-bottom));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), var(--shadow);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.graphic-button--submit { background: linear-gradient(180deg, #d66d2f, #8e3118); }

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}
.section-heading--left { text-align: left; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ornament {
  width: 180px;
  height: 16px;
  margin: 14px auto 0;
  position: relative;
}
.ornament::before, .ornament::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239,230,188,.9) 25%, rgba(239,230,188,.9) 75%, transparent);
}
.ornament::after {
  left: calc(50% - 10px);
  right: auto;
  width: 20px;
  height: 20px;
  top: -1px;
  border: 2px solid rgba(239,230,188,.8);
  border-radius: 50%;
  background: #130909;
}
.ornament--small { width: 120px; margin: 0 0 10px; }
.lead-copy {
  max-width: 780px;
  margin: 0 auto 34px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.4;
  text-align: center;
  color: var(--ink-soft);
}
.lead-copy--compact { font-size: 22px; }
.lead-copy p { margin: 0 0 18px; }

.frame-row {
  display: grid;
  gap: 32px;
  margin-bottom: 42px;
}
.frame-row--triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.frame-row--single { grid-template-columns: minmax(0, 1fr); }
.media-frame {
  position: relative;
  min-height: 290px;
  border: 14px solid #8b593d;
  box-shadow: var(--shadow);
  background: rgba(0,0,0,0.2);
}
.media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--frame-image);
  background-size: cover;
  background-position: var(--frame-position, center);
}
.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.22);
  pointer-events: none;
}
.media-frame--animated::before {
  animation: drift 16s ease-in-out infinite alternate;
}
.media-frame--wide { min-height: 430px; }
.media-frame--feature, .media-frame--news { min-height: 240px; }

.discord-panel {
  border: 1px solid rgba(239,230,188,.22);
  background: rgba(17, 10, 9, 0.76);
  border-radius: 18px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 24px;
  align-items: center;
}
.discord-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2efdb;
  color: #0c0c0c;
  font-size: 30px;
  font-weight: 600;
}
.discord-panel h3 { margin: 0 0 10px; font-size: 30px; letter-spacing: .14em; text-transform: uppercase; }
.discord-panel p { margin: 0; color: var(--ink-soft); font-size: 20px; line-height: 1.4; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.feature-card {
  text-align: center;
  padding: 6px;
}
.feature-card h3 { font-size: 26px; margin: 16px 0 10px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 19px; line-height: 1.45; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.news-card {
  background: rgba(17, 10, 10, 0.68);
  border: 1px solid rgba(239,230,188,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-card__image { min-height: 220px; display: block; }
.news-card__body { padding: 18px 20px 22px; }
.news-card__body p { margin: 0 0 16px; font-size: 18px; line-height: 1.45; color: var(--ink-soft); }
.news-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 16px;
  color: var(--ink-dim);
}
.bluesky-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 600;
}
.bluesky-link::before { content: 'B'; width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; border: 2px solid rgba(239,230,188,.86); }

.newsletter-form, .contact-form {
  max-width: 1060px;
  margin: 0 auto;
  border: 1px solid rgba(239,230,188,.24);
  border-radius: 16px;
  padding: 26px;
  display: grid;
  gap: 18px;
  background: rgba(10, 7, 7, 0.7);
}
.newsletter-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}
.newsletter-form .check-row {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.newsletter-form .graphic-button { justify-self: end; }
label span {
  display: block;
  margin-bottom: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 14px;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(239,230,188,.42);
  background: rgba(0,0,0,0.32);
  color: #fff6d6;
}
textarea { resize: vertical; min-height: 160px; }
.check-row input { width: 18px; height: 18px; }
.flash {
  max-width: 780px;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(239,230,188,.22);
  text-align: center;
}
.flash--success { border-color: rgba(110, 212, 132, 0.42); color: #d9f5dc; }
.flash--error { border-color: rgba(224, 114, 92, 0.55); color: #ffd3cb; }

.testimonial-carousel { overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform .45s ease;
  will-change: transform;
}
.testimonial-card {
  min-width: calc((100% - 48px) / 3);
  background: rgba(20, 11, 10, 0.86);
  border: 1px solid rgba(239,230,188,.16);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.avatar-stub {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(180deg, #7f8d62, #3e4434);
}
.testimonial-card p { margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.5; }
.carousel-controls { display: flex; justify-content: center; gap: 18px; margin-top: 22px; }
.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(239,230,188,.32);
  background: rgba(0,0,0,0.28);
  color: var(--ink);
  font-size: 28px;
}

.contact-intro {
  max-width: 680px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: 19px;
  color: var(--ink-soft);
}
.contact-form { max-width: 820px; }
.contact-form--page { margin: 0; }

.site-footer {
  text-align: center;
  padding: 30px 0 10px;
}
.site-footer__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-kickstarter-line {
  margin: 16px 0 10px;
  font-size: 26px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.legal-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-dim);
}

.inner-shell {
  padding-left: 110px;
}
.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
}
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.26), rgba(10,6,6,0.82)); }
.page-hero__content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100vw - 180px));
  padding: 110px 0 60px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.page-hero__content h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.page-hero__content p { max-width: 760px; font-size: 22px; line-height: 1.45; color: var(--ink-soft); }
.content-section {
  width: min(1040px, calc(100vw - 200px));
  margin: 0 auto;
  padding: 54px 0;
}
.split-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.prose-card, .legal-card {
  background: rgba(15, 9, 9, 0.74);
  border: 1px solid rgba(239,230,188,.16);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.prose-card p, .legal-card p { font-size: 19px; line-height: 1.55; color: var(--ink-soft); }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.store-card {
  background: rgba(15, 9, 9, 0.74);
  border: 1px solid rgba(239,230,188,.16);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.store-card h3 { margin-top: 0; font-size: 30px; }
.store-card p { color: var(--ink-soft); font-size: 19px; line-height: 1.5; }
.stacked-news { display: grid; gap: 26px; }
.stacked-news__item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
  background: rgba(15, 9, 9, 0.74);
  border: 1px solid rgba(239,230,188,.16);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.stacked-news__copy h3 { margin-top: 0; font-size: 30px; }
.stacked-news__copy p { color: var(--ink-soft); font-size: 19px; line-height: 1.5; }

.side-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translate(120%, -50%);
  width: 170px;
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(37, 24, 19, 0.92);
  border: 1px solid rgba(239,230,188,.22);
  z-index: 90;
  box-shadow: var(--shadow);
  transition: transform .45s ease;
}
.side-rail.is-visible { transform: translate(0, -50%); }
.side-rail__home { display: block; width: 60px; margin: 0 auto 14px; }
.side-rail__nav { display: grid; gap: 8px; text-align: center; margin-bottom: 14px; }
.side-rail__nav a {
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.side-rail__nav a.is-active, .side-rail__nav a:hover { background: rgba(255,255,255,0.08); color: #fff4c3; }
.side-rail__portal-actions { display: grid; gap: 8px; margin-bottom: 14px; }
.mini-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(239,230,188,.24);
  background: rgba(0,0,0,0.22);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mini-button--accent { background: linear-gradient(180deg, #c45d22, #8e2d12); }
.side-rail__socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.side-rail__socials a { width: 32px; height: 32px; font-size: 12px; }

@keyframes drift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.06) translate3d(-2%, 1%, 0); }
  100% { transform: scale(1.03) translate3d(2%, -1%, 0); }
}

@media (max-width: 1100px) {
  body.home-page { overflow: auto; }
  .home-scroll { height: auto; overflow: visible; }
  .frame-row--triple, .feature-grid, .news-grid, .store-grid { grid-template-columns: 1fr; }
  .discord-panel, .split-feature, .stacked-news__item { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .check-row { grid-column: auto; }
  .newsletter-form .graphic-button { justify-self: start; }
  .testimonial-card { min-width: calc((100% - 24px) / 2); }
  .top-nav { gap: 16px; }
}
@media (max-width: 860px) {
  .home-header__inner { grid-template-columns: 64px 1fr 42px; gap: 14px; width: calc(100vw - 24px); }
  .top-nav { gap: 12px; }
  .top-nav a { font-size: 13px; letter-spacing: .14em; }
  .inner-shell { padding-left: 0; padding-right: 0; }
  .content-section, .page-hero__content { width: calc(100vw - 32px); }
  .side-rail {
    top: auto;
    bottom: 18px;
    right: 16px;
    left: 16px;
    width: auto;
    transform: translateY(140%);
  }
  .side-rail.is-visible { transform: translateY(0); }
  .side-rail__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-header { height: auto; }
  .home-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 10px 0;
    height: auto;
  }
  .header-brand { justify-self: center; }
  .accessibility-badge { display: none; }
  .top-nav { gap: 10px 14px; }
  .hero-content { padding-top: 150px; }
  .hero-tagline, .lead-copy, .discord-panel p, .store-card p, .stacked-news__copy p, .legal-card p { font-size: 17px; }
  .graphic-button { font-size: 20px; min-height: 48px; }
  .testimonial-card { min-width: 100%; }
}

.side-rail__home {
  display: block;
  width: calc(100% - 20px);
  margin: 8px auto 4px;
}
.side-rail__home img {
  width: 100%;
  max-width: 138px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .home-header__inner {
    grid-template-columns: 148px 1fr 132px;
    gap: 12px;
  }
  .header-brand {
    width: 128px;
    transform: translateY(18px);
  }
  .header-brand img { width: 128px; }
  .top-nav { gap: 18px; }
  .top-nav a { font-size: 14px; letter-spacing: .16em; }
  .lang-toggle { min-height: 38px; padding: 0 12px; font-size: 14px; }
}
@media (max-width: 760px) {
  .home-header {
    height: auto;
  }
  .home-header__inner {
    grid-template-columns: 110px 1fr;
    grid-template-areas:
      'brand lang'
      'nav nav';
    height: auto;
    padding: 8px 0 10px;
    row-gap: 8px;
  }
  .header-brand { grid-area: brand; width: 108px; transform: translateY(10px); }
  .lang-toggle { grid-area: lang; }
  .top-nav { grid-area: nav; justify-content: flex-start; gap: 14px 16px; padding-left: 2px; }
  .top-nav a { font-size: 13px; }
}



/* ===== Header desktop hotfix v11 ===== */
@media (min-width: 761px) {
  .home-header {
    height: 84px;
  }

  .home-header__inner {
    width: min(1560px, calc(100vw - 24px));
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
  }

  .header-brand {
    position: absolute;
    left: -8px;
    top: 50%;
    width: 196px;
    justify-self: auto;
    align-self: auto;
    transform: translateY(10px);
    margin: 0;
  }

  .header-brand img {
    width: 196px;
  }

  .top-nav {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto;
    padding: 0;
  }

  .top-nav a {
    min-height: 0;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: .22em;
    transform: none !important;
    vertical-align: middle;
  }

  .top-nav a + a::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    background: rgba(239,230,188,.34);
  }

  .lang-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-self: auto;
    align-self: auto;
    margin-right: 0;
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}



/* ===== Media + social cleanup v14 ===== */
.media-frame {
  overflow: hidden;
}

.media-frame--media::before {
  display: none;
}

.media-frame__asset {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--frame-position, center center);
}

.site-footer__socials a img,
.side-rail__socials a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.site-footer__socials,
.side-rail__socials {
  gap: 10px;
}

.frame-row--triple .media-frame {
  min-height: 260px;
}



/* ===== Social/link/icon cleanup + scrollbar/header fix v15 ===== */
.home-scroll {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  padding-top: var(--header-h);
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
  box-sizing: border-box;
}

.home-section {
  min-height: calc(100vh - var(--header-h));
}

.hero-content {
  min-height: calc(100vh - var(--header-h));
  padding-top: 36px;
  padding-bottom: 56px;
}

.social-row a img,
.site-footer__socials a img,
.side-rail__socials a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.social-row {
  gap: 12px;
}

.social-row a {
  width: 40px;
  height: 40px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(90%) sepia(17%) saturate(445%) hue-rotate(359deg) brightness(104%) contrast(88%);
}

.carousel-arrow:hover img {
  filter: brightness(0) saturate(100%) invert(95%) sepia(24%) saturate(550%) hue-rotate(333deg) brightness(104%) contrast(94%);
}

@media (max-width: 760px) {
  .home-scroll {
    padding-top: 74px;
    scroll-padding-top: 74px;
  }

  .home-section,
  .hero-content {
    min-height: calc(100vh - 74px);
  }
}



/* ===== Sidebar cleanup v31 ===== */
.side-rail {
  width: 156px;
  padding: 14px 12px 16px;
}

.side-rail__home {
  display: block;
  width: calc(100% - 8px);
  margin: 2px auto 12px;
}

.side-rail__home img {
  width: 100%;
  max-width: 132px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.side-rail__nav--simple {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.side-rail__nav--simple a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
}

.side-rail__nav--simple a.is-active,
.side-rail__nav--simple a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff4c3;
}

.side-rail .lang-toggle,
.side-rail__portal-actions,
.side-rail__socials {
  display: none !important;
}

@media (max-width: 1100px) {
  .side-rail {
    width: auto;
    left: 16px;
    right: 16px;
    padding: 12px;
  }

  .side-rail__home img {
    max-width: 110px;
  }

  .side-rail__nav--simple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .side-rail__nav--simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-rail__nav--simple a {
    min-height: 38px;
    font-size: 13px;
    letter-spacing: .1em;
  }
}


/* ===== Inner-page alignment and mobile polish v32 ===== */

body.inner-page {
  overflow-x: hidden;
}

.inner-shell {
  width: 100%;
}

.page-hero__content,
.content-section {
  width: min(1040px, calc(100vw - 220px));
  margin-left: auto;
  margin-right: auto;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about .section-heading--left,
.page-contact .section-heading--left,
.page-news .section-heading--left,
.page-store .section-heading--left {
  text-align: center;
}

.page-about .section-heading--left .ornament,
.page-contact .section-heading--left .ornament,
.page-news .section-heading--left .ornament,
.page-store .section-heading--left .ornament {
  margin-left: auto;
  margin-right: auto;
}

.page-about .company-mark,
.page-about .frame-row--single,
.page-about .section-actions,
.page-contact .contact-intro,
.page-news .bluesky-link,
.page-store .section-actions {
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-about .split-feature {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
  gap: 28px;
}

.page-about .prose-card {
  text-align: center;
}

.page-about .prose-card .graphic-button,
.page-store .store-card .graphic-button,
.page-contact .contact-form--page .graphic-button {
  margin-left: auto;
  margin-right: auto;
}

.page-contact .content-section--contactform {
  max-width: 980px;
}

.page-contact .contact-intro {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.page-contact .contact-form--page {
  max-width: 760px;
}

.page-news .content-section--newslist {
  max-width: 1040px;
}

.page-news .stacked-news {
  max-width: 1000px;
  margin: 0 auto;
}

.page-news .stacked-news__item {
  align-items: center;
}

.page-news .stacked-news__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-news .news-card__meta {
  flex-wrap: wrap;
}

.page-store .store-grid {
  justify-content: center;
  align-items: stretch;
}

.page-store .store-card {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-store .store-card .graphic-button {
  margin-top: auto;
}

@media (max-width: 1100px) {
  .page-hero__content,
  .content-section {
    width: min(960px, calc(100vw - 56px));
  }

  .page-news .stacked-news__item,
  .page-about .split-feature,
  .page-store .store-grid {
    grid-template-columns: 1fr;
  }

  .page-news .stacked-news__item {
    max-width: 820px;
    margin: 0 auto;
  }

  .page-store .store-card {
    max-width: 820px;
    margin: 0 auto;
  }

  .page-contact .contact-form--page {
    max-width: 820px;
  }
}

@media (max-width: 860px) {
  .page-hero__content,
  .content-section {
    width: calc(100vw - 32px);
  }

  .page-hero__content {
    align-items: center;
    text-align: center;
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .page-hero__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact .contact-intro {
    font-size: 19px;
  }

  .page-news .stacked-news__item {
    gap: 18px;
    padding: 18px;
  }

  .page-news .stacked-news__item .media-frame {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: auto;
  }

  .page-hero__content h1 {
    font-size: clamp(36px, 10vw, 54px);
    letter-spacing: .06em;
  }

  .page-hero__content p,
  .page-about .prose-card p,
  .page-news .stacked-news__copy p,
  .page-store .store-card p,
  .page-contact .contact-intro {
    font-size: 17px;
    line-height: 1.5;
  }

  .content-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .page-about .company-mark img {
    width: min(220px, 64vw);
  }

  .page-contact .contact-form--page,
  .page-contact .contact-form--page textarea,
  .page-contact .contact-form--page input,
  .page-store .store-card,
  .page-news .stacked-news__item {
    width: 100%;
  }

  .page-news .stacked-news__item .media-frame {
    min-height: 200px;
  }

  .page-news .news-card__meta {
    justify-content: center;
    text-align: center;
    gap: 10px 18px;
  }
}



/* ===== Comprehensive alignment and polish v33 ===== */

/* center all inner page hero copy */
body.inner-page .page-hero__content {
  width: min(1040px, calc(100vw - 220px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.inner-page .page-hero__content p,
body.inner-page .page-hero__content .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

body.inner-page .section-heading--left {
  text-align: center;
}

body.inner-page .section-heading--left .ornament {
  margin-left: auto;
  margin-right: auto;
}

body.inner-page .content-section {
  width: min(1040px, calc(100vw - 220px));
  margin-left: auto;
  margin-right: auto;
}

/* brand heading for RoninSky */
.brand-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-heading img {
  height: 0.9em;
  width: auto;
  display: inline-block;
  opacity: 0.96;
  transform: translateY(1px);
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(362%) hue-rotate(8deg) brightness(98%) contrast(92%);
}

.company-mark { display: none !important; }

/* center about section and roninsky block */
.page-about .split-feature {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.page-about .prose-card {
  text-align: center;
}

.page-about .prose-card .graphic-button {
  margin-left: auto;
  margin-right: auto;
}

/* store/contact/news page general centering */
.page-contact .contact-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.page-contact .contact-form--page {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .contact-form--page .graphic-button {
  margin-left: auto;
  margin-right: auto;
}

.page-store .store-grid {
  justify-content: center;
  align-items: stretch;
}

.page-store .store-card {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-store .store-card .graphic-button {
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
}

.page-news .stacked-news {
  max-width: 980px;
  margin: 0 auto;
}

.page-news .stacked-news__item {
  align-items: center;
}

.page-news .stacked-news__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* news source/date alignment */
.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  font-size: 16px;
  color: var(--ink-dim);
}

.news-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink-dim);
}

.news-source-link img {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(362%) hue-rotate(8deg) brightness(98%) contrast(92%);
}

.news-card__meta time {
  margin-left: auto;
  text-align: right;
}

/* homepage latest news cards */
.news-card__body {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.news-card__body p {
  flex: 1 1 auto;
}

.news-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.news-actions--stack {
  flex-direction: column;
  margin-top: 6px;
}

.news-actions--stack .graphic-button {
  margin-left: auto;
  margin-right: auto;
}

.bluesky-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.bluesky-link img {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(362%) hue-rotate(8deg) brightness(98%) contrast(92%);
}

.bluesky-link::before {
  display: none !important;
  content: none !important;
}

/* center main page buttons */
.section-actions,
.section-actions.section-actions--center {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-actions .graphic-button {
  margin-left: auto;
  margin-right: auto;
}

/* contact/newsletter submit placement */
.newsletter-form .graphic-button,
.contact-form .graphic-button {
  margin-left: auto;
  margin-right: auto;
}

.contact-form .graphic-button--submit {
  justify-self: center;
}

/* testimonial carousel stability */
.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  min-width: calc((100% - 48px) / 3);
  flex: 0 0 calc((100% - 48px) / 3);
}

.carousel-arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  body.inner-page .page-hero__content,
  body.inner-page .content-section {
    width: min(940px, calc(100vw - 56px));
  }

  .testimonial-card {
    min-width: calc((100% - 24px) / 2);
    flex-basis: calc((100% - 24px) / 2);
  }

  .page-news .stacked-news__item,
  .page-about .split-feature,
  .page-store .store-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.inner-page .page-hero__content,
  body.inner-page .content-section {
    width: calc(100vw - 32px);
  }

  .brand-heading {
    gap: 12px;
  }

  .brand-heading img {
    height: 0.85em;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .check-row {
    grid-column: auto;
  }

  .newsletter-form .graphic-button {
    justify-self: center;
  }

  .testimonial-card {
    min-width: 100%;
    flex-basis: 100%;
  }

  .page-hero__content h1 {
    font-size: clamp(36px, 9vw, 54px);
  }

  .news-card__meta {
    gap: 10px 16px;
  }
}



/* ===== Final cleanup patch v35 ===== */

/* Hide only the Apps Script bridge iframes */
.form-sink,
#newsletterSink,
#contactSink,
iframe.form-sink {
  position: absolute !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

/* Inner-page hero and content centering */
body.inner-page .page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  text-align: center !important;
}

body.inner-page .page-hero__content .eyebrow,
body.inner-page .page-hero__content p {
  margin-left: auto;
  margin-right: auto;
}

body.inner-page .section-heading--left {
  text-align: center !important;
}

body.inner-page .section-heading--left .ornament {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* RoninSky inline brand heading */
.brand-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-heading img {
  height: 0.9em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(1px);
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(362%) hue-rotate(8deg) brightness(98%) contrast(92%);
}

.company-mark {
  display: none !important;
}

/* Main page latest news footer alignment */
.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  font-size: 16px;
  color: var(--ink-dim);
}

.news-card__meta time {
  margin-left: auto;
  text-align: right;
}

.news-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink-dim);
}

.news-source-link img {
  display: none !important;
}

/* Bluesky CTA / page link styling */
.bluesky-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
}

.bluesky-link::before {
  display: none !important;
  content: none !important;
}

.bluesky-link img {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(91%) sepia(20%) saturate(362%) hue-rotate(8deg) brightness(98%) contrast(92%);
}

.page-news .bluesky-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px auto 0;
  width: 100%;
  text-align: center;
}

/* Center actions/buttons consistently */
.section-actions,
.section-actions.section-actions--center,
.news-actions,
.news-actions--stack {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-actions--stack {
  flex-direction: column;
  gap: 12px;
}

.section-actions .graphic-button,
.news-actions .graphic-button,
.news-actions--stack .graphic-button,
.page-contact .contact-form--page .graphic-button,
.page-store .store-card .graphic-button,
.page-about .prose-card .graphic-button,
.newsletter-form .graphic-button,
.contact-form .graphic-button {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Contact page intro + form centering */
.page-contact .contact-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.page-contact .contact-form--page {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* About / Store / News layout centering */
.page-about .split-feature {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}

.page-about .prose-card,
.page-store .store-card,
.page-news .stacked-news__copy {
  text-align: center;
}

.page-store .store-grid {
  justify-content: center;
  align-items: stretch;
}

.page-store .store-card {
  display: flex;
  flex-direction: column;
}

.page-store .store-card .graphic-button {
  margin-top: auto;
}

.page-news .stacked-news {
  max-width: 980px;
  margin: 0 auto;
}

.page-news .stacked-news__item {
  align-items: center;
}

/* Newsletter/contact forms */
.newsletter-form .graphic-button {
  justify-self: center;
}

.contact-form .graphic-button--submit {
  justify-self: center;
}

/* Testimonial carousel stability */
.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  min-width: calc((100% - 48px) / 3);
  flex: 0 0 calc((100% - 48px) / 3);
}

.carousel-arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1100px) {
  body.inner-page .page-hero__content,
  body.inner-page .content-section {
    width: min(940px, calc(100vw - 56px));
  }

  .page-news .stacked-news__item,
  .page-about .split-feature,
  .page-store .store-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: calc((100% - 24px) / 2);
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 760px) {
  body.inner-page .page-hero__content,
  body.inner-page .content-section {
    width: calc(100vw - 32px);
  }

  body.inner-page .page-hero__content {
    align-items: center !important;
    text-align: center !important;
  }

  .brand-heading {
    gap: 12px;
  }

  .brand-heading img {
    height: 0.85em;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .check-row {
    grid-column: auto;
  }

  .newsletter-form .graphic-button {
    justify-self: center;
  }

  .testimonial-card {
    min-width: 100%;
    flex-basis: 100%;
  }

  .page-news .news-card__meta {
    gap: 10px 16px;
  }
}


/* ===== Mobile app launcher navigation patch v36 ===== */
.mobile-appbar,
.mobile-nav-overlay,
.mobile-home-launcher {
  display: none;
}

@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .mobile-appbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(10,7,7,.92), rgba(18,10,10,.88));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .mobile-appbar__home {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
  }

  .mobile-appbar__home img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .mobile-appbar__title {
    flex: 1;
    min-width: 0;
    text-align: center;
    font-family: 'AstralSemi', sans-serif;
    font-size: 1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .mobile-appbar__menu {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
  }

  .mobile-appbar__menu span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
  }

  .mobile-nav-overlay[hidden] {
    display: none !important;
  }

  .mobile-nav-overlay__scrim {
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 3, .72);
    backdrop-filter: blur(8px);
  }

  .mobile-nav-overlay__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 18px 32px;
    background:
      linear-gradient(180deg, rgba(8,6,6,.78), rgba(14,9,9,.88)),
      var(--mobile-overlay-bg, none);
  }

  .mobile-nav-overlay__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
  }

  .mobile-nav-overlay__home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: 'AstralSemi', sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-nav-overlay__home img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }

  .mobile-nav-overlay__close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 0;
    background: rgba(255,255,255,.08);
    color: var(--ink);
    font-size: 1.8rem;
    line-height: 1;
  }

  .mobile-nav-grid,
  .mobile-home-launcher__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .mobile-app-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: var(--ink);
    text-decoration: none;
  }

  .mobile-app-link__icon {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.08);
  }

  .mobile-app-link__icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .mobile-app-link__label {
    font-family: 'AstralSemi', sans-serif;
    font-size: .92rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-app-link--home .mobile-app-link__icon { background: linear-gradient(180deg, #d8c75e, #8c7120); }
  .mobile-app-link--about .mobile-app-link__icon { background: linear-gradient(180deg, #c8a472, #7f5530); }
  .mobile-app-link--news .mobile-app-link__icon { background: linear-gradient(180deg, #5ea8e8, #2b5ea8); }
  .mobile-app-link--contact .mobile-app-link__icon { background: linear-gradient(180deg, #a977e2, #5d358d); }
  .mobile-app-link--store .mobile-app-link__icon { background: linear-gradient(180deg, #e18a54, #9d4d1f); }
  .mobile-app-link--login .mobile-app-link__icon { background: linear-gradient(180deg, #8dbf7a, #48703c); }

  .mobile-app-link.is-active .mobile-app-link__icon {
    box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.32);
    transform: translateY(-1px);
  }

  .mobile-home-launcher {
    position: relative;
    display: block;
    min-height: 100svh;
    background-image: var(--mobile-home-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 96px 18px 28px;
  }

  .mobile-home-launcher__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,6,6,.50), rgba(14,10,10,.82));
    backdrop-filter: blur(5px);
  }

  .mobile-home-launcher__content {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .mobile-home-launcher__logo {
    width: min(280px, 78vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,.34));
  }

  body.home-page .home-scroll {
    min-height: 100svh;
    overflow: visible;
    scroll-snap-type: none;
  }

  body.home-page .home-scroll > .home-section:not(.mobile-home-launcher) {
    display: none !important;
  }

  body.home-page .site-footer {
    display: none !important;
  }

  body.inner-page .side-rail,
  body.inner-page .site-footer,
  body.home-page .home-header,
  body.home-page #footerNav,
  body.inner-page #footerNav {
    display: none !important;
  }

  body.inner-page .inner-shell {
    padding-top: 88px;
  }

  body.inner-page .page-hero {
    min-height: 42svh;
  }

  body.inner-page .page-hero__content {
    width: calc(100vw - 32px);
    padding-top: 24px;
    text-align: center;
  }

  body.inner-page .content-section {
    width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  body.menu-open {
    overflow: hidden;
  }
}
