@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 frame GIF lock fix v12 ===== */
.media-frame {
  overflow: hidden;
}

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

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

.media-frame--wide {
  min-height: 430px;
}

.media-frame--feature,
.media-frame--news {
  min-height: 240px;
}

.frame-row--single .media-frame--wide {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.split-feature .media-frame--wide {
  width: 100%;
}
