:root {
  color-scheme: dark;
  --ink: #f5f0e8;
  --muted: #c8beb1;
  --soft: #958879;
  --night: #0d0e0d;
  --deep: #141310;
  --panel: rgba(23, 21, 18, 0.82);
  --panel-solid: #1b1814;
  --line: rgba(226, 194, 127, 0.22);
  --line-strong: rgba(226, 194, 127, 0.44);
  --gold: #d2a64f;
  --gold-soft: #efd89e;
  --red: #a83d2d;
  --red-dark: #6d211b;
  --shadow: rgba(0, 0, 0, 0.46);
  --max: 1180px;
  --radius: 14px;
  --font-body: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 20% 8%, rgba(210, 166, 79, 0.11), transparent 28rem),
    radial-gradient(circle at 88% 28%, rgba(168, 61, 45, 0.12), transparent 30rem),
    linear-gradient(180deg, #11110f 0%, #18130f 46%, #0c0d0c 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: var(--page-scene, url("assets/hero-viking-guild.webp")) center / cover no-repeat;
  opacity: 0.18;
  transform: scale(1.02);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.86), rgba(13, 12, 10, 0.66), rgba(8, 8, 7, 0.9)),
    radial-gradient(circle at 50% 0%, transparent, rgba(0, 0, 0, 0.54) 70%);
}
body.has-language-gate { overflow: hidden; }
body.migration-page { --page-scene: url("assets/section-migration.webp"); }
body.contacts-page { --page-scene: url("assets/section-contacts.webp"); }
body:has(.kingdom-page) { --page-scene: url("assets/section-migration.webp"); }
body:has(.guides-page) { --page-scene: url("assets/section-guides.webp"); }
body:has(.achievement-page), body:has([data-i18n="achievements.title"]) { --page-scene: url("assets/section-achievements.webp"); }
body:has([data-i18n="media.title"]) { --page-scene: url("assets/section-media.webp"); }
body:has([data-i18n="announcements.title"]) { --page-scene: url("assets/announcements-board.webp"); }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(239, 216, 158, 0.9);
  outline-offset: 3px;
}
::selection { background: rgba(210, 166, 79, 0.35); color: #fff8dc; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(190px, 280px) 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 10px clamp(14px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 16, 14, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.26);
}
.brand {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-emblem { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
.brand strong { display: block; color: var(--gold-soft); font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 22px); line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; color: var(--soft); font-size: 12px; line-height: 1.2; margin-top: 3px; }
.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.top-nav::-webkit-scrollbar { display: none; }
.top-nav a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 10px;
  color: #d7cbbd;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.top-nav a:hover, .top-nav a.active {
  background: linear-gradient(180deg, rgba(210,166,79,.18), rgba(168,61,45,.16));
  color: var(--gold-soft);
  transform: translateY(-1px);
}
.language-switcher { display: inline-flex; align-items: center; justify-content: end; }
.language-switcher select {
  min-height: 42px;
  width: 150px;
  max-width: 22vw;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16, 14, 12, 0.86);
  color: var(--gold-soft);
  padding: 0 12px;
  font-weight: 800;
}

main, .page, .section { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
main { padding-bottom: 76px; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.page { padding: clamp(34px, 6vw, 70px) 0 84px; }

.hero, .unified-page-title {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(12, 12, 10, 0.92) 0%, rgba(18, 14, 12, 0.78) 48%, rgba(18, 14, 12, 0.22) 100%),
    var(--page-scene, url("assets/hero-viking-guild.webp")) center / cover no-repeat;
  box-shadow: 0 28px 70px var(--shadow);
}
.hero {
  width: min(1280px, calc(100% - 36px));
  min-height: min(650px, calc(100dvh - 94px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  margin: 22px auto 0;
  padding: clamp(34px, 7vw, 74px);
}
.hero.harbor-hero { background-image: linear-gradient(90deg, rgba(12, 12, 10, 0.95) 0%, rgba(18, 14, 12, 0.74) 52%, rgba(18, 14, 12, 0.2) 100%), url("assets/hero-viking-guild.webp"); }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1, .unified-page-title h1, h1, h2, h3 { font-family: var(--font-display); color: var(--gold-soft); line-height: 1.05; }
.hero h1 { margin: 0 0 18px; font-size: clamp(42px, 7vw, 86px); max-width: 760px; }
.hero p { max-width: 62ch; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.55; }
.hero-emblem { position: relative; z-index: 2; justify-self: end; width: min(390px, 100%); }
.hero-emblem img { width: 100%; filter: drop-shadow(0 26px 36px rgba(0,0,0,.64)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.unified-page-title {
  min-height: 300px;
  display: grid;
  align-content: end;
  margin-bottom: clamp(28px, 5vw, 56px);
  padding: clamp(26px, 5vw, 56px);
}
.unified-page-title::after, .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,216,158,.65), transparent);
}
.unified-page-title h1, .page-title h1 { margin: 0 0 12px; font-size: clamp(36px, 6vw, 72px); max-width: 820px; }
.unified-page-title p, .page-title p { max-width: 66ch; margin: 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); }
.eyebrow, .course-compass, .course-scroll { display: none !important; }

h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 48px); }
h3 { margin-bottom: 10px; font-size: clamp(21px, 2.4vw, 30px); }
p, li { color: var(--muted); }
ul { padding-left: 1.1em; }

.button, button.button, .feature-card a, .panel a:not(.form-support), .guide-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(22, 18, 14, 0.72);
  color: var(--gold-soft);
  padding: 10px 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}
.button:hover, .feature-card a:hover, .panel a:not(.form-support):hover { transform: translateY(-2px); border-color: rgba(239,216,158,.78); }
.button:active, .feature-card a:active, .panel a:not(.form-support):active { transform: translateY(0) scale(.98); }
.button.primary, button.button.primary {
  border-color: #f0cf82;
  background: linear-gradient(180deg, #e3bb62, #b6792d);
  color: #15100a;
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}

.section-heading, .course-heading { max-width: 760px; margin-bottom: 22px; }
.section-heading h2, .course-heading h2 { margin: 0 0 10px; }
.course-intro { margin: 0; max-width: 62ch; }
.feature-grid, .content-grid, .media-grid, .officer-grid, .guide-grid, .notice-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .panel, .timeline-item, .rank-list article, .media-tile, .officer-card, .guide-card, .notice-categories article, .empty-state, .kingdom-note {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 27, 22, 0.9), rgba(18, 16, 14, 0.86));
  box-shadow: 0 20px 48px rgba(0,0,0,.24);
}
.feature-card::before, .panel::before, .officer-card::before, .guide-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(210,166,79,.75), transparent);
  opacity: .5;
}
.feature-card, .panel, .notice-categories article, .empty-state, .kingdom-note { padding: clamp(20px, 3vw, 30px); }
.feature-card h3, .panel h2 { margin-bottom: 10px; }
.feature-card p, .panel p { margin-bottom: 18px; }
.availability, .required-label, .social-coming { color: var(--gold-soft); font-size: 14px; font-weight: 900; }
.two-columns { grid-template-columns: .9fr 1.1fr; align-items: start; }

.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; }
.form input, .form textarea, .workbook-tools input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(226,194,127,.28);
  border-radius: 10px;
  background: rgba(10, 10, 9, 0.65);
  color: var(--ink);
  padding: 12px 13px;
  font-size: 16px;
}
.form textarea { resize: vertical; }
.form-help { margin: 0; font-size: 14px; }
.form-support { color: var(--gold-soft); text-underline-offset: 4px; }
[hidden], .form label[hidden] { display: none !important; }
#application { scroll-margin-top: 110px; }

.kingdom-page { max-width: 1220px; }
.kingdom-lead {
  position: relative;
  display: grid;
  grid-template-columns: 84px 210px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15,13,12,.82), rgba(30,20,15,.66)),
    url("assets/leader-throne.webp") center / cover no-repeat;
  box-shadow: 0 28px 70px var(--shadow);
}
.rank-badge {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #d0a14b, #7c4825);
  color: #fff3c7;
  font-family: var(--font-display);
  font-weight: 900;
  clip-path: polygon(50% 0%, 90% 18%, 90% 72%, 50% 100%, 10% 72%, 10% 18%);
  text-shadow: 0 2px 5px rgba(0,0,0,.5);
}
.rank-badge.large { width: 84px; height: 84px; font-size: 30px; }
.portrait-crop { overflow: hidden; border-radius: 50%; background: #151312; box-shadow: 0 18px 38px rgba(0,0,0,.42); }
.officer-avatar { width: 116px; height: 116px; object-fit: cover; object-position: center 25%; border-radius: 50%; transform: none; }
.lead-avatar { width: 205px; height: 205px; border: 2px solid rgba(239,216,158,.55); animation: leader-glow 3s ease-in-out infinite alternate; }
@keyframes leader-glow { from { box-shadow: 0 0 0 rgba(210,166,79,0), 0 18px 38px rgba(0,0,0,.48); } to { box-shadow: 0 0 34px rgba(210,166,79,.24), 0 18px 38px rgba(0,0,0,.48); } }
.kingdom-lead h2 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 74px); }
.kingdom-lead p { max-width: 56ch; margin-bottom: 22px; }
.kingdom-section { padding-top: 48px; }
.officer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.officer-card {
  min-height: 280px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.officer-card .rank-badge { position: absolute; top: 18px; left: 18px; width: 42px; height: 42px; font-size: 14px; }
.officer-card h3 { margin: 8px 0 0; font-size: clamp(23px, 2.4vw, 32px); }
.kingdom-note { margin-top: 32px; }
.kingdom-note h2 { font-size: clamp(26px, 3.4vw, 42px); }
.kingdom-page .portrait-crop img[alt="Winter Sandor"] { object-position: center 18%; }
.kingdom-page .portrait-crop img[alt="береза"] { transform: scale(1.3); transform-origin: 50% 50%; object-position: center; }
.kingdom-page .portrait-crop img[alt="HellKatz"] { transform: scale(1.6); transform-origin: 50% 25%; object-position: center; }
.kingdom-page .portrait-crop img[alt="JaneFoster"] { transform: scale(1.95); transform-origin: 50% 43%; object-position: center; }

.media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-tile { min-height: 180px; display: flex; align-items: end; padding: 20px; background: linear-gradient(160deg, rgba(111,33,27,.58), rgba(25,22,18,.92)), var(--page-scene) center / cover; }
.media-tile span { color: var(--gold-soft); font-weight: 900; font-size: 22px; }
.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 22px; }
.timeline-item span, .rank-list span { color: var(--gold-soft); font-family: var(--font-display); font-size: 26px; }
.rank-list { display: grid; gap: 14px; }
.rank-list article { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; padding: 22px; }

.guides-page { max-width: 1220px; }
.guide-directory, .guide-category, .guide-workbook { display: grid; gap: 20px; }
.guide-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: end; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-card { min-height: 170px; display: grid; align-content: start; gap: 10px; padding: 22px; }
.guide-card span, .guide-list strong { color: var(--gold-soft); font-weight: 900; }
.guide-list { display: grid; gap: 12px; }
.guide-list article { display: grid; grid-template-columns: 42px minmax(160px, 240px) 1fr; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(23,21,18,.78); }
.guide-credit { margin-top: 34px; color: var(--muted); }
.workbook-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.workbook-sheet, .guide-link-group { border: 1px solid var(--line); border-radius: 12px; background: rgba(23,21,18,.78); padding: 18px; }

.youtube-mark { display: inline-grid; place-items: center; width: 50px; height: 34px; border-radius: 9px; background: var(--red); color: #fff0d8; margin-bottom: 18px; font-size: 18px; }
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}
.site-footer span:first-child { color: var(--gold-soft); font-family: var(--font-display); }

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: linear-gradient(180deg, rgba(8,8,7,.36), rgba(8,8,7,.84)), url("assets/hero-viking-guild.webp") center / cover no-repeat;
}
.language-gate[hidden] { display: none; }
.gate-panel { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; width: min(720px, 100%); text-align: center; }
.gate-logo-wrap { width: min(380px, 58vw); }
.gate-logo, .gate-logo-fallback { width: 100%; }
.gate-logo-fallback { display: none; }
.cinematic-intro { margin: 0; color: var(--gold-soft); font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); letter-spacing: .08em; text-transform: uppercase; }
.language-question { margin: 0 0 14px; color: var(--ink); font-weight: 800; }
.rune-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(720px, 92vw); }
.rune-button {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(18, 15, 12, .82);
  color: var(--gold-soft);
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}
.rune-button:hover { background: rgba(210,166,79,.18); }

.scene-loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at 50% 42%, #30251e, #0d0e0d 68%);
  color: var(--gold-soft);
  text-align: center;
  transition: opacity 360ms ease;
}
.scene-loading.is-ready { opacity: 0; pointer-events: none; }
.scene-loading strong { font-family: var(--font-display); font-size: clamp(22px, 4vw, 38px); }
.loading-quip, .loading-small { color: var(--muted); }
.loading-toast { position: relative; width: 230px; height: 152px; }
.toast-mug { position: absolute; top: 18px; width: 104px; height: 118px; filter: drop-shadow(0 8px 8px rgba(0,0,0,.65)); }
.toast-mug img { width: 100%; height: 100%; object-fit: contain; }
.mug-left { left: 5px; animation: toast-left 3s ease-in-out infinite; }
.mug-right { right: 5px; animation: toast-right 3s ease-in-out infinite; }
.toast-foam { position: absolute; top: 25px; left: 50%; }
.toast-foam i { position: absolute; width: 5px; height: 7px; border-radius: 50%; background: #f5e6bd; --x: 20px; --y: -24px; animation: foam-splash 3s infinite; }
.toast-foam i:nth-child(2) { --x: -24px; --y: -22px; }
.toast-foam i:nth-child(3) { --x: 8px; --y: -38px; }
.toast-foam i:nth-child(4) { --x: -10px; --y: -34px; }
@keyframes toast-left { 0%,100% { transform: translate(-4px,7px) rotate(-2deg); } 25% { transform: translate(3px,-5px) rotate(1deg); } 45% { transform: translate(11px,-12px) rotate(3deg); } 65% { transform: translate(4px,-5px) rotate(1deg); } 85% { transform: translate(-3px,5px) rotate(-2deg); } }
@keyframes toast-right { 0%,100% { transform: scaleX(-1) translate(-4px,6px) rotate(-2deg); } 25% { transform: scaleX(-1) translate(2px,-4px) rotate(0deg); } 45% { transform: scaleX(-1) translate(11px,-12px) rotate(3deg); } 65% { transform: scaleX(-1) translate(5px,-6px) rotate(1deg); } 85% { transform: scaleX(-1) translate(-2px,4px) rotate(-1deg); } }
@keyframes foam-splash { 0%,33%,85%,100% { opacity: 0; transform: translate(0,0) scale(.5); } 37% { opacity: 1; transform: translate(0,0); } 70% { opacity: 0; transform: translate(var(--x),var(--y)) scale(.5); } }

@media (prefers-reduced-motion: no-preference) {
  .feature-card, .panel, .officer-card, .guide-card { transition: transform 180ms ease, border-color 180ms ease; }
  .feature-card:hover, .panel:hover, .officer-card:hover, .guide-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .top-nav { grid-column: 1 / -1; justify-content: start; order: 3; padding-bottom: 3px; }
  .brand strong { max-width: 44vw; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-emblem { width: min(260px, 58vw); justify-self: start; grid-row: 1; }
  .content-grid, .two-columns, .feature-grid, .officer-grid, .guide-grid, .guide-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kingdom-lead { grid-template-columns: 72px 170px minmax(0,1fr); }
  .lead-avatar { width: 170px; height: 170px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { min-height: 64px; padding: 8px 12px; gap: 10px; }
  .brand { grid-template-columns: 48px 1fr; }
  .brand-emblem { width: 48px; height: 48px; }
  .brand small { display: none; }
  .brand strong { max-width: 46vw; font-size: 15px; }
  .language-switcher select { width: 124px; max-width: 34vw; }
  main, .page, .section, .hero, .site-footer { width: min(100% - 24px, var(--max)); }
  .hero, .unified-page-title { border-radius: 12px; }
  .hero { margin-top: 12px; padding: 26px 20px; }
  .hero h1 { font-size: clamp(36px, 11vw, 54px); }
  .unified-page-title { min-height: 250px; padding: 24px 20px; }
  .unified-page-title h1 { font-size: clamp(34px, 10vw, 54px); }
  .feature-grid, .content-grid, .media-grid, .officer-grid, .guide-grid, .guide-grid.four, .notice-categories, .guide-band { grid-template-columns: 1fr; }
  .kingdom-lead { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .rank-badge.large { width: 72px; height: 72px; }
  .lead-avatar { width: 180px; height: 180px; }
  .officer-card { min-height: 242px; }
  .guide-list article, .timeline-item, .rank-list article { grid-template-columns: 1fr; }
  .hero-actions, .workbook-tools { align-items: stretch; }
  .button, button.button, .feature-card a, .panel a:not(.form-support) { width: 100%; }
  .rune-choice { grid-template-columns: 1fr 1fr; }
  .cinematic-intro { font-size: clamp(22px, 7vw, 34px); }
  .site-footer { flex-direction: column; }
}
@media (max-width: 390px) {
  .top-nav a { padding-inline: 9px; font-size: 13px; }
  .language-switcher select { width: 112px; font-size: 13px; }
  .officer-card h3 { font-size: 24px; }
}

/* Longship Voyage direction */
:root {
  --voyage-sea: #07151b;
  --voyage-blue: #102a35;
  --voyage-foam: #d7e5df;
  --voyage-fire: #d98137;
  --voyage-gold: #e4bd69;
  --voyage-bronze: #9a672f;
}

body {
  background:
    radial-gradient(circle at 14% 12%, rgba(75, 134, 147, 0.2), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(217, 129, 55, 0.14), transparent 28rem),
    linear-gradient(180deg, #071217 0%, #0b1820 45%, #071012 100%);
}

body::before {
  opacity: 0.2;
  filter: saturate(1.05) contrast(1.05);
}

body::after {
  background:
    linear-gradient(90deg, rgba(4, 10, 12, 0.9), rgba(9, 19, 24, 0.58), rgba(4, 10, 12, 0.88)),
    radial-gradient(circle at 50% 8%, rgba(215, 229, 223, 0.1), transparent 34rem),
    linear-gradient(180deg, transparent, rgba(2, 6, 8, 0.6) 76%);
}

.site-header {
  border-bottom-color: rgba(228, 189, 105, 0.25);
  background: linear-gradient(180deg, rgba(4, 13, 17, 0.94), rgba(9, 17, 17, 0.88));
}

.brand strong,
.site-footer span:first-child,
.hero h1,
.unified-page-title h1,
h1,
h2,
h3 {
  color: #f1dca0;
}

.top-nav {
  gap: 7px;
}

.top-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: #cad7d4;
}

.top-nav a:hover,
.top-nav a.active {
  border-color: rgba(228, 189, 105, 0.34);
  background:
    linear-gradient(180deg, rgba(228, 189, 105, 0.16), rgba(13, 44, 58, 0.3));
  color: #ffe6a6;
}

.language-switcher select {
  border-radius: 999px;
  background: rgba(4, 13, 17, 0.88);
  color: #ffe6a6;
}

.hero {
  isolation: isolate;
  min-height: min(690px, calc(100dvh - 92px));
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 440px);
  border-color: rgba(228, 189, 105, 0.32);
  background:
    radial-gradient(circle at 18% 50%, rgba(228, 189, 105, 0.14), transparent 26rem),
    linear-gradient(90deg, rgba(4, 12, 15, 0.93) 0%, rgba(7, 21, 27, 0.74) 48%, rgba(7, 21, 27, 0.2) 100%),
    url("assets/section-migration.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  left: clamp(24px, 8vw, 120px);
  right: clamp(24px, 8vw, 120px);
  bottom: clamp(18px, 4vw, 42px);
  z-index: 1;
  height: 86px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at 50% 100%, transparent 0 18px, rgba(215, 229, 223, 0.1) 19px 21px, transparent 23px 42px);
  opacity: 0.56;
  transform: perspective(460px) rotateX(62deg);
  pointer-events: none;
}

.hero-content {
  padding-bottom: 46px;
}

.hero h1 {
  max-width: 680px;
  text-shadow: 0 20px 36px rgba(0, 0, 0, 0.58);
}

.hero p {
  color: #d8ddd5;
}

.hero-emblem {
  align-self: stretch;
  display: grid;
  place-items: center;
  width: min(360px, 100%);
}

.hero-emblem::before {
  content: "";
  position: absolute;
  width: min(360px, 48vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(228, 189, 105, 0.24), transparent 58%),
    linear-gradient(180deg, rgba(7, 21, 27, 0.76), rgba(4, 10, 12, 0.82));
  border: 1px solid rgba(228, 189, 105, 0.22);
}

.hero-emblem img {
  position: relative;
  z-index: 1;
}

.button,
button.button,
.feature-card a,
.panel a:not(.form-support),
.guide-card a {
  border-radius: 999px;
  border-color: rgba(228, 189, 105, 0.36);
  background: rgba(5, 18, 23, 0.76);
  color: #ffe6a6;
}

.button.primary,
button.button.primary {
  border-color: #ffe39a;
  background: linear-gradient(180deg, #f2ca6b, #b8752e);
  color: #0b1518;
}

.section-heading,
.course-heading {
  margin-inline: auto;
  text-align: center;
}

.course-heading::after {
  content: "";
  display: block;
  width: min(520px, 72vw);
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, rgba(228, 189, 105, 0.7), transparent);
}

.feature-grid {
  position: relative;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.feature-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 55px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(228, 189, 105, 0.55), transparent);
  opacity: 0.7;
}

.feature-card {
  min-height: 235px;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  padding: 116px 18px 22px;
  background:
    linear-gradient(180deg, rgba(11, 35, 44, 0.8), rgba(10, 18, 20, 0.88)),
    radial-gradient(circle at 50% 20%, rgba(228, 189, 105, 0.16), transparent 44%);
}

.feature-card::before {
  left: 50%;
  top: 18px;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(228, 189, 105, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(228, 189, 105, 0.5), transparent 23%),
    linear-gradient(180deg, rgba(15, 52, 65, 0.92), rgba(4, 14, 18, 0.94));
  opacity: 1;
  transform: translateX(-50%);
  box-shadow: inset 0 0 18px rgba(228, 189, 105, 0.12), 0 10px 20px rgba(0,0,0,.25);
}

.feature-card h3 {
  font-size: clamp(18px, 1.8vw, 25px);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
}

.availability {
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.unified-page-title {
  border-color: rgba(228, 189, 105, 0.32);
  background:
    radial-gradient(circle at 18% 50%, rgba(228, 189, 105, 0.12), transparent 26rem),
    linear-gradient(90deg, rgba(4, 12, 15, 0.95), rgba(7, 21, 27, 0.72), rgba(7, 21, 27, 0.22)),
    var(--page-scene, url("assets/section-migration.webp")) center / cover no-repeat;
}

.panel,
.notice-categories article,
.empty-state,
.kingdom-note,
.guide-card,
.workbook-sheet,
.guide-link-group,
.timeline-item,
.rank-list article {
  background: linear-gradient(180deg, rgba(13, 33, 40, 0.86), rgba(10, 18, 20, 0.9));
  border-color: rgba(228, 189, 105, 0.22);
}

.panel::before,
.guide-card::before {
  background: linear-gradient(90deg, transparent, rgba(88, 151, 164, 0.55), rgba(228, 189, 105, 0.55), transparent);
}

.media-tile {
  background:
    linear-gradient(160deg, rgba(7, 21, 27, 0.7), rgba(4, 13, 17, 0.9)),
    var(--page-scene) center / cover;
}

.kingdom-lead {
  background:
    linear-gradient(90deg, rgba(4, 12, 15, 0.88), rgba(18, 29, 29, 0.5)),
    url("assets/section-migration.webp") center / cover no-repeat;
}

.officer-card {
  background:
    linear-gradient(180deg, rgba(13, 33, 40, 0.88), rgba(10, 18, 20, 0.92));
}

.officer-card::before {
  background: linear-gradient(90deg, transparent, rgba(228, 189, 105, 0.62), transparent);
}

.rank-badge {
  background: linear-gradient(145deg, #e1b65d, #7b5429);
}

.portrait-crop {
  border: 1px solid rgba(228, 189, 105, 0.38);
}

.language-gate {
  background:
    linear-gradient(180deg, rgba(5, 16, 20, 0.18), rgba(5, 16, 20, 0.82)),
    url("assets/hero-viking-guild.webp") center / cover no-repeat;
}

.language-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(7, 21, 27, 0.48) 52%, rgba(4, 12, 15, 0.86)),
    repeating-radial-gradient(ellipse at 50% 100%, transparent 0 21px, rgba(215, 229, 223, 0.08) 22px 24px, transparent 25px 45px);
}

.scene-loading {
  background:
    radial-gradient(circle at 50% 42%, rgba(55, 91, 92, 0.34), transparent 22rem),
    linear-gradient(180deg, #081419, #050a0c 70%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: voyage-water 7s ease-in-out infinite alternate;
  }

  .hero-emblem {
    animation: voyage-float 5s ease-in-out infinite;
  }
}

@keyframes voyage-water {
  from { transform: perspective(460px) rotateX(62deg) translateX(-12px); opacity: 0.45; }
  to { transform: perspective(460px) rotateX(62deg) translateX(12px); opacity: 0.72; }
}

@keyframes voyage-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@media (max-width: 1280px) {
  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid::before {
    display: none;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-nav a {
    border-radius: 999px;
  }

  .hero {
    min-height: 560px;
    background-position: center;
  }

  .hero-emblem {
    width: min(220px, 58vw);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 230px;
  }
}

/* Voyage preview tuning after visual check */
.hero.harbor-hero,
.hero.battlefield-hero {
  background:
    radial-gradient(circle at 18% 50%, rgba(228, 189, 105, 0.14), transparent 26rem),
    linear-gradient(90deg, rgba(4, 12, 15, 0.94) 0%, rgba(7, 21, 27, 0.72) 44%, rgba(7, 21, 27, 0.18) 100%),
    url("assets/section-migration.webp") center / cover no-repeat;
}

.harbor-scene,
.battlefield-smoke,
.harbor-embers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content,
.hero-emblem {
  z-index: 2;
}

.hero-emblem {
  align-self: center;
  justify-self: center;
  width: min(310px, 28vw);
}

.hero-emblem::before {
  width: min(310px, 30vw);
}

.hero-content {
  padding-bottom: 0;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 78px);
}

@media (max-width: 1120px) and (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  }

  .hero-emblem {
    grid-row: auto;
    justify-self: center;
    width: min(260px, 28vw);
  }

  .hero-emblem::before {
    width: min(260px, 30vw);
  }
}

@media (max-width: 760px) {
  .hero-emblem {
    grid-row: 1;
    width: min(180px, 48vw);
  }

  .hero-emblem::before {
    width: min(190px, 52vw);
  }
}

/* Full Longship Voyage commitment: no guild-logo artwork outside leadership portraits. */
.brand {
  display: block;
}

.brand-emblem,
.hero-emblem,
.gate-logo-wrap,
.gate-logo,
.gate-logo-fallback {
  display: none !important;
}

.brand strong {
  max-width: none;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: .08em;
}

.brand small {
  color: #9fb3af;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-header {
  grid-template-columns: 150px 1fr auto;
  background: linear-gradient(180deg, rgba(2, 12, 16, 0.95), rgba(4, 15, 19, 0.9));
}

.hero,
.hero.harbor-hero,
.hero.battlefield-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: min(720px, calc(100dvh - 92px));
  background:
    linear-gradient(90deg, rgba(4, 12, 15, 0.88) 0%, rgba(7, 21, 27, 0.44) 46%, rgba(7, 21, 27, 0.08) 100%),
    url("assets/section-migration.webp") center / cover no-repeat;
}

.hero-content {
  width: min(650px, 100%);
  max-width: min(650px, 74vw);
}

.hero h1 {
  font-size: clamp(48px, 7.2vw, 92px);
}

.hero::before {
  left: 7%;
  right: 7%;
  bottom: 22px;
  height: 118px;
}

.unified-page-title {
  background:
    linear-gradient(90deg, rgba(4, 12, 15, 0.9), rgba(7, 21, 27, 0.48), rgba(7, 21, 27, 0.14)),
    var(--page-scene, url("assets/section-migration.webp")) center / cover no-repeat;
}

.feature-grid {
  margin-top: 30px;
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(10, 40, 51, 0.78), rgba(6, 17, 22, 0.94)),
    radial-gradient(circle at 50% 20%, rgba(228, 189, 105, 0.13), transparent 42%);
}

.feature-card::before {
  content: "";
}

.language-gate {
  background:
    linear-gradient(180deg, rgba(5, 16, 20, 0.18), rgba(5, 16, 20, 0.86)),
    url("assets/section-migration.webp") center / cover no-repeat;
}

.gate-panel {
  margin-top: 16vh;
}

.cinematic-intro {
  max-width: 760px;
  text-shadow: 0 18px 35px rgba(0,0,0,.72);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero,
  .hero.harbor-hero,
  .hero.battlefield-hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .brand strong {
    font-size: 22px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero,
  .hero.harbor-hero,
  .hero.battlefield-hero {
    min-height: 590px;
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }
}

/* Homepage match for selected concept 4: longship voyage landing. */
body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  min-height: min(720px, calc(100dvh - 120px));
  align-items: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(228, 189, 105, 0.14), transparent 24rem),
    linear-gradient(90deg, rgba(4, 12, 15, 0.7) 0%, rgba(7, 21, 27, 0.22) 48%, rgba(7, 21, 27, 0.22) 100%),
    linear-gradient(180deg, rgba(4, 12, 15, 0.1), rgba(4, 12, 15, 0.38) 72%, rgba(4, 12, 15, 0.86)),
    url("assets/section-migration.webp") center / cover no-repeat;
}

body:has(.harbor-hero) .hero-content {
  width: min(720px, 100%);
  max-width: min(720px, 92vw);
  justify-self: center;
  padding-top: clamp(80px, 11vw, 150px);
}

body:has(.harbor-hero) .hero h1 {
  margin-bottom: 10px;
  font-size: clamp(72px, 13vw, 150px);
  letter-spacing: .08em;
  line-height: .86;
  text-transform: uppercase;
}

body:has(.harbor-hero) .hero p {
  max-width: 520px;
  margin-inline: auto;
  color: #f2e5c6;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

body:has(.harbor-hero) .hero-actions {
  justify-content: center;
  margin-top: 24px;
}

body:has(.harbor-hero) .section {
  padding-top: 34px;
}

body:has(.harbor-hero) .course-heading {
  display: none;
}

body:has(.harbor-hero) .feature-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(7, minmax(84px, 1fr));
  gap: clamp(8px, 1.4vw, 20px);
  align-items: start;
  margin: -110px auto 0;
  padding: 18px 18px 22px;
  border: 1px solid rgba(228, 189, 105, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(3, 12, 16, 0.62), rgba(3, 12, 16, 0.86));
  backdrop-filter: blur(10px);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

body:has(.harbor-hero) .feature-grid::before {
  display: none;
}

body:has(.harbor-hero) .feature-card {
  min-height: 118px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body:has(.harbor-hero) .feature-card::before {
  position: static;
  transform: none;
  width: clamp(58px, 6vw, 82px);
  height: clamp(58px, 6vw, 82px);
  border-radius: 50%;
  border: 1px solid rgba(228, 189, 105, 0.55);
  background:
    radial-gradient(circle at 50% 38%, rgba(228, 189, 105, 0.58), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(9, 41, 52, 0.68), rgba(4, 13, 17, 0.94) 66%);
  box-shadow: inset 0 0 18px rgba(228, 189, 105, 0.16), 0 10px 22px rgba(0,0,0,.28);
}

body:has(.harbor-hero) .feature-card h3 {
  margin: 0;
  min-height: 34px;
  display: grid;
  align-items: center;
  color: #f2dfa2;
  font-family: var(--font-body);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.18;
  text-transform: uppercase;
}

body:has(.harbor-hero) .feature-card p,
body:has(.harbor-hero) .feature-card .availability {
  display: none;
}

body:has(.harbor-hero) .feature-card a {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: transparent;
  box-shadow: none;
}

body:has(.harbor-hero) .feature-card:hover::before {
  border-color: rgba(255, 228, 163, 0.9);
  box-shadow: inset 0 0 18px rgba(228, 189, 105, 0.22), 0 0 24px rgba(228, 189, 105, 0.16), 0 12px 24px rgba(0,0,0,.32);
}

@media (max-width: 980px) {
  body:has(.harbor-hero) .feature-grid {
    grid-template-columns: repeat(4, minmax(86px, 1fr));
    margin-top: -76px;
  }
}

@media (max-width: 760px) {
  body:has(.harbor-hero) .hero h1 {
    font-size: clamp(62px, 20vw, 96px);
  }

  body:has(.harbor-hero) .hero p {
    font-size: 13px;
  }

  body:has(.harbor-hero) .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }
}

/* Stronger match to concept 4: homepage is the longship screen. */
body:has(.harbor-hero) {
  background: #061217;
}

body:has(.harbor-hero)::before,
body:has(.harbor-hero)::after {
  display: none;
}

body:has(.harbor-hero) .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  min-height: 72px;
  grid-template-columns: 96px 1fr auto;
  border-bottom: 1px solid rgba(228, 189, 105, 0.22);
  background: linear-gradient(180deg, rgba(2, 12, 16, 0.82), rgba(2, 12, 16, 0.22));
  box-shadow: none;
  backdrop-filter: blur(8px);
}

body:has(.harbor-hero) .brand strong {
  font-size: clamp(26px, 2.8vw, 42px);
  letter-spacing: .12em;
}

body:has(.harbor-hero) .brand small {
  font-size: 10px;
  letter-spacing: .2em;
}

body:has(.harbor-hero) main {
  width: 100%;
  padding-bottom: 0;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(96px, 12vh, 132px) clamp(18px, 5vw, 76px) clamp(170px, 22vh, 240px);
  background:
    radial-gradient(circle at 50% 52%, rgba(228, 189, 105, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(4, 12, 15, 0.34) 0%, rgba(4, 12, 15, 0.08) 46%, rgba(4, 12, 15, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 12, 15, 0.22), rgba(4, 12, 15, 0.15) 54%, rgba(4, 12, 15, 0.82) 100%),
    url("assets/section-migration.webp") center / cover no-repeat;
}

body:has(.harbor-hero) .hero::after {
  display: none;
}

body:has(.harbor-hero) .hero-content {
  align-self: center;
  justify-self: center;
  width: min(760px, 92vw);
  max-width: 760px;
  padding-top: 0;
  transform: translateY(4vh);
}

body:has(.harbor-hero) .hero h1 {
  margin: 0;
  font-size: clamp(92px, 16vw, 190px);
  letter-spacing: .12em;
  line-height: .78;
  text-shadow:
    0 8px 0 rgba(74, 43, 17, 0.22),
    0 28px 54px rgba(0, 0, 0, 0.74);
}

body:has(.harbor-hero) .hero p {
  margin-top: clamp(10px, 1.6vw, 20px);
  max-width: none;
  color: #f5e5bc;
  font-size: clamp(14px, 1.8vw, 22px);
  letter-spacing: .34em;
  text-shadow: 0 12px 24px rgba(0,0,0,.72);
}

body:has(.harbor-hero) .hero-actions {
  margin-top: 26px;
}

body:has(.harbor-hero) .hero-actions .button {
  min-width: 150px;
  min-height: 46px;
}

body:has(.harbor-hero) .section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

body:has(.harbor-hero) .feature-grid {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 42px);
  z-index: 5;
  width: min(1120px, calc(100% - 44px));
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body:has(.harbor-hero) .feature-card::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(244, 220, 151, 0.68), transparent 13%),
    radial-gradient(circle at 50% 50%, rgba(9, 41, 52, 0.72), rgba(4, 13, 17, 0.96) 68%);
}

body:has(.harbor-hero) .feature-card h3 {
  color: #f5e5bc;
  text-shadow: 0 8px 16px rgba(0,0,0,.9);
}

body:has(.harbor-hero) .site-footer {
  display: none;
}

@media (max-width: 980px) {
  body:has(.harbor-hero) .site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
    background: rgba(2, 12, 16, 0.94);
  }

  body:has(.harbor-hero) .hero,
  body:has(.harbor-hero) .hero.harbor-hero,
  body:has(.harbor-hero) .hero.battlefield-hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 38px;
  }

  body:has(.harbor-hero) .feature-grid {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 24px, 680px);
    transform: none;
    margin: 22px auto 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    border: 1px solid rgba(228, 189, 105, 0.22);
    border-radius: 18px;
    background: rgba(3, 12, 16, 0.74);
  }
}

/* Exact concept 4 pass: Longship Voyage home screen */
body:has(.harbor-hero) .site-header {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
  padding-inline: clamp(16px, 3vw, 44px);
}

body:has(.harbor-hero) .brand {
  min-width: 150px;
  grid-template-columns: 1fr;
  gap: 0;
}

body:has(.harbor-hero) .brand strong {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  color: #f7e8bf;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: .08em;
  line-height: .88;
}

body:has(.harbor-hero) .brand small {
  display: block;
  margin-top: 7px;
  color: rgba(247, 232, 191, .78);
  font-size: clamp(9px, .8vw, 11px);
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: normal;
}

body:has(.harbor-hero) .nav-links {
  justify-self: center;
  gap: clamp(2px, .55vw, 8px);
  border: 1px solid rgba(247, 232, 191, .18);
  border-radius: 999px;
  padding: 6px;
  background: rgba(2, 12, 16, .34);
  backdrop-filter: blur(10px);
}

body:has(.harbor-hero) .nav-links a {
  border-radius: 999px;
  padding: 10px 12px;
  color: rgba(247, 232, 191, .76);
  font-size: 11px;
  letter-spacing: .08em;
}

body:has(.harbor-hero) .nav-links a.active,
body:has(.harbor-hero) .nav-links a:hover {
  color: #071217;
  background: #f0d486;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

body:has(.harbor-hero) .language-select select {
  border-radius: 999px;
  background: rgba(2, 12, 16, .38);
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: clamp(86px, 12vh, 132px) clamp(18px, 5vw, 76px) clamp(168px, 22vh, 230px);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 210, 128, .22), transparent 18rem),
    radial-gradient(circle at 50% 78%, rgba(2, 12, 16, .1), rgba(2, 12, 16, .72) 58%, rgba(2, 12, 16, .94) 100%),
    linear-gradient(180deg, rgba(2, 12, 16, .08), rgba(2, 12, 16, .34) 56%, rgba(2, 12, 16, .88) 100%),
    url("assets/section-migration.webp") center / cover no-repeat;
}

body:has(.harbor-hero) .hero-content {
  justify-self: center;
  align-self: center;
  width: min(840px, 94vw);
  text-align: center;
  transform: translateY(3vh);
}

body:has(.harbor-hero) .hero h1 {
  color: #f7e2aa;
  font-size: clamp(108px, 18vw, 226px);
  letter-spacing: .1em;
  line-height: .74;
  text-transform: uppercase;
}

body:has(.harbor-hero) .hero p {
  margin-inline: auto;
  color: rgba(247, 232, 191, .94);
  font-size: clamp(13px, 1.55vw, 20px);
  font-weight: 900;
  letter-spacing: .42em;
  text-transform: uppercase;
}

body:has(.harbor-hero) .hero-actions {
  justify-content: center;
  gap: 14px;
}

body:has(.harbor-hero) .hero-actions .button {
  border-radius: 999px;
  padding-inline: 22px;
}

body:has(.harbor-hero) .feature-grid {
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  bottom: clamp(24px, 4.8vh, 48px);
}

body:has(.harbor-hero) .feature-card {
  min-height: clamp(92px, 10vw, 122px);
}

body:has(.harbor-hero) .feature-card::before {
  inset: 0;
  border-radius: 999px;
  border-color: rgba(247, 232, 191, .34);
  background:
    radial-gradient(circle at 50% 28%, rgba(247, 232, 191, .74), transparent 11%),
    radial-gradient(circle at 50% 50%, rgba(10, 49, 60, .78), rgba(2, 12, 16, .96) 70%);
}

body:has(.harbor-hero) .feature-card h3 {
  padding: 0 10px;
  font-size: clamp(10px, .85vw, 12px);
  letter-spacing: .12em;
}

.gate-wordmark {
  color: #f7e2aa;
  font-family: var(--font-display);
  font-size: clamp(96px, 18vw, 210px);
  letter-spacing: .1em;
  line-height: .75;
  text-shadow: 0 24px 54px rgba(0,0,0,.8);
}

@media (max-width: 1080px) {
  body:has(.harbor-hero) .site-header {
    grid-template-columns: 1fr auto;
  }

  body:has(.harbor-hero) .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    justify-self: stretch;
    justify-content: flex-start;
  }

  body:has(.harbor-hero) .feature-grid {
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 24px, 760px);
    transform: none;
    margin: 22px auto 40px;
  }
}

@media (max-width: 760px) {
  body:has(.harbor-hero) .brand strong {
    font-size: 26px;
  }

  body:has(.harbor-hero) .brand small {
    font-size: 8px;
    letter-spacing: .18em;
  }

  body:has(.harbor-hero) .hero,
  body:has(.harbor-hero) .hero.harbor-hero,
  body:has(.harbor-hero) .hero.battlefield-hero {
    min-height: 78dvh;
    padding: 44px 16px 32px;
  }

  body:has(.harbor-hero) .hero h1 {
    font-size: clamp(70px, 24vw, 112px);
  }

  body:has(.harbor-hero) .hero p {
    letter-spacing: .22em;
  }

  body:has(.harbor-hero) .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Number 4 exact global redesign: every page uses the Longship Voyage system. */
:root {
  --voyage-ink: #041116;
  --voyage-ink-2: #07191f;
  --voyage-gold: #f4d781;
  --voyage-gold-soft: #f8e8b7;
  --voyage-muted: rgba(248, 232, 183, .78);
  --voyage-line: rgba(248, 232, 183, .24);
  --voyage-glass: rgba(3, 15, 20, .74);
}

body:not(.language-gate) {
  --page-scene: url("assets/section-migration.webp");
  color: var(--voyage-gold-soft);
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 215, 129, .11), transparent 24rem),
    linear-gradient(180deg, rgba(3, 15, 20, .65), rgba(3, 15, 20, .96)),
    url("assets/section-migration.webp") center / cover fixed no-repeat;
}

body:not(.language-gate)::before,
body:not(.language-gate)::after {
  display: none !important;
}

body:not(.language-gate) .site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 10px clamp(16px, 3vw, 44px);
  border: 0;
  border-bottom: 1px solid var(--voyage-line);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(2, 12, 16, .88), rgba(2, 12, 16, .42));
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body:not(.language-gate) .brand {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 150px;
  padding: 0;
  gap: 0;
  text-decoration: none;
}

body:not(.language-gate) .brand img,
body:not(.language-gate) .brand-emblem,
body:not(.language-gate) .hero-emblem,
body:not(.language-gate) .gate-logo,
body:not(.language-gate) .gate-logo-wrap {
  display: none !important;
}

body:not(.language-gate) .brand strong {
  display: block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  color: var(--voyage-gold-soft);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: .86;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0,0,0,.65);
}

body:not(.language-gate) .brand small {
  display: block;
  margin-top: 7px;
  color: var(--voyage-muted);
  font-size: clamp(8px, .75vw, 10px);
  font-weight: 900;
  letter-spacing: .24em;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.language-gate) .nav-links,
body:not(.language-gate) .top-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, .55vw, 8px);
  min-width: 0;
  border: 1px solid rgba(248, 232, 183, .16);
  border-radius: 999px;
  padding: 6px;
  background: rgba(2, 12, 16, .34);
  backdrop-filter: blur(10px);
}

body:not(.language-gate) .nav-links a,
body:not(.language-gate) .top-nav a {
  border-radius: 999px;
  border: 0;
  padding: 10px 12px;
  color: rgba(248, 232, 183, .78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
}

body:not(.language-gate) .nav-links a.active,
body:not(.language-gate) .nav-links a:hover,
body:not(.language-gate) .top-nav a.active,
body:not(.language-gate) .top-nav a:hover {
  color: #071217;
  background: linear-gradient(180deg, #fff1b8, #d99b38);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

body:not(.language-gate) .language-select select {
  min-height: 42px;
  border-radius: 999px;
  border-color: rgba(248, 232, 183, .22);
  color: var(--voyage-gold-soft);
  background: rgba(2, 12, 16, .46);
}

body:not(.language-gate) main,
body:not(.language-gate) .page {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 0 clamp(68px, 8vw, 100px);
}

body:has(.harbor-hero) main,
body:has(.harbor-hero) .page {
  width: 100%;
  padding: 0;
}

body:not(.language-gate) .unified-page-title,
body:not(.language-gate) .page-title {
  position: relative;
  overflow: hidden;
  min-height: clamp(260px, 34vw, 420px);
  display: grid;
  align-content: end;
  margin: 0 0 clamp(28px, 5vw, 58px);
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid rgba(248, 232, 183, .24);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(2, 12, 16, .92) 0%, rgba(2, 12, 16, .58) 48%, rgba(2, 12, 16, .04) 100%),
    url("assets/section-migration.webp") center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(0,0,0,.48);
}

body:not(.language-gate) .unified-page-title::before,
body:not(.language-gate) .page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 20%, rgba(248, 232, 183, .14), transparent 18rem);
  pointer-events: none;
}

body:not(.language-gate) .unified-page-title > *,
body:not(.language-gate) .page-title > * {
  position: relative;
  z-index: 1;
}

body:not(.language-gate) .eyebrow {
  display: none !important;
}

body:not(.language-gate) h1,
body:not(.language-gate) h2,
body:not(.language-gate) h3 {
  color: var(--voyage-gold-soft);
  font-family: var(--font-display);
  text-shadow: 0 12px 30px rgba(0,0,0,.6);
}

body:not(.language-gate) .page-title h1,
body:not(.language-gate) .unified-page-title h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .9;
  letter-spacing: .02em;
}

body:not(.language-gate) .page-title p:not(.eyebrow),
body:not(.language-gate) .unified-page-title p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(248, 232, 183, .84);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 750;
  line-height: 1.45;
}

body:not(.language-gate) .section,
body:not(.language-gate) .panel,
body:not(.language-gate) .announcement-board,
body:not(.language-gate) .notice-empty,
body:not(.language-gate) .guide-shell,
body:not(.language-gate) .workbook,
body:not(.language-gate) .leader-card,
body:not(.language-gate) .roster-section,
body:not(.language-gate) .contact-card,
body:not(.language-gate) .youtube-coming {
  border: 1px solid rgba(248, 232, 183, .2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(3, 15, 20, .74), rgba(3, 15, 20, .5));
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
}

body:not(.language-gate) .content-grid,
body:not(.language-gate) .notice-categories,
body:not(.language-gate) .officer-grid {
  gap: 24px;
}

body:not(.language-gate) .panel,
body:not(.language-gate) .notice-categories article,
body:not(.language-gate) .officer-card,
body:not(.language-gate) .contact-card,
body:not(.language-gate) .youtube-coming {
  border: 1px solid rgba(248, 232, 183, .18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(248, 232, 183, .09), transparent 14rem),
    rgba(3, 15, 20, .68);
  box-shadow: 0 20px 54px rgba(0,0,0,.36);
}

body:not(.language-gate) .panel p,
body:not(.language-gate) .panel li,
body:not(.language-gate) .notice-categories p,
body:not(.language-gate) .notice-empty p,
body:not(.language-gate) .leader-card p,
body:not(.language-gate) .contact-card p,
body:not(.language-gate) .youtube-coming p {
  color: rgba(248, 232, 183, .8);
}

body:not(.language-gate) .button,
body:not(.language-gate) button.button,
body:not(.language-gate) .form-support {
  border-radius: 999px;
  border: 1px solid rgba(248, 232, 183, .28);
  color: var(--voyage-gold-soft);
  background: rgba(2, 12, 16, .54);
  box-shadow: 0 12px 26px rgba(0,0,0,.32);
}

body:not(.language-gate) .button.primary,
body:not(.language-gate) button.button.primary {
  color: #071217;
  background: linear-gradient(180deg, #fff1b8, #d99b38);
}

body:not(.language-gate) input,
body:not(.language-gate) textarea,
body:not(.language-gate) select {
  border-color: rgba(248, 232, 183, .2);
  color: var(--voyage-gold-soft);
  background: rgba(2, 12, 16, .62);
}

body:not(.language-gate) input::placeholder,
body:not(.language-gate) textarea::placeholder {
  color: rgba(248, 232, 183, .42);
}

body:not(.language-gate) .site-footer {
  width: min(100% - 56px, 1180px);
  border: 0;
  color: rgba(248, 232, 183, .54);
  background: transparent;
}

body:has(.harbor-hero) .site-footer {
  display: none;
}

@media (max-width: 1080px) {
  body:not(.language-gate) .site-header {
    grid-template-columns: 1fr auto;
  }

  body:not(.language-gate) .nav-links,
  body:not(.language-gate) .top-nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    justify-self: stretch;
    justify-content: flex-start;
  }

  body:not(.language-gate) main,
  body:not(.language-gate) .page {
    width: min(100% - 28px, 760px);
  }
}

@media (max-width: 760px) {
  body:not(.language-gate) .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  body:not(.language-gate) .brand strong {
    font-size: 28px;
  }

  body:not(.language-gate) .brand small {
    font-size: 8px;
    letter-spacing: .18em;
  }

  body:not(.language-gate) .page-title,
  body:not(.language-gate) .unified-page-title {
    min-height: 230px;
    padding: 28px 22px;
    border-radius: 20px;
  }

  body:not(.language-gate) .page-title h1,
  body:not(.language-gate) .unified-page-title h1 {
    font-size: clamp(44px, 14vw, 68px);
  }
}

/* Final fidelity fix: concept 4 keeps the desktop header on one line and the home hero edge-to-edge. */
body:has(.harbor-hero) .site-header,
body:not(.language-gate) .site-header {
  grid-template-columns: minmax(116px, 158px) minmax(0, 1fr) minmax(116px, 150px);
  gap: clamp(8px, 1.2vw, 18px);
}

body:has(.harbor-hero) .brand,
body:not(.language-gate) .brand {
  min-width: 116px;
}

body:has(.harbor-hero) .brand strong,
body:not(.language-gate) .brand strong {
  font-size: clamp(26px, 2.6vw, 40px);
}

body:has(.harbor-hero) .brand small,
body:not(.language-gate) .brand small {
  font-size: 8px;
  letter-spacing: .18em;
}

body:has(.harbor-hero) .nav-links,
body:not(.language-gate) .nav-links,
body:not(.language-gate) .top-nav {
  order: initial;
  grid-column: auto;
  width: auto;
  max-width: 100%;
  overflow: visible;
  justify-self: center;
  justify-content: center;
  gap: 2px;
  padding: 5px;
}

body:has(.harbor-hero) .nav-links a,
body:not(.language-gate) .nav-links a,
body:not(.language-gate) .top-nav a {
  padding: 9px clamp(7px, .72vw, 11px);
  font-size: clamp(9px, .9vw, 11px);
}

body:has(.harbor-hero) .language-select,
body:not(.language-gate) .language-select {
  justify-self: end;
}

body:has(.harbor-hero) .language-select select,
body:not(.language-gate) .language-select select {
  width: min(150px, 15vw);
  min-width: 112px;
  padding-inline: 14px 28px;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  width: 100vw;
  max-width: none;
  min-height: calc(100dvh - 0px);
  margin: 0;
  padding-top: clamp(96px, 12vh, 132px);
  background-position: center center;
  background-size: cover;
}

body:has(.harbor-hero) .feature-grid {
  display: grid;
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vh, 38px);
  width: min(1050px, calc(100% - 44px));
  transform: translateX(-50%);
  grid-template-columns: repeat(7, minmax(76px, 1fr));
}

@media (max-width: 860px) {
  body:has(.harbor-hero) .site-header,
  body:not(.language-gate) .site-header {
    grid-template-columns: 1fr auto;
  }

  body:has(.harbor-hero) .nav-links,
  body:not(.language-gate) .nav-links,
  body:not(.language-gate) .top-nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    justify-self: stretch;
    justify-content: flex-start;
  }

  body:has(.harbor-hero) .feature-grid {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 680px);
    margin: 22px auto 40px;
  }
}

/* Number 4 exact copy cleanup: no rune/glyph decorations on cards. */
body:not(.language-gate) .notice-icon,
body:not(.language-gate) .notice-seal,
body:not(.language-gate) .youtube-mark {
  display: none !important;
}

/* EXACT NUMBER 4 FOUNDATION: clean Longship Voyage frame to build from. */
html:has(.harbor-hero),
body:has(.harbor-hero) {
  height: 100%;
  overflow: hidden;
}

body:has(.harbor-hero) {
  background: #041116;
}

body:has(.harbor-hero) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 74px;
  grid-template-columns: minmax(118px, 168px) minmax(0, 1fr) minmax(118px, 158px);
  padding: 12px clamp(18px, 3vw, 42px);
  border: 0;
  border-bottom: 1px solid rgba(248, 232, 183, .16);
  background: linear-gradient(180deg, rgba(3, 14, 18, .82), rgba(3, 14, 18, .18));
  backdrop-filter: blur(8px);
}

body:has(.harbor-hero) .brand strong {
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: .06em;
}

body:has(.harbor-hero) .brand small {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: .2em;
}

body:has(.harbor-hero) .nav-links {
  width: auto;
  max-width: min(100%, 640px);
  border-radius: 999px;
  border: 1px solid rgba(248, 232, 183, .18);
  padding: 5px;
  background: rgba(2, 12, 16, .54);
  box-shadow: inset 0 0 22px rgba(255,255,255,.025), 0 18px 48px rgba(0,0,0,.26);
}

body:has(.harbor-hero) .nav-links a {
  padding: 10px clamp(7px, .72vw, 12px);
  font-size: clamp(9px, .82vw, 11px);
  letter-spacing: .02em;
}

body:has(.harbor-hero) .language-select select {
  width: min(148px, 15vw);
  min-width: 116px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(2, 12, 16, .48);
}

body:has(.harbor-hero) main,
body:has(.harbor-hero) .page {
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  position: relative;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(244, 215, 129, .2), transparent 20rem),
    linear-gradient(180deg, rgba(2, 12, 16, .1), rgba(2, 12, 16, .25) 48%, rgba(2, 12, 16, .88) 100%),
    linear-gradient(90deg, rgba(2, 12, 16, .46), rgba(2, 12, 16, .06) 54%, rgba(2, 12, 16, .42)),
    url("assets/section-migration.webp") center / cover no-repeat;
}

body:has(.harbor-hero) .hero-content {
  width: min(820px, 92vw);
  max-width: 820px;
  justify-self: center;
  align-self: center;
  transform: translateY(-1.5vh);
  text-align: center;
}

body:has(.harbor-hero) .hero h1 {
  margin: 0;
  color: #f8e7b2;
  font-size: clamp(112px, 18vw, 230px);
  line-height: .72;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 20px 60px rgba(0,0,0,.76);
}

body:has(.harbor-hero) .hero p {
  margin: clamp(12px, 1.8vw, 22px) auto 0;
  color: rgba(248, 232, 183, .96);
  font-size: clamp(13px, 1.35vw, 18px);
  font-weight: 950;
  letter-spacing: .42em;
  line-height: 1.2;
  text-transform: uppercase;
}

body:has(.harbor-hero) .hero-actions {
  justify-content: center;
  margin-top: clamp(20px, 3vh, 30px);
  gap: 14px;
}

body:has(.harbor-hero) .hero-actions .button {
  min-height: 48px;
  min-width: 150px;
  border-radius: 999px;
}

body:has(.harbor-hero) .section {
  position: static;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

body:has(.harbor-hero) .feature-grid {
  position: fixed;
  left: 50%;
  bottom: clamp(22px, 4vh, 42px);
  z-index: 20;
  width: min(1060px, calc(100vw - 56px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(7, minmax(82px, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:has(.harbor-hero) .feature-card {
  position: relative;
  min-height: clamp(88px, 10.5vw, 118px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:has(.harbor-hero) .feature-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(64px, 6.6vw, 82px);
  height: clamp(64px, 6.6vw, 82px);
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(248, 232, 183, .42);
  background:
    radial-gradient(circle at 50% 27%, rgba(248, 232, 183, .86), transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(10, 54, 64, .86), rgba(2, 12, 16, .97) 70%);
  box-shadow: inset 0 0 18px rgba(248, 232, 183, .06), 0 16px 42px rgba(0,0,0,.44);
}

body:has(.harbor-hero) .feature-card h3 {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max-content;
  max-width: 120px;
  transform: translateX(-50%);
  color: #f8e7b2;
  font-family: var(--font-body);
  font-size: clamp(9px, .8vw, 11px);
  font-weight: 950;
  letter-spacing: .12em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

body:has(.harbor-hero) .feature-card p,
body:has(.harbor-hero) .feature-card .availability,
body:has(.harbor-hero) .feature-card img {
  display: none !important;
}

body:has(.harbor-hero) .feature-card a {
  position: absolute;
  inset: 0;
  color: transparent;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:has(.harbor-hero) .site-footer {
  display: none !important;
}

.language-gate {
  background:
    radial-gradient(circle at 50% 52%, rgba(244, 215, 129, .18), transparent 18rem),
    linear-gradient(180deg, rgba(2, 12, 16, .08), rgba(2, 12, 16, .82)),
    url("assets/section-migration.webp") center / cover no-repeat;
}

.language-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.language-card h1,
.gate-wordmark {
  color: #f8e7b2;
  font-size: clamp(112px, 18vw, 230px);
  line-height: .72;
  letter-spacing: .08em;
  text-shadow: 0 20px 60px rgba(0,0,0,.76);
}

.language-card .tagline {
  color: rgba(248, 232, 183, .96);
  font-size: clamp(22px, 3.6vw, 50px);
  letter-spacing: .16em;
  line-height: 1.25;
}

.language-options button {
  border-radius: 999px;
}

@media (max-width: 860px) {
  html:has(.harbor-hero),
  body:has(.harbor-hero) {
    overflow: auto;
  }

  body:has(.harbor-hero) main,
  body:has(.harbor-hero) .page {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  body:has(.harbor-hero) .site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
  }

  body:has(.harbor-hero) .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  body:has(.harbor-hero) .hero,
  body:has(.harbor-hero) .hero.harbor-hero,
  body:has(.harbor-hero) .hero.battlefield-hero {
    height: auto;
    min-height: 76dvh;
    padding: 52px 18px 36px;
  }

  body:has(.harbor-hero) .hero h1 {
    font-size: clamp(76px, 25vw, 124px);
  }

  body:has(.harbor-hero) .hero p {
    letter-spacing: .24em;
  }

  body:has(.harbor-hero) .feature-grid {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 28px, 680px);
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px auto 42px;
    gap: 16px;
  }
}

/* Exact number 4 correction: lock bottom circle nav to true viewport center. */
body:has(.harbor-hero) .feature-grid {
  left: 50vw !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Button polish for the exact number 4 foundation. */
body:not(.language-gate) .button,
body:not(.language-gate) button.button,
body:not(.language-gate) .form-support,
.language-options button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(248, 232, 183, .28);
  padding: 0 24px;
  color: #f8e7b2;
  font-weight: 950;
  letter-spacing: .02em;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    rgba(2, 12, 16, .58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(248, 232, 183, .06),
    0 14px 30px rgba(0,0,0,.34);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}

body:not(.language-gate) .button::before,
body:not(.language-gate) button.button::before,
body:not(.language-gate) .form-support::before,
.language-options button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.22), transparent 38%);
  opacity: .72;
  pointer-events: none;
}

body:not(.language-gate) .button.primary,
body:not(.language-gate) button.button.primary,
.language-options button:hover,
.language-options button:focus-visible {
  color: #071217;
  border-color: rgba(255, 236, 168, .9);
  background:
    linear-gradient(180deg, #fff3bf 0%, #f0c461 48%, #c98224 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -8px 18px rgba(111, 58, 12, .18),
    0 16px 34px rgba(0,0,0,.38),
    0 0 28px rgba(238, 194, 89, .18);
}

body:not(.language-gate) .button:hover,
body:not(.language-gate) button.button:hover,
body:not(.language-gate) .form-support:hover,
.language-options button:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 232, 183, .64);
  filter: brightness(1.05);
}

body:not(.language-gate) .button:active,
body:not(.language-gate) button.button:active,
body:not(.language-gate) .form-support:active,
.language-options button:active {
  transform: translateY(1px) scale(.99);
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,.22),
    0 8px 18px rgba(0,0,0,.32);
}

body:not(.language-gate) .button:focus-visible,
body:not(.language-gate) button.button:focus-visible,
body:not(.language-gate) .form-support:focus-visible,
.language-options button:focus-visible {
  outline: 2px solid rgba(255, 241, 184, .95);
  outline-offset: 4px;
}

body:has(.harbor-hero) .hero-actions .button {
  min-width: 166px;
  min-height: 52px;
  font-size: 16px;
}

body:has(.harbor-hero) .feature-card::before {
  border-color: rgba(248, 232, 183, .46);
  background:
    radial-gradient(circle at 48% 25%, rgba(255,255,255,.92), transparent 7%),
    radial-gradient(circle at 50% 44%, rgba(34, 86, 91, .9), rgba(2, 12, 16, .98) 68%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -10px 24px rgba(0,0,0,.32),
    0 18px 44px rgba(0,0,0,.48);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
}

body:has(.harbor-hero) .feature-card:hover::before,
body:has(.harbor-hero) .feature-card:focus-within::before {
  transform: translateX(-50%) translateY(-5px) scale(1.04);
  border-color: rgba(255, 236, 168, .92);
  filter: brightness(1.12) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -10px 24px rgba(0,0,0,.3),
    0 22px 50px rgba(0,0,0,.54),
    0 0 30px rgba(238, 194, 89, .24);
}

body:has(.harbor-hero) .feature-card h3 {
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

body:has(.harbor-hero) .feature-card:hover h3,
body:has(.harbor-hero) .feature-card:focus-within h3 {
  color: #fff3bf;
  transform: translateX(-50%) translateY(-2px);
  text-shadow: 0 0 18px rgba(238, 194, 89, .36), 0 10px 20px rgba(0,0,0,.8);
}

@media (max-width: 760px) {
  body:has(.harbor-hero) .hero-actions .button {
    min-width: 0;
    width: min(100%, 220px);
  }
}

/* Bottom voyage buttons: make the circle navigation feel like real crafted buttons. */
body:has(.harbor-hero) .feature-card {
  min-height: 116px;
}

body:has(.harbor-hero) .feature-card::before {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 233, 158, .68);
  background:
    radial-gradient(circle at 38% 25%, rgba(255,255,255,.96) 0 3px, rgba(255,255,255,.28) 4px, transparent 9px),
    radial-gradient(circle at 50% 43%, rgba(42, 112, 116, .9) 0%, rgba(6, 50, 58, .88) 34%, rgba(2, 12, 16, .98) 71%),
    linear-gradient(145deg, rgba(255,241,184,.28), transparent 38%);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.12),
    inset 0 -16px 22px rgba(0,0,0,.42),
    0 0 0 4px rgba(2,12,16,.5),
    0 14px 36px rgba(0,0,0,.54),
    0 0 22px rgba(239, 201, 106, .12);
}

body:has(.harbor-hero) .feature-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38px;
  width: 34px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 233, 158, .85), transparent);
  opacity: .38;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

body:has(.harbor-hero) .feature-card h3 {
  bottom: 0;
  max-width: 132px;
  color: #fff0b6;
  font-size: 10px;
  letter-spacing: .13em;
  text-shadow: 0 8px 14px rgba(0,0,0,.92);
}

body:has(.harbor-hero) .feature-card:hover::before,
body:has(.harbor-hero) .feature-card:focus-within::before {
  transform: translateX(-50%) translateY(-6px) scale(1.06);
  border-color: rgba(255, 242, 188, 1);
  background:
    radial-gradient(circle at 38% 25%, rgba(255,255,255,1) 0 4px, rgba(255,255,255,.32) 5px, transparent 10px),
    radial-gradient(circle at 50% 43%, rgba(62, 138, 138, .98) 0%, rgba(10, 68, 74, .92) 34%, rgba(2, 12, 16, .98) 71%),
    linear-gradient(145deg, rgba(255,241,184,.36), transparent 38%);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.16),
    inset 0 -16px 22px rgba(0,0,0,.38),
    0 0 0 4px rgba(2,12,16,.54),
    0 20px 42px rgba(0,0,0,.6),
    0 0 34px rgba(239, 201, 106, .32);
}

body:has(.harbor-hero) .feature-card:hover::after,
body:has(.harbor-hero) .feature-card:focus-within::after {
  opacity: .9;
  transform: translateX(-50%) translateY(-6px) scaleX(1.25);
}

body:has(.harbor-hero) .feature-card:hover h3,
body:has(.harbor-hero) .feature-card:focus-within h3 {
  color: #fff7d6;
  letter-spacing: .16em;
}

body:has(.harbor-hero) .feature-card:has(a[href="announcements.html"])::before { box-shadow: inset 0 2px 2px rgba(255,255,255,.12), inset 0 -16px 22px rgba(0,0,0,.42), 0 0 0 4px rgba(2,12,16,.5), 0 14px 36px rgba(0,0,0,.54), 0 0 24px rgba(239, 201, 106, .2); }

body:has(.harbor-hero) .feature-card a:focus-visible {
  outline: 2px solid rgba(255, 242, 188, .95);
  outline-offset: 8px;
  border-radius: 999px;
}

/* Related marks inside each bottom voyage button. */
body:has(.harbor-hero) .feature-card::after {
  top: 39px;
  width: auto;
  height: auto;
  min-width: 28px;
  transform: translateX(-50%);
  border-radius: 0;
  background: none;
  opacity: .95;
  color: #fff1b8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 12px rgba(255, 230, 150, .42),
    0 8px 14px rgba(0,0,0,.82);
  transition: transform .22s ease, opacity .22s ease, text-shadow .22s ease, color .22s ease;
}

body:has(.harbor-hero) .feature-card:has(a[href="announcements.html"])::after { content: "!"; }
body:has(.harbor-hero) .feature-card:has(a[href="migration.html"])::after { content: "⚑"; font-size: 22px; }
body:has(.harbor-hero) .feature-card:has(a[href="achievements.html"])::after { content: "✦"; font-size: 23px; }
body:has(.harbor-hero) .feature-card:has(a[href="media.html"])::after { content: "◉"; font-size: 21px; }
body:has(.harbor-hero) .feature-card:has(a[href="guides.html"])::after { content: "▤"; font-size: 22px; }
body:has(.harbor-hero) .feature-card:has(a[href="kingdom.html"])::after { content: "♔"; font-size: 24px; }
body:has(.harbor-hero) .feature-card:has(a[href="contacts.html"])::after { content: "∞"; font-size: 24px; }

body:has(.harbor-hero) .feature-card:hover::after,
body:has(.harbor-hero) .feature-card:focus-within::after {
  opacity: 1;
  color: #ffffff;
  transform: translateX(-50%) translateY(-7px) scale(1.14);
  text-shadow:
    0 0 18px rgba(255, 230, 150, .72),
    0 0 30px rgba(239, 201, 106, .34),
    0 10px 18px rgba(0,0,0,.86);
}

/* Screenshot-match home: wide cinematic harbor, right leadership banner, rope dock buttons. */
body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  background:
    linear-gradient(180deg, rgba(3, 12, 18, .08), rgba(3, 12, 18, .14) 48%, rgba(3, 12, 18, .82) 100%),
    linear-gradient(90deg, rgba(2, 10, 15, .48), rgba(2, 10, 15, .02) 38%, rgba(2, 10, 15, .34) 100%),
    url("assets/hero-viking-guild.webp") center / cover no-repeat !important;
}

body:has(.harbor-hero) .site-header {
  min-height: 48px;
  padding: 6px clamp(14px, 2vw, 26px);
  grid-template-columns: 124px minmax(0, 1fr) 54px;
  border-top: 2px solid rgba(202, 128, 42, .86);
  border-bottom: 1px solid rgba(202, 128, 42, .58);
  background: linear-gradient(180deg, rgba(3, 14, 22, .94), rgba(3, 14, 22, .72));
}

body:has(.harbor-hero) .brand strong {
  font-size: 27px;
  line-height: .8;
}

body:has(.harbor-hero) .brand small {
  display: none;
}

body:has(.harbor-hero) .nav-links {
  max-width: 680px;
  padding: 3px;
  border-color: rgba(230, 164, 73, .36);
  border-radius: 2px;
  background: rgba(2, 12, 18, .68);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 10px 20px rgba(0,0,0,.24);
}

body:has(.harbor-hero) .nav-links a {
  padding: 8px 10px;
  border-radius: 2px;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body:has(.harbor-hero) .nav-links a.active,
body:has(.harbor-hero) .nav-links a:hover {
  color: #120b05;
  background: linear-gradient(180deg, #ffe6a2, #b06a22);
}

body:has(.harbor-hero) .language-select {
  width: 42px;
  height: 34px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(230, 164, 73, .42);
  border-radius: 4px;
  background: rgba(2,12,18,.76);
}

body:has(.harbor-hero) .language-select::before {
  content: "⚙";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #f8e7b2;
  font-size: 15px;
}

body:has(.harbor-hero) .language-select select {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  min-width: 0;
}

body:has(.harbor-hero) .hero-content {
  width: min(520px, 46vw);
  transform: translate(5vw, -1vh);
}

body:has(.harbor-hero) .hero h1 {
  font-size: clamp(70px, 7.8vw, 112px);
  letter-spacing: .08em;
  color: #fff0bf;
  -webkit-text-stroke: 1px rgba(77, 41, 13, .36);
  text-shadow: 0 4px 0 rgba(69, 37, 16, .3), 0 20px 42px rgba(0,0,0,.52);
}

body:has(.harbor-hero) .hero p {
  margin-top: 6px;
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: .32em;
  color: #17100a;
  text-shadow: 0 1px 0 rgba(255, 238, 188, .55);
}

body:has(.harbor-hero) .hero-actions {
  margin-top: 16px;
  gap: 8px;
}

body:has(.harbor-hero) .hero-actions .button {
  min-width: 114px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 2px;
  font-size: 10px;
  text-transform: uppercase;
}

body:has(.harbor-hero) .hero-actions .button.primary::after {
  content: "⚔";
  margin-left: 8px;
}

body:has(.harbor-hero) .hero-actions .button:not(.primary)::before {
  content: "☯";
  position: static;
  margin-right: 8px;
  color: #dff0ff;
  background: none;
  opacity: 1;
}

.home-leadership-dock {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: clamp(146px, 17vw, 210px);
  height: min(100dvh, 520px);
  padding: 54px 16px 22px;
  border-left: 3px solid rgba(151, 82, 28, .9);
  border-bottom: 2px solid rgba(151, 82, 28, .78);
  background:
    linear-gradient(90deg, rgba(255, 196, 92, .08), transparent 16%),
    linear-gradient(180deg, rgba(8, 14, 20, .94), rgba(8, 14, 20, .72)),
    radial-gradient(circle at 50% 0%, rgba(230,164,73,.18), transparent 52%);
  box-shadow: -20px 0 40px rgba(0,0,0,.34), inset 1px 0 0 rgba(255,230,166,.16);
}

.home-leadership-dock::before,
.home-leadership-dock::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 100%;
  background: linear-gradient(90deg, #4a2610, #9b5b25 38%, #2a160b 100%);
  box-shadow: inset 0 0 8px rgba(0,0,0,.62);
}

.home-leadership-dock::before { left: -10px; }
.home-leadership-dock::after { right: -2px; }

.home-leadership-dock h2 {
  margin: 0 0 18px;
  color: #f8d989;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 18px);
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.home-leaders {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  justify-items: center;
}

.home-leader {
  display: grid;
  place-items: center;
  width: clamp(52px, 5.8vw, 74px);
  aspect-ratio: 1;
  border: 2px solid rgba(226, 159, 68, .82);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(2,12,18,.74);
  box-shadow: 0 10px 18px rgba(0,0,0,.48), inset 0 0 0 2px rgba(255,255,255,.05);
  color: #f8d989;
  font-size: 28px;
  text-decoration: none;
}

.home-leader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-leader.add-leader {
  grid-column: 1 / -1;
  width: clamp(54px, 5.4vw, 72px);
  font-family: var(--font-display);
}

body:has(.harbor-hero) .feature-grid {
  bottom: clamp(22px, 4vh, 36px);
  width: min(880px, calc(100vw - 260px));
  padding-top: 18px;
}

body:has(.harbor-hero) .feature-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: -1;
  width: min(100vw, 1080px);
  height: 18px;
  transform: translateX(-50%);
  border-top: 4px solid #4b2510;
  border-bottom: 3px solid #2c1509;
  background: linear-gradient(180deg, #9e5e2c, #4d260f);
  box-shadow: 0 8px 16px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,207,122,.22);
}

body:has(.harbor-hero) .feature-card::before {
  width: 68px;
  height: 68px;
  border: 3px solid rgba(132, 71, 26, .92);
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 214, 111, .28), transparent 35%),
    radial-gradient(circle at 50% 52%, rgba(8, 19, 26, .92), rgba(1, 8, 12, .98) 68%);
  box-shadow: 0 0 0 2px rgba(238,177,83,.75), inset 0 0 18px rgba(255,198,87,.12), 0 10px 20px rgba(0,0,0,.58);
}

body:has(.harbor-hero) .feature-card::after {
  top: 34px;
  color: #f5d991;
  font-size: 23px;
}

body:has(.harbor-hero) .feature-card h3 {
  bottom: 5px;
  font-size: 9px;
  color: #f9e4a4;
}

@media (max-width: 980px) {
  .home-leadership-dock { display: none; }
  body:has(.harbor-hero) .hero-content { width: min(640px, 92vw); transform: translateY(-1vh); }
  body:has(.harbor-hero) .feature-grid { width: min(100% - 28px, 680px); }
}

/* Reference screenshot correction: make side banner visible and compose ship on left. */
body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  background:
    linear-gradient(180deg, rgba(3, 12, 18, .03), rgba(3, 12, 18, .16) 54%, rgba(3, 12, 18, .84) 100%),
    linear-gradient(90deg, rgba(2, 10, 15, .24), rgba(2, 10, 15, .02) 46%, rgba(2, 10, 15, .36) 100%),
    url("assets/section-migration.webp") center / cover no-repeat !important;
}

.home-leadership-dock {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 220 !important;
  width: clamp(156px, 18vw, 224px) !important;
  height: 100dvh !important;
  padding: 56px 18px 24px !important;
}

.home-leadership-dock h2,
.home-leaders,
.home-leader {
  visibility: visible !important;
}

body:has(.harbor-hero) .hero-content {
  transform: translate(7vw, -3vh) !important;
}

body:has(.harbor-hero) .feature-grid {
  width: min(840px, calc(100vw - 300px)) !important;
  left: calc(50vw - 70px) !important;
}

@media (max-width: 980px) {
  .home-leadership-dock { display: none !important; }
  body:has(.harbor-hero) .feature-grid { left: 50vw !important; width: min(100% - 28px, 680px) !important; }
  body:has(.harbor-hero) .hero-content { transform: translateY(-1vh) !important; }
}

/* DESIGN 5: Raven War Table direction. Darker command-map layout, distinct from number 4. */
body:has(.harbor-hero) {
  background: #05080a !important;
}

html:has(.harbor-hero),
body:has(.harbor-hero) {
  overflow: hidden;
}

body:has(.harbor-hero) .site-header {
  position: fixed !important;
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  bottom: 18px !important;
  width: 154px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 18px !important;
  padding: 18px 12px !important;
  border: 1px solid rgba(233, 172, 78, .42) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(12, 18, 21, .94), rgba(4, 7, 9, .78)),
    radial-gradient(circle at 50% 0%, rgba(233,172,78,.16), transparent 42%) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.04) !important;
  backdrop-filter: blur(12px) !important;
}

body:has(.harbor-hero) .brand {
  min-width: 0 !important;
  text-align: center !important;
}

body:has(.harbor-hero) .brand strong {
  font-size: 38px !important;
  line-height: .85 !important;
  letter-spacing: .08em !important;
  color: #f6df9d !important;
}

body:has(.harbor-hero) .brand small {
  display: block !important;
  margin-top: 8px !important;
  color: rgba(246,223,157,.72) !important;
  font-size: 8px !important;
  letter-spacing: .22em !important;
}

body:has(.harbor-hero) .nav-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.harbor-hero) .nav-links a {
  display: block !important;
  padding: 10px 10px !important;
  border: 1px solid rgba(233, 172, 78, .22) !important;
  border-radius: 14px !important;
  color: rgba(246,223,157,.82) !important;
  background: rgba(6, 12, 14, .62) !important;
  font-size: 9px !important;
  line-height: 1 !important;
  text-align: center !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body:has(.harbor-hero) .nav-links a.active,
body:has(.harbor-hero) .nav-links a:hover {
  color: #100905 !important;
  border-color: rgba(255, 229, 151, .82) !important;
  background: linear-gradient(180deg, #ffe8a7, #cc842e) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.34), 0 0 20px rgba(233,172,78,.18) !important;
}

body:has(.harbor-hero) .language-select {
  width: 100% !important;
  height: 42px !important;
  margin-top: auto !important;
  border-radius: 14px !important;
}

body:has(.harbor-hero) .language-select select {
  opacity: 1 !important;
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 14px !important;
  font-size: 12px !important;
}

body:has(.harbor-hero) .language-select::before { display: none !important; }

body:has(.harbor-hero) main,
body:has(.harbor-hero) .page {
  width: 100vw !important;
  height: 100dvh !important;
  overflow: hidden !important;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  width: 100vw !important;
  height: 100dvh !important;
  padding: 0 250px 0 210px !important;
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 54% 48%, rgba(233,172,78,.18), transparent 12rem),
    radial-gradient(circle at 72% 30%, rgba(80, 134, 132, .2), transparent 20rem),
    linear-gradient(180deg, rgba(4,7,9,.35), rgba(4,7,9,.86)),
    linear-gradient(90deg, rgba(4,7,9,.9), rgba(4,7,9,.22) 44%, rgba(4,7,9,.78)),
    url("assets/leader-throne.webp") center / cover no-repeat !important;
}

body:has(.harbor-hero) .hero::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  background:
    repeating-linear-gradient(90deg, rgba(246,223,157,.035) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(246,223,157,.025) 0 1px, transparent 1px 86px) !important;
  mask-image: radial-gradient(circle at 56% 52%, black, transparent 72%) !important;
  pointer-events: none !important;
}

body:has(.harbor-hero) .hero-content {
  position: relative !important;
  z-index: 2 !important;
  width: min(660px, 52vw) !important;
  transform: none !important;
  padding: clamp(28px, 4vw, 46px) !important;
  border: 1px solid rgba(233, 172, 78, .34) !important;
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(8,14,16,.74), rgba(4,7,9,.46)),
    radial-gradient(circle at 50% 0%, rgba(246,223,157,.12), transparent 44%) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.04) !important;
  backdrop-filter: blur(8px) !important;
}

body:has(.harbor-hero) .hero h1 {
  font-size: clamp(86px, 12vw, 170px) !important;
  color: #f7df9b !important;
  letter-spacing: .06em !important;
  line-height: .75 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 4px 0 rgba(92,46,14,.28), 0 28px 58px rgba(0,0,0,.72) !important;
}

body:has(.harbor-hero) .hero p {
  color: rgba(246,223,157,.88) !important;
  font-size: clamp(12px, 1.3vw, 17px) !important;
  letter-spacing: .34em !important;
  text-shadow: none !important;
}

body:has(.harbor-hero) .hero-actions .button {
  border-radius: 14px !important;
  min-height: 46px !important;
}

.home-leadership-dock {
  top: 18px !important;
  right: 18px !important;
  bottom: 18px !important;
  height: auto !important;
  width: 210px !important;
  padding: 24px 18px !important;
  border: 1px solid rgba(233, 172, 78, .42) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(12, 18, 21, .94), rgba(4, 7, 9, .78)),
    radial-gradient(circle at 50% 0%, rgba(233,172,78,.16), transparent 42%) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.04) !important;
}

.home-leadership-dock::before,
.home-leadership-dock::after { display: none !important; }

.home-leadership-dock h2 {
  font-size: 17px !important;
  margin-bottom: 22px !important;
}

.home-leader {
  width: 72px !important;
  border-color: rgba(246,223,157,.72) !important;
}

.home-leader.add-leader { width: 70px !important; }

body:has(.harbor-hero) .feature-grid {
  position: fixed !important;
  left: 50% !important;
  bottom: 24px !important;
  z-index: 30 !important;
  width: min(720px, calc(100vw - 470px)) !important;
  transform: translateX(-50%) !important;
  grid-template-columns: repeat(7, minmax(70px, 1fr)) !important;
  gap: 12px !important;
  padding: 16px 18px 12px !important;
  border: 1px solid rgba(233, 172, 78, .34) !important;
  border-radius: 24px !important;
  background: rgba(4,7,9,.56) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.44), inset 0 0 0 1px rgba(255,255,255,.04) !important;
  backdrop-filter: blur(8px) !important;
}

body:has(.harbor-hero) .feature-grid::before { display: none !important; }

body:has(.harbor-hero) .feature-card { min-height: 98px !important; }

body:has(.harbor-hero) .feature-card::before {
  width: 58px !important;
  height: 58px !important;
  border: 1px solid rgba(246,223,157,.62) !important;
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,.9), transparent 8px),
    radial-gradient(circle at 50% 50%, rgba(24, 76, 76, .92), rgba(2, 10, 12, .98) 68%) !important;
  box-shadow: inset 0 -10px 18px rgba(0,0,0,.32), 0 10px 24px rgba(0,0,0,.5), 0 0 18px rgba(233,172,78,.14) !important;
}

body:has(.harbor-hero) .feature-card::after {
  top: 29px !important;
  font-size: 19px !important;
}

body:has(.harbor-hero) .feature-card h3 {
  bottom: 1px !important;
  font-size: 7.5px !important;
}

body:not(:has(.harbor-hero)) .unified-page-title,
body:not(:has(.harbor-hero)) .page-title {
  background:
    linear-gradient(90deg, rgba(4,7,9,.94), rgba(4,7,9,.42)),
    url("assets/leader-throne.webp") center / cover no-repeat !important;
}

@media (max-width: 980px) {
  body:has(.harbor-hero) .site-header {
    position: sticky !important;
    inset: auto !important;
    width: 100% !important;
    border-radius: 0 !important;
    flex-direction: row !important;
  }
  body:has(.harbor-hero) .hero,
  body:has(.harbor-hero) .hero.harbor-hero,
  body:has(.harbor-hero) .hero.battlefield-hero {
    padding: 42px 18px !important;
  }
  body:has(.harbor-hero) .hero-content { width: min(680px, 92vw) !important; }
  .home-leadership-dock { display: none !important; }
  body:has(.harbor-hero) .feature-grid {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100% - 28px, 680px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 24px auto 42px !important;
  }
}

/* Design 5 layout fix: left command nav should not clip. */
body:has(.harbor-hero) .site-header {
  width: 188px !important;
  left: 16px !important;
  padding: 18px 14px !important;
}

body:has(.harbor-hero) .nav-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  overflow: visible !important;
  gap: 6px !important;
}

body:has(.harbor-hero) .nav-links a {
  width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  padding: 10px 8px !important;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  padding-left: 236px !important;
}

body:has(.harbor-hero) .feature-grid {
  width: min(700px, calc(100vw - 520px)) !important;
  bottom: 28px !important;
}

@media (max-width: 1180px) {
  body:has(.harbor-hero) .site-header { width: 168px !important; }
  body:has(.harbor-hero) .hero,
  body:has(.harbor-hero) .hero.harbor-hero,
  body:has(.harbor-hero) .hero.battlefield-hero { padding-left: 206px !important; padding-right: 238px !important; }
  body:has(.harbor-hero) .feature-grid { width: min(620px, calc(100vw - 470px)) !important; }
}

/* Design 5 final cleanup: left rail is brand/language only, bottom buttons are the navigation. */
body:has(.harbor-hero) .site-header .nav-links {
  display: none !important;
}

body:has(.harbor-hero) .site-header {
  justify-content: flex-start !important;
}

body:has(.harbor-hero) .language-select {
  margin-top: 22px !important;
}

body:has(.harbor-hero) .feature-grid {
  left: calc(50vw + 8px) !important;
  width: min(760px, calc(100vw - 470px)) !important;
  grid-template-columns: repeat(7, minmax(68px, 1fr)) !important;
}

/* User request: remove the right-side leadership panel from design 5. */
.home-leadership-dock {
  display: none !important;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  padding-right: 70px !important;
}

body:has(.harbor-hero) .hero-content {
  width: min(720px, 58vw) !important;
}

body:has(.harbor-hero) .feature-grid {
  left: calc(50vw + 88px) !important;
  width: min(800px, calc(100vw - 330px)) !important;
}

@media (max-width: 980px) {
  body:has(.harbor-hero) .hero,
  body:has(.harbor-hero) .hero.harbor-hero,
  body:has(.harbor-hero) .hero.battlefield-hero {
    padding-right: 18px !important;
  }
  body:has(.harbor-hero) .feature-grid {
    left: 50vw !important;
    width: min(100% - 28px, 680px) !important;
  }
}

/* Return to Design 4: longship voyage, no side leaders. */
.home-leadership-dock {
  display: none !important;
}

html:has(.harbor-hero),
body:has(.harbor-hero) {
  overflow: hidden !important;
  height: 100% !important;
}

body:has(.harbor-hero) {
  background: #041116 !important;
}

body:has(.harbor-hero) .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 100 !important;
  width: 100% !important;
  min-height: 74px !important;
  display: grid !important;
  grid-template-columns: minmax(118px, 168px) minmax(0, 1fr) minmax(118px, 158px) !important;
  align-items: center !important;
  gap: clamp(8px, 1.2vw, 18px) !important;
  padding: 12px clamp(18px, 3vw, 42px) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(248, 232, 183, .16) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(3, 14, 18, .82), rgba(3, 14, 18, .18)) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px) !important;
}

body:has(.harbor-hero) .brand {
  min-width: 116px !important;
  text-align: left !important;
}

body:has(.harbor-hero) .brand strong {
  font-size: clamp(32px, 3vw, 44px) !important;
  line-height: .85 !important;
  letter-spacing: .06em !important;
  color: #f8e7b2 !important;
}

body:has(.harbor-hero) .brand small {
  display: block !important;
  margin-top: 5px !important;
  color: rgba(248, 232, 183, .78) !important;
  font-size: 8px !important;
  letter-spacing: .2em !important;
}

body:has(.harbor-hero) .site-header .nav-links {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  justify-self: center !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  max-width: min(100%, 640px) !important;
  overflow: visible !important;
  gap: 2px !important;
  padding: 5px !important;
  border: 1px solid rgba(248, 232, 183, .18) !important;
  border-radius: 999px !important;
  background: rgba(2, 12, 16, .54) !important;
  box-shadow: inset 0 0 22px rgba(255,255,255,.025), 0 18px 48px rgba(0,0,0,.26) !important;
}

body:has(.harbor-hero) .nav-links a {
  display: block !important;
  width: auto !important;
  padding: 10px clamp(7px, .72vw, 12px) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: rgba(248, 232, 183, .78) !important;
  background: transparent !important;
  font-size: clamp(9px, .82vw, 11px) !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

body:has(.harbor-hero) .nav-links a.active,
body:has(.harbor-hero) .nav-links a:hover {
  color: #071217 !important;
  background: linear-gradient(180deg, #fff1b8, #d99b38) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.35) !important;
}

body:has(.harbor-hero) .language-select {
  width: auto !important;
  height: auto !important;
  justify-self: end !important;
  margin-top: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

body:has(.harbor-hero) .language-select::before { display: none !important; }

body:has(.harbor-hero) .language-select select {
  position: static !important;
  opacity: 1 !important;
  width: min(148px, 15vw) !important;
  min-width: 116px !important;
  min-height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(248, 232, 183, .22) !important;
  background: rgba(2, 12, 16, .48) !important;
  color: #f8e7b2 !important;
  padding-inline: 14px 28px !important;
}

body:has(.harbor-hero) main,
body:has(.harbor-hero) .page {
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  position: relative !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 clamp(20px, 5vw, 72px) !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 52%, rgba(244, 215, 129, .2), transparent 20rem),
    linear-gradient(180deg, rgba(2, 12, 16, .1), rgba(2, 12, 16, .25) 48%, rgba(2, 12, 16, .88) 100%),
    linear-gradient(90deg, rgba(2, 12, 16, .46), rgba(2, 12, 16, .06) 54%, rgba(2, 12, 16, .42)),
    url("assets/section-migration.webp") center / cover no-repeat !important;
}

body:has(.harbor-hero) .hero::before { display: none !important; }

body:has(.harbor-hero) .hero-content {
  position: relative !important;
  z-index: 2 !important;
  width: min(820px, 92vw) !important;
  max-width: 820px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  justify-self: center !important;
  align-self: center !important;
  transform: translateY(-1.5vh) !important;
  text-align: center !important;
}

body:has(.harbor-hero) .hero h1 {
  margin: 0 !important;
  color: #f8e7b2 !important;
  font-size: clamp(112px, 18vw, 230px) !important;
  line-height: .72 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 20px 60px rgba(0,0,0,.76) !important;
}

body:has(.harbor-hero) .hero p {
  margin: clamp(12px, 1.8vw, 22px) auto 0 !important;
  color: rgba(248, 232, 183, .96) !important;
  font-size: clamp(13px, 1.35vw, 18px) !important;
  font-weight: 950 !important;
  letter-spacing: .42em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

body:has(.harbor-hero) .hero-actions {
  justify-content: center !important;
  margin-top: clamp(20px, 3vh, 30px) !important;
  gap: 14px !important;
}

body:has(.harbor-hero) .hero-actions .button {
  min-width: 166px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  text-transform: none !important;
}

body:has(.harbor-hero) .feature-grid {
  position: fixed !important;
  left: 50vw !important;
  right: auto !important;
  bottom: clamp(22px, 4vh, 42px) !important;
  z-index: 30 !important;
  width: min(1060px, calc(100vw - 56px)) !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(82px, 1fr)) !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body:has(.harbor-hero) .feature-grid::before { display: none !important; }

body:has(.harbor-hero) .feature-card {
  min-height: 116px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.harbor-hero) .feature-card::before {
  width: 78px !important;
  height: 78px !important;
  border: 1px solid rgba(255, 233, 158, .68) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 38% 25%, rgba(255,255,255,.96) 0 3px, rgba(255,255,255,.28) 4px, transparent 9px),
    radial-gradient(circle at 50% 43%, rgba(42, 112, 116, .9) 0%, rgba(6, 50, 58, .88) 34%, rgba(2, 12, 16, .98) 71%) !important;
  box-shadow: inset 0 2px 2px rgba(255,255,255,.12), inset 0 -16px 22px rgba(0,0,0,.42), 0 0 0 4px rgba(2,12,16,.5), 0 14px 36px rgba(0,0,0,.54), 0 0 22px rgba(239, 201, 106, .12) !important;
}

body:has(.harbor-hero) .feature-card h3 {
  bottom: 0 !important;
  max-width: 132px !important;
  color: #fff0b6 !important;
  font-size: 10px !important;
  letter-spacing: .13em !important;
}

@media (max-width: 860px) {
  html:has(.harbor-hero), body:has(.harbor-hero) { overflow: auto !important; }
  body:has(.harbor-hero) .site-header { position: sticky !important; grid-template-columns: 1fr auto !important; }
  body:has(.harbor-hero) .site-header .nav-links { order: 3 !important; grid-column: 1 / -1 !important; width: 100% !important; overflow-x: auto !important; justify-content: flex-start !important; }
  body:has(.harbor-hero) .hero { height: auto !important; min-height: 76dvh !important; padding: 52px 18px 36px !important; }
  body:has(.harbor-hero) .feature-grid { position: relative !important; left: auto !important; bottom: auto !important; transform: none !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; width: min(100% - 28px, 680px) !important; margin: 24px auto 42px !important; }
}

/* Cinematic home atmosphere: moving clouds, water shimmer, and rocking voyage. */
body:has(.harbor-hero) .hero,
body:has(.harbor-hero) .hero.harbor-hero,
body:has(.harbor-hero) .hero.battlefield-hero {
  isolation: isolate !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(2, 9, 12, .08), rgba(2, 9, 12, .12) 45%, rgba(2, 9, 12, .58) 100%),
    url("assets/gul-cinematic-logo-optimized.webp") center / cover no-repeat !important;
}

body:has(.harbor-hero) .hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -12% -18% 24% -18% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: .54 !important;
  background:
    radial-gradient(ellipse at 12% 32%, rgba(238, 239, 225, .38) 0 8%, transparent 26%),
    radial-gradient(ellipse at 36% 24%, rgba(248, 232, 192, .26) 0 9%, transparent 30%),
    radial-gradient(ellipse at 62% 30%, rgba(238, 239, 225, .32) 0 10%, transparent 32%),
    radial-gradient(ellipse at 82% 26%, rgba(248, 214, 156, .22) 0 8%, transparent 28%);
  filter: blur(18px) saturate(115%) !important;
  transform: translate3d(-3%, 0, 0) scale(1.05) !important;
  animation: gulCloudDrift 18s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite alternate !important;
}

body:has(.harbor-hero) .hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 54% -10% -14% -10% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: .62 !important;
  background:
    radial-gradient(ellipse at 78% 42%, rgba(255, 184, 75, .46) 0 8%, transparent 26%),
    repeating-linear-gradient(174deg, rgba(255, 228, 151, .18) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(6deg, rgba(136, 209, 216, .08) 0 1px, transparent 1px 20px);
  mix-blend-mode: screen !important;
  transform: translate3d(0, 0, 0) skewY(-1.2deg) !important;
  animation: gulWaterRun 3.8s linear infinite !important;
}

body:has(.harbor-hero) .hero-content {
  animation: gulBoatRock 5.2s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite !important;
}

body:has(.harbor-hero) .cinematic-logo-lockup {
  width: min(780px, 78vw) !important;
  aspect-ratio: 2.2 / 1 !important;
  margin: 0 auto !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 34px !important;
  opacity: .98 !important;
  transform: translateZ(0) !important;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 34%, rgba(0,0,0,.92) 48%, transparent 73%) !important;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 34%, rgba(0,0,0,.92) 48%, transparent 73%) !important;
  filter: drop-shadow(0 28px 58px rgba(0,0,0,.72)) drop-shadow(0 0 30px rgba(244, 182, 83, .18)) !important;
}

body:has(.harbor-hero) .cinematic-logo-lockup img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.16) !important;
}

body:has(.harbor-hero) .cinematic-logo-lockup::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(110deg, transparent 34%, rgba(255,255,255,.2) 47%, transparent 58%) !important;
  transform: translateX(-90%) !important;
  animation: gulLogoGleam 5.8s ease-out infinite !important;
  mix-blend-mode: screen !important;
}

body:has(.harbor-hero) .hero-actions {
  position: relative !important;
  z-index: 3 !important;
  margin-top: clamp(10px, 1.8vh, 20px) !important;
}

body:has(.harbor-hero) .feature-grid {
  z-index: 5 !important;
}

@keyframes gulCloudDrift {
  0% { transform: translate3d(-4%, -1%, 0) scale(1.06); opacity: .42; }
  45% { transform: translate3d(1.5%, .5%, 0) scale(1.09); opacity: .62; }
  100% { transform: translate3d(5%, -1.5%, 0) scale(1.07); opacity: .5; }
}

@keyframes gulWaterRun {
  0% { transform: translate3d(-2%, 0, 0) skewY(-1.2deg); background-position: 0 0, 0 0, 0 0; }
  100% { transform: translate3d(2%, 0, 0) skewY(-1.2deg); background-position: 80px 0, 180px 32px, -160px 24px; }
}

@keyframes gulBoatRock {
  0%, 100% { transform: translateY(-1.5vh) rotate(-.22deg) translateZ(0) !important; }
  50% { transform: translateY(-1.1vh) rotate(.22deg) translateZ(0) !important; }
}

@keyframes gulLogoGleam {
  0%, 58% { transform: translateX(-90%); opacity: 0; }
  68% { opacity: .72; }
  84%, 100% { transform: translateX(92%); opacity: 0; }
}

@media (max-width: 860px) {
  body:has(.harbor-hero) .cinematic-logo-lockup {
    width: min(520px, 92vw) !important;
    aspect-ratio: 1.9 / 1 !important;
  }
  body:has(.harbor-hero) .hero::before { opacity: .34 !important; }
  body:has(.harbor-hero) .hero::after { opacity: .42 !important; }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.harbor-hero) .hero::before,
  body:has(.harbor-hero) .hero::after,
  body:has(.harbor-hero) .hero-content,
  body:has(.harbor-hero) .cinematic-logo-lockup::after {
    animation: none !important;
  }
}

/* Clean cinematic logo scene: use the artwork once, no doubled center logo. */
body:has(.harbor-hero) .cinematic-logo-lockup {
  display: none !important;
}

body:has(.harbor-hero) .hero-content {
  width: min(620px, 88vw) !important;
  align-self: center !important;
  transform: translateY(17vh) !important;
  animation: gulBoatRockButtons 5.2s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite !important;
}

body:has(.harbor-hero) .hero-actions {
  margin-top: 0 !important;
  padding: 12px !important;
  border-radius: 999px !important;
  background: rgba(2, 12, 16, .22) !important;
  backdrop-filter: blur(7px) !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.34), inset 0 0 22px rgba(255,255,255,.04) !important;
}

body:has(.harbor-hero) .hero-actions .button {
  min-width: 178px !important;
  border: 1px solid rgba(255, 236, 166, .42) !important;
}

body:has(.harbor-hero) .hero::before {
  opacity: .46 !important;
  mix-blend-mode: screen !important;
}

body:has(.harbor-hero) .hero::after {
  inset: 60% -8% -15% -8% !important;
  opacity: .52 !important;
}

body:has(.harbor-hero) .feature-card::before {
  animation: gulMenuFloat 4.8s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite !important;
}

body:has(.harbor-hero) .feature-card:nth-child(2)::before { animation-delay: -.35s !important; }
body:has(.harbor-hero) .feature-card:nth-child(3)::before { animation-delay: -.7s !important; }
body:has(.harbor-hero) .feature-card:nth-child(4)::before { animation-delay: -1.05s !important; }
body:has(.harbor-hero) .feature-card:nth-child(5)::before { animation-delay: -1.4s !important; }
body:has(.harbor-hero) .feature-card:nth-child(6)::before { animation-delay: -1.75s !important; }
body:has(.harbor-hero) .feature-card:nth-child(7)::before { animation-delay: -2.1s !important; }

@keyframes gulBoatRockButtons {
  0%, 100% { transform: translateY(17vh) rotate(-.16deg) translateZ(0) !important; }
  50% { transform: translateY(17.45vh) rotate(.16deg) translateZ(0) !important; }
}

@keyframes gulMenuFloat {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-5px) translateZ(0); }
}

@media (max-width: 860px) {
  body:has(.harbor-hero) .hero-content {
    transform: translateY(8vh) !important;
    animation: none !important;
  }
  body:has(.harbor-hero) .hero-actions {
    width: min(100%, 380px) !important;
    margin-inline: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.harbor-hero) .feature-card::before,
  body:has(.harbor-hero) .hero-content {
    animation: none !important;
  }
}

/* Opening cinematic language screen: logo scene first, then smooth reveal to home. */
body.has-language-gate .site-header,
body.has-language-gate main,
body.has-language-gate .site-footer {
  opacity: 0 !important;
  transform: translateY(-18px) scale(.985) !important;
  pointer-events: none !important;
}

body.home-is-revealing .site-header,
body.home-revealed .site-header {
  animation: gulTopMenuReveal 720ms cubic-bezier(0.23, 1, 0.32, 1) both !important;
}

body.home-is-revealing main,
body.home-revealed main {
  animation: gulHomeSceneReveal 760ms cubic-bezier(0.23, 1, 0.32, 1) both !important;
}

.language-gate {
  place-items: stretch !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(1,7,10,.02), rgba(1,7,10,.18) 46%, rgba(1,7,10,.82) 100%),
    url("assets/gul-cinematic-logo-optimized.webp") center / cover no-repeat !important;
  transform: translateZ(0) scale(1.015) !important;
  opacity: 1 !important;
  transition:
    opacity 760ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 920ms cubic-bezier(0.23, 1, 0.32, 1),
    filter 920ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.language-gate::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -12% -18% 24% -18% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: .38 !important;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(241, 244, 229, .34) 0 8%, transparent 26%),
    radial-gradient(ellipse at 50% 24%, rgba(255, 224, 168, .2) 0 8%, transparent 30%),
    radial-gradient(ellipse at 78% 28%, rgba(241, 244, 229, .28) 0 9%, transparent 31%) !important;
  filter: blur(18px) saturate(120%) !important;
  animation: gulOpeningClouds 18s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate !important;
}

.language-gate::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 58% -10% -12% -10% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: .46 !important;
  background:
    radial-gradient(ellipse at 78% 46%, rgba(255, 184, 75, .4) 0 8%, transparent 25%),
    repeating-linear-gradient(174deg, rgba(255, 228, 151, .14) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(6deg, rgba(136, 209, 216, .07) 0 1px, transparent 1px 20px) !important;
  mix-blend-mode: screen !important;
  animation: gulOpeningWater 3.8s linear infinite !important;
}

.language-gate.is-leaving {
  opacity: 0 !important;
  transform: translateY(-1.5vh) scale(1.16) !important;
  filter: blur(6px) brightness(1.16) !important;
  pointer-events: none !important;
}

.language-gate.is-leaving .gate-panel {
  transform: translateY(28px) scale(.94) !important;
  opacity: 0 !important;
}

.gate-panel {
  align-self: end !important;
  justify-self: center !important;
  width: min(980px, calc(100vw - 36px)) !important;
  margin: 0 auto clamp(22px, 5vh, 54px) !important;
  padding: 0 !important;
  gap: 14px !important;
  z-index: 3 !important;
  transition:
    opacity 540ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 720ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.gate-wordmark,
.gate-logo-wrap,
.cinematic-intro,
.language-choice-block > p {
  display: none !important;
}

.language-choice-block {
  width: 100% !important;
  display: grid !important;
  justify-items: center !important;
  gap: 12px !important;
}

.rune-choice {
  width: min(820px, 92vw) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px !important;
  border: 1px solid rgba(255, 233, 158, .18) !important;
  border-radius: 999px !important;
  background: rgba(2, 12, 16, .42) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.42), inset 0 0 24px rgba(255,255,255,.035) !important;
  backdrop-filter: blur(10px) !important;
}

.rune-button {
  min-width: 116px !important;
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 233, 158, .34) !important;
  color: #fff0b6 !important;
  background: rgba(2, 12, 16, .58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 26px rgba(0,0,0,.22) !important;
  transition:
    transform 140ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease !important;
}

.rune-button:hover,
.rune-button:focus-visible {
  color: #071217 !important;
  background: linear-gradient(180deg, #fff1b8, #d99b38) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.36), 0 0 26px rgba(255, 219, 126, .18) !important;
}

@keyframes gulOpeningClouds {
  0% { transform: translate3d(-4%, -1%, 0) scale(1.06); opacity: .3; }
  45% { transform: translate3d(1.5%, .5%, 0) scale(1.09); opacity: .5; }
  100% { transform: translate3d(5%, -1.5%, 0) scale(1.07); opacity: .38; }
}

@keyframes gulOpeningWater {
  0% { transform: translate3d(-2%, 0, 0) skewY(-1.2deg); background-position: 0 0, 0 0, 0 0; }
  100% { transform: translate3d(2%, 0, 0) skewY(-1.2deg); background-position: 80px 0, 180px 32px, -160px 24px; }
}

@keyframes gulTopMenuReveal {
  from { opacity: 0; transform: translateY(-22px) scale(.985); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes gulHomeSceneReveal {
  from { opacity: .1; transform: scale(1.025); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@media (max-width: 760px) {
  .rune-choice {
    width: min(460px, 92vw) !important;
    border-radius: 28px !important;
  }
  .rune-button {
    min-width: calc(50% - 8px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate,
  .language-gate::before,
  .language-gate::after,
  .gate-panel,
  body.home-is-revealing .site-header,
  body.home-revealed .site-header,
  body.home-is-revealing main,
  body.home-revealed main {
    animation: none !important;
    transition: opacity 200ms ease !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Viking language dock and livelier opening scene. */
.language-gate {
  transform-origin: 50% 45% !important;
  animation: gulOpeningShipRock 7.2s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: .52 !important;
  background:
    linear-gradient(103deg, transparent 31%, rgba(143, 18, 12, .28) 40%, rgba(183, 39, 22, .18) 48%, transparent 62%),
    radial-gradient(ellipse at 48% 45%, rgba(121, 8, 5, .34), transparent 25%) !important;
  mix-blend-mode: multiply !important;
  filter: blur(2px) saturate(120%) !important;
  transform: translate3d(0,0,0) skewX(-2deg) !important;
  animation: gulClothBreath 2.9s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate::before {
  opacity: .55 !important;
  filter: blur(16px) saturate(128%) !important;
  animation: gulOpeningClouds 13s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate !important;
}

.language-gate::after {
  opacity: .62 !important;
  animation: gulOpeningWater 2.8s linear infinite !important;
}

.gate-panel {
  margin-bottom: clamp(18px, 4.5vh, 48px) !important;
  gap: 10px !important;
}

.language-choice-block > p {
  display: block !important;
  margin: 0 0 4px !important;
  color: rgba(255, 240, 182, .94) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(18px, 2vw, 28px) !important;
  line-height: 1.05 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  text-shadow: 0 10px 28px rgba(0,0,0,.76), 0 0 22px rgba(214, 151, 54, .2) !important;
}

.language-choice-block > p::after {
  content: " Choose your tongue before the longship sails." !important;
  display: block !important;
  margin-top: 8px !important;
  color: rgba(255, 226, 157, .76) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(11px, 1.1vw, 14px) !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: none !important;
}

.rune-choice {
  width: min(880px, 92vw) !important;
  border-radius: 28px !important;
  padding: 14px !important;
  gap: 12px !important;
  background:
    linear-gradient(180deg, rgba(13, 32, 36, .72), rgba(4, 15, 18, .82)),
    radial-gradient(circle at 50% 0%, rgba(255, 223, 142, .16), transparent 16rem) !important;
  border: 1px solid rgba(255, 223, 142, .34) !important;
  box-shadow:
    0 28px 90px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 -22px 36px rgba(0,0,0,.28) !important;
  position: relative !important;
}

.rune-choice::before,
.rune-choice::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(255, 223, 142, .46) !important;
  background: radial-gradient(circle, #f8d37a 0 3px, rgba(5,18,21,.9) 4px 100%) !important;
  transform: translateY(-50%) rotate(45deg) !important;
  box-shadow: 0 0 22px rgba(218, 151, 48, .25) !important;
}

.rune-choice::before { left: -14px !important; }
.rune-choice::after { right: -14px !important; }

.rune-button {
  min-width: 122px !important;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(13, 42, 46, .92), rgba(2, 14, 17, .96)) !important;
  border-color: rgba(255, 230, 154, .42) !important;
}

.rune-button:hover,
.rune-button:focus-visible {
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%) !important;
}

@keyframes gulOpeningShipRock {
  0%, 100% { transform: translateZ(0) scale(1.015) rotate(-.08deg); }
  50% { transform: translateZ(0) scale(1.018) rotate(.08deg); }
}

@keyframes gulClothBreath {
  0%, 100% { transform: translate3d(-1.1%, -.2%, 0) skewX(-3deg) scaleX(.985); opacity: .42; }
  45% { transform: translate3d(1.2%, .3%, 0) skewX(2.4deg) scaleX(1.02); opacity: .62; }
  70% { transform: translate3d(.4%, -.1%, 0) skewX(-1.2deg) scaleX(1.005); opacity: .5; }
}

@media (max-width: 760px) {
  .language-choice-block > p::after {
    max-width: 280px !important;
    margin-inline: auto !important;
  }
  .rune-choice::before,
  .rune-choice::after {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate,
  .language-gate .gate-backdrop {
    animation: none !important;
  }
}

/* Stronger visible opening motion. */
.language-gate {
  animation: gulOpeningSceneSway 4.2s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop {
  opacity: .82 !important;
  filter: blur(1px) saturate(150%) contrast(110%) !important;
  background:
    linear-gradient(103deg, transparent 25%, rgba(128, 8, 5, .08) 33%, rgba(220, 32, 18, .42) 43%, rgba(124, 5, 4, .18) 53%, transparent 68%),
    repeating-linear-gradient(96deg, rgba(255,255,255,.06) 0 2px, transparent 2px 28px) !important;
  mix-blend-mode: screen !important;
  animation: gulClothWaveStrong 1.65s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate::before {
  opacity: .72 !important;
  filter: blur(13px) saturate(145%) !important;
  animation: gulCloudDriftStrong 6.5s linear infinite alternate !important;
}

.language-gate::after {
  opacity: .8 !important;
  inset: 56% -14% -14% -14% !important;
  animation: gulWaterMoveStrong 1.8s linear infinite !important;
}

.rune-choice {
  animation: gulDockFloat 3.2s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

@keyframes gulOpeningSceneSway {
  0%, 100% { transform: translate3d(-.35%, 0, 0) scale(1.022) rotate(-.16deg); }
  50% { transform: translate3d(.35%, .25%, 0) scale(1.028) rotate(.16deg); }
}

@keyframes gulClothWaveStrong {
  0%, 100% { transform: translate3d(-5.2%, -.5%, 0) skewX(-8deg) scaleX(.93); opacity: .42; }
  35% { transform: translate3d(4.5%, .9%, 0) skewX(7deg) scaleX(1.1); opacity: .84; }
  65% { transform: translate3d(1.3%, -.2%, 0) skewX(-3deg) scaleX(1.02); opacity: .62; }
}

@keyframes gulCloudDriftStrong {
  0% { transform: translate3d(-9%, -1.5%, 0) scale(1.1); opacity: .48; }
  50% { transform: translate3d(1%, .8%, 0) scale(1.16); opacity: .82; }
  100% { transform: translate3d(9%, -1%, 0) scale(1.12); opacity: .58; }
}

@keyframes gulWaterMoveStrong {
  0% { transform: translate3d(-4%, 0, 0) skewY(-1.4deg); background-position: 0 0, 0 0, 0 0; }
  100% { transform: translate3d(4%, .4%, 0) skewY(-1.4deg); background-position: 160px 0, 360px 54px, -320px 44px; }
}

@keyframes gulDockFloat {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-7px) translateZ(0); }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate,
  .language-gate .gate-backdrop,
  .language-gate::before,
  .language-gate::after,
  .rune-choice {
    animation: none !important;
  }
}

/* Clean up opening motion: remove the fake red cloth overlay. */
.language-gate .gate-backdrop {
  opacity: 0 !important;
  display: none !important;
  animation: none !important;
}

.language-gate {
  animation: gulOpeningCleanSway 5.8s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate::before {
  opacity: .64 !important;
  background:
    radial-gradient(ellipse at 12% 25%, rgba(240, 241, 229, .46) 0 10%, transparent 29%),
    radial-gradient(ellipse at 42% 20%, rgba(255, 232, 190, .28) 0 9%, transparent 31%),
    radial-gradient(ellipse at 74% 28%, rgba(240, 241, 229, .42) 0 11%, transparent 33%) !important;
  filter: blur(14px) saturate(132%) !important;
  mix-blend-mode: screen !important;
  animation: gulCloudDriftClean 7.5s linear infinite alternate !important;
}

.language-gate::after {
  opacity: .76 !important;
  background:
    radial-gradient(ellipse at 80% 42%, rgba(255, 190, 86, .42) 0 8%, transparent 27%),
    repeating-linear-gradient(174deg, rgba(255, 228, 151, .2) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(6deg, rgba(124, 205, 216, .1) 0 1px, transparent 1px 18px) !important;
  mix-blend-mode: screen !important;
  animation: gulWaterMoveClean 2.15s linear infinite !important;
}

@keyframes gulOpeningCleanSway {
  0%, 100% { transform: translate3d(-.18%, 0, 0) scale(1.02) rotate(-.08deg); }
  50% { transform: translate3d(.18%, .15%, 0) scale(1.024) rotate(.08deg); }
}

@keyframes gulCloudDriftClean {
  0% { transform: translate3d(-7%, -1%, 0) scale(1.08); opacity: .44; }
  50% { transform: translate3d(0, .5%, 0) scale(1.12); opacity: .72; }
  100% { transform: translate3d(7%, -1%, 0) scale(1.09); opacity: .5; }
}

@keyframes gulWaterMoveClean {
  0% { transform: translate3d(-3%, 0, 0) skewY(-1.2deg); background-position: 0 0, 0 0, 0 0; }
  100% { transform: translate3d(3%, .25%, 0) skewY(-1.2deg); background-position: 120px 0, 260px 44px, -240px 36px; }
}

/* Final clean opening motion: no fake moving line overlays. */
.language-gate {
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(1,7,10,.02), rgba(1,7,10,.14) 44%, rgba(1,7,10,.78) 100%),
    url("assets/gul-cinematic-logo-optimized.webp") center / cover no-repeat !important;
  animation: gulCinematicPanZoom 9s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate !important;
}

.language-gate .gate-backdrop {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
}

.language-gate::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -18% -24% 28% -24% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: .5 !important;
  background:
    radial-gradient(ellipse at 8% 34%, rgba(233, 236, 224, .34) 0 9%, transparent 28%),
    radial-gradient(ellipse at 34% 22%, rgba(255, 236, 195, .22) 0 8%, transparent 29%),
    radial-gradient(ellipse at 62% 34%, rgba(233, 236, 224, .3) 0 10%, transparent 31%),
    radial-gradient(ellipse at 86% 26%, rgba(255, 221, 164, .18) 0 8%, transparent 29%) !important;
  filter: blur(22px) saturate(120%) !important;
  mix-blend-mode: screen !important;
  animation: gulSoftFogDrift 12s linear infinite alternate !important;
}

.language-gate::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 55% -12% -16% -12% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: .36 !important;
  background:
    radial-gradient(ellipse at 79% 46%, rgba(255, 188, 82, .42) 0 10%, transparent 34%),
    radial-gradient(ellipse at 60% 72%, rgba(165, 223, 224, .12) 0 9%, transparent 34%) !important;
  filter: blur(12px) !important;
  mix-blend-mode: screen !important;
  animation: gulSoftWaterGlow 5.4s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate !important;
}

.rune-choice {
  animation: gulLanguageDockFloatClean 4.2s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

@keyframes gulCinematicPanZoom {
  0% { transform: translate3d(-.45%, -.15%, 0) scale(1.018); filter: saturate(1.02) contrast(1.02); }
  100% { transform: translate3d(.45%, .2%, 0) scale(1.032); filter: saturate(1.08) contrast(1.04); }
}

@keyframes gulSoftFogDrift {
  0% { transform: translate3d(-8%, -1%, 0) scale(1.05); opacity: .36; }
  50% { transform: translate3d(0, .7%, 0) scale(1.12); opacity: .58; }
  100% { transform: translate3d(8%, -1%, 0) scale(1.08); opacity: .42; }
}

@keyframes gulSoftWaterGlow {
  0% { transform: translate3d(-2%, 0, 0) scale(1); opacity: .24; }
  100% { transform: translate3d(2%, .5%, 0) scale(1.06); opacity: .42; }
}

@keyframes gulLanguageDockFloatClean {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-4px) translateZ(0); }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate,
  .language-gate::before,
  .language-gate::after,
  .rune-choice {
    animation: none !important;
  }
}

/* Wind movement for the red cloth only — no full-screen line overlay. */
.language-gate .gate-backdrop {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: .72 !important;
  background:
    linear-gradient(101deg, transparent 0 22%, rgba(72, 0, 0, .06) 27%, rgba(214, 30, 17, .42) 35%, rgba(80, 0, 0, .1) 44%, transparent 52%),
    linear-gradient(104deg, transparent 48%, rgba(88, 0, 0, .08) 55%, rgba(206, 28, 17, .36) 64%, rgba(90, 0, 0, .12) 74%, transparent 86%) !important;
  clip-path: polygon(9% 20%, 24% 19%, 38% 26%, 51% 30%, 65% 31%, 84% 39%, 95% 51%, 93% 62%, 72% 49%, 55% 44%, 39% 39%, 24% 34%, 8% 31%) !important;
  mix-blend-mode: screen !important;
  filter: blur(1px) saturate(165%) contrast(112%) !important;
  transform-origin: 48% 38% !important;
  animation: gulRedClothWind 2.25s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop::before,
.language-gate .gate-backdrop::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(ellipse at 27% 29%, rgba(255, 96, 57, .32), transparent 12%),
    radial-gradient(ellipse at 70% 43%, rgba(255, 78, 48, .28), transparent 16%) !important;
  mix-blend-mode: screen !important;
  filter: blur(2px) !important;
}

.language-gate .gate-backdrop::before {
  clip-path: polygon(11% 22%, 25% 20%, 39% 27%, 50% 31%, 43% 36%, 26% 32%, 9% 31%) !important;
  animation: gulLeftClothSnap 1.7s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop::after {
  clip-path: polygon(47% 28%, 64% 31%, 84% 39%, 96% 52%, 92% 63%, 72% 49%, 55% 44%, 39% 38%) !important;
  animation: gulRightClothSnap 1.9s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

@keyframes gulRedClothWind {
  0%, 100% { transform: translate3d(-1.2%, -.25%, 0) skewX(-2.5deg) scaleX(.985); opacity: .48; }
  28% { transform: translate3d(1.5%, .35%, 0) skewX(3.8deg) scaleX(1.035); opacity: .78; }
  58% { transform: translate3d(.3%, -.15%, 0) skewX(-1deg) scaleX(1.01); opacity: .62; }
}

@keyframes gulLeftClothSnap {
  0%, 100% { transform: translate3d(-2.6%, -.4%, 0) rotate(-.8deg) scaleX(.94); opacity: .4; }
  45% { transform: translate3d(2.2%, .7%, 0) rotate(1.2deg) scaleX(1.08); opacity: .78; }
}

@keyframes gulRightClothSnap {
  0%, 100% { transform: translate3d(1.8%, -.3%, 0) rotate(.6deg) scaleX(.97); opacity: .36; }
  50% { transform: translate3d(-2.2%, .5%, 0) rotate(-1deg) scaleX(1.06); opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate .gate-backdrop,
  .language-gate .gate-backdrop::before,
  .language-gate .gate-backdrop::after {
    animation: none !important;
  }
}

/* Language selector: carved Viking rune plate aligned with the GUL concept. */
.gate-panel {
  width: min(920px, calc(100vw - 42px)) !important;
  margin-bottom: clamp(18px, 4vh, 42px) !important;
}

.language-choice-block > p {
  position: relative !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 46px !important;
  color: #f6df9e !important;
  font-size: clamp(17px, 1.65vw, 24px) !important;
  letter-spacing: .14em !important;
  text-shadow: 0 10px 28px rgba(0,0,0,.82), 0 0 18px rgba(221, 150, 47, .18) !important;
}

.language-choice-block > p::before,
.language-choice-block > p::after {
  content: "ᚱ" !important;
  position: absolute !important;
  top: 50% !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  color: rgba(246, 206, 118, .72) !important;
  font-family: Georgia, serif !important;
  font-size: 18px !important;
  transform: translateY(-50%) !important;
  border: 1px solid rgba(246, 206, 118, .34) !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(246, 206, 118, .16), rgba(3, 19, 23, .78)) !important;
  box-shadow: inset 0 0 10px rgba(255,255,255,.04), 0 0 18px rgba(221, 150, 47, .12) !important;
}

.language-choice-block > p::before { left: 0 !important; }
.language-choice-block > p::after { right: 0 !important; content: "ᛟ" !important; }

.language-choice-block > p span,
.language-choice-block > p small {
  display: none !important;
}

.language-choice-block > p::selection { background: transparent !important; }

.language-choice-block > p + .rune-choice {
  margin-top: 10px !important;
}

.rune-choice {
  width: min(860px, 92vw) !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(94px, 1fr)) !important;
  gap: 8px !important;
  padding: 12px 18px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(236, 190, 98, .5) !important;
  background:
    linear-gradient(90deg, rgba(94, 49, 18, .2), transparent 18%, transparent 82%, rgba(94, 49, 18, .2)),
    linear-gradient(180deg, rgba(24, 42, 40, .86), rgba(5, 18, 21, .92) 58%, rgba(2, 10, 13, .96)) !important;
  box-shadow:
    0 28px 90px rgba(0,0,0,.58),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -18px 34px rgba(0,0,0,.34),
    0 0 0 4px rgba(2, 10, 13, .38) !important;
  backdrop-filter: blur(8px) saturate(118%) !important;
}

.rune-choice::before,
.rune-choice::after {
  top: 50% !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(246, 211, 128, .5) !important;
  background:
    radial-gradient(circle at 50% 50%, #f1c968 0 3px, rgba(6, 28, 31, .96) 4px 62%, rgba(2, 10, 13, .96) 63%) !important;
  transform: translateY(-50%) rotate(0deg) !important;
  box-shadow: inset 0 0 18px rgba(255,255,255,.06), 0 0 22px rgba(221, 150, 47, .2) !important;
}

.rune-choice::before { left: -22px !important; }
.rune-choice::after { right: -22px !important; }

.rune-button {
  position: relative !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 0 10px !important;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%) !important;
  border: 1px solid rgba(246, 211, 128, .24) !important;
  color: rgba(255, 236, 176, .9) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 225, 142, .1), transparent 58%),
    linear-gradient(180deg, rgba(9, 43, 47, .88), rgba(3, 18, 21, .98)) !important;
  font-size: clamp(12px, 1vw, 15px) !important;
  letter-spacing: .02em !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -12px 18px rgba(0,0,0,.24) !important;
}

.rune-button::before {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 8px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(246, 211, 128, .42), transparent) !important;
}

.rune-button:hover,
.rune-button:focus-visible {
  color: #110b05 !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 230, .24), transparent 56%),
    linear-gradient(180deg, #fff0b4, #d39432) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(255, 238, 172, .8) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.36), 0 0 22px rgba(232, 168, 54, .18) !important;
}

.rune-button:focus-visible {
  outline: 2px solid rgba(255, 239, 178, .86) !important;
  outline-offset: 3px !important;
}

@media (max-width: 900px) {
  .rune-choice {
    grid-template-columns: repeat(3, minmax(94px, 1fr)) !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 520px) {
  .language-choice-block > p {
    padding: 0 34px !important;
    font-size: 15px !important;
  }
  .language-choice-block > p::before,
  .language-choice-block > p::after {
    width: 24px !important;
    height: 24px !important;
    font-size: 15px !important;
  }
  .rune-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 12px !important;
  }
  .rune-choice::before,
  .rune-choice::after {
    display: none !important;
  }
}

/* Realistic red cloth movement behind the GUL letters. */
.language-gate .gate-backdrop {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: .86 !important;
  background: url("assets/red-cloth-wind-overlay.png") center 37% / min(1180px, 96vw) auto no-repeat !important;
  clip-path: none !important;
  mix-blend-mode: multiply !important;
  filter: saturate(130%) contrast(112%) drop-shadow(0 18px 28px rgba(0,0,0,.32)) !important;
  transform-origin: 50% 39% !important;
  animation: gulRealClothWind 2.8s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop::before,
.language-gate .gate-backdrop::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: url("assets/red-cloth-wind-overlay.png") center 37% / min(1180px, 96vw) auto no-repeat !important;
  opacity: .34 !important;
  mix-blend-mode: screen !important;
  filter: blur(1.5px) saturate(140%) !important;
}

.language-gate .gate-backdrop::before {
  animation: gulRealClothHighlightA 1.9s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop::after {
  opacity: .22 !important;
  animation: gulRealClothHighlightB 2.25s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

@keyframes gulRealClothWind {
  0%, 100% {
    transform: translate3d(-1.1%, -.25%, 0) scaleX(.985) scaleY(1.01) skewX(-1.6deg) rotate(-.15deg);
    opacity: .76;
  }
  35% {
    transform: translate3d(1.2%, .35%, 0) scaleX(1.025) scaleY(.985) skewX(2.2deg) rotate(.12deg);
    opacity: .92;
  }
  68% {
    transform: translate3d(.35%, -.15%, 0) scaleX(1.008) scaleY(1.005) skewX(-.8deg) rotate(-.05deg);
    opacity: .84;
  }
}

@keyframes gulRealClothHighlightA {
  0%, 100% { transform: translate3d(-2.4%, -.4%, 0) scaleX(.98); opacity: .16; }
  48% { transform: translate3d(2.2%, .35%, 0) scaleX(1.035); opacity: .4; }
}

@keyframes gulRealClothHighlightB {
  0%, 100% { transform: translate3d(1.8%, .2%, 0) scaleX(1.02); opacity: .1; }
  50% { transform: translate3d(-1.8%, -.25%, 0) scaleX(.98); opacity: .28; }
}

@media (max-width: 760px) {
  .language-gate .gate-backdrop,
  .language-gate .gate-backdrop::before,
  .language-gate .gate-backdrop::after {
    background-size: min(820px, 118vw) auto !important;
    background-position: center 37% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate .gate-backdrop,
  .language-gate .gate-backdrop::before,
  .language-gate .gate-backdrop::after {
    animation: none !important;
  }
}

/* Refined red cloth animation: wind movement only on the cloth areas, away from the GUL letters. */
.language-gate .gate-backdrop {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  animation: none !important;
  transform: none !important;
}

.language-gate .gate-backdrop::before,
.language-gate .gate-backdrop::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background-image: url("assets/red-cloth-wind-overlay.png") !important;
  background-repeat: no-repeat !important;
  background-size: min(1120px, 94vw) auto !important;
  background-position: center 35% !important;
  mix-blend-mode: screen !important;
  filter: saturate(125%) contrast(108%) drop-shadow(0 12px 18px rgba(0,0,0,.24)) !important;
  opacity: .34 !important;
  transform-origin: 50% 38% !important;
}

.language-gate .gate-backdrop::before {
  clip-path: polygon(2% 16%, 17% 15%, 31% 21%, 45% 28%, 43% 41%, 27% 38%, 10% 33%, 0 30%) !important;
  animation: gulLeftRedClothWindRefined 2.4s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

.language-gate .gate-backdrop::after {
  clip-path: polygon(52% 25%, 67% 28%, 84% 36%, 100% 47%, 100% 60%, 83% 54%, 68% 48%, 50% 42%) !important;
  animation: gulRightRedClothWindRefined 2.7s cubic-bezier(0.77, 0, 0.175, 1) infinite !important;
}

@keyframes gulLeftRedClothWindRefined {
  0%, 100% {
    transform: translate3d(-1.4%, -.35%, 0) scaleX(.985) skewX(-1.8deg) rotate(-.12deg);
    opacity: .24;
  }
  42% {
    transform: translate3d(1.5%, .4%, 0) scaleX(1.025) skewX(2.4deg) rotate(.1deg);
    opacity: .46;
  }
  70% {
    transform: translate3d(.35%, -.1%, 0) scaleX(1.006) skewX(-.7deg);
    opacity: .34;
  }
}

@keyframes gulRightRedClothWindRefined {
  0%, 100% {
    transform: translate3d(1.2%, -.25%, 0) scaleX(1.01) skewX(1.4deg) rotate(.08deg);
    opacity: .22;
  }
  48% {
    transform: translate3d(-1.6%, .35%, 0) scaleX(.985) skewX(-2.1deg) rotate(-.1deg);
    opacity: .44;
  }
  76% {
    transform: translate3d(-.25%, -.05%, 0) scaleX(1.004) skewX(.5deg);
    opacity: .32;
  }
}

@media (max-width: 760px) {
  .language-gate .gate-backdrop::before,
  .language-gate .gate-backdrop::after {
    background-size: min(900px, 122vw) auto !important;
    background-position: center 35% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-gate .gate-backdrop::before,
  .language-gate .gate-backdrop::after {
    animation: none !important;
  }
}

/* Tighter cloth wind pass: keep the animated red cloth off the main GUL letters. */
.language-gate .gate-backdrop::before,
.language-gate .gate-backdrop::after {
  opacity: .2 !important;
  background-size: min(1080px, 92vw) auto !important;
  background-position: center 34% !important;
  mix-blend-mode: screen !important;
  filter: saturate(120%) contrast(104%) blur(.2px) !important;
}

.language-gate .gate-backdrop::before {
  clip-path: polygon(0% 15%, 17% 13%, 33% 19%, 47% 27%, 43% 32%, 27% 28%, 10% 25%, 0% 24%) !important;
}

.language-gate .gate-backdrop::after {
  clip-path: polygon(49% 24%, 67% 27%, 86% 36%, 100% 47%, 100% 56%, 83% 48%, 67% 41%, 50% 35%) !important;
}

@keyframes gulLeftRedClothWindRefined {
  0%, 100% { transform: translate3d(-1.1%, -.25%, 0) scaleX(.99) skewX(-1.2deg); opacity: .16; }
  42% { transform: translate3d(1.2%, .28%, 0) scaleX(1.018) skewX(1.6deg); opacity: .32; }
  70% { transform: translate3d(.25%, -.08%, 0) scaleX(1.004) skewX(-.5deg); opacity: .22; }
}

@keyframes gulRightRedClothWindRefined {
  0%, 100% { transform: translate3d(1%, -.2%, 0) scaleX(1.006) skewX(1deg); opacity: .15; }
  48% { transform: translate3d(-1.25%, .28%, 0) scaleX(.99) skewX(-1.5deg); opacity: .31; }
  76% { transform: translate3d(-.18%, -.05%, 0) scaleX(1.002) skewX(.4deg); opacity: .21; }
}

/* Remove added red cloth overlay completely; keep only the original artwork cloth. */
.language-gate .gate-backdrop,
.language-gate .gate-backdrop::before,
.language-gate .gate-backdrop::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

/* Language buttons redesign: still until hover, brighter Viking shield style. */
.rune-choice {
  animation: none !important;
  width: min(900px, 92vw) !important;
  grid-template-columns: repeat(6, minmax(96px, 1fr)) !important;
  gap: 10px !important;
  padding: 14px 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 210, 112, .46) !important;
  background:
    linear-gradient(90deg, rgba(20, 9, 5, .72), rgba(64, 28, 12, .46) 20%, rgba(8, 22, 25, .78) 50%, rgba(64, 28, 12, .46) 80%, rgba(20, 9, 5, .72)),
    radial-gradient(circle at 50% 0%, rgba(255, 216, 126, .18), transparent 60%) !important;
  box-shadow:
    0 24px 72px rgba(0,0,0,.58),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -18px 30px rgba(0,0,0,.34) !important;
}

.rune-choice::before,
.rune-choice::after {
  background:
    radial-gradient(circle at 50% 50%, #ffd878 0 4px, #612f12 5px 44%, #07161a 46% 100%) !important;
  border-color: rgba(255, 223, 139, .66) !important;
}

.rune-button {
  min-height: 50px !important;
  padding: 0 12px !important;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%) !important;
  border: 1px solid rgba(255, 218, 128, .38) !important;
  color: #ffe6a6 !important;
  background:
    linear-gradient(135deg, rgba(110, 45, 18, .94), rgba(36, 16, 10, .96) 42%, rgba(7, 35, 39, .96) 100%) !important;
  font-size: clamp(12px, .95vw, 15px) !important;
  font-weight: 950 !important;
  letter-spacing: .03em !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.68) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -12px 20px rgba(0,0,0,.3),
    0 8px 18px rgba(0,0,0,.22) !important;
  transform: translateY(0) scale(1) !important;
  transition:
    transform 160ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease !important;
}

.rune-button::before {
  left: 18px !important;
  right: 18px !important;
  bottom: 8px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 154, .62), transparent) !important;
}

@media (hover: hover) and (pointer: fine) {
  .rune-button:hover,
  .rune-button:focus-visible {
    color: #170a03 !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,230,.34), transparent 58%),
      linear-gradient(180deg, #fff0b1, #e4a33d 58%, #b66120) !important;
    border-color: rgba(255, 241, 179, .88) !important;
    transform: translateY(-5px) scale(1.045) !important;
    filter: saturate(1.12) brightness(1.08) !important;
    box-shadow:
      0 18px 34px rgba(0,0,0,.42),
      0 0 28px rgba(255, 188, 68, .22),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }
}

@media (max-width: 900px) {
  .rune-choice {
    grid-template-columns: repeat(3, minmax(96px, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .rune-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .rune-button {
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rune-button {
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease !important;
  }
  .rune-button:hover,
  .rune-button:focus-visible {
    transform: none !important;
  }
}

/* Better language rail: lighter carved shield rail, no heavy background block. */
.rune-choice {
  animation: none !important;
  width: min(860px, 92vw) !important;
  grid-template-columns: repeat(6, minmax(92px, 1fr)) !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(246, 211, 128, .34) !important;
  background:
    linear-gradient(180deg, rgba(255, 232, 154, .08), rgba(255, 232, 154, .025)),
    linear-gradient(90deg, rgba(5, 22, 25, .18), rgba(5, 22, 25, .56) 18%, rgba(5, 22, 25, .62) 50%, rgba(5, 22, 25, .56) 82%, rgba(5, 22, 25, .18)) !important;
  box-shadow:
    0 18px 54px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -10px 22px rgba(0,0,0,.22) !important;
  backdrop-filter: blur(6px) saturate(112%) !important;
}

.rune-choice::before,
.rune-choice::after {
  width: 30px !important;
  height: 30px !important;
  background:
    radial-gradient(circle at 50% 50%, #ffe9a8 0 3px, #9a5b22 4px 44%, rgba(4, 22, 25, .96) 46% 100%) !important;
  border-color: rgba(255, 230, 154, .5) !important;
  box-shadow: 0 0 18px rgba(232, 167, 64, .16), inset 0 0 12px rgba(255,255,255,.08) !important;
}

.rune-choice::before { left: -12px !important; }
.rune-choice::after { right: -12px !important; }

.rune-button {
  min-height: 48px !important;
  padding: 0 14px !important;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%) !important;
  border: 1px solid rgba(255, 226, 142, .28) !important;
  color: #ffe7aa !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 228, 154, .11), transparent 58%),
    linear-gradient(180deg, rgba(27, 67, 65, .92), rgba(4, 24, 28, .96) 68%, rgba(3, 13, 16, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -10px 18px rgba(0,0,0,.28),
    0 8px 20px rgba(0,0,0,.2) !important;
  transform: translateY(0) scale(1) !important;
}

.rune-button::before {
  left: 20px !important;
  right: 20px !important;
  bottom: 8px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 154, .42), transparent) !important;
}

@media (hover: hover) and (pointer: fine) {
  .rune-button:hover,
  .rune-button:focus-visible {
    color: #150904 !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,238,.32), transparent 58%),
      linear-gradient(180deg, #fff2bd, #e0a144 58%, #ad5a1f) !important;
    border-color: rgba(255, 239, 180, .82) !important;
    transform: translateY(-4px) scale(1.035) !important;
    box-shadow:
      0 16px 34px rgba(0,0,0,.4),
      0 0 24px rgba(232, 167, 64, .18),
      inset 0 1px 0 rgba(255,255,255,.24) !important;
  }
}

@media (max-width: 900px) {
  .rune-choice {
    grid-template-columns: repeat(3, minmax(96px, 1fr)) !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 520px) {
  .rune-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 10px !important;
  }
  .rune-choice::before,
  .rune-choice::after { display: none !important; }
}

/* Premium language selector redesign: obsidian runestone cards, no cheap rail. */
.gate-panel {
  width: min(880px, calc(100vw - 38px)) !important;
  margin-bottom: clamp(22px, 4.5vh, 46px) !important;
}

.language-choice-block {
  gap: 14px !important;
}

.language-choice-block > p {
  display: inline-grid !important;
  padding: 0 !important;
  color: #f3dca3 !important;
  font-size: clamp(18px, 1.75vw, 26px) !important;
  letter-spacing: .16em !important;
  text-shadow: 0 14px 32px rgba(0,0,0,.82), 0 0 26px rgba(141, 206, 205, .14) !important;
}

.language-choice-block > p::before,
.language-choice-block > p::after {
  display: none !important;
}

.rune-choice {
  width: min(820px, 92vw) !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(92px, 1fr)) !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  animation: none !important;
}

.rune-choice::before,
.rune-choice::after {
  display: none !important;
}

.rune-button {
  min-height: 62px !important;
  padding: 9px 10px 8px !important;
  clip-path: none !important;
  border-radius: 16px !important;
  border: 1px solid rgba(127, 211, 208, .26) !important;
  color: #dff8f3 !important;
  background:
    linear-gradient(180deg, rgba(18, 47, 50, .86), rgba(5, 18, 22, .9) 58%, rgba(2, 9, 12, .94)),
    radial-gradient(circle at 50% 0%, rgba(127, 211, 208, .2), transparent 58%) !important;
  font-size: clamp(12px, .9vw, 14px) !important;
  font-weight: 950 !important;
  letter-spacing: .035em !important;
  text-shadow: 0 2px 9px rgba(0,0,0,.72) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -16px 26px rgba(0,0,0,.32) !important;
  transform: translateY(0) scale(1) !important;
  position: relative !important;
  overflow: hidden !important;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    color 170ms ease,
    background 170ms ease,
    box-shadow 170ms ease !important;
}

.rune-button::before {
  content: "" !important;
  position: absolute !important;
  inset: 7px !important;
  height: auto !important;
  border-radius: 12px !important;
  border: 1px solid rgba(243, 220, 163, .14) !important;
  background:
    linear-gradient(135deg, rgba(243, 220, 163, .08), transparent 36%, rgba(127, 211, 208, .08)) !important;
  pointer-events: none !important;
}

.rune-button::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 9px !important;
  width: 22px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: rgba(127, 211, 208, .42) !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

.rune-button:first-child {
  color: #1c1008 !important;
  border-color: rgba(243, 220, 163, .72) !important;
  background:
    linear-gradient(180deg, #f7d990, #c98832 62%, #6c3314) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.4), 0 0 22px rgba(243, 175, 74, .16) !important;
}

.rune-button:first-child::after {
  background: rgba(55, 24, 10, .38) !important;
}

@media (hover: hover) and (pointer: fine) {
  .rune-button:hover,
  .rune-button:focus-visible {
    color: #081216 !important;
    border-color: rgba(174, 242, 235, .7) !important;
    background:
      linear-gradient(180deg, #b7fff1, #51c7bd 58%, #16736f) !important;
    transform: translateY(-6px) scale(1.035) !important;
    box-shadow:
      0 22px 44px rgba(0,0,0,.46),
      0 0 30px rgba(91, 220, 209, .2),
      inset 0 1px 0 rgba(255,255,255,.28) !important;
  }
}

.rune-button:focus-visible {
  outline: 2px solid rgba(183, 255, 241, .92) !important;
  outline-offset: 4px !important;
}

@media (max-width: 900px) {
  .rune-choice {
    grid-template-columns: repeat(3, minmax(96px, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .rune-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .rune-button {
    min-height: 54px !important;
  }
}

/* Language cards recolor: dark ember, gold, and burgundy to match the GUL artwork. */
.rune-button {
  color: #f8df9f !important;
  border-color: rgba(248, 198, 104, .34) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 114, .12), transparent 58%),
    linear-gradient(180deg, rgba(71, 27, 16, .9), rgba(27, 12, 10, .96) 58%, rgba(8, 7, 7, .98)) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -16px 26px rgba(0,0,0,.34) !important;
}

.rune-button::before {
  border-color: rgba(248, 198, 104, .16) !important;
  background: linear-gradient(135deg, rgba(248, 198, 104, .1), transparent 38%, rgba(140, 32, 20, .12)) !important;
}

.rune-button::after {
  background: rgba(248, 198, 104, .42) !important;
}

.rune-button:first-child {
  color: #1a0d05 !important;
  border-color: rgba(255, 225, 145, .75) !important;
  background:
    linear-gradient(180deg, #ffe6a6, #d08b31 62%, #7b3614) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.42), 0 0 22px rgba(235, 157, 56, .18) !important;
}

@media (hover: hover) and (pointer: fine) {
  .rune-button:hover,
  .rune-button:focus-visible {
    color: #1a0d05 !important;
    border-color: rgba(255, 231, 160, .9) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,230,.32), transparent 58%),
      linear-gradient(180deg, #ffe6a6, #d08b31 58%, #8b3c18) !important;
    box-shadow:
      0 22px 44px rgba(0,0,0,.46),
      0 0 30px rgba(235, 157, 56, .22),
      inset 0 1px 0 rgba(255,255,255,.28) !important;
  }
}

/* Premium plaque button shape: forged beveled plates, cleaner and less bulky. */
.rune-choice {
  width: min(850px, 92vw) !important;
  gap: 14px !important;
}

.rune-button {
  min-height: 54px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px) !important;
  border: 1px solid rgba(255, 218, 135, .34) !important;
  background:
    linear-gradient(135deg, rgba(255, 229, 159, .11), transparent 32%),
    linear-gradient(180deg, rgba(75, 30, 17, .94), rgba(25, 12, 10, .98) 62%, rgba(8, 7, 7, .99)) !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.11),
    inset 0 0 0 1px rgba(255, 224, 145, .08),
    inset 0 -12px 20px rgba(0,0,0,.32) !important;
}

.rune-button::before {
  inset: 6px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 224, 145, .16) !important;
  background:
    linear-gradient(135deg, rgba(255, 224, 145, .1), transparent 40%, rgba(120, 34, 20, .14)) !important;
}

.rune-button::after {
  width: 34px !important;
  height: 1px !important;
  bottom: 10px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 218, 135, .58), transparent) !important;
}

.rune-button:first-child {
  border-color: rgba(255, 228, 154, .72) !important;
  background:
    linear-gradient(135deg, rgba(255,255,235,.26), transparent 36%),
    linear-gradient(180deg, #ffe3a1, #cf872e 64%, #713313) !important;
}

@media (hover: hover) and (pointer: fine) {
  .rune-button:hover,
  .rune-button:focus-visible {
    transform: translateY(-5px) scale(1.025) !important;
    border-color: rgba(255, 237, 177, .92) !important;
    background:
      linear-gradient(135deg, rgba(255,255,236,.3), transparent 36%),
      linear-gradient(180deg, #ffe8ad, #d99335 60%, #8a3d18) !important;
    box-shadow:
      0 20px 42px rgba(0,0,0,.44),
      0 0 26px rgba(230, 156, 56, .2),
      inset 0 1px 0 rgba(255,255,255,.28),
      inset 0 0 0 1px rgba(255, 246, 196, .18) !important;
  }
}

@media (max-width: 520px) {
  .rune-button {
    min-height: 50px !important;
    padding-inline: 10px !important;
  }
}

/* Minimal premium language tabs: no bulky buttons, text-first with refined hover. */
.rune-choice {
  width: min(820px, 92vw) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: clamp(10px, 1.4vw, 22px) !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(4, 12, 14, .28) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(5px) saturate(110%) !important;
}

.rune-choice::before,
.rune-choice::after {
  display: none !important;
}

.rune-button,
.rune-button:first-child {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 9px 4px 12px !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255, 231, 172, .78) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(13px, 1vw, 15px) !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-shadow: 0 8px 20px rgba(0,0,0,.72) !important;
  position: relative !important;
  overflow: visible !important;
  transform: none !important;
  transition: color 170ms ease, transform 170ms ease, text-shadow 170ms ease !important;
}

.rune-button::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 4px !important;
  top: auto !important;
  width: 28px !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(224, 151, 48, .42) !important;
  transform: translateX(-50%) scaleX(.55) !important;
  opacity: .55 !important;
  transition: transform 170ms ease, opacity 170ms ease, background 170ms ease !important;
}

.rune-button::after {
  display: none !important;
}

.rune-button:first-child {
  color: #ffe6a6 !important;
}

.rune-button:first-child::before {
  background: linear-gradient(90deg, transparent, #ffd77d, transparent) !important;
  transform: translateX(-50%) scaleX(1) !important;
  opacity: .95 !important;
}

@media (hover: hover) and (pointer: fine) {
  .rune-button:hover,
  .rune-button:focus-visible {
    color: #fff4c7 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-3px) !important;
    text-shadow: 0 10px 24px rgba(0,0,0,.76), 0 0 18px rgba(255, 203, 107, .2) !important;
  }

  .rune-button:hover::before,
  .rune-button:focus-visible::before {
    background: linear-gradient(90deg, transparent, #ffd77d, transparent) !important;
    transform: translateX(-50%) scaleX(1.25) !important;
    opacity: 1 !important;
  }
}

.rune-button:focus-visible {
  outline: 1px solid rgba(255, 226, 151, .55) !important;
  outline-offset: 7px !important;
}

@media (max-width: 520px) {
  .rune-choice {
    gap: 8px 16px !important;
    border-radius: 22px !important;
  }
  .rune-button,
  .rune-button:first-child {
    font-size: 12px !important;
    letter-spacing: .05em !important;
  }
}

/* Homepage overhaul: cinematic command deck. */
body.home-overhaul:has(.harbor-hero) {
  background: #050b0d !important;
}

body.home-overhaul:has(.harbor-hero) main,
body.home-overhaul:has(.harbor-hero) .page {
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
}

body.home-overhaul:has(.harbor-hero) .site-header {
  min-height: 72px !important;
  padding: 12px clamp(18px, 3vw, 42px) !important;
  background: linear-gradient(180deg, rgba(2, 9, 12, .74), rgba(2, 9, 12, .18)) !important;
  border-bottom: 1px solid rgba(248, 218, 150, .16) !important;
}

body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  height: 100dvh !important;
  min-height: 100dvh !important;
  padding: 72px clamp(20px, 5vw, 72px) 210px !important;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 214, 126, .08), transparent 25rem),
    linear-gradient(180deg, rgba(1, 7, 10, .04), rgba(1, 7, 10, .18) 48%, rgba(1, 7, 10, .9) 100%),
    url("assets/gul-cinematic-logo-optimized.webp") center / cover no-repeat !important;
}

body.home-overhaul:has(.harbor-hero) .hero::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: .42 !important;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.12), transparent 22rem),
    radial-gradient(ellipse at 78% 28%, rgba(255, 189, 87, .12), transparent 20rem),
    linear-gradient(90deg, rgba(1,7,10,.52), transparent 22%, transparent 78%, rgba(1,7,10,.48)) !important;
}

body.home-overhaul:has(.harbor-hero) .hero::after {
  opacity: .26 !important;
}

body.home-overhaul .cinematic-logo-lockup {
  display: none !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content {
  width: min(760px, 88vw) !important;
  transform: translateY(10vh) !important;
  animation: none !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::before {
  content: "GUL" !important;
  display: block !important;
  margin: 0 auto 10px !important;
  color: rgba(255, 230, 166, .98) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(96px, 14vw, 190px) !important;
  line-height: .76 !important;
  letter-spacing: .08em !important;
  text-shadow: 0 28px 80px rgba(0,0,0,.8), 0 0 26px rgba(214, 144, 42, .14) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::after {
  content: "TOGETHER FURTHER" !important;
  display: block !important;
  margin: 0 auto 26px !important;
  color: rgba(255, 230, 166, .82) !important;
  font-size: clamp(12px, 1.2vw, 16px) !important;
  font-weight: 900 !important;
  letter-spacing: .42em !important;
  text-shadow: 0 10px 26px rgba(0,0,0,.65) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-actions {
  width: fit-content !important;
  margin: 0 auto !important;
  padding: 8px !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 226, 151, .16) !important;
  border-radius: 999px !important;
  background: rgba(4, 12, 14, .38) !important;
  backdrop-filter: blur(10px) saturate(118%) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-actions .button {
  min-width: 156px !important;
  min-height: 46px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

body.home-overhaul .home-command-deck {
  position: fixed !important;
  left: 50% !important;
  bottom: clamp(18px, 3vh, 34px) !important;
  z-index: 45 !important;
  width: min(1160px, calc(100vw - 42px)) !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) !important;
  gap: clamp(14px, 2vw, 24px) !important;
  align-items: stretch !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 226, 151, .18) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(6, 19, 22, .62), rgba(4, 11, 13, .72)),
    radial-gradient(circle at 10% 0%, rgba(255, 204, 112, .14), transparent 18rem) !important;
  backdrop-filter: blur(12px) saturate(118%) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

body.home-overhaul .home-deck-heading {
  display: grid !important;
  align-content: center !important;
  gap: 8px !important;
  padding: 6px 8px 6px 12px !important;
  border-right: 1px solid rgba(255, 226, 151, .12) !important;
}

body.home-overhaul .home-deck-heading span {
  color: rgba(255, 226, 151, .58) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}

body.home-overhaul .home-deck-heading strong {
  max-width: 15ch !important;
  color: #ffe5a8 !important;
  font-family: var(--font-display) !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: .95 !important;
  text-shadow: 0 12px 28px rgba(0,0,0,.55) !important;
}

body.home-overhaul .home-route-grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.home-overhaul .home-route {
  position: relative !important;
  min-height: 118px !important;
  display: grid !important;
  align-content: end !important;
  gap: 6px !important;
  padding: 14px 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 226, 151, .12) !important;
  border-radius: 18px !important;
  color: rgba(255, 232, 176, .86) !important;
  text-decoration: none !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%),
    linear-gradient(180deg, rgba(24, 46, 45, .6), rgba(7, 17, 19, .86)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease !important;
}

body.home-overhaul .home-route::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 0%, rgba(255, 215, 128, .14), transparent 58%) !important;
  opacity: .75 !important;
}

body.home-overhaul .home-route > * {
  position: relative !important;
  z-index: 1 !important;
}

body.home-overhaul .route-mark {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  color: rgba(255, 226, 151, .38) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
}

body.home-overhaul .home-route strong {
  color: #ffe5a8 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

body.home-overhaul .home-route small {
  color: rgba(255, 232, 176, .6) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

body.home-overhaul .home-route.primary-route {
  border-color: rgba(255, 221, 142, .34) !important;
  background:
    linear-gradient(180deg, rgba(255, 225, 151, .1), transparent 34%),
    linear-gradient(180deg, rgba(104, 43, 18, .78), rgba(33, 14, 10, .9)) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover,
  body.home-overhaul .home-route:focus-visible {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 226, 151, .42) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.1) !important;
  }
}

@media (max-width: 980px) {
  body.home-overhaul:has(.harbor-hero) main,
  body.home-overhaul:has(.harbor-hero) .page {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
    height: auto !important;
    min-height: 74dvh !important;
    padding-bottom: 36px !important;
  }
  body.home-overhaul .home-command-deck {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-template-columns: 1fr !important;
    width: min(100% - 28px, 760px) !important;
    margin: -12px auto 36px !important;
  }
  body.home-overhaul .home-deck-heading {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 226, 151, .12) !important;
  }
  body.home-overhaul .home-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  body.home-overhaul:has(.harbor-hero) .hero-content::before {
    font-size: clamp(76px, 25vw, 116px) !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero-content::after {
    letter-spacing: .22em !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    width: min(100%, 360px) !important;
    grid-template-columns: 1fr !important;
    display: grid !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero-actions .button {
    width: 100% !important;
  }
  body.home-overhaul .home-route-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Homepage visibility and command-deck refinement. */
body.home-overhaul:has(.harbor-hero) main {
  position: relative !important;
  isolation: isolate !important;
}

body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  padding-top: clamp(64px, 8vh, 92px) !important;
  padding-bottom: clamp(230px, 29vh, 320px) !important;
  display: grid !important;
  place-items: center !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content {
  transform: translateY(clamp(-28px, -4vh, -8px)) !important;
  position: relative !important;
  z-index: 12 !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::before {
  font-size: clamp(86px, 12vw, 154px) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-actions {
  transform: scale(.96) !important;
}

body.home-overhaul .home-command-deck {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 600 !important;
  bottom: clamp(20px, 3.5vh, 38px) !important;
  grid-template-columns: minmax(176px, 238px) minmax(0, 1fr) !important;
  padding: 12px !important;
  background:
    linear-gradient(180deg, rgba(9, 18, 19, .84), rgba(3, 9, 11, .9)),
    radial-gradient(circle at 12% 0%, rgba(226, 166, 80, .16), transparent 18rem) !important;
  border-color: rgba(242, 198, 124, .28) !important;
  box-shadow: 0 30px 110px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.035) inset !important;
}

body.home-overhaul .home-command-deck::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 162, .26), transparent) top / 100% 1px no-repeat !important;
}

body.home-overhaul .home-route-grid {
  grid-template-columns: repeat(7, minmax(86px, 1fr)) !important;
}

body.home-overhaul .home-route {
  min-height: 102px !important;
  padding: 13px 10px 12px !important;
  justify-items: center !important;
  text-align: center !important;
  align-content: center !important;
  gap: 7px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 50% 22%, rgba(91, 174, 176, .28), transparent 2.7rem),
    linear-gradient(180deg, rgba(20, 48, 49, .76), rgba(6, 16, 18, .94)) !important;
}

body.home-overhaul .home-route::after {
  content: "" !important;
  width: 42px !important;
  height: 42px !important;
  order: -1 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 226, 151, .44) !important;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(62, 142, 145, .72), rgba(3, 18, 20, .94) 68%) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.42), inset 0 0 18px rgba(106, 216, 220, .18) !important;
}

body.home-overhaul .route-mark {
  position: static !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: -2px !important;
  border-radius: 999px !important;
  background: rgba(255, 225, 151, .08) !important;
  color: rgba(255, 226, 151, .62) !important;
  font-size: 10px !important;
}

body.home-overhaul .home-route strong {
  font-size: 11px !important;
  letter-spacing: .09em !important;
}

body.home-overhaul .home-route small {
  display: none !important;
}

body.home-overhaul .home-route.primary-route {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 204, 112, .36), transparent 3rem),
    linear-gradient(180deg, rgba(102, 54, 20, .92), rgba(25, 10, 8, .96)) !important;
}

body.home-overhaul .home-route.primary-route::after {
  border-color: rgba(255, 230, 162, .68) !important;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.64) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(196, 128, 44, .88), rgba(39, 16, 10, .96) 68%) !important;
}

@media (max-height: 760px) and (min-width: 981px) {
  body.home-overhaul:has(.harbor-hero) .hero-content::before {
    font-size: clamp(72px, 10vw, 124px) !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero-content::after {
    margin-bottom: 16px !important;
  }
  body.home-overhaul .home-command-deck {
    bottom: 14px !important;
  }
  body.home-overhaul .home-route {
    min-height: 88px !important;
  }
  body.home-overhaul .home-route::after {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (max-width: 980px) {
  body.home-overhaul:has(.harbor-hero) .hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
    padding-bottom: 44px !important;
  }
  body.home-overhaul .home-command-deck {
    z-index: 10 !important;
  }
  body.home-overhaul .home-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.home-overhaul .home-route small {
    display: block !important;
  }
}

/* Homepage centerpiece cleanup: keep the real cinematic logo art, no duplicate text overlay. */
body.home-overhaul:has(.harbor-hero) .hero-content::before,
body.home-overhaul:has(.harbor-hero) .hero-content::after {
  content: none !important;
  display: none !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content {
  transform: translateY(clamp(20px, 7vh, 68px)) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-actions {
  margin-top: clamp(150px, 24vh, 250px) !important;
}

@media (max-height: 760px) and (min-width: 981px) {
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    margin-top: clamp(118px, 19vh, 172px) !important;
  }
}

@media (max-width: 980px) {
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    margin-top: clamp(108px, 20vh, 180px) !important;
  }
}

/* Homepage revision: remove center CTAs and make the route menu a premium list. */
body.home-overhaul:has(.harbor-hero) .hero-actions {
  display: none !important;
}

body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  padding-bottom: clamp(260px, 32vh, 360px) !important;
}

body.home-overhaul .home-command-deck {
  grid-template-columns: minmax(210px, 285px) minmax(0, 1fr) !important;
  gap: 16px !important;
  padding: 16px !important;
  border-radius: 24px !important;
}

body.home-overhaul .home-route-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border: 1px solid rgba(255, 226, 151, .12) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(2, 10, 12, .36) !important;
}

body.home-overhaul .home-route {
  min-height: 96px !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 226, 151, .12) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 38%),
    linear-gradient(180deg, rgba(13, 35, 37, .54), rgba(3, 13, 15, .74)) !important;
  box-shadow: none !important;
}

body.home-overhaul .home-route:last-child {
  border-right: 0 !important;
}

body.home-overhaul .home-route::after {
  display: none !important;
}

body.home-overhaul .home-route::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 222, 151, .14), transparent 56%),
    linear-gradient(180deg, transparent, rgba(255, 222, 151, .05)) !important;
  opacity: 0 !important;
  transition: opacity 180ms ease !important;
}

body.home-overhaul .route-mark {
  width: auto !important;
  height: auto !important;
  margin: 0 0 10px !important;
  background: transparent !important;
  color: rgba(255, 226, 151, .4) !important;
  font-size: 10px !important;
  letter-spacing: .18em !important;
}

body.home-overhaul .home-route strong {
  font-size: 12px !important;
  letter-spacing: .08em !important;
}

body.home-overhaul .home-route.primary-route {
  background:
    linear-gradient(180deg, rgba(234, 171, 75, .22), rgba(81, 38, 16, .18) 46%, rgba(15, 9, 7, .76)) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover,
  body.home-overhaul .home-route:focus-visible {
    transform: translateY(0) !important;
    background:
      linear-gradient(180deg, rgba(255, 226, 151, .12), rgba(255, 226, 151, .03)),
      linear-gradient(180deg, rgba(24, 58, 59, .72), rgba(4, 14, 16, .9)) !important;
  }
  body.home-overhaul .home-route:hover::before,
  body.home-overhaul .home-route:focus-visible::before {
    opacity: 1 !important;
  }
}

@media (max-width: 980px) {
  body.home-overhaul .home-command-deck {
    grid-template-columns: 1fr !important;
  }
  body.home-overhaul .home-route-grid {
    grid-template-columns: 1fr !important;
  }
  body.home-overhaul .home-route {
    min-height: 66px !important;
    grid-template-columns: 42px 1fr !important;
    justify-items: start !important;
    text-align: left !important;
    align-content: center !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 226, 151, .12) !important;
  }
  body.home-overhaul .home-route:last-child {
    border-bottom: 0 !important;
  }
  body.home-overhaul .route-mark {
    margin: 0 !important;
  }
}

/* Homepage scroll sections: replace bottom tab bar with full page sections. */
body.home-overhaul:has(.harbor-hero) main,
body.home-overhaul:has(.harbor-hero) .page {
  height: auto !important;
  min-height: 100dvh !important;
  overflow: visible !important;
}

body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  height: 100dvh !important;
  min-height: 720px !important;
  padding-bottom: clamp(80px, 12vh, 140px) !important;
}

body.home-overhaul .home-command-deck {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 5 !important;
  width: min(1180px, calc(100% - 36px)) !important;
  margin: clamp(34px, 6vw, 76px) auto clamp(70px, 8vw, 110px) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(22px, 4vw, 34px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body.home-overhaul .home-command-deck::before {
  display: none !important;
}

body.home-overhaul .home-deck-heading {
  width: min(720px, 100%) !important;
  border: 0 !important;
  padding: 0 !important;
  gap: 12px !important;
}

body.home-overhaul .home-deck-heading span {
  color: rgba(232, 176, 85, .86) !important;
  font-size: 12px !important;
  letter-spacing: .26em !important;
}

body.home-overhaul .home-deck-heading strong {
  max-width: 12ch !important;
  font-size: clamp(44px, 6.5vw, 86px) !important;
  line-height: .86 !important;
  color: #ffe2a2 !important;
}

body.home-overhaul .home-route-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.home-overhaul .home-route {
  min-height: 138px !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) auto !important;
  align-items: center !important;
  align-content: center !important;
  justify-items: stretch !important;
  gap: clamp(16px, 3vw, 34px) !important;
  padding: clamp(20px, 3vw, 34px) !important;
  border: 1px solid rgba(234, 181, 92, .18) !important;
  border-radius: 24px !important;
  text-align: left !important;
  background:
    radial-gradient(circle at 12% 28%, rgba(220, 155, 60, .16), transparent 16rem),
    linear-gradient(90deg, rgba(6, 18, 20, .92), rgba(15, 31, 31, .78) 52%, rgba(45, 22, 13, .46)) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

body.home-overhaul .home-route:nth-child(even) {
  background:
    radial-gradient(circle at 88% 24%, rgba(220, 155, 60, .18), transparent 16rem),
    linear-gradient(90deg, rgba(41, 20, 13, .48), rgba(14, 30, 31, .8) 48%, rgba(5, 17, 20, .94)) !important;
}

body.home-overhaul .home-route::before {
  opacity: .9 !important;
  background: linear-gradient(90deg, rgba(255, 224, 151, .16), transparent 22%, transparent 78%, rgba(255, 224, 151, .08)) !important;
}

body.home-overhaul .home-route::after {
  content: "Open" !important;
  display: inline-grid !important;
  place-items: center !important;
  width: auto !important;
  height: 42px !important;
  min-width: 92px !important;
  padding: 0 18px !important;
  order: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 226, 151, .34) !important;
  color: #ffe3a6 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  background: rgba(3, 12, 14, .58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

body.home-overhaul .route-mark {
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 226, 151, .2) !important;
  background: rgba(255, 226, 151, .08) !important;
  color: rgba(255, 226, 151, .64) !important;
  font-family: var(--font-display) !important;
  font-size: 28px !important;
  letter-spacing: .02em !important;
}

body.home-overhaul .home-route strong {
  display: block !important;
  color: #ffe4aa !important;
  font-family: var(--font-display) !important;
  font-size: clamp(30px, 4vw, 52px) !important;
  line-height: .9 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

body.home-overhaul .home-route small {
  display: block !important;
  max-width: 52ch !important;
  margin-top: 10px !important;
  color: rgba(255, 232, 184, .72) !important;
  font-size: clamp(14px, 1.5vw, 17px) !important;
  line-height: 1.45 !important;
}

body.home-overhaul .home-route.primary-route {
  border-color: rgba(255, 210, 127, .34) !important;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 192, 92, .24), transparent 18rem),
    linear-gradient(90deg, rgba(68, 32, 16, .82), rgba(18, 30, 29, .84) 58%, rgba(6, 17, 18, .94)) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover,
  body.home-overhaul .home-route:focus-visible {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 226, 151, .42) !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08) !important;
  }
}

@media (max-width: 720px) {
  body.home-overhaul:has(.harbor-hero) .hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
    min-height: 620px !important;
  }
  body.home-overhaul .home-route {
    grid-template-columns: 54px 1fr !important;
    gap: 14px !important;
    min-height: auto !important;
  }
  body.home-overhaul .home-route::after {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 4px !important;
  }
  body.home-overhaul .route-mark {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    font-size: 20px !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(26px, 9vw, 38px) !important;
  }
}

/* Enable scrolling for the rebuilt homepage sections. */
html:has(body.home-overhaul),
body.home-overhaul:has(.harbor-hero) {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.home-overhaul:has(.harbor-hero)::before,
body.home-overhaul:has(.harbor-hero)::after {
  position: fixed !important;
}

/* Homepage scroll cue after welcome transition. */
body.home-overhaul .home-scroll-cue {
  position: absolute !important;
  left: 50% !important;
  bottom: clamp(24px, 5vh, 54px) !important;
  z-index: 28 !important;
  transform: translateX(-50%) !important;
  display: inline-grid !important;
  justify-items: center !important;
  gap: 10px !important;
  color: rgba(255, 231, 177, .82) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  text-shadow: 0 8px 24px rgba(0,0,0,.74) !important;
  opacity: .92 !important;
  transition: opacity 180ms ease, transform 180ms ease !important;
}

body.home-overhaul .home-scroll-cue::before {
  content: "" !important;
  position: absolute !important;
  inset: -12px -22px -16px !important;
  z-index: -1 !important;
  border: 1px solid rgba(255, 226, 151, .16) !important;
  border-radius: 999px !important;
  background: rgba(3, 12, 14, .34) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05) !important;
  backdrop-filter: blur(8px) saturate(118%) !important;
}

body.home-overhaul .home-scroll-cue i {
  width: 22px !important;
  height: 34px !important;
  display: block !important;
  border: 1px solid rgba(255, 226, 151, .46) !important;
  border-radius: 999px !important;
  position: relative !important;
  box-shadow: inset 0 0 14px rgba(255, 226, 151, .08) !important;
}

body.home-overhaul .home-scroll-cue i::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 7px !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: #ffe5aa !important;
  transform: translateX(-50%) !important;
  animation: gulScrollDot 1450ms cubic-bezier(.22, 1, .36, 1) infinite !important;
  box-shadow: 0 0 14px rgba(255, 218, 138, .72) !important;
}

@keyframes gulScrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  18% { opacity: 1; }
  76% { opacity: .9; transform: translate(-50%, 15px); }
  100% { opacity: 0; transform: translate(-50%, 17px); }
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-scroll-cue:hover,
  body.home-overhaul .home-scroll-cue:focus-visible {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(-3px) !important;
  }
}

@media (max-width: 720px) {
  body.home-overhaul .home-scroll-cue {
    bottom: 20px !important;
    font-size: 11px !important;
    letter-spacing: .13em !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-overhaul .home-scroll-cue i::before {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* Homepage unlocked-state: make home feel different from the welcome gate. */
body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  min-height: 680px !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 216, 137, .18), transparent 15rem),
    radial-gradient(ellipse at 50% 85%, rgba(218, 113, 40, .2), transparent 34rem),
    linear-gradient(180deg, rgba(2, 7, 8, .08), rgba(2, 7, 8, .42) 42%, rgba(2, 7, 8, .96) 100%),
    url("assets/gul-cinematic-logo-optimized.webp") center 38% / cover no-repeat !important;
  overflow: hidden !important;
}

body.home-overhaul:has(.harbor-hero) .hero::before {
  opacity: 1 !important;
  background:
    linear-gradient(90deg, rgba(2, 8, 10, .82), rgba(2, 8, 10, .3) 22%, rgba(2, 8, 10, .2) 70%, rgba(2, 8, 10, .78)),
    linear-gradient(180deg, rgba(2, 8, 10, .08), rgba(2, 8, 10, .78) 76%, #020708 100%) !important;
}

body.home-overhaul:has(.harbor-hero) .hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  opacity: .9 !important;
  pointer-events: none !important;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 217, 139, .1) 35%, transparent 36% 100%),
    radial-gradient(circle at 18% 82%, rgba(255, 155, 63, .22), transparent 12rem),
    repeating-linear-gradient(90deg, rgba(255, 227, 165, .035) 0 1px, transparent 1px 58px) !important;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 88%, transparent 100%) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content {
  width: min(920px, 90vw) !important;
  min-height: 380px !important;
  display: grid !important;
  place-items: center !important;
  transform: translateY(22px) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::before {
  content: "THE HALL IS OPEN" !important;
  display: block !important;
  position: absolute !important;
  top: clamp(20px, 5vh, 52px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  color: rgba(255, 230, 171, .86) !important;
  font-family: inherit !important;
  font-size: clamp(12px, 1.2vw, 15px) !important;
  font-weight: 950 !important;
  letter-spacing: .34em !important;
  text-shadow: 0 10px 28px rgba(0,0,0,.72) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::after {
  content: "Your saga map waits below" !important;
  display: block !important;
  position: absolute !important;
  top: clamp(48px, 9vh, 86px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: rgba(255, 232, 187, .68) !important;
  font-size: clamp(15px, 1.6vw, 20px) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-shadow: 0 10px 28px rgba(0,0,0,.72) !important;
}

body.home-overhaul .home-scroll-cue {
  bottom: clamp(30px, 6vh, 70px) !important;
}

body.home-overhaul .home-scroll-cue span {
  color: #ffe4aa !important;
}

body.home-overhaul .home-command-deck {
  margin-top: clamp(54px, 8vw, 96px) !important;
}

body.home-overhaul .home-deck-heading span {
  color: rgba(255, 183, 91, .9) !important;
}

body.home-overhaul .home-deck-heading strong {
  max-width: 14ch !important;
}

body.home-overhaul .home-route {
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 184, 79, .13), transparent 14rem),
    linear-gradient(90deg, rgba(16, 29, 28, .96), rgba(6, 18, 20, .86) 54%, rgba(31, 18, 13, .72)) !important;
}

body.home-overhaul .home-route:nth-child(even) {
  background:
    radial-gradient(circle at 92% 50%, rgba(255, 184, 79, .14), transparent 14rem),
    linear-gradient(90deg, rgba(32, 18, 13, .76), rgba(6, 18, 20, .88) 48%, rgba(16, 29, 28, .96)) !important;
}

body.home-overhaul .home-route.primary-route {
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 192, 92, .24), transparent 17rem),
    linear-gradient(90deg, rgba(82, 39, 17, .92), rgba(14, 28, 28, .9) 60%, rgba(5, 17, 18, .96)) !important;
}

@media (max-width: 720px) {
  body.home-overhaul:has(.harbor-hero) .hero-content::before {
    top: 34px !important;
    font-size: 11px !important;
    letter-spacing: .22em !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero-content::after {
    top: 64px !important;
    width: min(86vw, 360px) !important;
    text-align: center !important;
  }
}

/* Homepage hall direction: distinct from welcome, no extra headline copy. */
body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 189, 94, .16), transparent 19rem),
    radial-gradient(ellipse at 50% 92%, rgba(122, 42, 22, .38), transparent 34rem),
    linear-gradient(180deg, rgba(2, 7, 8, .1), rgba(2, 7, 8, .46) 46%, #020708 100%),
    url("assets/leader-throne.webp") center / cover no-repeat !important;
}

body.home-overhaul:has(.harbor-hero) .hero::before {
  background:
    linear-gradient(90deg, rgba(2, 8, 10, .78), rgba(2, 8, 10, .24) 28%, rgba(2, 8, 10, .32) 70%, rgba(2, 8, 10, .82)),
    linear-gradient(180deg, rgba(2, 8, 10, .18), rgba(2, 8, 10, .48) 55%, #020708 100%) !important;
}

body.home-overhaul:has(.harbor-hero) .hero::after {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22rem, rgba(0,0,0,.18) 34rem),
    linear-gradient(115deg, transparent 0 38%, rgba(255, 217, 139, .08) 39%, transparent 40% 100%) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::before,
body.home-overhaul:has(.harbor-hero) .hero-content::after {
  content: none !important;
  display: none !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content {
  min-height: 0 !important;
  transform: none !important;
}

body.home-overhaul .home-scroll-cue {
  bottom: clamp(34px, 6vh, 72px) !important;
  color: rgba(255, 226, 166, .88) !important;
}

body.home-overhaul .home-scroll-cue::before {
  background:
    linear-gradient(180deg, rgba(35, 18, 12, .7), rgba(5, 13, 14, .72)) !important;
  border-color: rgba(255, 196, 104, .22) !important;
}

/* Homepage refined welcome: smaller mark and witty entrance copy. */
body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 206, 122, .12), transparent 15rem),
    radial-gradient(ellipse at 50% 92%, rgba(122, 42, 22, .36), transparent 34rem),
    linear-gradient(180deg, rgba(2, 7, 8, .2), rgba(2, 7, 8, .46) 44%, #020708 100%),
    url("assets/gul-cinematic-logo-optimized.webp") center 37% / min(1120px, 88vw) auto no-repeat,
    url("assets/leader-throne.webp") center / cover no-repeat !important;
}

body.home-overhaul .home-welcome-line {
  position: absolute !important;
  left: 50% !important;
  bottom: clamp(112px, 16vh, 160px) !important;
  z-index: 30 !important;
  width: min(720px, calc(100% - 44px)) !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  text-align: center !important;
  color: #ffe7ad !important;
  text-shadow: 0 12px 34px rgba(0,0,0,.86) !important;
}

body.home-overhaul .home-welcome-line strong {
  font-family: var(--font-display) !important;
  font-size: clamp(36px, 5.5vw, 72px) !important;
  line-height: .9 !important;
  letter-spacing: .02em !important;
}

body.home-overhaul .home-welcome-line span {
  color: rgba(255, 234, 188, .78) !important;
  font-size: clamp(14px, 1.5vw, 18px) !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
}

body.home-overhaul .home-scroll-cue {
  bottom: clamp(28px, 6vh, 64px) !important;
}

@media (max-width: 720px) {
  body.home-overhaul:has(.harbor-hero) .hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
    background:
      radial-gradient(circle at 50% 36%, rgba(255, 206, 122, .12), transparent 13rem),
      linear-gradient(180deg, rgba(2, 7, 8, .22), rgba(2, 7, 8, .5) 44%, #020708 100%),
      url("assets/gul-cinematic-logo-optimized.webp") center 38% / min(760px, 118vw) auto no-repeat,
      url("assets/leader-throne.webp") center / cover no-repeat !important;
  }
  body.home-overhaul .home-welcome-line {
    bottom: 112px !important;
  }
}

/* Homepage logo-only hall: remove picture-panel feel, make the mark shine. */
body.home-overhaul:has(.harbor-hero) .hero,
body.home-overhaul:has(.harbor-hero) .hero.harbor-hero,
body.home-overhaul:has(.harbor-hero) .hero.battlefield-hero {
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 207, 128, .2), transparent 14rem),
    radial-gradient(ellipse at 50% 93%, rgba(135, 45, 23, .4), transparent 34rem),
    linear-gradient(180deg, rgba(2, 7, 8, .08), rgba(2, 7, 8, .36) 44%, #020708 100%),
    url("assets/leader-throne.webp") center / cover no-repeat !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content {
  width: min(900px, 90vw) !important;
  min-height: clamp(260px, 44vh, 420px) !important;
  position: relative !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::before {
  content: "GUL" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 46% !important;
  transform: translate(-50%, -50%) !important;
  color: #ffe2a1 !important;
  font-family: var(--font-display) !important;
  font-size: clamp(118px, 18vw, 240px) !important;
  line-height: .78 !important;
  letter-spacing: .08em !important;
  text-shadow:
    0 3px 0 rgba(105, 54, 22, .9),
    0 14px 38px rgba(0,0,0,.86),
    0 0 34px rgba(255, 180, 70, .5),
    0 0 90px rgba(255, 140, 46, .24) !important;
  filter: drop-shadow(0 22px 44px rgba(0,0,0,.7)) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::after {
  content: "TOGETHER FURTHER" !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: calc(46% + clamp(74px, 10vw, 132px)) !important;
  transform: translateX(-50%) !important;
  color: rgba(255, 232, 181, .78) !important;
  font-size: clamp(12px, 1.4vw, 17px) !important;
  font-weight: 900 !important;
  letter-spacing: .44em !important;
  white-space: nowrap !important;
  text-shadow: 0 10px 28px rgba(0,0,0,.8), 0 0 20px rgba(255, 184, 79, .24) !important;
}

body.home-overhaul .home-welcome-line {
  bottom: clamp(112px, 16vh, 156px) !important;
}

body.home-overhaul .home-welcome-line strong {
  font-size: clamp(34px, 5vw, 64px) !important;
}

body.home-overhaul .home-welcome-line span {
  color: rgba(255, 232, 181, .82) !important;
}

@keyframes gulLogoPulse {
  0%, 100% { filter: drop-shadow(0 22px 44px rgba(0,0,0,.7)); }
  50% { filter: drop-shadow(0 22px 44px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(255, 190, 84, .25)); }
}

body.home-overhaul.home-revealed:has(.harbor-hero) .hero-content::before {
  animation: gulLogoPulse 3200ms ease-in-out infinite !important;
}

@media (max-width: 720px) {
  body.home-overhaul:has(.harbor-hero) .hero-content::before {
    font-size: clamp(82px, 28vw, 132px) !important;
  }
  body.home-overhaul:has(.harbor-hero) .hero-content::after {
    top: calc(46% + 64px) !important;
    letter-spacing: .22em !important;
  }
}

/* Homepage crest center: replace plain text mark with actual emblem. */
body.home-overhaul .home-crest-mark {
  position: absolute !important;
  left: 50% !important;
  top: 43% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 18 !important;
  width: clamp(190px, 24vw, 330px) !important;
  aspect-ratio: 1 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 211, 126, .18), transparent 44%),
    radial-gradient(circle at 50% 50%, rgba(8, 18, 18, .72), rgba(4, 9, 10, .2) 64%, transparent 68%) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,.68),
    0 0 80px rgba(255, 150, 49, .18),
    inset 0 0 36px rgba(255, 218, 137, .08) !important;
}

body.home-overhaul .home-crest-mark::before {
  content: "" !important;
  position: absolute !important;
  inset: 7% !important;
  border-radius: inherit !important;
  border: 1px solid rgba(255, 217, 138, .26) !important;
  box-shadow: inset 0 0 28px rgba(255, 190, 82, .09) !important;
}

body.home-overhaul .home-crest-mark::after {
  content: "" !important;
  position: absolute !important;
  inset: -18% !important;
  border-radius: inherit !important;
  background: conic-gradient(from 20deg, transparent, rgba(255, 207, 126, .2), transparent 26%, transparent 74%, rgba(255, 111, 44, .15), transparent) !important;
  filter: blur(18px) !important;
  opacity: .85 !important;
  animation: gulCrestGlow 5200ms ease-in-out infinite !important;
}

body.home-overhaul .home-crest-mark img {
  position: relative !important;
  z-index: 2 !important;
  width: 78% !important;
  height: 78% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.72)) drop-shadow(0 0 18px rgba(255, 183, 72, .22)) !important;
}

body.home-overhaul:has(.harbor-hero) .hero-content::before,
body.home-overhaul:has(.harbor-hero) .hero-content::after {
  content: none !important;
  display: none !important;
}

body.home-overhaul .home-welcome-line {
  bottom: clamp(112px, 16vh, 150px) !important;
}

body.home-overhaul .home-welcome-line strong {
  font-size: clamp(32px, 4.8vw, 60px) !important;
}

@keyframes gulCrestGlow {
  0%, 100% { transform: rotate(0deg) scale(.96); opacity: .62; }
  50% { transform: rotate(8deg) scale(1.04); opacity: 1; }
}

@media (max-width: 720px) {
  body.home-overhaul .home-crest-mark {
    width: clamp(160px, 48vw, 230px) !important;
    top: 42% !important;
  }
  body.home-overhaul .home-welcome-line {
    bottom: 116px !important;
  }
}

/* Use the cinematic welcome-logo mark on the homepage, without the full image panel. */
body.home-overhaul .home-crest-mark.cinematic-home-mark {
  width: clamp(360px, 52vw, 760px) !important;
  aspect-ratio: 2.6 / 1 !important;
  top: 41% !important;
  border-radius: 34px !important;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 196, 93, .18), transparent 58%) !important;
  box-shadow:
    0 34px 110px rgba(0,0,0,.62),
    0 0 90px rgba(255, 150, 49, .2) !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark::before {
  display: none !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark::after {
  inset: -26% 4% !important;
  border-radius: 50% !important;
  opacity: .72 !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 20px 36px rgba(0,0,0,.78))
    drop-shadow(0 0 22px rgba(255, 184, 75, .28)) !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    width: min(92vw, 520px) !important;
    top: 40% !important;
  }
}

/* Crop the cinematic logo to the emblem only: letters, red cloth, shield. */
body.home-overhaul .home-crest-mark.cinematic-home-mark {
  width: clamp(360px, 48vw, 690px) !important;
  aspect-ratio: 2.15 / 1 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 72% !important;
  height: 106% !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 218, 137, .18) !important;
  background: radial-gradient(circle, rgba(255, 190, 82, .12), rgba(4, 9, 10, .34) 54%, transparent 72%) !important;
  box-shadow: 0 0 72px rgba(255, 150, 49, .18), inset 0 0 32px rgba(255, 220, 148, .06) !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 45% !important;
  clip-path: inset(13% 18% 24% 18% round 0) !important;
  transform: scale(1.28) !important;
  filter:
    drop-shadow(0 22px 34px rgba(0,0,0,.82))
    drop-shadow(0 0 24px rgba(255, 183, 72, .28)) !important;
  -webkit-mask-image:
    radial-gradient(ellipse 62% 56% at 50% 52%, #000 0 62%, rgba(0,0,0,.75) 72%, transparent 100%) !important;
  mask-image:
    radial-gradient(ellipse 62% 56% at 50% 52%, #000 0 62%, rgba(0,0,0,.75) 72%, transparent 100%) !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    width: min(94vw, 520px) !important;
  }
}

/* Transparent GUL emblem asset on the hall background. */
body.home-overhaul .home-crest-mark.cinematic-home-mark {
  width: clamp(430px, 56vw, 860px) !important;
  aspect-ratio: 2.15 / 1 !important;
  top: 40% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark::before {
  display: none !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark::after {
  inset: -22% 2% !important;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 186, 78, .28), rgba(255, 94, 36, .1) 36%, transparent 68%) !important;
  filter: blur(24px) !important;
  opacity: .9 !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  transform: none !important;
  filter:
    drop-shadow(0 26px 38px rgba(0,0,0,.78))
    drop-shadow(0 0 24px rgba(255, 184, 75, .3)) !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    width: min(96vw, 620px) !important;
    top: 39% !important;
  }
}

/* Homepage hero copy emphasis: softer logo, stronger welcome. */
body.home-overhaul .home-crest-mark.cinematic-home-mark {
  top: 34% !important;
  width: clamp(340px, 48vw, 740px) !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark img {
  opacity: .82 !important;
  filter:
    saturate(.9)
    brightness(.86)
    contrast(1.04)
    drop-shadow(0 22px 34px rgba(0,0,0,.8))
    drop-shadow(0 0 16px rgba(255, 166, 65, .18)) !important;
}

body.home-overhaul .home-crest-mark.cinematic-home-mark::after {
  opacity: .48 !important;
  filter: blur(28px) !important;
}

body.home-overhaul .home-welcome-line {
  bottom: clamp(96px, 15vh, 140px) !important;
  gap: 12px !important;
  width: min(880px, calc(100% - 48px)) !important;
}

body.home-overhaul .home-welcome-line strong {
  font-size: clamp(48px, 8vw, 108px) !important;
  line-height: .82 !important;
  letter-spacing: .01em !important;
  text-shadow:
    0 4px 0 rgba(89, 43, 16, .9),
    0 20px 44px rgba(0,0,0,.86),
    0 0 20px rgba(255, 197, 100, .18) !important;
}

body.home-overhaul .home-welcome-line span {
  max-width: 720px !important;
  color: rgba(255, 235, 194, .86) !important;
  font-size: clamp(15px, 1.7vw, 21px) !important;
  line-height: 1.42 !important;
  font-weight: 850 !important;
  letter-spacing: .025em !important;
  text-shadow: 0 12px 30px rgba(0,0,0,.84) !important;
}

body.home-overhaul .home-scroll-cue {
  bottom: clamp(24px, 4.5vh, 48px) !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    top: 33% !important;
    width: min(90vw, 520px) !important;
  }
  body.home-overhaul .home-welcome-line {
    bottom: 98px !important;
  }
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(44px, 14vw, 70px) !important;
  }
  body.home-overhaul .home-welcome-line span {
    font-size: 14px !important;
  }
}

/* Premium Viking typography for the homepage greeting. */
body.home-overhaul .home-welcome-line strong {
  color: #f2c06f !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
  background: linear-gradient(180deg, #fff1bd 0%, #f3c36d 38%, #b96d2f 74%, #7c351f 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 3px 0 rgba(42, 16, 8, .88)) drop-shadow(0 22px 30px rgba(0,0,0,.72)) !important;
}

body.home-overhaul .home-welcome-line strong::first-letter {
  letter-spacing: -.04em !important;
}

body.home-overhaul .home-welcome-line span {
  color: #d8b77a !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 800 !important;
  letter-spacing: .035em !important;
  background: linear-gradient(180deg, #fff0c0, #d2a564 72%, #9d6a38) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.78)) !important;
}

body.home-overhaul .home-welcome-line::before {
  content: "" !important;
  width: min(420px, 54vw) !important;
  height: 1px !important;
  display: block !important;
  margin-bottom: 2px !important;
  background: linear-gradient(90deg, transparent, rgba(242, 192, 111, .42), transparent) !important;
  box-shadow: 0 0 16px rgba(242, 192, 111, .24) !important;
}

body.home-overhaul .home-welcome-line::after {
  content: "" !important;
  width: min(520px, 62vw) !important;
  height: 1px !important;
  display: block !important;
  margin-top: 4px !important;
  background: linear-gradient(90deg, transparent, rgba(242, 192, 111, .28), transparent) !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-welcome-line strong {
    letter-spacing: -.035em !important;
  }
  body.home-overhaul .home-welcome-line span {
    letter-spacing: .015em !important;
  }
}

/* Refined premium typography: clean gold, less heavy effect. */
body.home-overhaul .home-welcome-line strong {
  color: #f6ddb0 !important;
  font-family: var(--font-display), Georgia, 'Times New Roman', serif !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow:
    0 2px 0 rgba(74, 38, 17, .72),
    0 16px 34px rgba(0,0,0,.78),
    0 0 18px rgba(242, 190, 108, .16) !important;
  filter: none !important;
}

body.home-overhaul .home-welcome-line span {
  color: rgba(241, 212, 165, .9) !important;
  font-family: inherit !important;
  font-weight: 780 !important;
  letter-spacing: .02em !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 10px 24px rgba(0,0,0,.74) !important;
  filter: none !important;
}

body.home-overhaul .home-welcome-line::before,
body.home-overhaul .home-welcome-line::after {
  opacity: .52 !important;
}

/* Sharper Viking headline font, premium but readable. */
body.home-overhaul .home-welcome-line strong {
  font-family: 'Cinzel Decorative', 'Cinzel', Georgia, serif !important;
  font-weight: 900 !important;
  color: #f3d28f !important;
  letter-spacing: -.012em !important;
  text-transform: none !important;
  text-shadow:
    0 2px 0 rgba(68, 31, 13, .82),
    0 14px 30px rgba(0,0,0,.82),
    0 0 18px rgba(211, 142, 51, .16) !important;
}

body.home-overhaul .home-welcome-line span {
  font-family: 'Cinzel', Georgia, serif !important;
  color: rgba(238, 205, 151, .88) !important;
  font-weight: 800 !important;
  letter-spacing: .018em !important;
}

/* Clean premium gold headline: less yellow, less busy font. */
body.home-overhaul .home-welcome-line strong {
  font-family: 'Cinzel', Georgia, serif !important;
  font-weight: 900 !important;
  color: #d8ad63 !important;
  letter-spacing: .005em !important;
  text-transform: none !important;
  background: linear-gradient(180deg, #f7e3b8 0%, #d7ad63 46%, #9a6b35 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter:
    drop-shadow(0 2px 0 rgba(52, 24, 10, .7))
    drop-shadow(0 18px 28px rgba(0, 0, 0, .72)) !important;
}

body.home-overhaul .home-welcome-line span {
  font-family: 'Cinzel', Georgia, serif !important;
  color: #c9ab76 !important;
  font-weight: 700 !important;
  letter-spacing: .012em !important;
  text-transform: none !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 10px 22px rgba(0,0,0,.78) !important;
  filter: none !important;
}

body.home-overhaul .home-welcome-line::before,
body.home-overhaul .home-welcome-line::after {
  background: linear-gradient(90deg, transparent, rgba(198, 154, 86, .34), transparent) !important;
  opacity: .42 !important;
}

/* Realistic engraved-gold title, closer to the logo subtitle style. */
body.home-overhaul .home-welcome-line strong {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(40px, 6.8vw, 88px) !important;
  line-height: .92 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .105em !important;
  color: #d6b579 !important;
  background:
    linear-gradient(180deg, #fff5cf 0%, #e2c487 24%, #aa7b42 48%, #f0d293 68%, #8b5a2e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter:
    drop-shadow(0 1px 0 rgba(255, 239, 196, .18))
    drop-shadow(0 2px 0 rgba(48, 24, 10, .78))
    drop-shadow(0 18px 24px rgba(0, 0, 0, .82)) !important;
}

body.home-overhaul .home-welcome-line span {
  max-width: 760px !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(13px, 1.35vw, 17px) !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .105em !important;
  color: rgba(218, 188, 132, .86) !important;
  background: linear-gradient(180deg, #f4dfad, #b99358 72%, #86603a) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.78)) !important;
}

body.home-overhaul .home-welcome-line::before,
body.home-overhaul .home-welcome-line::after {
  width: min(560px, 62vw) !important;
  background: linear-gradient(90deg, transparent, rgba(220, 184, 117, .48), rgba(255, 241, 200, .34), rgba(139, 91, 45, .42), transparent) !important;
  opacity: .58 !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(34px, 11vw, 58px) !important;
    letter-spacing: .055em !important;
  }
  body.home-overhaul .home-welcome-line span {
    font-size: 12px !important;
    letter-spacing: .055em !important;
  }
}

/* Refined homepage scroll cue: rune pulse instead of mouse shape. */
body.home-overhaul .home-scroll-cue {
  gap: 12px !important;
  bottom: clamp(24px, 4.5vh, 46px) !important;
  color: rgba(222, 190, 128, .92) !important;
  letter-spacing: .16em !important;
}

body.home-overhaul .home-scroll-cue::before {
  inset: -12px -26px -18px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(18, 12, 9, .58), rgba(6, 13, 14, .72)) !important;
  border-color: rgba(214, 174, 103, .18) !important;
}

body.home-overhaul .home-scroll-cue i {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(214, 174, 103, .35) !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(221, 175, 91, .18), transparent 58%),
    rgba(6, 13, 14, .42) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.32), inset 0 0 18px rgba(228, 184, 101, .1) !important;
}

body.home-overhaul .home-scroll-cue i::before {
  content: "ᚱ" !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #d8b36d !important;
  font-family: Georgia, serif !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  transform: none !important;
  box-shadow: none !important;
  animation: gulRunePulse 1350ms ease-in-out infinite !important;
  text-shadow: 0 0 14px rgba(228, 184, 101, .55) !important;
}

body.home-overhaul .home-scroll-cue i::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: -16px !important;
  width: 1px !important;
  height: 14px !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(180deg, rgba(216, 179, 109, .65), transparent) !important;
}

@keyframes gulRunePulse {
  0%, 100% { opacity: .52; transform: translateY(-1px) scale(.94); }
  50% { opacity: 1; transform: translateY(2px) scale(1.04); }
}

/* Refined route section: smaller, branded, less overwhelming. */
body.home-overhaul .home-command-deck {
  width: min(1060px, calc(100% - 44px)) !important;
  margin: clamp(46px, 7vw, 84px) auto clamp(70px, 8vw, 110px) !important;
  gap: 22px !important;
}

body.home-overhaul .home-deck-heading {
  width: min(620px, 100%) !important;
  margin-inline: auto !important;
  justify-items: center !important;
  text-align: center !important;
  gap: 8px !important;
}

body.home-overhaul .home-deck-heading span {
  color: rgba(194, 121, 64, .92) !important;
  font-size: 11px !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
}

body.home-overhaul .home-deck-heading strong {
  max-width: none !important;
  color: #d8b36f !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
  text-shadow: 0 12px 28px rgba(0,0,0,.58) !important;
}

body.home-overhaul .home-route-grid {
  gap: 12px !important;
}

body.home-overhaul .home-route {
  min-height: 104px !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  gap: clamp(14px, 2vw, 24px) !important;
  padding: 18px 22px !important;
  border-radius: 18px !important;
  border-color: rgba(188, 118, 58, .2) !important;
  background:
    linear-gradient(90deg, rgba(18, 28, 27, .94), rgba(8, 18, 19, .9) 58%, rgba(42, 20, 14, .68)) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.24), inset 0 1px 0 rgba(255, 221, 151, .045) !important;
}

body.home-overhaul .home-route:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(42, 20, 14, .68), rgba(8, 18, 19, .9) 46%, rgba(18, 28, 27, .94)) !important;
}

body.home-overhaul .home-route.primary-route {
  border-color: rgba(202, 135, 65, .34) !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(171, 65, 34, .22), transparent 13rem),
    linear-gradient(90deg, rgba(72, 33, 18, .88), rgba(11, 22, 22, .92) 58%, rgba(5, 16, 17, .96)) !important;
}

body.home-overhaul .route-mark {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  border-color: rgba(202, 135, 65, .28) !important;
  background: rgba(124, 54, 30, .18) !important;
  color: rgba(220, 174, 99, .72) !important;
  font-size: 18px !important;
}

body.home-overhaul .home-route strong {
  color: #dcc086 !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(22px, 2.8vw, 36px) !important;
  line-height: .95 !important;
  letter-spacing: .035em !important;
  text-transform: uppercase !important;
  text-shadow: 0 10px 22px rgba(0,0,0,.48) !important;
}

body.home-overhaul .home-route small {
  max-width: 46ch !important;
  margin-top: 6px !important;
  color: rgba(218, 190, 139, .7) !important;
  font-size: clamp(13px, 1.2vw, 15px) !important;
  line-height: 1.36 !important;
}

body.home-overhaul .home-route::after {
  min-width: 76px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-color: rgba(202, 135, 65, .26) !important;
  color: rgba(226, 189, 118, .86) !important;
  background: rgba(8, 14, 14, .54) !important;
  font-size: 10px !important;
  letter-spacing: .13em !important;
}

@media (max-width: 720px) {
  body.home-overhaul .home-route {
    grid-template-columns: 44px 1fr !important;
    padding: 16px !important;
  }
  body.home-overhaul .route-mark {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(20px, 7vw, 30px) !important;
  }
}

/* Spacious desktop route section: less cramped in full view. */
@media (min-width: 1040px) {
  body.home-overhaul .home-command-deck {
    width: min(1180px, calc(100% - 96px)) !important;
    margin-top: clamp(66px, 8vw, 110px) !important;
    gap: 34px !important;
  }

  body.home-overhaul .home-deck-heading {
    width: min(760px, 100%) !important;
  }

  body.home-overhaul .home-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body.home-overhaul .home-route {
    min-height: 150px !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    padding: 26px 28px !important;
  }

  body.home-overhaul .home-route::after {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 14px !important;
  }

  body.home-overhaul .home-route small {
    max-width: 34ch !important;
    font-size: 15px !important;
  }

  body.home-overhaul .home-route strong {
    font-size: clamp(28px, 2.6vw, 38px) !important;
  }

  body.home-overhaul .home-route:nth-child(7) {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 1440px) {
  body.home-overhaul .home-command-deck {
    width: min(1260px, calc(100% - 140px)) !important;
  }
}

/* Repair spacious route card text flow. */
@media (min-width: 1040px) {
  body.home-overhaul .home-route {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto auto !important;
    align-content: start !important;
    align-items: start !important;
    gap: 10px 22px !important;
    min-height: 178px !important;
    padding: 28px 30px 24px 92px !important;
  }

  body.home-overhaul .route-mark {
    position: absolute !important;
    left: 26px !important;
    top: 28px !important;
  }

  body.home-overhaul .home-route strong {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
  }

  body.home-overhaul .home-route small {
    grid-column: 1 !important;
    max-width: 42ch !important;
    margin-top: 4px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  body.home-overhaul .home-route::after {
    grid-column: 1 !important;
    justify-self: start !important;
    margin-top: 12px !important;
  }
}

/* Hero headline breathing room on large/fullscreen displays. */
body.home-overhaul .home-welcome-line {
  width: min(1080px, calc(100% - 72px)) !important;
  bottom: clamp(92px, 14vh, 132px) !important;
}

body.home-overhaul .home-welcome-line strong {
  max-width: 100% !important;
  font-size: clamp(38px, 5.35vw, 72px) !important;
  line-height: 1.02 !important;
  letter-spacing: .08em !important;
  white-space: normal !important;
  text-wrap: balance !important;
}

body.home-overhaul .home-welcome-line span {
  max-width: 820px !important;
  font-size: clamp(12px, 1.08vw, 15px) !important;
  line-height: 1.55 !important;
  letter-spacing: .07em !important;
}

@media (min-width: 1400px) {
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(58px, 4.6vw, 84px) !important;
    letter-spacing: .095em !important;
  }
}

@media (max-width: 900px) {
  body.home-overhaul .home-welcome-line {
    width: min(760px, calc(100% - 44px)) !important;
  }
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(34px, 8.8vw, 62px) !important;
    letter-spacing: .045em !important;
  }
}

/* Fullscreen hero spacing: separate logo and welcome copy on large windows. */
@media (min-width: 1100px) and (min-height: 760px) {
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    top: 30% !important;
    width: clamp(390px, 46vw, 760px) !important;
  }

  body.home-overhaul .home-welcome-line {
    bottom: clamp(104px, 13vh, 148px) !important;
    gap: 14px !important;
  }

  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(44px, 5vw, 78px) !important;
    line-height: 1.04 !important;
  }

  body.home-overhaul .home-welcome-line span {
    max-width: 860px !important;
  }
}

@media (min-width: 1400px) and (min-height: 850px) {
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    top: 28% !important;
    width: clamp(460px, 42vw, 820px) !important;
  }

  body.home-overhaul .home-welcome-line {
    bottom: clamp(126px, 14vh, 174px) !important;
  }
}

/* Layered route section: no separate button, one clean row at a time. */
body.home-overhaul .home-route::after {
  content: "Enter" !important;
  min-width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(215, 178, 110, .72) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

body.home-overhaul .home-route::before {
  opacity: .55 !important;
  background:
    linear-gradient(90deg, rgba(136, 56, 33, .16), transparent 22%, transparent 78%, rgba(212, 160, 88, .1)),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent) !important;
}

body.home-overhaul .home-route-grid {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

@media (min-width: 1040px) {
  body.home-overhaul .home-route {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    min-height: 116px !important;
    padding: 24px 30px !important;
    align-items: center !important;
    gap: 8px 24px !important;
    border-radius: 18px !important;
  }

  body.home-overhaul .route-mark {
    position: static !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
  }

  body.home-overhaul .home-route strong {
    grid-column: 2 !important;
    margin: 0 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    font-size: clamp(26px, 2.6vw, 38px) !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
  }

  body.home-overhaul .home-route small {
    grid-column: 2 !important;
    max-width: 62ch !important;
    margin: 0 !important;
    font-family: 'Cinzel', Georgia, serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
  }

  body.home-overhaul .home-route::after {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  body.home-overhaul .home-route:nth-child(7) {
    grid-column: auto !important;
  }
}

body.home-overhaul .home-route {
  background:
    linear-gradient(90deg, rgba(12, 24, 24, .94), rgba(5, 15, 16, .92) 58%, rgba(38, 19, 14, .72)) !important;
}

body.home-overhaul .home-route:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(42, 20, 14, .68), rgba(6, 17, 18, .92) 45%, rgba(13, 25, 24, .94)) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover::after,
  body.home-overhaul .home-route:focus-visible::after {
    color: #ead09a !important;
    transform: translateX(4px) !important;
  }
}

@media (max-width: 720px) {
  body.home-overhaul .home-route,
  body.home-overhaul .home-route {
    grid-template-columns: 44px 1fr !important;
    grid-template-rows: auto auto auto !important;
  }
  body.home-overhaul .home-route::after {
    grid-column: 2 !important;
    justify-self: start !important;
    margin-top: 8px !important;
  }
}


/* Illustrated route rows using existing section artwork, toned to current hall palette. */
body.home-overhaul .home-route {
  isolation: isolate !important;
  overflow: hidden !important;
}

body.home-overhaul .home-route::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  opacity: .34 !important;
  background-size: cover !important;
  background-position: center !important;
  filter: saturate(.62) sepia(.24) brightness(.62) contrast(1.12) !important;
  transition: opacity 180ms ease, filter 180ms ease, transform 220ms ease !important;
}

body.home-overhaul .home-route > *,
body.home-overhaul .home-route::after {
  position: relative !important;
  z-index: 2 !important;
}

body.home-overhaul .home-route .route-mark {
  z-index: 3 !important;
}

body.home-overhaul .home-route:nth-child(1)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .96), rgba(4, 13, 14, .72) 42%, rgba(55, 24, 16, .62)),
    url("assets/announcements-board.webp") !important;
}

body.home-overhaul .home-route:nth-child(2)::before {
  background-image:
    linear-gradient(90deg, rgba(58, 24, 14, .88), rgba(4, 13, 14, .72) 46%, rgba(3, 12, 13, .96)),
    url("assets/section-migration.webp") !important;
}

body.home-overhaul .home-route:nth-child(3)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .96), rgba(4, 13, 14, .7) 44%, rgba(55, 24, 16, .62)),
    url("assets/section-achievements.webp") !important;
}

body.home-overhaul .home-route:nth-child(4)::before {
  background-image:
    linear-gradient(90deg, rgba(58, 24, 14, .86), rgba(4, 13, 14, .7) 46%, rgba(3, 12, 13, .96)),
    url("assets/section-media.webp") !important;
}

body.home-overhaul .home-route:nth-child(5)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .96), rgba(4, 13, 14, .72) 44%, rgba(55, 24, 16, .62)),
    url("assets/section-guides.webp") !important;
}

body.home-overhaul .home-route:nth-child(6)::before {
  background-image:
    linear-gradient(90deg, rgba(58, 24, 14, .86), rgba(4, 13, 14, .7) 46%, rgba(3, 12, 13, .96)),
    url("assets/section-kingdom.webp") !important;
}

body.home-overhaul .home-route:nth-child(7)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .96), rgba(4, 13, 14, .72) 44%, rgba(55, 24, 16, .62)),
    url("assets/section-contacts.webp") !important;
}

body.home-overhaul .home-route::after {
  text-shadow: 0 8px 18px rgba(0,0,0,.76) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover::before,
  body.home-overhaul .home-route:focus-visible::before {
    opacity: .48 !important;
    filter: saturate(.78) sepia(.18) brightness(.72) contrast(1.16) !important;
    transform: scale(1.025) !important;
  }
}

/* Slightly brighter route illustrations while preserving readability. */
body.home-overhaul .home-route::before {
  opacity: .46 !important;
  filter: saturate(.74) sepia(.18) brightness(.78) contrast(1.1) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover::before,
  body.home-overhaul .home-route:focus-visible::before {
    opacity: .58 !important;
    filter: saturate(.88) sepia(.14) brightness(.86) contrast(1.12) !important;
  }
}

/* Route number refinement and stronger Migration CTA. */
body.home-overhaul .route-mark {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(212, 166, 91, .42) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-shadow: 0 8px 18px rgba(0,0,0,.7) !important;
}

body.home-overhaul .route-mark::before {
  content: "NO. " !important;
  opacity: .72 !important;
}

@media (min-width: 1040px) {
  body.home-overhaul .home-route {
    padding-left: 34px !important;
  }

  body.home-overhaul .route-mark {
    position: absolute !important;
    left: 34px !important;
    top: 18px !important;
  }

  body.home-overhaul .home-route strong {
    grid-column: 1 / 3 !important;
    padding-top: 14px !important;
  }

  body.home-overhaul .home-route small {
    grid-column: 1 / 3 !important;
  }
}

body.home-overhaul .home-route.primary-route::after {
  content: "Apply" !important;
  color: #1b1008 !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #f3d18b, #b96f2e) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.36), 0 0 22px rgba(230, 145, 48, .22), inset 0 1px 0 rgba(255,255,255,.38) !important;
  text-shadow: none !important;
}

body.home-overhaul .home-route.primary-route {
  border-color: rgba(231, 165, 78, .5) !important;
  box-shadow: 0 20px 56px rgba(0,0,0,.28), 0 0 0 1px rgba(231, 165, 78, .12) inset !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route.primary-route:hover::after,
  body.home-overhaul .home-route.primary-route:focus-visible::after {
    transform: translateX(4px) translateY(-1px) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.42), 0 0 30px rgba(230, 145, 48, .32), inset 0 1px 0 rgba(255,255,255,.45) !important;
  }
}

@media (max-width: 720px) {
  body.home-overhaul .route-mark {
    font-size: 10px !important;
  }
  body.home-overhaul .home-route.primary-route::after {
    padding: 10px 16px !important;
  }
}

/* Premium route CTA treatment: refined text rail instead of loud pill. */
body.home-overhaul .home-route::after {
  content: "View" !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: rgba(222, 186, 118, .82) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 8px 18px rgba(0,0,0,.76) !important;
}

body.home-overhaul .home-route::after {
  background-image: linear-gradient(90deg, rgba(222, 186, 118, .42), rgba(222, 186, 118, 0)) !important;
  background-repeat: no-repeat !important;
  background-size: 42px 1px !important;
  background-position: right center !important;
  padding-right: 56px !important;
}

body.home-overhaul .home-route.primary-route::after {
  content: "Apply now" !important;
  color: #efd19a !important;
  background-image: linear-gradient(90deg, rgba(239, 209, 154, .75), rgba(239, 209, 154, 0)) !important;
  filter: drop-shadow(0 0 14px rgba(214, 129, 47, .22)) !important;
}

body.home-overhaul .home-route.primary-route {
  border-color: rgba(219, 154, 76, .42) !important;
  background:
    linear-gradient(90deg, rgba(69, 29, 17, .8), rgba(6, 17, 18, .92) 44%, rgba(14, 26, 25, .94)) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.home-overhaul .home-route:hover::after,
  body.home-overhaul .home-route:focus-visible::after {
    color: #f3d9a4 !important;
    background-size: 58px 1px !important;
    transform: translateX(6px) !important;
  }
}

/* Make Migration the featured first route. */
body.home-overhaul .home-route.primary-route {
  min-height: 140px !important;
  border-color: rgba(238, 185, 98, .64) !important;
  background:
    radial-gradient(circle at 82% 50%, rgba(241, 185, 92, .22), transparent 16rem),
    radial-gradient(circle at 16% 50%, rgba(143, 46, 26, .26), transparent 18rem),
    linear-gradient(90deg, rgba(82, 36, 17, .95), rgba(9, 21, 21, .92) 46%, rgba(19, 32, 29, .96)) !important;
  box-shadow:
    0 28px 80px rgba(0,0,0,.38),
    0 0 0 1px rgba(238, 185, 98, .18) inset,
    0 0 44px rgba(196, 91, 36, .16) !important;
}

body.home-overhaul .home-route.primary-route strong {
  color: #f1d49d !important;
  font-size: clamp(34px, 3.6vw, 52px) !important;
}

body.home-overhaul .home-route.primary-route small {
  color: rgba(242, 214, 163, .88) !important;
}

body.home-overhaul .home-route.primary-route::before {
  opacity: .62 !important;
  filter: saturate(.92) sepia(.16) brightness(.82) contrast(1.12) !important;
}

body.home-overhaul .home-route.primary-route::after {
  content: "Apply now" !important;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  color: #231207 !important;
  background:
    linear-gradient(180deg, #ffe5a8, #d99542 58%, #a85b27) !important;
  box-shadow:
    0 16px 36px rgba(0,0,0,.42),
    0 0 34px rgba(226, 143, 48, .3),
    inset 0 1px 0 rgba(255,255,255,.42) !important;
  filter: none !important;
  text-shadow: none !important;
}

body.home-overhaul .home-route.primary-route .route-mark {
  color: rgba(255, 216, 145, .66) !important;
}

@media (min-width: 1040px) {
  body.home-overhaul .home-route.primary-route {
    padding-block: 30px !important;
  }
}

/* Revert route order, remove numbers, normalize CTAs, correct backgrounds. */
body.home-overhaul .home-route .route-mark,
body.home-overhaul .route-mark {
  display: none !important;
}

@media (min-width: 1040px) {
  body.home-overhaul .home-route {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    padding: 26px 34px !important;
    min-height: 122px !important;
  }

  body.home-overhaul .home-route strong {
    grid-column: 1 !important;
    padding-top: 0 !important;
  }

  body.home-overhaul .home-route small {
    grid-column: 1 !important;
  }

  body.home-overhaul .home-route::after {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }
}

body.home-overhaul .home-route::after,
body.home-overhaul .home-route.primary-route::after {
  content: "View" !important;
  color: rgba(222, 186, 118, .82) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  padding: 0 56px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: linear-gradient(90deg, rgba(222, 186, 118, .42), rgba(222, 186, 118, 0)) !important;
  background-repeat: no-repeat !important;
  background-size: 42px 1px !important;
  background-position: right center !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: 0 8px 18px rgba(0,0,0,.76) !important;
}

body.home-overhaul .home-route:nth-child(1)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .94), rgba(4, 13, 14, .68) 42%, rgba(55, 24, 16, .58)),
    url("assets/announcements-board.webp") !important;
}

body.home-overhaul .home-route:nth-child(2)::before {
  background-image:
    linear-gradient(90deg, rgba(58, 24, 14, .82), rgba(4, 13, 14, .68) 46%, rgba(3, 12, 13, .94)),
    url("assets/section-migration.webp") !important;
}

body.home-overhaul .home-route:nth-child(3)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .94), rgba(4, 13, 14, .68) 44%, rgba(55, 24, 16, .58)),
    url("assets/section-achievements.webp") !important;
}

body.home-overhaul .home-route:nth-child(4)::before {
  background-image:
    linear-gradient(90deg, rgba(58, 24, 14, .82), rgba(4, 13, 14, .68) 46%, rgba(3, 12, 13, .94)),
    url("assets/section-media.webp") !important;
}

body.home-overhaul .home-route:nth-child(5)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .94), rgba(4, 13, 14, .68) 44%, rgba(55, 24, 16, .58)),
    url("assets/section-guides.webp") !important;
}

body.home-overhaul .home-route:nth-child(6)::before {
  background-image:
    linear-gradient(90deg, rgba(58, 24, 14, .82), rgba(4, 13, 14, .68) 46%, rgba(3, 12, 13, .94)),
    url("assets/section-kingdom.webp") !important;
}

body.home-overhaul .home-route:nth-child(7)::before {
  background-image:
    linear-gradient(90deg, rgba(3, 12, 13, .94), rgba(4, 13, 14, .68) 44%, rgba(55, 24, 16, .58)),
    url("assets/section-contacts.webp") !important;
}


/* Premium header refinement. */
body.home-overhaul .site-header,
body:not(.language-gate) .site-header {
  min-height: 76px !important;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(136px, 168px) !important;
  gap: clamp(16px, 2vw, 28px) !important;
  padding: 10px clamp(18px, 3vw, 44px) !important;
  border-bottom: 1px solid rgba(210, 150, 74, .18) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(209, 134, 54, .12), transparent 34rem),
    linear-gradient(180deg, rgba(6, 10, 10, .94), rgba(9, 7, 6, .86)) !important;
  backdrop-filter: blur(16px) saturate(122%) !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.28) !important;
}

body.home-overhaul .brand,
body:not(.language-gate) .brand {
  min-width: 0 !important;
  display: grid !important;
  align-content: center !important;
  gap: 2px !important;
  text-decoration: none !important;
}

body.home-overhaul .brand strong,
body:not(.language-gate) .brand strong {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(24px, 2.2vw, 34px) !important;
  line-height: .88 !important;
  letter-spacing: .055em !important;
  color: #f0d39a !important;
  text-shadow: 0 10px 24px rgba(0,0,0,.68) !important;
}

body.home-overhaul .brand small,
body:not(.language-gate) .brand small {
  margin-top: 2px !important;
  color: rgba(225, 185, 119, .82) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: .22em !important;
}

body.home-overhaul .top-nav,
body:not(.language-gate) .top-nav {
  justify-self: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  gap: 2px !important;
  padding: 6px !important;
  border: 1px solid rgba(219, 171, 101, .2) !important;
  border-radius: 999px !important;
  background: rgba(3, 10, 11, .54) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 30px rgba(0,0,0,.24) !important;
}

body.home-overhaul .top-nav a,
body:not(.language-gate) .top-nav a {
  min-height: 34px !important;
  padding: 0 clamp(9px, .78vw, 13px) !important;
  border-radius: 999px !important;
  color: rgba(231, 205, 156, .78) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(9px, .78vw, 11px) !important;
  font-weight: 850 !important;
  letter-spacing: .035em !important;
  text-transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home-overhaul .top-nav a.active,
body.home-overhaul .top-nav a:hover,
body:not(.language-gate) .top-nav a.active,
body:not(.language-gate) .top-nav a:hover {
  color: #201207 !important;
  background: linear-gradient(180deg, #f4d99b, #c98231) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.38) !important;
}

body.home-overhaul .language-select,
body:not(.language-gate) .language-select,
body.home-overhaul .language-switcher,
body:not(.language-gate) .language-switcher {
  justify-self: end !important;
}

body.home-overhaul .language-select select,
body:not(.language-gate) .language-select select,
body.home-overhaul .language-switcher select,
body:not(.language-gate) .language-switcher select {
  min-height: 44px !important;
  width: 150px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(219, 171, 101, .42) !important;
  color: #f1d49d !important;
  background: rgba(4, 10, 11, .68) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 28px rgba(0,0,0,.24) !important;
}

@media (max-width: 980px) {
  body.home-overhaul .site-header,
  body:not(.language-gate) .site-header {
    grid-template-columns: 1fr auto !important;
  }
  body.home-overhaul .top-nav,
  body:not(.language-gate) .top-nav {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: start !important;
    overflow-x: auto !important;
  }
}

/* Premium animated header hover states. */
body.home-overhaul .top-nav a,
body:not(.language-gate) .top-nav a {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transition:
    color 220ms ease,
    transform 220ms cubic-bezier(.2,.8,.2,1),
    background 220ms ease,
    box-shadow 220ms ease !important;
}

body.home-overhaul .top-nav a::before,
body:not(.language-gate) .top-nav a::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  z-index: -1 !important;
  border-radius: inherit !important;
  background:
    linear-gradient(120deg, transparent 0 28%, rgba(255,255,255,.36) 42%, transparent 58% 100%),
    linear-gradient(180deg, rgba(255, 227, 164, .18), rgba(194, 111, 39, .14)) !important;
  opacity: 0 !important;
  transform: translateX(-34%) scaleX(.78) !important;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.2,.8,.2,1) !important;
}

body.home-overhaul .top-nav a::after,
body:not(.language-gate) .top-nav a::after {
  content: "" !important;
  position: absolute !important;
  left: 18% !important;
  right: 18% !important;
  bottom: 5px !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 229, 164, .75), transparent) !important;
  opacity: 0 !important;
  transform: scaleX(.3) !important;
  transition: opacity 220ms ease, transform 260ms ease !important;
}

body.home-overhaul .top-nav a:hover,
body.home-overhaul .top-nav a:focus-visible,
body:not(.language-gate) .top-nav a:hover,
body:not(.language-gate) .top-nav a:focus-visible {
  color: #f8e6bc !important;
  background: rgba(150, 76, 28, .12) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(236, 185, 103, .18) !important;
}

body.home-overhaul .top-nav a:hover::before,
body.home-overhaul .top-nav a:focus-visible::before,
body:not(.language-gate) .top-nav a:hover::before,
body:not(.language-gate) .top-nav a:focus-visible::before {
  opacity: 1 !important;
  transform: translateX(0) scaleX(1) !important;
}

body.home-overhaul .top-nav a:hover::after,
body.home-overhaul .top-nav a:focus-visible::after,
body:not(.language-gate) .top-nav a:hover::after,
body:not(.language-gate) .top-nav a:focus-visible::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

body.home-overhaul .top-nav a.active,
body:not(.language-gate) .top-nav a.active {
  color: #251506 !important;
  background: linear-gradient(180deg, #f5dda2, #c98231) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 20px rgba(211, 141, 47, .14), inset 0 1px 0 rgba(255,255,255,.42) !important;
}

body.home-overhaul .language-select select,
body:not(.language-gate) .language-select select,
body.home-overhaul .language-switcher select,
body:not(.language-gate) .language-switcher select {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease !important;
}

body.home-overhaul .language-select select:hover,
body:not(.language-gate) .language-select select:hover,
body.home-overhaul .language-switcher select:hover,
body:not(.language-gate) .language-switcher select:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(244, 211, 150, .72) !important;
  background: rgba(13, 18, 18, .82) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 24px rgba(211, 141, 47, .16), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Premium compact brand mark in header. */
body.home-overhaul .brand,
body:not(.language-gate) .brand {
  position: relative !important;
  padding-left: 16px !important;
}

body.home-overhaul .brand::before,
body:not(.language-gate) .brand::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 2px !important;
  height: 38px !important;
  transform: translateY(-50%) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, transparent, #d9a85a, #7d3421, transparent) !important;
  box-shadow: 0 0 18px rgba(217, 168, 90, .28) !important;
}

body.home-overhaul .brand strong,
body:not(.language-gate) .brand strong {
  width: fit-content !important;
  color: #f1d39a !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-weight: 900 !important;
  font-size: clamp(25px, 2vw, 32px) !important;
  letter-spacing: .08em !important;
  line-height: .82 !important;
  background: linear-gradient(180deg, #fff0bf, #d4a45c 56%, #8d5a2d) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.58)) !important;
}

body.home-overhaul .brand small,
body:not(.language-gate) .brand small {
  width: fit-content !important;
  margin-top: 6px !important;
  color: rgba(222, 181, 106, .84) !important;
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: .34em !important;
  text-shadow: 0 8px 16px rgba(0,0,0,.5) !important;
}

body.home-overhaul .brand:hover strong,
body:not(.language-gate) .brand:hover strong {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.58)) drop-shadow(0 0 12px rgba(217, 168, 90, .2)) !important;
}

/* Header brand: just premium GUL. */
body.home-overhaul .brand small,
body:not(.language-gate) .brand small {
  display: none !important;
}

body.home-overhaul .brand,
body:not(.language-gate) .brand {
  padding-left: 14px !important;
  align-content: center !important;
}

body.home-overhaul .brand::before,
body:not(.language-gate) .brand::before {
  height: 30px !important;
}

body.home-overhaul .brand strong,
body:not(.language-gate) .brand strong {
  font-size: clamp(30px, 2.5vw, 42px) !important;
  line-height: .86 !important;
  letter-spacing: .12em !important;
  background: linear-gradient(180deg, #fff4c9 0%, #d8ad62 48%, #8c5529 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.12))
    drop-shadow(0 12px 22px rgba(0,0,0,.62))
    drop-shadow(0 0 10px rgba(211, 145, 56, .16)) !important;
}

/* Premium GUL-only header mark */
body.home-overhaul .site-header .brand {
  grid-template-columns: auto;
  gap: 0;
  min-width: 132px;
  padding: 10px 16px 10px 18px;
  border-radius: 0;
  position: relative;
  isolation: isolate;
}

body.home-overhaul .site-header .brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #b78332 18%, #f3d188 48%, #8c4f1d 82%, transparent);
  box-shadow: 0 0 18px rgba(223, 170, 88, .32);
}

body.home-overhaul .site-header .brand::after {
  content: "ᚷ";
  position: absolute;
  right: -8px;
  top: 50%;
  translate: 0 -50%;
  color: rgba(217, 172, 99, .34);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(244, 197, 111, .18);
}

body.home-overhaul .site-header .brand-emblem,
body.home-overhaul .site-header .brand small {
  display: none;
}

body.home-overhaul .site-header .brand strong {
  display: inline-block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  font-family: Cinzel, Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: .86;
  letter-spacing: .08em;
  color: transparent;
  background:
    linear-gradient(180deg, #fff5d6 0%, #d9aa62 34%, #8a5525 54%, #f0cf8b 72%, #6f3f1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255, 244, 211, .18),
    0 10px 24px rgba(0, 0, 0, .42),
    0 0 18px rgba(219, 156, 66, .16);
  filter: drop-shadow(0 1px 0 rgba(35, 18, 5, .75));
}

body.home-overhaul .site-header .brand strong::first-letter {
  letter-spacing: .04em;
}

body.home-overhaul .site-header .brand:hover strong {
  background:
    linear-gradient(180deg, #fff9df 0%, #e6bd73 34%, #93602c 54%, #ffe0a0 72%, #76471f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255, 244, 211, .22),
    0 12px 28px rgba(0, 0, 0, .48),
    0 0 26px rgba(232, 176, 83, .28);
}

@media (max-width: 760px) {
  body.home-overhaul .site-header .brand {
    min-width: 96px;
    padding-left: 14px;
  }

  body.home-overhaul .site-header .brand strong {
    font-size: 27px;
  }

  body.home-overhaul .site-header .brand::after {
    display: none;
  }
}

/* Refined forged top bar */
body.home-overhaul .site-header,
body:not(.language-gate) .site-header {
  min-height: 78px !important;
  grid-template-columns: minmax(124px, 166px) minmax(0, 1fr) minmax(132px, 162px) !important;
  gap: clamp(14px, 1.8vw, 26px) !important;
  padding: 10px clamp(18px, 3.2vw, 46px) !important;
  border-bottom: 1px solid rgba(218, 169, 91, .22) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(186, 80, 42, .13), transparent 34%),
    radial-gradient(circle at 76% 0%, rgba(236, 188, 105, .12), transparent 30%),
    linear-gradient(180deg, rgba(4, 9, 10, .86), rgba(3, 8, 9, .72)) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 235, 183, .08) !important;
}

body.home-overhaul .site-header::before,
body:not(.language-gate) .site-header::before {
  content: "";
  position: absolute;
  left: clamp(14px, 2vw, 34px);
  right: clamp(14px, 2vw, 34px);
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 169, 84, .5), rgba(255, 235, 177, .16), transparent);
  pointer-events: none;
}

body.home-overhaul .site-header .brand {
  min-width: 0 !important;
  padding: 11px 0 10px 18px !important;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

body.home-overhaul .site-header .brand::before {
  top: 15px !important;
  bottom: 15px !important;
  width: 2px !important;
  background: linear-gradient(180deg, transparent, #8f5729 12%, #efd08a 48%, #85451e 86%, transparent) !important;
  box-shadow: 0 0 16px rgba(224, 169, 84, .25) !important;
}

body.home-overhaul .site-header .brand::after {
  display: none !important;
}

body.home-overhaul .site-header .brand strong {
  font-size: clamp(31px, 2.45vw, 41px) !important;
  letter-spacing: .105em !important;
  background:
    linear-gradient(180deg, #fff0bf 0%, #c89149 31%, #fff3c8 48%, #8b5527 72%, #d2a05b 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.13),
    0 7px 20px rgba(0,0,0,.5),
    0 0 16px rgba(206, 142, 60, .12) !important;
}

body.home-overhaul .top-nav,
body:not(.language-gate) .top-nav {
  height: 46px !important;
  padding: 4px !important;
  gap: 1px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(218, 169, 91, .28) !important;
  background:
    linear-gradient(180deg, rgba(255, 232, 169, .055), rgba(255,255,255,0)),
    rgba(2, 8, 9, .58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 200, .08),
    inset 0 -1px 0 rgba(117, 61, 26, .22),
    0 14px 32px rgba(0,0,0,.24) !important;
}

body.home-overhaul .top-nav a,
body:not(.language-gate) .top-nav a {
  min-height: 36px !important;
  padding: 0 clamp(10px, .86vw, 15px) !important;
  border-radius: 999px !important;
  color: rgba(235, 215, 172, .72) !important;
  letter-spacing: .055em !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.5) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home-overhaul .top-nav a::before,
body:not(.language-gate) .top-nav a::before {
  inset: 2px !important;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 237, 184, .20) 42%, transparent 58%),
    linear-gradient(180deg, rgba(122, 60, 24, .32), rgba(40, 20, 9, .12)) !important;
  opacity: 0 !important;
  transform: translateX(-28%) scaleX(.72) !important;
}

body.home-overhaul .top-nav a::after,
body:not(.language-gate) .top-nav a::after {
  left: 28% !important;
  right: 28% !important;
  bottom: 6px !important;
  background: linear-gradient(90deg, transparent, #f1cf86, transparent) !important;
  box-shadow: 0 0 10px rgba(236, 190, 112, .42) !important;
}

body.home-overhaul .top-nav a:hover,
body.home-overhaul .top-nav a:focus-visible,
body:not(.language-gate) .top-nav a:hover,
body:not(.language-gate) .top-nav a:focus-visible {
  color: #ffe8b0 !important;
  transform: translateY(-1px) !important;
  background: rgba(124, 67, 30, .14) !important;
  box-shadow: inset 0 0 0 1px rgba(238, 194, 116, .16), 0 10px 24px rgba(0,0,0,.24) !important;
}

body.home-overhaul .top-nav a.active,
body:not(.language-gate) .top-nav a.active {
  color: #1a1007 !important;
  background:
    radial-gradient(circle at 32% 16%, rgba(255,255,255,.46), transparent 22%),
    linear-gradient(180deg, #ffe8a7 0%, #d69a3e 58%, #a65f24 100%) !important;
  box-shadow:
    0 10px 26px rgba(0,0,0,.34),
    0 0 22px rgba(209, 144, 54, .14),
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(76, 36, 9, .28) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.22) !important;
}

body.home-overhaul .language-select select,
body:not(.language-gate) .language-select select,
body.home-overhaul .language-switcher select,
body:not(.language-gate) .language-switcher select {
  min-height: 46px !important;
  width: 150px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(218, 169, 91, .42) !important;
  color: #f2d7a3 !important;
  background:
    linear-gradient(180deg, rgba(255, 235, 184, .075), rgba(255,255,255,0)),
    rgba(3, 10, 11, .72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, .1),
    0 12px 28px rgba(0,0,0,.24) !important;
}

body.home-overhaul .language-select select:hover,
body:not(.language-gate) .language-select select:hover,
body.home-overhaul .language-switcher select:hover,
body:not(.language-gate) .language-switcher select:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(246, 211, 149, .76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, .14),
    0 15px 34px rgba(0,0,0,.3),
    0 0 20px rgba(218, 160, 79, .14) !important;
}

@media (max-width: 980px) {
  body.home-overhaul .site-header,
  body:not(.language-gate) .site-header {
    grid-template-columns: 1fr auto !important;
  }

  body.home-overhaul .top-nav,
  body:not(.language-gate) .top-nav {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
}

/* Less cartoon active nav: dark forged plate instead of yellow circle */
body.home-overhaul .top-nav a.active,
body:not(.language-gate) .top-nav a.active {
  color: #f4d89f !important;
  background:
    linear-gradient(180deg, rgba(255, 232, 176, .12), rgba(111, 54, 21, .18)),
    rgba(8, 15, 15, .72) !important;
  box-shadow:
    inset 0 0 0 1px rgba(230, 181, 97, .44),
    inset 0 1px 0 rgba(255, 245, 208, .12),
    0 10px 24px rgba(0,0,0,.26),
    0 0 18px rgba(209, 144, 54, .10) !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.62) !important;
}

body.home-overhaul .top-nav a.active::before,
body:not(.language-gate) .top-nav a.active::before {
  opacity: 1 !important;
  transform: translateX(0) scaleX(1) !important;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 237, 184, .12) 42%, transparent 58%),
    linear-gradient(180deg, rgba(95, 47, 20, .16), rgba(10, 15, 14, .08)) !important;
}

body.home-overhaul .top-nav a.active::after,
body:not(.language-gate) .top-nav a.active::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
  left: 22% !important;
  right: 22% !important;
  height: 2px !important;
  bottom: 5px !important;
  background: linear-gradient(90deg, transparent, #d79b43, #f0d08b, #d79b43, transparent) !important;
  box-shadow: 0 0 14px rgba(225, 163, 73, .34) !important;
}

/* Announcements page overhaul */
body.announcements-overhaul {
  --notice-ink: #060b0b;
  --notice-gold: #d9a85e;
  --notice-gold-soft: #f0d7a1;
  --notice-red: #6d241a;
  background:
    radial-gradient(circle at 22% 8%, rgba(137, 53, 31, .2), transparent 34rem),
    radial-gradient(circle at 78% 18%, rgba(223, 163, 81, .12), transparent 28rem),
    linear-gradient(180deg, #030809, #07100f 44%, #040807) !important;
}

body.announcements-overhaul::before {
  opacity: .42 !important;
  background:
    linear-gradient(180deg, rgba(3,8,9,.25), rgba(3,8,9,.82)),
    url("assets/section-kingdom.webp") center top / cover fixed no-repeat !important;
}

.announcement-page-shell {
  width: min(100% - 48px, 1160px) !important;
  padding-top: clamp(34px, 5vw, 70px);
}

.announcement-hero {
  position: relative;
  min-height: clamp(340px, 42vw, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: end;
  gap: clamp(28px, 5vw, 62px);
  overflow: hidden;
  padding: clamp(34px, 5.2vw, 68px);
  border: 1px solid rgba(220, 164, 82, .34);
  border-radius: 30px;
  background:
    radial-gradient(circle at 74% 18%, rgba(238, 190, 107, .18), transparent 25rem),
    linear-gradient(90deg, rgba(4, 8, 8, .95), rgba(6, 12, 12, .68) 48%, rgba(48, 18, 13, .44)),
    url("assets/announcements-board.webp") center / cover no-repeat;
  box-shadow:
    0 28px 70px rgba(0,0,0,.46),
    inset 0 1px 0 rgba(255, 237, 184, .11),
    inset 0 -1px 0 rgba(139, 70, 26, .25);
}

.announcement-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 218, 142, .08), transparent 24%, transparent 72%, rgba(255, 210, 133, .08)),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,.42), transparent 30rem);
  pointer-events: none;
}

.announcement-hero::after {
  content: "";
  position: absolute;
  left: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 56px);
  bottom: clamp(18px, 3vw, 34px);
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 151, 69, .65), rgba(255, 233, 180, .16), transparent);
  pointer-events: none;
}

.announcement-hero-copy,
.announcement-hero-plaque {
  position: relative;
  z-index: 1;
}

.announcement-kicker,
.dispatch-label,
.notice-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: rgba(217, 168, 94, .92);
  font-family: Cinzel, Georgia, serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.announcement-kicker::before,
.dispatch-label::before,
.notice-panel-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #d9a85e, transparent);
}

.announcement-hero h1 {
  max-width: 780px;
  margin: 0;
  color: transparent;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(58px, 9vw, 124px);
  line-height: .86;
  letter-spacing: .015em;
  background: linear-gradient(180deg, #fff0c5, #d4a25a 48%, #7b451f 78%, #e5bd78);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 18px 42px rgba(0,0,0,.52);
}

.announcement-hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(247, 226, 183, .86);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

.announcement-hero-plaque {
  align-self: center;
  justify-self: end;
  width: min(100%, 285px);
  padding: 24px;
  border: 1px solid rgba(219, 171, 101, .28);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 239, 197, .07), rgba(255,255,255,0)),
    rgba(4, 11, 11, .58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
}

.announcement-hero-plaque span {
  display: block;
  color: rgba(240, 215, 161, .54);
  font-family: Cinzel, Georgia, serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .24em;
}

.announcement-hero-plaque strong {
  display: block;
  margin-top: 12px;
  color: #f2d79e;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.war-dispatch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: clamp(24px, 4vw, 42px) 0;
  padding: clamp(24px, 3.6vw, 42px);
  border: 1px solid rgba(219, 171, 101, .26);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(82, 31, 22, .46), rgba(6, 14, 14, .75) 42%, rgba(5, 12, 12, .92)),
    url("assets/leader-throne.webp") center / cover no-repeat;
  box-shadow: 0 18px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.07);
}

.dispatch-copy h2 {
  margin: 0;
  color: #f0d6a0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: .95;
}

.dispatch-copy p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(248, 232, 183, .78);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
}

.dispatch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(236, 190, 112, .45);
  border-radius: 999px;
  color: #f4dca8;
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(5, 10, 10, .62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 28px rgba(0,0,0,.28);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.dispatch-link:hover,
.dispatch-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(246, 218, 158, .78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 34px rgba(0,0,0,.34), 0 0 22px rgba(218, 160, 79, .14);
}

.notice-rail {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin-bottom: clamp(42px, 7vw, 88px);
}

.notice-panel {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  min-height: 150px;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 38px) !important;
  border: 1px solid rgba(219, 171, 101, .2) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .72) 50%, rgba(70, 29, 19, .34)),
    var(--notice-art) center / cover no-repeat !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06) !important;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.notice-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,8,8,.5), transparent 56%, rgba(236, 178, 88, .05));
  pointer-events: none;
}

.notice-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(235, 190, 112, .42) !important;
  box-shadow: 0 24px 56px rgba(0,0,0,.34), 0 0 24px rgba(198, 121, 45, .1), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.notice-panel-events { --notice-art: url("assets/section-migration.webp"); }
.notice-panel-reminders { --notice-art: url("assets/announcements-board.webp"); }
.notice-panel-updates { --notice-art: url("assets/section-kingdom.webp"); }

.notice-panel > * {
  position: relative;
  z-index: 1;
}

.notice-panel-mark {
  width: 48px;
  height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(219, 171, 101, .35);
  border-radius: 999px;
  color: rgba(240, 215, 161, .78);
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  background: rgba(4, 10, 10, .52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.notice-panel h2 {
  margin: 0;
  color: #eed39b;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: .94;
}

.notice-panel p:not(.notice-panel-label) {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(248, 232, 183, .76) !important;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .announcement-page-shell {
    width: min(100% - 26px, 1160px) !important;
    padding-top: 22px;
  }

  .announcement-hero {
    grid-template-columns: 1fr;
    min-height: 360px;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .announcement-hero-plaque {
    justify-self: start;
    width: min(100%, 240px);
    padding: 18px;
  }

  .war-dispatch {
    grid-template-columns: 1fr;
    align-items: start;
    border-radius: 22px;
  }

  .dispatch-link {
    width: fit-content;
  }

  .notice-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 170px;
    border-radius: 22px !important;
  }
}

/* Migration page overhaul */
body.migration-overhaul {
  --migration-gold: #d9a85e;
  --migration-soft: #f0d7a1;
  --migration-red: #6d241a;
  background:
    radial-gradient(circle at 22% 8%, rgba(137, 53, 31, .22), transparent 34rem),
    radial-gradient(circle at 78% 18%, rgba(223, 163, 81, .13), transparent 28rem),
    linear-gradient(180deg, #030809, #07100f 44%, #040807) !important;
}

body.migration-overhaul::before {
  opacity: .5 !important;
  background:
    linear-gradient(180deg, rgba(3,8,9,.18), rgba(3,8,9,.84)),
    url("assets/section-migration.webp") center top / cover fixed no-repeat !important;
}

.migration-page-shell {
  width: min(100% - 48px, 1180px) !important;
  padding-top: clamp(34px, 5vw, 70px);
}

.migration-hero {
  position: relative;
  min-height: clamp(360px, 43vw, 540px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: end;
  gap: clamp(28px, 5vw, 62px);
  overflow: hidden;
  padding: clamp(34px, 5.2vw, 70px);
  border: 1px solid rgba(220, 164, 82, .34);
  border-radius: 30px;
  background:
    radial-gradient(circle at 74% 18%, rgba(238, 190, 107, .18), transparent 25rem),
    linear-gradient(90deg, rgba(4, 8, 8, .96), rgba(6, 12, 12, .66) 48%, rgba(60, 22, 14, .45)),
    url("assets/section-migration.webp") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,.46), inset 0 1px 0 rgba(255, 237, 184, .11), inset 0 -1px 0 rgba(139, 70, 26, .25);
}

.migration-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 218, 142, .08), transparent 24%, transparent 72%, rgba(255, 210, 133, .08)),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,.42), transparent 30rem);
  pointer-events: none;
}

.migration-hero::after {
  content: "";
  position: absolute;
  left: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 56px);
  bottom: clamp(18px, 3vw, 34px);
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 151, 69, .65), rgba(255, 233, 180, .16), transparent);
}

.migration-hero-copy,
.migration-passport { position: relative; z-index: 1; }

.migration-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: rgba(217, 168, 94, .92);
  font-family: Cinzel, Georgia, serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.migration-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #d9a85e, transparent);
}

.migration-hero h1 {
  max-width: 820px;
  margin: 0;
  color: transparent;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(62px, 9vw, 128px);
  line-height: .86;
  letter-spacing: .015em;
  background: linear-gradient(180deg, #fff0c5, #d4a25a 48%, #7b451f 78%, #e5bd78);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 18px 42px rgba(0,0,0,.52);
}

.migration-hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(247, 226, 183, .86);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}

.migration-hero-cta,
.migration-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  margin-top: 26px;
  padding: 0 24px;
  border: 1px solid rgba(236, 190, 112, .46);
  border-radius: 999px;
  color: #f4dca8;
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(5, 10, 10, .62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 28px rgba(0,0,0,.28);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.migration-hero-cta:hover,
.migration-discord:hover,
.migration-hero-cta:focus-visible,
.migration-discord:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(246, 218, 158, .78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 34px rgba(0,0,0,.34), 0 0 22px rgba(218, 160, 79, .14);
}

.migration-passport {
  align-self: center;
  justify-self: end;
  width: min(100%, 300px);
  padding: 24px;
  border: 1px solid rgba(219, 171, 101, .28);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 239, 197, .07), rgba(255,255,255,0)), rgba(4, 11, 11, .62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
}

.migration-passport span,
.migration-passport em {
  display: block;
  color: rgba(240, 215, 161, .58);
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-style: normal;
}

.migration-passport strong {
  display: block;
  margin: 12px 0;
  color: #f2d79e;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1;
}

.migration-voyage-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  margin: clamp(24px, 4vw, 42px) 0;
}

.migration-panel,
.migration-steps,
.migration-application-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 171, 101, .24);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(8, 17, 17, .9), rgba(6, 12, 12, .96));
  box-shadow: 0 18px 48px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.07);
}

.migration-panel,
.migration-steps { padding: clamp(26px, 4vw, 42px); }

.migration-panel h2,
.migration-steps h2,
.application-intro h2 {
  margin: 0 0 16px;
  color: #f0d7a1;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: .95;
}

.migration-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.migration-panel li {
  position: relative;
  padding-left: 28px;
  color: rgba(248, 232, 183, .78);
  line-height: 1.55;
}

.migration-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(236, 190, 112, .48);
  border-radius: 50%;
  background: radial-gradient(circle, #e5b766 0 35%, transparent 38%);
}

.migration-step-list {
  display: grid;
  gap: 14px;
}

.migration-step-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 171, 101, .16);
  border-radius: 18px;
  background: rgba(5, 12, 12, .46);
}

.migration-step-list span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 171, 101, .32);
  border-radius: 50%;
  color: #f0d7a1;
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 900;
}

.migration-step-list strong {
  color: #f0d7a1;
  font-family: Cinzel, Georgia, serif;
  font-size: 18px;
}

.migration-step-list p {
  margin: 6px 0 0;
  color: rgba(248, 232, 183, .7);
  line-height: 1.5;
}

.migration-application-card {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(24px, 4vw, 54px);
  margin-bottom: clamp(46px, 7vw, 88px);
  padding: clamp(28px, 4.4vw, 54px);
  background:
    radial-gradient(circle at 18% 24%, rgba(221, 157, 73, .12), transparent 18rem),
    linear-gradient(90deg, rgba(75, 27, 18, .44), rgba(6, 14, 14, .86)),
    url("assets/announcements-board.webp") center / cover no-repeat;
}

.application-intro p {
  margin: 0;
  color: rgba(248, 232, 183, .76);
  line-height: 1.65;
}

.migration-form {
  gap: 18px !important;
}

.migration-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.migration-comment { grid-column: 1 / -1; }

.migration-form label {
  color: #f0d7a1 !important;
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.migration-form input,
.migration-form textarea {
  border-radius: 16px !important;
  border-color: rgba(219, 171, 101, .32) !important;
  color: rgba(248, 232, 183, .92) !important;
  background: rgba(4, 10, 10, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.migration-form input:focus,
.migration-form textarea:focus {
  outline: 2px solid rgba(236, 190, 112, .42);
  outline-offset: 2px;
  border-color: rgba(236, 190, 112, .68) !important;
}

.migration-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.migration-submit-row .form-help {
  flex: 1 1 260px;
  color: rgba(248, 232, 183, .66);
}

@media (max-width: 900px) {
  .migration-page-shell { width: min(100% - 26px, 1180px) !important; padding-top: 22px; }
  .migration-hero,
  .migration-voyage-grid,
  .migration-application-card { grid-template-columns: 1fr; }
  .migration-hero { min-height: 380px; padding: 30px 22px; border-radius: 22px; }
  .migration-passport { justify-self: start; }
  .migration-form-grid { grid-template-columns: 1fr; }
}

/* Premium migration application buttons */
body.migration-overhaul .migration-submit-row {
  display: grid !important;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 16px 22px !important;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(219, 171, 101, .18);
}

body.migration-overhaul .migration-submit-row .button.primary {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  padding: 0 30px !important;
  border: 1px solid rgba(255, 235, 174, .62) !important;
  border-radius: 999px !important;
  color: #140d05 !important;
  font-family: Cinzel, Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 32% 18%, rgba(255,255,255,.62), transparent 18%),
    linear-gradient(180deg, #fff0b9 0%, #e2ad55 42%, #b86f25 100%) !important;
  box-shadow:
    0 18px 34px rgba(0,0,0,.38),
    0 0 24px rgba(218, 160, 79, .16),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -2px 0 rgba(84, 38, 8, .24) !important;
}

body.migration-overhaul .migration-submit-row .button.primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.2);
  pointer-events: none;
}

body.migration-overhaul .migration-submit-row .button.primary::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -55%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  opacity: 0;
  transition: left 520ms ease, opacity 220ms ease;
  pointer-events: none;
}

body.migration-overhaul .migration-submit-row .button.primary:hover,
body.migration-overhaul .migration-submit-row .button.primary:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 244, 199, .86) !important;
  filter: brightness(1.04) saturate(1.03);
  box-shadow:
    0 22px 42px rgba(0,0,0,.44),
    0 0 32px rgba(218, 160, 79, .24),
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -2px 0 rgba(84, 38, 8, .24) !important;
}

body.migration-overhaul .migration-submit-row .button.primary:hover::after,
body.migration-overhaul .migration-submit-row .button.primary:focus-visible::after {
  left: 112%;
  opacity: 1;
}

body.migration-overhaul .migration-submit-row .form-support {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(219, 171, 101, .38);
  border-radius: 999px;
  color: #f2d79e !important;
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  background:
    linear-gradient(180deg, rgba(255, 239, 197, .07), rgba(255,255,255,0)),
    rgba(4, 10, 10, .66);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 26px rgba(0,0,0,.24);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

body.migration-overhaul .migration-submit-row .form-support:hover,
body.migration-overhaul .migration-submit-row .form-support:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(246, 218, 158, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 32px rgba(0,0,0,.32), 0 0 20px rgba(218, 160, 79, .13);
}

body.migration-overhaul .migration-submit-row .form-help {
  grid-column: 2;
  margin: 0 !important;
  max-width: 420px;
  color: rgba(248, 232, 183, .78) !important;
  font-size: 14px !important;
  line-height: 1.55;
}

@media (max-width: 720px) {
  body.migration-overhaul .migration-submit-row {
    grid-template-columns: 1fr;
  }
  body.migration-overhaul .migration-submit-row .form-help {
    grid-column: auto;
  }
  body.migration-overhaul .migration-submit-row .button.primary,
  body.migration-overhaul .migration-submit-row .form-support {
    width: 100%;
  }
}


/* Migration application control polish */
body.migration-overhaul .migration-submit-row.migration-submit-premium {
  display: grid !important;
  grid-template-columns: minmax(230px, 270px) minmax(280px, 1fr) !important;
  gap: clamp(18px, 3vw, 34px) !important;
  align-items: stretch !important;
  margin-top: clamp(18px, 3vw, 30px) !important;
  padding: clamp(14px, 2vw, 18px) !important;
  border: 1px solid rgba(231, 185, 103, .28) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(255, 224, 158, .08), rgba(13, 18, 17, .74) 42%, rgba(1, 7, 8, .88)),
    radial-gradient(circle at 8% 0%, rgba(228, 166, 76, .22), transparent 34%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(231, 185, 103, .08),
    0 26px 60px rgba(0,0,0,.34) !important;
}

body.migration-overhaul .migration-action-stack {
  display: grid;
  gap: 11px;
  align-content: center;
}

body.migration-overhaul .migration-submit-premium .button.primary,
body.migration-overhaul .migration-submit-premium .form-support {
  width: 100% !important;
  min-height: 52px;
  border-radius: 999px !important;
  letter-spacing: .065em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  text-decoration: none !important;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.migration-overhaul .migration-submit-premium .button.primary {
  color: #160d05 !important;
  border: 1px solid rgba(255, 234, 180, .88) !important;
  background:
    linear-gradient(180deg, #fff1b8 0%, #e0a648 48%, #9a5e1f 100%) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.78),
    inset 0 -10px 18px rgba(93, 45, 8, .22),
    0 12px 26px rgba(0,0,0,.34),
    0 0 34px rgba(218, 160, 79, .18) !important;
}

body.migration-overhaul .migration-submit-premium .form-support {
  color: rgba(247, 226, 176, .94) !important;
  border: 1px solid rgba(220, 181, 113, .35) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    rgba(5, 12, 13, .82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 22px rgba(0,0,0,.30) !important;
}

body.migration-overhaul .migration-submit-premium .button.primary:hover,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible,
body.migration-overhaul .migration-submit-premium .form-support:hover,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible {
  transform: translateY(-2px) !important;
  filter: brightness(1.06) saturate(1.04);
}

body.migration-overhaul .migration-submit-premium .button.primary:active,
body.migration-overhaul .migration-submit-premium .form-support:active {
  transform: translateY(0) scale(.985) !important;
}

body.migration-overhaul .migration-submit-premium .form-help {
  grid-column: auto !important;
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 19px 22px 19px 58px !important;
  border-radius: 23px;
  border: 1px solid rgba(231, 185, 103, .25);
  color: rgba(242, 224, 184, .82) !important;
  font-size: clamp(14px, 1.05vw, 15px) !important;
  line-height: 1.65 !important;
  letter-spacing: .015em;
  background:
    linear-gradient(135deg, rgba(243, 202, 123, .10), rgba(255,255,255,.025) 38%, rgba(0,0,0,.14)),
    rgba(6, 14, 15, .56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

body.migration-overhaul .migration-submit-premium .form-help::before {
  content: "R5";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f8e2aa;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  border: 1px solid rgba(247, 216, 150, .42);
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.28), transparent 26%),
    linear-gradient(145deg, rgba(101, 63, 22, .94), rgba(26, 18, 12, .96));
  box-shadow: 0 0 18px rgba(218,160,79,.18), inset 0 1px 0 rgba(255,255,255,.22);
}

@media (max-width: 760px) {
  body.migration-overhaul .migration-submit-row.migration-submit-premium {
    grid-template-columns: 1fr !important;
    border-radius: 22px !important;
  }

  body.migration-overhaul .migration-submit-premium .form-help {
    padding: 17px 18px 17px 56px !important;
  }
}


/* Migration R5 linked fallback note */
body.migration-overhaul .migration-submit-premium .migration-r5-note {
  gap: 5px;
  padding: 18px 22px 18px 62px !important;
  border-color: rgba(232, 190, 111, .34) !important;
  background:
    linear-gradient(135deg, rgba(226, 169, 77, .14), rgba(255,255,255,.035) 34%, rgba(1, 8, 9, .20)),
    rgba(8, 18, 18, .68) !important;
}

body.migration-overhaul .migration-r5-note .note-title {
  display: block;
  color: rgba(255, 232, 178, .94);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.15;
  text-transform: uppercase;
}

body.migration-overhaul .migration-r5-note .r5-leadership-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffe2a0;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(223, 166, 79, .22);
}

body.migration-overhaul .migration-r5-note .r5-leadership-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .9), transparent);
  transform: scaleX(.72);
  opacity: .85;
  transition: transform .2s ease, opacity .2s ease;
}

body.migration-overhaul .migration-r5-note .r5-leadership-link:hover::after,
body.migration-overhaul .migration-r5-note .r5-leadership-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

body.migration-overhaul .migration-r5-note .r5-leadership-link:hover,
body.migration-overhaul .migration-r5-note .r5-leadership-link:focus-visible {
  color: #fff3c5;
}


/* Achievements page overhaul */
body.achievements-page {
  --page-scene: url("assets/section-achievements.webp");
  background:
    radial-gradient(circle at 18% 12%, rgba(151, 72, 35, .30), transparent 32%),
    linear-gradient(180deg, rgba(2, 9, 10, .93), rgba(2, 8, 9, .98)),
    var(--page-scene) center/cover fixed;
}

body.achievements-page::before {
  opacity: .50;
  filter: saturate(.82) contrast(1.04);
}

.achievements-overhaul {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0 clamp(70px, 8vw, 110px);
}

.achievements-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
  min-height: clamp(420px, 58vh, 640px);
  padding: clamp(34px, 5.5vw, 76px);
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(226, 184, 112, .34);
  background:
    linear-gradient(90deg, rgba(8, 12, 13, .92), rgba(8, 14, 14, .70) 46%, rgba(64, 28, 18, .36)),
    radial-gradient(circle at 74% 18%, rgba(236, 190, 111, .16), transparent 32%),
    url("assets/section-achievements.webp") center/cover;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(226, 184, 112, .12),
    0 34px 90px rgba(0,0,0,.44);
}

.achievements-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0,0,0,.12), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 82px);
  mix-blend-mode: screen;
  opacity: .30;
  pointer-events: none;
}

.achievements-hero::after {
  content: "";
  position: absolute;
  left: clamp(26px, 5vw, 72px);
  right: clamp(26px, 5vw, 72px);
  bottom: clamp(22px, 4vw, 54px);
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 203, 128, .65), transparent);
  opacity: .72;
}

.achievements-hero-copy,
.achievements-crest {
  position: relative;
  z-index: 1;
}

.achievements-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 192, 118, .86);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.achievements-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 192, 118, .88), transparent);
}

.achievements-hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: #f6e7bf;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(56px, 8.6vw, 128px);
  line-height: .84;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0,0,0,.52), 0 0 28px rgba(218,160,79,.12);
}

.achievements-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(244, 229, 196, .82);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  font-weight: 650;
}

.achievements-crest {
  justify-self: end;
  display: grid;
  place-items: center;
  width: clamp(150px, 16vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(235, 198, 125, .36);
  background:
    radial-gradient(circle at 34% 25%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(145deg, rgba(42, 28, 19, .80), rgba(4, 11, 12, .82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 46px rgba(0,0,0,.36);
}

.achievements-crest span {
  color: #f2d89b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 0 0 22px rgba(224, 167, 80, .20);
}

.achievements-crest small {
  margin-top: -34px;
  color: rgba(239, 218, 174, .62);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.achievements-ledger {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 42px);
}

.achievement-panel {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  min-height: 150px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(205, 161, 92, .24);
  background:
    linear-gradient(90deg, rgba(8, 16, 16, .93), rgba(10, 18, 18, .77) 50%, rgba(50, 24, 16, .32)),
    var(--panel-art) center/cover;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 44px rgba(0,0,0,.24);
}

.achievement-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,8,9,.82), rgba(2,8,9,.22) 72%);
  pointer-events: none;
}

.achievement-panel > * {
  position: relative;
  z-index: 1;
}

.panel-war { --panel-art: url("assets/battlefield-hero.webp"); }
.panel-rank { --panel-art: url("assets/section-kingdom.webp"); }
.panel-honor { --panel-art: url("assets/leader-throne.webp"); }

.panel-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: rgba(246, 224, 178, .88);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 900;
  border: 1px solid rgba(230, 190, 115, .34);
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.18), transparent 28%), rgba(20, 17, 12, .78);
}

.achievement-panel p {
  margin: 0 0 8px;
  color: rgba(231, 188, 111, .78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.achievement-panel h2 {
  margin: 0 0 8px;
  color: #f3ddb0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: .95;
  letter-spacing: -.025em;
}

.achievement-panel span:last-child {
  display: block;
  max-width: 720px;
  color: rgba(241, 225, 190, .70);
  font-size: 15px;
  line-height: 1.55;
}

.achievements-coming-soon {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  margin-top: clamp(28px, 5vw, 54px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(226, 184, 112, .22);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(229, 174, 82, .10), rgba(4, 12, 13, .72) 40%, rgba(1, 7, 8, .88)),
    rgba(7, 15, 16, .76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.065), 0 22px 54px rgba(0,0,0,.25);
}

.achievements-coming-soon .glory-seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #f3d391;
  border: 1px solid rgba(231, 190, 115, .36);
  background: rgba(19, 17, 13, .78);
}

.achievements-coming-soon h2 {
  margin: 10px 0 10px;
  color: #f6e7bf;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.035em;
}

.achievements-coming-soon p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(242, 224, 184, .76);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .achievements-overhaul { width: min(100% - 28px, 1180px); }
  .achievements-hero { grid-template-columns: 1fr; min-height: auto; }
  .achievements-crest { justify-self: start; width: 136px; }
  .achievement-panel { grid-template-columns: 1fr; }
  .achievements-coming-soon { grid-template-columns: 1fr; }
}


/* Media, Guides, and Socials premium overhauls */
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(231, 190, 115, .86);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.page-kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, rgba(231,190,115,.9), transparent); }

.media-overhaul,
.guides-overhaul,
.socials-overhaul {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 0 clamp(70px, 8vw, 108px);
}

body.media-page,
body:has(.guides-overhaul),
body.contacts-page {
  background-color: #020909;
}

body.media-page::before,
body:has(.guides-overhaul)::before,
body.contacts-page::before {
  opacity: .52;
  filter: saturate(.84) contrast(1.08);
}

.media-hero,
.guides-hero,
.socials-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 184, 112, .32);
  border-radius: 34px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 34px 90px rgba(0,0,0,.42);
}

.media-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  min-height: clamp(430px, 58vh, 620px);
  padding: clamp(34px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(4, 12, 13, .94), rgba(4, 12, 13, .68) 48%, rgba(65, 25, 18, .34)),
    url("assets/section-media.webp") center/cover;
}

.media-hero h1,
.guides-hero h1,
.socials-hero h1 {
  max-width: 780px;
  margin: 18px 0;
  color: #f5e2b7;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .88;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0,0,0,.52);
}

.media-hero p,
.guides-hero p,
.socials-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(243, 226, 188, .78);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.58;
  font-weight: 650;
}

.media-frame-stack {
  position: relative;
  min-height: 300px;
}
.media-frame-stack span {
  position: absolute;
  inset: auto;
  width: 210px;
  height: 138px;
  border: 1px solid rgba(231, 190, 115, .38);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02)), rgba(7,15,16,.62);
  box-shadow: 0 20px 42px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.10);
}
.media-frame-stack span:nth-child(1) { right: 44px; top: 0; transform: rotate(5deg); background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.1)), url("assets/battlefield-hero.webp"); background-size: cover; }
.media-frame-stack span:nth-child(2) { left: 0; top: 92px; transform: rotate(-7deg); background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.1)), url("assets/leader-throne.webp"); background-size: cover; }
.media-frame-stack span:nth-child(3) { right: 0; bottom: 0; transform: rotate(2deg); background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.1)), url("assets/announcements-board.webp"); background-size: cover; }

.media-board {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  margin-top: 24px;
}
.media-tile {
  min-height: 250px;
  display: grid;
  align-content: end;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(205, 161, 92, .25);
  background: linear-gradient(180deg, rgba(5,11,12,.18), rgba(4,10,11,.90)), var(--tile-art) center/cover;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 44px rgba(0,0,0,.25);
}
.media-tile.large { grid-row: span 2; min-height: 520px; }
.media-tile span, .social-card p, .guide-feature-strip span { color: rgba(231,190,115,.78); font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.media-tile h2, .social-card h2, .guide-feature-strip h2 { margin: 8px 0; color: #f4dfad; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 4vw, 50px); line-height: .95; }
.media-tile p, .social-card span, .guide-feature-strip p { color: rgba(241,225,190,.72); line-height: 1.55; }
.media-note { margin-top: 20px; display: flex; gap: 16px; align-items: center; padding: 22px 26px; border-radius: 24px; border: 1px solid rgba(226,184,112,.22); background: rgba(7,15,16,.68); color: rgba(242,224,184,.78); }
.media-note p { margin: 0; }
.media-note span { color: #e8be73; }

.guides-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px);
  min-height: clamp(410px, 55vh, 600px);
  background:
    linear-gradient(90deg, rgba(5, 12, 13, .95), rgba(5, 12, 13, .75) 50%, rgba(51, 28, 18, .36)),
    url("assets/section-guides.webp") center/cover;
}
.guide-action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.guide-action-row .button { border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 900; }
.guide-compass { display: grid; place-items: center; width: 210px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(231,190,115,.34); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), transparent 26%), rgba(7,15,16,.74); box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 24px 50px rgba(0,0,0,.32); }
.guide-compass span { color:#f2d89b; font-family: Georgia, 'Times New Roman', serif; font-size: 62px; font-weight: 900; }
.guide-compass small { margin-top: -38px; color: rgba(239,218,174,.62); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.guide-feature-strip { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.guide-feature-strip article { padding: 24px; min-height: 210px; border-radius: 26px; border: 1px solid rgba(205,161,92,.24); background: linear-gradient(135deg, rgba(231,190,115,.10), rgba(7,15,16,.78) 42%, rgba(2,8,9,.90)); box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 44px rgba(0,0,0,.22); }
.guides-overhaul .guide-directory { margin-top: 28px; }
.guides-overhaul .guide-credit { margin-top: 18px; border-radius: 20px; border: 1px solid rgba(226,184,112,.18); background: rgba(7,15,16,.58); color: rgba(242,224,184,.64); }

.socials-hero {
  min-height: clamp(330px, 45vh, 510px);
  display: grid;
  align-items: end;
  padding: clamp(34px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(4, 12, 13, .94), rgba(4, 12, 13, .64) 54%, rgba(65, 25, 18, .32)),
    url("assets/section-contacts.webp") center/cover;
}
.socials-grid { display: grid; gap: 18px; margin-top: 24px; }
.social-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 22px; align-items: center; min-height: 150px; padding: 24px; border-radius: 28px; border: 1px solid rgba(205,161,92,.24); background: linear-gradient(90deg, rgba(8,16,16,.90), rgba(8,16,16,.74), rgba(62,28,18,.22)); box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 44px rgba(0,0,0,.24); }
.social-card.primary-social { border-color: rgba(231,190,115,.38); background: linear-gradient(90deg, rgba(68,37,19,.62), rgba(8,16,16,.82), rgba(8,16,16,.70)); }
.social-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:50%; color:#f3d391; font-family: Georgia, 'Times New Roman', serif; font-weight:900; border:1px solid rgba(231,190,115,.34); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.18), transparent 28%), rgba(20,17,12,.78); }
.social-card p { margin:0 0 8px; }
.social-card h2 { font-size: clamp(28px, 3.5vw, 44px); }
.social-card .button { white-space: nowrap; border-radius:999px; text-transform: uppercase; letter-spacing:.08em; font-size:12px; font-weight:900; }
.social-status { justify-self:end; color: rgba(243, 211, 145, .78) !important; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .media-overhaul, .guides-overhaul, .socials-overhaul { width: min(100% - 28px, 1180px); }
  .media-hero, .guides-hero { grid-template-columns: 1fr; }
  .media-frame-stack { display: none; }
  .media-board { grid-template-columns: 1fr; }
  .media-tile.large { min-height: 320px; }
  .guide-feature-strip { grid-template-columns: 1fr; }
  .guide-compass { width: 150px; }
  .social-card { grid-template-columns: 1fr; }
  .social-card .button, .social-status { justify-self: start; }
}


/* Related imagery pass for Media, Guides, and Socials */
body.media-page .media-frame-stack span:nth-child(1) {
  background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.10)), url("assets/section-media.webp") !important;
  background-size: cover !important;
  background-position: center !important;
}
body.media-page .media-frame-stack span:nth-child(2) {
  background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.10)), url("assets/section-media.webp") !important;
  background-size: cover !important;
  background-position: left center !important;
}
body.media-page .media-frame-stack span:nth-child(3) {
  background-image: linear-gradient(135deg, rgba(255,255,255,.10), rgba(0,0,0,.10)), url("assets/section-media.webp") !important;
  background-size: cover !important;
  background-position: right center !important;
}
body.media-page .media-tile[style*="battlefield-hero"],
body.media-page .media-tile[style*="announcements-board"] {
  background:
    linear-gradient(180deg, rgba(5,11,12,.16), rgba(4,10,11,.91)),
    url("assets/section-media.webp") center / cover !important;
}
body.media-page .media-tile:nth-child(2) { background-position: center !important; }
body.media-page .media-tile:nth-child(3) { background-position: right center !important; }

body:has(.guides-overhaul) .guide-feature-strip article:nth-child(1) {
  background:
    linear-gradient(135deg, rgba(231,190,115,.10), rgba(7,15,16,.76) 42%, rgba(2,8,9,.92)),
    url("assets/section-guides.webp") center / cover !important;
}
body:has(.guides-overhaul) .guide-feature-strip article:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(231,190,115,.10), rgba(7,15,16,.78) 42%, rgba(2,8,9,.92)),
    url("assets/section-guides.webp") left center / cover !important;
}
body:has(.guides-overhaul) .guide-feature-strip article:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(231,190,115,.10), rgba(7,15,16,.78) 42%, rgba(2,8,9,.92)),
    url("assets/section-guides.webp") right center / cover !important;
}

body.contacts-page .social-card.primary-social {
  background:
    linear-gradient(90deg, rgba(68,37,19,.70), rgba(8,16,16,.84), rgba(8,16,16,.73)),
    url("assets/section-contacts.webp") center / cover !important;
}
body.contacts-page .social-card:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(8,16,16,.90), rgba(8,16,16,.76), rgba(62,28,18,.24)),
    url("assets/section-kingdom.webp") center / cover !important;
}
body.contacts-page .social-card.muted-social {
  background:
    linear-gradient(90deg, rgba(8,16,16,.92), rgba(8,16,16,.80), rgba(62,28,18,.22)),
    url("assets/section-media.webp") center / cover !important;
}


/* Media page less repetitive composition */
body.media-page .media-frame-stack { display: none !important; }
body.media-page .media-lens-card {
  position: relative;
  z-index: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  width: clamp(180px, 21vw, 270px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(231, 190, 115, .35);
  background:
    radial-gradient(circle at 38% 28%, rgba(255,255,255,.22), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(231,190,115,.14), transparent 43%),
    linear-gradient(145deg, rgba(13, 27, 28, .88), rgba(3, 9, 10, .92));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -18px 34px rgba(0,0,0,.28),
    0 24px 54px rgba(0,0,0,.38);
}
body.media-page .media-lens-card .lens-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(231, 190, 115, .28);
  box-shadow: inset 0 0 34px rgba(87, 145, 154, .12), 0 0 30px rgba(231,190,115,.08);
}
body.media-page .media-lens-card .lens-glint {
  position: absolute;
  top: 24%;
  left: 30%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.65), rgba(255,255,255,.04) 62%, transparent 70%);
  filter: blur(.3px);
}
body.media-page .media-lens-card strong {
  color: #f2d89b;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -.025em;
}
body.media-page .media-lens-card small {
  margin-top: -38px;
  color: rgba(239, 218, 174, .64);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
body.media-page .media-board {
  grid-template-columns: 1fr !important;
}
body.media-page .media-tile {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 260px);
  align-items: end;
  min-height: 190px !important;
  background-image: none !important;
  background:
    linear-gradient(90deg, rgba(5, 13, 14, .92), rgba(6, 15, 16, .78) 52%, rgba(57, 26, 18, .22)) !important;
}
body.media-page .media-tile::after {
  content: "";
  justify-self: end;
  width: min(240px, 26vw);
  height: 112px;
  border-radius: 20px;
  border: 1px solid rgba(231, 190, 115, .24);
  background: var(--media-card-visual);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 32px rgba(0,0,0,.24);
}
body.media-page .media-tile.large,
body.media-page .media-tile:nth-child(2),
body.media-page .media-tile:nth-child(3) { min-height: 190px !important; }
body.media-page .media-tile.large { --media-card-visual: linear-gradient(180deg, rgba(4,10,11,.1), rgba(4,10,11,.36)), url("assets/section-media.webp"); }
body.media-page .media-tile:nth-child(2) { --media-card-visual: radial-gradient(circle at 50% 50%, rgba(231,190,115,.18), transparent 48%), linear-gradient(135deg, rgba(10,24,25,.94), rgba(3,9,10,.96)); }
body.media-page .media-tile:nth-child(3) { --media-card-visual: linear-gradient(135deg, rgba(231,190,115,.16), rgba(4,12,13,.88)), repeating-linear-gradient(0deg, rgba(231,190,115,.22) 0 1px, transparent 1px 16px); }
@media (max-width: 900px) {
  body.media-page .media-lens-card { justify-self: start; }
  body.media-page .media-tile { grid-template-columns: 1fr; }
  body.media-page .media-tile::after { width: 100%; max-width: 280px; justify-self: start; }
}


/* Buttons and background redundancy refinement */
.media-overhaul .button,
.guides-overhaul .button,
.socials-overhaul .button,
.guide-action-row .button,
.social-card .button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: 0 22px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(226, 184, 112, .34) !important;
  color: rgba(246, 226, 183, .92) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018)),
    rgba(5, 14, 15, .82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 14px 30px rgba(0,0,0,.25) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.38);
}

.media-overhaul .button.primary,
.guides-overhaul .button.primary,
.socials-overhaul .button.primary,
.guide-action-row .button.primary,
.social-card .button.primary {
  color: #1b1007 !important;
  border-color: rgba(255, 232, 174, .72) !important;
  background:
    linear-gradient(180deg, #f5d88e 0%, #c88732 52%, #7c4718 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.56),
    inset 0 -10px 20px rgba(86, 38, 8, .24),
    0 16px 34px rgba(0,0,0,.34),
    0 0 28px rgba(218,160,79,.13) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.26);
}

.media-overhaul .button::after,
.guides-overhaul .button::after,
.socials-overhaul .button::after,
.guide-action-row .button::after,
.social-card .button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.07);
  pointer-events: none;
}

.media-overhaul .button:hover,
.guides-overhaul .button:hover,
.socials-overhaul .button:hover,
.guide-action-row .button:hover,
.social-card .button:hover,
.media-overhaul .button:focus-visible,
.guides-overhaul .button:focus-visible,
.socials-overhaul .button:focus-visible,
.guide-action-row .button:focus-visible,
.social-card .button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05) saturate(1.04);
  border-color: rgba(246, 216, 150, .68) !important;
}

.media-overhaul .button:active,
.guides-overhaul .button:active,
.socials-overhaul .button:active,
.guide-action-row .button:active,
.social-card .button:active {
  transform: translateY(0) scale(.985);
}

body.media-page .media-hero {
  background:
    radial-gradient(circle at 72% 25%, rgba(78, 143, 154, .18), transparent 28%),
    linear-gradient(90deg, rgba(4, 12, 13, .95), rgba(4, 12, 13, .74) 48%, rgba(65, 25, 18, .28)),
    url("assets/section-media.webp") center/cover !important;
}

body.media-page .media-tile {
  background:
    linear-gradient(90deg, rgba(5, 13, 14, .95), rgba(6, 15, 16, .82) 54%, rgba(57, 26, 18, .16)),
    radial-gradient(circle at 88% 50%, rgba(231,190,115,.10), transparent 34%) !important;
}

body.media-page .media-tile.large::after { background-position: 50% 50% !important; }
body.media-page .media-tile:nth-child(2)::after { background: radial-gradient(circle at 50% 45%, rgba(95, 170, 182, .34), transparent 38%), linear-gradient(145deg, rgba(9,27,29,.96), rgba(3,9,10,.98)) !important; }
body.media-page .media-tile:nth-child(3)::after { background: linear-gradient(135deg, rgba(231,190,115,.16), rgba(4,12,13,.88)), repeating-linear-gradient(0deg, rgba(231,190,115,.22) 0 1px, transparent 1px 16px) !important; }

body:has(.guides-overhaul) .guide-feature-strip article {
  background:
    linear-gradient(135deg, rgba(231,190,115,.09), rgba(7,15,16,.84) 42%, rgba(2,8,9,.94)) !important;
}
body:has(.guides-overhaul) .guide-feature-strip article::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(231,190,115,.8), transparent);
  opacity: .45;
}

body.contacts-page .social-card {
  background:
    linear-gradient(90deg, rgba(8,16,16,.92), rgba(8,16,16,.80), rgba(62,28,18,.18)) !important;
}
body.contacts-page .social-card.primary-social {
  background:
    linear-gradient(90deg, rgba(68,37,19,.66), rgba(8,16,16,.86), rgba(8,16,16,.76)),
    url("assets/section-contacts.webp") center / cover !important;
}
body.contacts-page .social-card:nth-child(2)::after,
body.contacts-page .social-card.muted-social::after {
  content: "";
  width: 120px;
  height: 72px;
  justify-self: end;
  border-radius: 18px;
  border: 1px solid rgba(231,190,115,.22);
  background: var(--social-card-mark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 26px rgba(0,0,0,.22);
}
body.contacts-page .social-card:nth-child(2) { grid-template-columns: 72px minmax(0,1fr) auto auto; --social-card-mark: radial-gradient(circle at 50% 50%, rgba(231,190,115,.18), transparent 42%), url("assets/section-kingdom.webp") center / cover; }
body.contacts-page .social-card.muted-social { grid-template-columns: 72px minmax(0,1fr) auto auto; --social-card-mark: radial-gradient(circle at 50% 50%, rgba(95,170,182,.25), transparent 45%), linear-gradient(145deg, rgba(9,27,29,.96), rgba(3,9,10,.98)); }
@media (max-width: 900px) {
  body.contacts-page .social-card:nth-child(2),
  body.contacts-page .social-card.muted-social { grid-template-columns: 1fr; }
  body.contacts-page .social-card:nth-child(2)::after,
  body.contacts-page .social-card.muted-social::after { justify-self: start; width: 160px; }
}


/* Remove option box image backgrounds and temporary preview blocks */
body.media-page .media-tile,
body.contacts-page .social-card,
body:has(.guides-overhaul) .guide-feature-strip article {
  background:
    linear-gradient(135deg, rgba(13, 23, 23, .92), rgba(5, 13, 14, .94) 52%, rgba(22, 16, 12, .90)) !important;
  background-image: linear-gradient(135deg, rgba(13, 23, 23, .92), rgba(5, 13, 14, .94) 52%, rgba(22, 16, 12, .90)) !important;
}

body.contacts-page .social-card.primary-social {
  background:
    linear-gradient(135deg, rgba(42, 25, 16, .94), rgba(5, 13, 14, .94) 52%, rgba(8, 16, 16, .92)) !important;
  background-image: linear-gradient(135deg, rgba(42, 25, 16, .94), rgba(5, 13, 14, .94) 52%, rgba(8, 16, 16, .92)) !important;
}

body.media-page .media-tile::after,
body.contacts-page .social-card:nth-child(2)::after,
body.contacts-page .social-card.muted-social::after,
body.media-page .media-lens-card,
body:has(.guides-overhaul) .guide-compass {
  display: none !important;
  content: none !important;
}

body.media-page .media-hero,
body:has(.guides-overhaul) .guides-hero,
body.contacts-page .socials-hero {
  grid-template-columns: 1fr !important;
}

body.media-page .media-board {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

body.media-page .media-tile {
  min-height: 168px !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  padding: clamp(24px, 3vw, 34px) !important;
}

body.media-page .media-tile.large,
body.media-page .media-tile:nth-child(2),
body.media-page .media-tile:nth-child(3) {
  min-height: 168px !important;
}

body.contacts-page .social-card {
  grid-template-columns: 72px minmax(0,1fr) auto !important;
}

body.contacts-page .social-card.muted-social {
  grid-template-columns: 72px minmax(0,1fr) auto !important;
}

body:has(.guides-overhaul) .guides-hero {
  min-height: clamp(340px, 48vh, 520px) !important;
}

@media (max-width: 900px) {
  body.contacts-page .social-card,
  body.contacts-page .social-card.muted-social {
    grid-template-columns: 1fr !important;
  }
}


/* Force remove media row image backgrounds */
body.media-page .media-board .media-tile,
body.media-page .media-board .media-tile.large,
body.media-page .media-board .media-tile:nth-child(1),
body.media-page .media-board .media-tile:nth-child(2),
body.media-page .media-board .media-tile:nth-child(3) {
  background: linear-gradient(135deg, rgba(10, 21, 21, .96), rgba(5, 12, 13, .98) 55%, rgba(17, 13, 10, .96)) !important;
  background-image: linear-gradient(135deg, rgba(10, 21, 21, .96), rgba(5, 12, 13, .98) 55%, rgba(17, 13, 10, .96)) !important;
  background-color: #061011 !important;
}
body.media-page .media-board .media-tile::before,
body.media-page .media-board .media-tile::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}
body.media-page .media-board .media-tile {
  border-color: rgba(226, 184, 112, .24) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 44px rgba(0,0,0,.24) !important;
}


/* Migration hero without passport badge */
body.migration-overhaul .migration-hero {
  grid-template-columns: 1fr !important;
  align-items: end !important;
}
body.migration-overhaul .migration-passport {
  display: none !important;
}
body.migration-overhaul .migration-hero-copy {
  max-width: 760px;
}


/* Site-wide inner page alignment with homepage */
body:not(.home-overhaul):not(.language-gate) {
  --inner-title-max: 72px;
  --inner-title-min: 40px;
  --inner-copy: rgba(243, 226, 188, .76);
  --inner-panel: linear-gradient(135deg, rgba(12, 22, 22, .93), rgba(5, 12, 13, .96) 52%, rgba(18, 13, 10, .92));
  background-color: #020909;
}

body:not(.home-overhaul):not(.language-gate) h1,
body:not(.home-overhaul):not(.language-gate) h2,
body:not(.home-overhaul):not(.language-gate) h3,
body:not(.home-overhaul):not(.language-gate) .brand strong,
body:not(.home-overhaul):not(.language-gate) .page-kicker,
body:not(.home-overhaul):not(.language-gate) .migration-kicker,
body:not(.home-overhaul):not(.language-gate) .achievements-kicker {
  font-family: var(--font-display) !important;
}

body:not(.home-overhaul):not(.language-gate) p,
body:not(.home-overhaul):not(.language-gate) a,
body:not(.home-overhaul):not(.language-gate) button,
body:not(.home-overhaul):not(.language-gate) input,
body:not(.home-overhaul):not(.language-gate) textarea,
body:not(.home-overhaul):not(.language-gate) li,
body:not(.home-overhaul):not(.language-gate) span,
body:not(.home-overhaul):not(.language-gate) small,
body:not(.home-overhaul):not(.language-gate) label {
  font-family: var(--font-body);
}

body:not(.home-overhaul):not(.language-gate) .unified-page-title h1,
body:not(.home-overhaul):not(.language-gate) .migration-hero h1,
body:not(.home-overhaul):not(.language-gate) .achievements-hero h1,
body:not(.home-overhaul):not(.language-gate) .media-hero h1,
body:not(.home-overhaul):not(.language-gate) .guides-hero h1,
body:not(.home-overhaul):not(.language-gate) .socials-hero h1,
body:not(.home-overhaul):not(.language-gate) .announce-hero h1,
body:not(.home-overhaul):not(.language-gate) .announcement-hero h1,
body:not(.home-overhaul):not(.language-gate) .kingdom-hero h1,
body:not(.home-overhaul):not(.language-gate) .leadership-hero h1 {
  max-width: 780px !important;
  font-size: clamp(var(--inner-title-min), 6.1vw, var(--inner-title-max)) !important;
  line-height: .94 !important;
  letter-spacing: -.035em !important;
  color: #f5dfad !important;
  text-wrap: balance;
}

body:not(.home-overhaul):not(.language-gate) .achievements-coming-soon h2,
body:not(.home-overhaul):not(.language-gate) .achievement-panel h2,
body:not(.home-overhaul):not(.language-gate) .media-tile h2,
body:not(.home-overhaul):not(.language-gate) .guide-feature-strip h2,
body:not(.home-overhaul):not(.language-gate) .social-card h2,
body:not(.home-overhaul):not(.language-gate) .migration-panel h2,
body:not(.home-overhaul):not(.language-gate) .migration-steps h2,
body:not(.home-overhaul):not(.language-gate) .migration-application-card h2 {
  font-size: clamp(28px, 3.8vw, 48px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.02em !important;
  color: #f3dcaa !important;
}

body:not(.home-overhaul):not(.language-gate) .migration-hero,
body:not(.home-overhaul):not(.language-gate) .achievements-hero,
body:not(.home-overhaul):not(.language-gate) .media-hero,
body:not(.home-overhaul):not(.language-gate) .guides-hero,
body:not(.home-overhaul):not(.language-gate) .socials-hero {
  min-height: clamp(330px, 48vh, 540px) !important;
  border-radius: 30px !important;
  border-color: rgba(226, 184, 112, .28) !important;
}

body:not(.home-overhaul):not(.language-gate) .migration-hero p,
body:not(.home-overhaul):not(.language-gate) .achievements-hero p,
body:not(.home-overhaul):not(.language-gate) .media-hero p,
body:not(.home-overhaul):not(.language-gate) .guides-hero p,
body:not(.home-overhaul):not(.language-gate) .socials-hero p,
body:not(.home-overhaul):not(.language-gate) .unified-page-title p {
  max-width: 660px !important;
  color: var(--inner-copy) !important;
  font-size: clamp(15px, 1.35vw, 18px) !important;
  line-height: 1.65 !important;
  font-weight: 650 !important;
}

body:not(.home-overhaul):not(.language-gate) .page-kicker,
body:not(.home-overhaul):not(.language-gate) .migration-kicker,
body:not(.home-overhaul):not(.language-gate) .achievements-kicker,
body:not(.home-overhaul):not(.language-gate) .eyebrow {
  color: rgba(226, 184, 112, .82) !important;
  font-size: 11px !important;
  letter-spacing: .18em !important;
}

body:not(.home-overhaul):not(.language-gate) .media-tile,
body:not(.home-overhaul):not(.language-gate) .social-card,
body:not(.home-overhaul):not(.language-gate) .guide-feature-strip article,
body:not(.home-overhaul):not(.language-gate) .achievement-panel,
body:not(.home-overhaul):not(.language-gate) .migration-panel,
body:not(.home-overhaul):not(.language-gate) .migration-steps,
body:not(.home-overhaul):not(.language-gate) .migration-application-card,
body:not(.home-overhaul):not(.language-gate) .achievements-coming-soon {
  background: var(--inner-panel) !important;
  background-image: var(--inner-panel) !important;
  border-color: rgba(226, 184, 112, .22) !important;
}

body:not(.home-overhaul):not(.language-gate) .button,
body:not(.home-overhaul):not(.language-gate) button.button,
body:not(.home-overhaul):not(.language-gate) .form-support,
body:not(.home-overhaul):not(.language-gate) .migration-hero-cta,
body:not(.home-overhaul):not(.language-gate) .migration-discord {
  font-family: var(--font-body) !important;
  border-radius: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {
  body:not(.home-overhaul):not(.language-gate) {
    --inner-title-max: 52px;
    --inner-title-min: 36px;
  }
}


/* Announcements remove row backgrounds and premium dispatch button */
body.announcements-overhaul .war-dispatch,
body.announcements-overhaul .notice-panel,
body.announcements-overhaul .notice-panel-events,
body.announcements-overhaul .notice-panel-reminders,
body.announcements-overhaul .notice-panel-updates {
  background:
    linear-gradient(135deg, rgba(13, 23, 23, .94), rgba(5, 12, 13, .97) 52%, rgba(19, 14, 10, .94)) !important;
  background-image: linear-gradient(135deg, rgba(13, 23, 23, .94), rgba(5, 12, 13, .97) 52%, rgba(19, 14, 10, .94)) !important;
  background-color: #061011 !important;
}
body.announcements-overhaul .notice-panel::before,
body.announcements-overhaul .war-dispatch::before {
  background: linear-gradient(90deg, rgba(219, 164, 82, .14), transparent 48%) !important;
  opacity: .55 !important;
}
body.announcements-overhaul .dispatch-link {
  position: relative;
  overflow: hidden;
  min-width: 160px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 232, 174, .72) !important;
  color: #1b1007 !important;
  background: linear-gradient(180deg, #f5d88e 0%, #c88732 52%, #7c4718 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.56),
    inset 0 -10px 20px rgba(86, 38, 8, .24),
    0 16px 34px rgba(0,0,0,.34),
    0 0 28px rgba(218,160,79,.13) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.24);
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
body.announcements-overhaul .dispatch-link::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
body.announcements-overhaul .dispatch-link:hover,
body.announcements-overhaul .dispatch-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06) saturate(1.04);
}
body.announcements-overhaul .dispatch-link:active {
  transform: translateY(0) scale(.985);
}


/* Announcements clean hero and subtle Discord button */
body.announcements-overhaul .announcement-hero {
  grid-template-columns: 1fr !important;
}
body.announcements-overhaul .announcement-hero-plaque {
  display: none !important;
}
body.announcements-overhaul .announcement-hero-copy {
  max-width: 760px;
}
body.announcements-overhaul .dispatch-link {
  min-width: 148px !important;
  min-height: 46px !important;
  border-radius: 999px !important;
  color: rgba(242, 224, 184, .88) !important;
  border: 1px solid rgba(226, 184, 112, .34) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    rgba(7, 16, 16, .86) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 26px rgba(0,0,0,.28) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.45) !important;
}
body.announcements-overhaul .dispatch-link::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: rgba(226, 184, 112, .82);
  box-shadow: 0 0 12px rgba(226,184,112,.34);
}
body.announcements-overhaul .dispatch-link:hover,
body.announcements-overhaul .dispatch-link:focus-visible {
  color: #f5dfad !important;
  border-color: rgba(226, 184, 112, .58) !important;
  background:
    linear-gradient(180deg, rgba(226,184,112,.13), rgba(255,255,255,.025)),
    rgba(7, 16, 16, .90) !important;
  filter: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 14px 30px rgba(0,0,0,.32),
    0 0 20px rgba(226,184,112,.10) !important;
}


/* Announcements slicker subtle Discord button */
body.announcements-overhaul .dispatch-link {
  min-width: 154px !important;
  min-height: 42px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  color: rgba(245, 223, 173, .92) !important;
  border: 1px solid rgba(210, 166, 91, .42) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
    linear-gradient(90deg, rgba(12, 25, 25, .94), rgba(6, 14, 15, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.075),
    inset 0 -1px 0 rgba(210,166,91,.14),
    0 10px 22px rgba(0,0,0,.30) !important;
  font-size: 11px !important;
  letter-spacing: .11em !important;
  text-shadow: none !important;
}
body.announcements-overhaul .dispatch-link::before {
  display: none !important;
  content: none !important;
}
body.announcements-overhaul .dispatch-link::after {
  content: "" !important;
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 1px;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(230, 190, 116, .70), transparent);
  opacity: .52;
}
body.announcements-overhaul .dispatch-link:hover,
body.announcements-overhaul .dispatch-link:focus-visible {
  transform: translateY(-1px) !important;
  color: #f7e6bb !important;
  border-color: rgba(230, 190, 116, .62) !important;
  background:
    linear-gradient(180deg, rgba(230,190,116,.09), rgba(255,255,255,.016)),
    linear-gradient(90deg, rgba(13, 29, 29, .96), rgba(7, 16, 17, .99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(230,190,116,.18),
    0 13px 26px rgba(0,0,0,.34),
    0 0 18px rgba(230,190,116,.10) !important;
}


/* Final font unification with homepage */
:root {
  --font-body: "Trebuchet MS", "Segoe UI", Arial, sans-serif !important;
  --font-display: Georgia, "Times New Roman", serif !important;
}
body:not(.language-gate),
body:not(.language-gate) * {
  font-family: var(--font-body) !important;
}
body:not(.language-gate) h1,
body:not(.language-gate) h2,
body:not(.language-gate) h3,
body:not(.language-gate) .brand strong,
body:not(.language-gate) .site-footer span:first-child,
body:not(.language-gate) .home-welcome-line,
body:not(.language-gate) .hero h1,
body:not(.language-gate) .unified-page-title h1,
body:not(.language-gate) .announcement-hero h1,
body:not(.language-gate) .dispatch-copy h2,
body:not(.language-gate) .notice-panel h2,
body:not(.language-gate) .migration-hero h1,
body:not(.language-gate) .migration-panel h2,
body:not(.language-gate) .migration-steps h2,
body:not(.language-gate) .migration-application-card h2,
body:not(.language-gate) .achievements-hero h1,
body:not(.language-gate) .achievements-coming-soon h2,
body:not(.language-gate) .achievement-panel h2,
body:not(.language-gate) .media-hero h1,
body:not(.language-gate) .media-tile h2,
body:not(.language-gate) .guides-hero h1,
body:not(.language-gate) .guide-feature-strip h2,
body:not(.language-gate) .socials-hero h1,
body:not(.language-gate) .social-card h2,
body:not(.language-gate) .leadership-hero h1,
body:not(.language-gate) .r5-copy h2,
body:not(.language-gate) .leadership-section-heading h2,
body:not(.language-gate) .officer-card h3,
body:not(.language-gate) .leadership-note h2,
body:not(.language-gate) .rank-badge,
body:not(.language-gate) .r5-rank-sigil,
body:not(.language-gate) .hero-brand-word {
  font-family: var(--font-display) !important;
}
body:not(.home-overhaul):not(.language-gate) .leadership-hero h1,
body:not(.home-overhaul):not(.language-gate) .r5-copy h2,
body:not(.home-overhaul):not(.language-gate) .leadership-section-heading h2,
body:not(.home-overhaul):not(.language-gate) .leadership-note h2 {
  font-size: clamp(34px, 5vw, 68px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
}
body:not(.home-overhaul):not(.language-gate) .officer-card h3 {
  font-size: clamp(20px, 2vw, 28px) !important;
  letter-spacing: -.02em !important;
}


/* Migration sleek animated buttons */
body.migration-overhaul .migration-submit-premium .button.primary,
body.migration-overhaul .migration-submit-premium .form-support {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  min-height: 50px !important;
  border-radius: 16px !important;
  letter-spacing: .10em !important;
  font-size: 12px !important;
  transform: translateZ(0);
  transition:
    transform .28s cubic-bezier(.2,.8,.2,1),
    border-color .28s ease,
    box-shadow .28s ease,
    filter .28s ease !important;
}
body.migration-overhaul .migration-submit-premium .button.primary {
  color: #181008 !important;
  border: 1px solid rgba(255, 232, 174, .72) !important;
  background:
    linear-gradient(110deg, #8b541d 0%, #d79a3c 36%, #f7e0a0 50%, #c88732 64%, #754116 100%) !important;
  background-size: 230% 100% !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -12px 22px rgba(82, 36, 8, .22),
    0 14px 30px rgba(0,0,0,.34),
    0 0 0 1px rgba(255, 232, 174, .08) !important;
}
body.migration-overhaul .migration-submit-premium .form-support {
  color: rgba(245, 224, 178, .92) !important;
  border: 1px solid rgba(210, 166, 91, .36) !important;
  background:
    linear-gradient(110deg, rgba(8,18,19,.98), rgba(16,31,31,.94), rgba(8,18,19,.98)) !important;
  background-size: 220% 100% !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(210,166,91,.12),
    0 12px 26px rgba(0,0,0,.28) !important;
}
body.migration-overhaul .migration-submit-premium .button.primary::before,
body.migration-overhaul .migration-submit-premium .form-support::before {
  content: "";
  position: absolute;
  inset: -40% -35%;
  z-index: -1;
  background: linear-gradient(120deg, transparent 34%, rgba(255,255,255,.26) 48%, transparent 62%);
  transform: translateX(-80%) rotate(8deg);
  opacity: 0;
  transition: transform .58s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
body.migration-overhaul .migration-submit-premium .button.primary::after,
body.migration-overhaul .migration-submit-premium .form-support::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 1px;
  border: 0 !important;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255, 239, 190, .72), transparent);
  opacity: .48;
  transition: opacity .28s ease, transform .28s ease;
}
body.migration-overhaul .migration-submit-premium .button.primary:hover,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible {
  transform: translateY(-3px) scale(1.012) !important;
  background-position: 100% 0 !important;
  border-color: rgba(255, 244, 205, .88) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.66),
    inset 0 -12px 22px rgba(82, 36, 8, .22),
    0 20px 38px rgba(0,0,0,.40),
    0 0 26px rgba(226, 174, 82, .22) !important;
}
body.migration-overhaul .migration-submit-premium .form-support:hover,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible {
  transform: translateY(-3px) scale(1.012) !important;
  background-position: 100% 0 !important;
  border-color: rgba(226, 184, 112, .62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(226,184,112,.18),
    0 18px 34px rgba(0,0,0,.36),
    0 0 18px rgba(226,184,112,.11) !important;
}
body.migration-overhaul .migration-submit-premium .button.primary:hover::before,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible::before,
body.migration-overhaul .migration-submit-premium .form-support:hover::before,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible::before {
  transform: translateX(80%) rotate(8deg);
  opacity: 1;
}
body.migration-overhaul .migration-submit-premium .button.primary:hover::after,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible::after,
body.migration-overhaul .migration-submit-premium .form-support:hover::after,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible::after {
  opacity: .9;
  transform: scaleX(1.08);
}
body.migration-overhaul .migration-submit-premium .button.primary:active,
body.migration-overhaul .migration-submit-premium .form-support:active {
  transform: translateY(-1px) scale(.992) !important;
}
@media (prefers-reduced-motion: reduce) {
  body.migration-overhaul .migration-submit-premium .button.primary,
  body.migration-overhaul .migration-submit-premium .form-support,
  body.migration-overhaul .migration-submit-premium .button.primary::before,
  body.migration-overhaul .migration-submit-premium .form-support::before {
    transition: none !important;
  }
}


/* Migration luxury restrained buttons */
body.migration-overhaul .migration-submit-premium .button.primary,
body.migration-overhaul .migration-submit-premium .form-support {
  min-height: 48px !important;
  border-radius: 13px !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.migration-overhaul .migration-submit-premium .button.primary {
  color: rgba(247, 227, 184, .94) !important;
  border: 1px solid rgba(218, 177, 103, .48) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.070), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(35, 26, 17, .96), rgba(9, 18, 18, .98) 52%, rgba(21, 15, 10, .97)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(218,177,103,.16),
    0 14px 28px rgba(0,0,0,.32) !important;
}
body.migration-overhaul .migration-submit-premium .form-support {
  color: rgba(230, 211, 170, .82) !important;
  border: 1px solid rgba(166, 132, 75, .34) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(5, 13, 14, .94) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(166,132,75,.10),
    0 12px 24px rgba(0,0,0,.26) !important;
}
body.migration-overhaul .migration-submit-premium .button.primary::before,
body.migration-overhaul .migration-submit-premium .form-support::before {
  content: "" !important;
  position: absolute;
  inset: 0 !important;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(232, 190, 116, .18), transparent 38%) !important;
  opacity: .35 !important;
  transform: none !important;
  transition: opacity .25s ease !important;
}
body.migration-overhaul .migration-submit-premium .button.primary::after,
body.migration-overhaul .migration-submit-premium .form-support::after {
  content: "" !important;
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 1px;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(224, 184, 109, .58), transparent) !important;
  opacity: .58 !important;
  transform: none !important;
}
body.migration-overhaul .migration-submit-premium .button.primary:hover,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible,
body.migration-overhaul .migration-submit-premium .form-support:hover,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible {
  transform: translateY(-2px) !important;
  filter: none !important;
  color: #f6e3b9 !important;
  border-color: rgba(232, 190, 116, .62) !important;
  background:
    linear-gradient(180deg, rgba(232,190,116,.095), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(37, 28, 19, .98), rgba(8, 18, 18, .99) 54%, rgba(21, 15, 10, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(232,190,116,.20),
    0 18px 34px rgba(0,0,0,.36),
    0 0 18px rgba(232,190,116,.10) !important;
}
body.migration-overhaul .migration-submit-premium .button.primary:hover::before,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible::before,
body.migration-overhaul .migration-submit-premium .form-support:hover::before,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible::before {
  opacity: .72 !important;
}
body.migration-overhaul .migration-submit-premium .button.primary:hover::after,
body.migration-overhaul .migration-submit-premium .button.primary:focus-visible::after,
body.migration-overhaul .migration-submit-premium .form-support:hover::after,
body.migration-overhaul .migration-submit-premium .form-support:focus-visible::after {
  opacity: .9 !important;
}


/* Migration without Discord support button */
body.migration-overhaul .migration-action-stack {
  align-content: center !important;
}
body.migration-overhaul .migration-submit-premium .form-support {
  display: none !important;
}
body.migration-overhaul .migration-submit-row.migration-submit-premium {
  grid-template-columns: minmax(230px, 270px) minmax(280px, 1fr) !important;
}
@media (max-width: 760px) {
  body.migration-overhaul .migration-submit-row.migration-submit-premium {
    grid-template-columns: 1fr !important;
  }
}


/* Achievements remove crest badge */
body.achievements-page .achievements-hero {
  grid-template-columns: 1fr !important;
}
body.achievements-page .achievements-crest {
  display: none !important;
}
body.achievements-page .achievements-hero-copy {
  max-width: 820px;
}

/* Hard remove old achievements GUL ledger crest */
.achievements-crest,
body.achievements-page .achievements-crest,
.achievements-hero .achievements-crest {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
body.achievements-page .achievements-hero,
.achievements-hero {
  grid-template-columns: 1fr !important;
}


/* Unify Media, Guides, and Socials hero backgrounds with main inner pages */
body.media-page .media-hero,
body:has(.guides-overhaul) .guides-hero,
body.contacts-page .socials-hero {
  background:
    linear-gradient(90deg, rgba(4, 8, 8, .95), rgba(6, 12, 12, .70) 48%, rgba(48, 18, 13, .40)),
    url("assets/announcements-board.webp") center / cover no-repeat !important;
}
body.media-page::before,
body:has(.guides-overhaul)::before,
body.contacts-page::before {
  background:
    linear-gradient(180deg, rgba(2, 9, 10, .78), rgba(2, 9, 10, .96)),
    url("assets/announcements-board.webp") center / cover no-repeat !important;
  opacity: .42 !important;
}
body.media-page .media-hero::before,
body:has(.guides-overhaul) .guides-hero::before,
body.contacts-page .socials-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(226, 184, 112, .13), transparent 28%),
    linear-gradient(180deg, transparent, rgba(2, 8, 9, .28));
  pointer-events: none;
}
body.media-page .media-hero > *,
body:has(.guides-overhaul) .guides-hero > *,
body.contacts-page .socials-hero > * {
  position: relative;
  z-index: 1;
}


/* Apply boat-at-back page background to Announcements, Migration, Achievements */
body.announcements-overhaul,
body.migration-overhaul,
body.achievements-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(137, 53, 31, .18), transparent 32rem),
    linear-gradient(180deg, rgba(2, 9, 10, .82), rgba(2, 9, 10, .96) 52%, rgba(2, 9, 10, .98)),
    url("assets/section-media.webp") center / cover fixed !important;
  background-color: #020909 !important;
}
body.announcements-overhaul::before,
body.migration-overhaul::before,
body.achievements-page::before {
  background:
    linear-gradient(180deg, rgba(2, 9, 10, .60), rgba(2, 9, 10, .94)),
    url("assets/section-media.webp") center / cover no-repeat !important;
  opacity: .46 !important;
  filter: saturate(.82) contrast(1.06) !important;
}


/* Page-specific far-back backgrounds, replacing shared boat backdrop */
body.announcements-overhaul { --inner-backdrop: url("assets/announcements-board.webp"); }
body.migration-overhaul { --inner-backdrop: url("assets/section-migration.webp"); }
body.achievements-page { --inner-backdrop: url("assets/section-achievements.webp"); }
body.media-page { --inner-backdrop: url("assets/section-media.webp"); }
body:has(.guides-overhaul) { --inner-backdrop: url("assets/section-guides.webp"); }
body.contacts-page { --inner-backdrop: url("assets/section-contacts.webp"); }
body.leadership-overhaul { --inner-backdrop: url("assets/section-kingdom.webp"); }

body.announcements-overhaul,
body.migration-overhaul,
body.achievements-page,
body.media-page,
body:has(.guides-overhaul),
body.contacts-page,
body.leadership-overhaul {
  background:
    radial-gradient(circle at 18% 10%, rgba(137, 53, 31, .16), transparent 32rem),
    linear-gradient(180deg, rgba(2, 9, 10, .78), rgba(2, 9, 10, .94) 52%, rgba(2, 9, 10, .985)),
    var(--inner-backdrop) center / cover fixed !important;
  background-color: #020909 !important;
}

body.announcements-overhaul::before,
body.migration-overhaul::before,
body.achievements-page::before,
body.media-page::before,
body:has(.guides-overhaul)::before,
body.contacts-page::before,
body.leadership-overhaul::before {
  background:
    linear-gradient(180deg, rgba(2, 9, 10, .58), rgba(2, 9, 10, .94)),
    var(--inner-backdrop) center / cover no-repeat !important;
  opacity: .42 !important;
  filter: saturate(.82) contrast(1.06) !important;
}

body.announcements-overhaul .announcement-hero,
body.migration-overhaul .migration-hero,
body.achievements-page .achievements-hero,
body.media-page .media-hero,
body:has(.guides-overhaul) .guides-hero,
body.contacts-page .socials-hero,
body.leadership-overhaul .leadership-hero {
  background:
    linear-gradient(90deg, rgba(4, 8, 8, .94), rgba(6, 12, 12, .70) 48%, rgba(48, 18, 13, .34)),
    var(--inner-backdrop) center / cover no-repeat !important;
}


/* Clean inner pages like Announcements: no busy section image backgrounds */
body.announcements-overhaul,
body.leadership-overhaul,
body.migration-overhaul,
body.achievements-page,
body.media-page,
body:has(.guides-overhaul),
body.contacts-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(137, 53, 31, .13), transparent 30rem),
    linear-gradient(180deg, #020909 0%, #031011 48%, #020809 100%) !important;
  background-color: #020909 !important;
}

body.announcements-overhaul::before,
body.leadership-overhaul::before,
body.migration-overhaul::before,
body.achievements-page::before,
body.media-page::before,
body:has(.guides-overhaul)::before,
body.contacts-page::before {
  background:
    radial-gradient(circle at 82% 12%, rgba(226, 184, 112, .08), transparent 22rem),
    linear-gradient(180deg, rgba(2, 9, 10, .66), rgba(2, 9, 10, .96)) !important;
  opacity: 1 !important;
  filter: none !important;
}

body.announcements-overhaul .announcement-hero,
body.leadership-overhaul .leadership-hero,
body.migration-overhaul .migration-hero,
body.achievements-page .achievements-hero,
body.media-page .media-hero,
body:has(.guides-overhaul) .guides-hero,
body.contacts-page .socials-hero,
body.announcements-overhaul .war-dispatch,
body.announcements-overhaul .notice-panel,
body.leadership-overhaul .r5-command-card,
body.leadership-overhaul .officer-card,
body.leadership-overhaul .leadership-note,
body.migration-overhaul .migration-panel,
body.migration-overhaul .migration-steps,
body.migration-overhaul .migration-application-card,
body.achievements-page .achievement-panel,
body.achievements-page .achievements-coming-soon,
body.media-page .media-tile,
body.media-page .media-note,
body:has(.guides-overhaul) .guide-feature-strip article,
body:has(.guides-overhaul) .guide-credit,
body.contacts-page .social-card {
  background:
    linear-gradient(135deg, rgba(13, 23, 23, .94), rgba(5, 12, 13, .97) 52%, rgba(19, 14, 10, .94)) !important;
  background-image: linear-gradient(135deg, rgba(13, 23, 23, .94), rgba(5, 12, 13, .97) 52%, rgba(19, 14, 10, .94)) !important;
  background-color: #061011 !important;
  border-color: rgba(226, 184, 112, .22) !important;
}

body.announcements-overhaul .announcement-hero::before,
body.leadership-overhaul .leadership-hero::before,
body.migration-overhaul .migration-hero::before,
body.achievements-page .achievements-hero::before,
body.media-page .media-hero::before,
body:has(.guides-overhaul) .guides-hero::before,
body.contacts-page .socials-hero::before,
body.announcements-overhaul .notice-panel::before,
body.media-page .media-tile::before,
body.media-page .media-tile::after,
body.contacts-page .social-card::after {
  background: linear-gradient(90deg, rgba(219, 164, 82, .12), transparent 48%) !important;
  opacity: .48 !important;
  display: block;
}

body.media-page .media-tile::after,
body.contacts-page .social-card::after {
  display: none !important;
  content: none !important;
}


/* Empty page backdrop, pictures restored inside bars/cards */
body.announcements-overhaul,
body.leadership-overhaul,
body.migration-overhaul,
body.achievements-page,
body.media-page,
body:has(.guides-overhaul),
body.contacts-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(137, 53, 31, .12), transparent 30rem),
    linear-gradient(180deg, #020909 0%, #031011 48%, #020809 100%) !important;
  background-color: #020909 !important;
}
body.announcements-overhaul::before,
body.leadership-overhaul::before,
body.migration-overhaul::before,
body.achievements-page::before,
body.media-page::before,
body:has(.guides-overhaul)::before,
body.contacts-page::before {
  background: radial-gradient(circle at 82% 12%, rgba(226, 184, 112, .08), transparent 22rem) !important;
  opacity: 1 !important;
  filter: none !important;
}

body.announcements-overhaul .announcement-hero,
body.announcements-overhaul .war-dispatch {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .74) 52%, rgba(70, 29, 19, .30)),
    url("assets/announcements-board.webp") center / cover no-repeat !important;
}
body.announcements-overhaul .notice-panel-events {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .74) 52%, rgba(70, 29, 19, .30)),
    url("assets/section-migration.webp") center / cover no-repeat !important;
}
body.announcements-overhaul .notice-panel-reminders {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .74) 52%, rgba(70, 29, 19, .30)),
    url("assets/announcements-board.webp") center / cover no-repeat !important;
}
body.announcements-overhaul .notice-panel-updates {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .74) 52%, rgba(70, 29, 19, .30)),
    url("assets/section-kingdom.webp") center / cover no-repeat !important;
}

body.migration-overhaul .migration-hero,
body.migration-overhaul .migration-panel,
body.migration-overhaul .migration-steps,
body.migration-overhaul .migration-application-card {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .78) 52%, rgba(70, 29, 19, .24)),
    url("assets/section-migration.webp") center / cover no-repeat !important;
}
body.achievements-page .achievements-hero,
body.achievements-page .achievement-panel,
body.achievements-page .achievements-coming-soon {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .78) 52%, rgba(70, 29, 19, .24)),
    url("assets/section-achievements.webp") center / cover no-repeat !important;
}
body.media-page .media-hero,
body.media-page .media-tile,
body.media-page .media-note {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .78) 52%, rgba(70, 29, 19, .24)),
    url("assets/section-media.webp") center / cover no-repeat !important;
}
body:has(.guides-overhaul) .guides-hero,
body:has(.guides-overhaul) .guide-feature-strip article,
body:has(.guides-overhaul) .guide-credit {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .78) 52%, rgba(70, 29, 19, .24)),
    url("assets/section-guides.webp") center / cover no-repeat !important;
}
body.contacts-page .socials-hero,
body.contacts-page .social-card {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .78) 52%, rgba(70, 29, 19, .24)),
    url("assets/section-contacts.webp") center / cover no-repeat !important;
}
body.leadership-overhaul .leadership-hero,
body.leadership-overhaul .r5-command-card,
body.leadership-overhaul .officer-card,
body.leadership-overhaul .leadership-note {
  background:
    linear-gradient(90deg, rgba(5, 12, 12, .94), rgba(7, 18, 18, .78) 52%, rgba(70, 29, 19, .24)),
    url("assets/section-kingdom.webp") center / cover no-repeat !important;
}

/* Remove image backgrounds from announcement bars */
body.announcements-overhaul .war-dispatch,
body.announcements-overhaul .notice-panel,
body.announcements-overhaul .notice-panel-events,
body.announcements-overhaul .notice-panel-reminders,
body.announcements-overhaul .notice-panel-updates {
  background: linear-gradient(135deg, rgba(13, 23, 23, .94), rgba(5, 12, 13, .97) 52%, rgba(19, 14, 10, .94)) !important;
  background-image: linear-gradient(135deg, rgba(13, 23, 23, .94), rgba(5, 12, 13, .97) 52%, rgba(19, 14, 10, .94)) !important;
  background-color: #061011 !important;
}
body.announcements-overhaul .war-dispatch::before,
body.announcements-overhaul .notice-panel::before,
body.announcements-overhaul .notice-panel-events::before,
body.announcements-overhaul .notice-panel-reminders::before,
body.announcements-overhaul .notice-panel-updates::before {
  background: linear-gradient(90deg, rgba(219, 164, 82, .12), transparent 48%) !important;
  opacity: .48 !important;
}

/* Final cleanup: remove old badge, improve leader CTA, plain backdrops for media/guides/socials */
.achievements-crest,
body.achievements-page .achievements-crest,
.achievements-hero .achievements-crest,
.achievements-crest * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.achievements-page .achievements-hero,
.achievements-hero {
  grid-template-columns: 1fr !important;
}

body.leadership-overhaul .r5-message,
body.leadership-overhaul .button.primary.r5-message {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  min-height: 46px !important;
  padding: 0 22px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(218, 177, 103, .48) !important;
  color: rgba(247, 227, 184, .94) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.070), rgba(255,255,255,.018)),
    linear-gradient(135deg, rgba(35, 26, 17, .96), rgba(9, 18, 18, .98) 52%, rgba(21, 15, 10, .97)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(218,177,103,.16),
    0 14px 28px rgba(0,0,0,.32) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease !important;
}
body.leadership-overhaul .r5-message::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 184, 109, .58), transparent);
  opacity: .58;
}
body.leadership-overhaul .r5-message:hover,
body.leadership-overhaul .r5-message:focus-visible {
  transform: translateY(-2px) !important;
  color: #f6e3b9 !important;
  border-color: rgba(232, 190, 116, .62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(232,190,116,.20),
    0 18px 34px rgba(0,0,0,.36),
    0 0 18px rgba(232,190,116,.10) !important;
}

body.media-page,
body:has(.guides-overhaul),
body.contacts-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(137, 53, 31, .10), transparent 30rem),
    linear-gradient(180deg, #020909 0%, #031011 48%, #020809 100%) !important;
  background-color: #020909 !important;
}
body.media-page::before,
body:has(.guides-overhaul)::before,
body.contacts-page::before {
  background: radial-gradient(circle at 82% 12%, rgba(226, 184, 112, .06), transparent 22rem) !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Leadership final polish: remove old crest, premium buttons, new rank marks */
.achievements-crest,
body.achievements-page .achievements-crest,
.achievements-hero .achievements-crest,
.achievements-crest * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.leadership-overhaul .r5-message,
body.leadership-overhaul .button.primary.r5-message,
body.contacts-page .social-card .button,
body.contacts-page .social-card .button.primary {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  min-height: 46px !important;
  padding: 0 22px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(219, 179, 105, .44) !important;
  color: rgba(244, 224, 181, .92) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.014)),
    linear-gradient(135deg, rgba(31, 24, 17, .96), rgba(8, 18, 18, .98) 52%, rgba(17, 12, 9, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(219,179,105,.15),
    0 14px 28px rgba(0,0,0,.31) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease !important;
}
body.leadership-overhaul .r5-message::before,
body.contacts-page .social-card .button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(232, 190, 116, .18), transparent 38%);
  opacity: .32;
  transition: opacity .24s ease;
}
body.leadership-overhaul .r5-message::after,
body.contacts-page .social-card .button::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 184, 109, .56), transparent);
  opacity: .56;
}
body.leadership-overhaul .r5-message:hover,
body.leadership-overhaul .r5-message:focus-visible,
body.contacts-page .social-card .button:hover,
body.contacts-page .social-card .button:focus-visible {
  transform: translateY(-2px) !important;
  color: #f6e3b9 !important;
  border-color: rgba(232, 190, 116, .62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    inset 0 -1px 0 rgba(232,190,116,.20),
    0 18px 34px rgba(0,0,0,.36),
    0 0 18px rgba(232,190,116,.10) !important;
}
body.leadership-overhaul .r5-message:hover::before,
body.leadership-overhaul .r5-message:focus-visible::before,
body.contacts-page .social-card .button:hover::before,
body.contacts-page .social-card .button:focus-visible::before {
  opacity: .72;
}

body.leadership-overhaul .r5-rank-sigil,
body.leadership-overhaul .rank-badge {
  clip-path: none !important;
  border-radius: 999px !important;
  border: 1px solid rgba(221, 181, 106, .46) !important;
  color: rgba(245, 222, 174, .95) !important;
  background:
    radial-gradient(circle at 36% 26%, rgba(255,255,255,.20), transparent 18%),
    radial-gradient(circle at 50% 58%, rgba(219, 179, 105, .18), transparent 42%),
    linear-gradient(145deg, rgba(31, 22, 14, .96), rgba(5, 10, 10, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(219,179,105,.16),
    0 0 0 5px rgba(219,179,105,.055),
    0 12px 26px rgba(0,0,0,.34) !important;
  text-shadow: 0 0 18px rgba(219,179,105,.22) !important;
}
body.leadership-overhaul .r5-rank-sigil {
  width: 76px !important;
  height: 76px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 28px !important;
}
body.leadership-overhaul .rank-badge {
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 15px !important;
}

/* guide action blade preview */
body.guides-overhaul .guide-action-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(250px, 330px)) !important;
  gap: 14px !important;
  margin-top: 30px !important;
  align-items: stretch !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile,
body.guides-overhaul .guide-action-row .button.guide-action-tile,
body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: 76px !important;
  padding: 12px 54px 12px 14px !important;
  border-radius: 0 !important;
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%) !important;
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  align-items: center !important;
  column-gap: 14px !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #f3e6c0 !important;
  background:
    linear-gradient(90deg, rgba(221, 169, 65, .20) 0 3px, transparent 3px),
    radial-gradient(circle at 0 50%, rgba(218, 169, 72, .18), transparent 34%),
    linear-gradient(135deg, rgba(5, 11, 12, .98), rgba(17, 23, 22, .96) 58%, rgba(7, 10, 10, .98)) !important;
  border: 1px solid rgba(203, 157, 72, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -18px 28px rgba(0,0,0,.28),
    0 18px 36px rgba(0,0,0,.42) !important;
  text-shadow: none !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease, filter .25s ease !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  clip-path: polygon(17px 0, 100% 0, calc(100% - 17px) 100%, 0 100%) !important;
  border: 1px solid rgba(255, 234, 176, .075) !important;
  pointer-events: none !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(105deg, transparent 0 34%, rgba(255, 221, 142, .22) 48%, transparent 62% 100%) !important;
  transform: translateX(-80%) !important;
  opacity: 0 !important;
  transition: transform .58s ease, opacity .25s ease !important;
  pointer-events: none !important;
}
body.guides-overhaul .guide-action-mark {
  position: relative !important;
  z-index: 1 !important;
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  color: #151009 !important;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  background: linear-gradient(145deg, #ffe9a8, #b87928) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px rgba(0,0,0,.34) !important;
}
body.guides-overhaul .guide-action-copy {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  gap: 5px !important;
}
body.guides-overhaul .guide-action-kicker {
  color: rgba(214, 171, 86, .92) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .17em !important;
  text-transform: uppercase !important;
}
body.guides-overhaul .guide-action-tile strong {
  color: #fff0bf !important;
  font-family: var(--font-display) !important;
  font-size: 23px !important;
  line-height: .9 !important;
  letter-spacing: -.025em !important;
  text-shadow: 0 10px 24px rgba(0,0,0,.48) !important;
}
body.guides-overhaul .guide-action-arrow {
  position: absolute !important;
  z-index: 1 !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(255, 229, 162, .92) !important;
  font-size: 21px !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform .25s ease, color .25s ease !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile:hover,
body.guides-overhaul .guide-action-row .guide-action-tile:focus-visible {
  transform: translateY(-3px) skewX(-1deg) !important;
  border-color: rgba(255, 213, 120, .86) !important;
  filter: saturate(1.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -18px 28px rgba(0,0,0,.22),
    0 24px 48px rgba(0,0,0,.50),
    0 0 24px rgba(216, 164, 67, .20) !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile:hover::after,
body.guides-overhaul .guide-action-row .guide-action-tile:focus-visible::after {
  transform: translateX(82%) !important;
  opacity: 1 !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile:hover .guide-action-arrow,
body.guides-overhaul .guide-action-row .guide-action-tile:focus-visible .guide-action-arrow {
  transform: translate(4px, calc(-50% - 2px)) !important;
  color: #fff2bf !important;
}
@media (max-width: 720px) {
  body.guides-overhaul .guide-action-row { grid-template-columns: 1fr !important; }
}
/* guide directory spacious preview */
body.guides-overhaul .guide-directory {
  margin-top: 34px !important;
  display: grid !important;
  gap: 22px !important;
}
body.guides-overhaul .guide-link-group,
body.guides-overhaul .guide-start-strip {
  position: relative !important;
  overflow: hidden !important;
  padding: 30px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(211, 165, 74, .10), transparent 34%),
    linear-gradient(135deg, rgba(9, 20, 22, .97), rgba(3, 9, 10, .98)) !important;
  border: 1px solid rgba(211, 168, 86, .34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 42px rgba(0,0,0,.28) !important;
}
body.guides-overhaul .guide-link-group::before,
body.guides-overhaul .guide-start-strip::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 22px !important;
  bottom: 22px !important;
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, transparent, #d7a949, transparent) !important;
}
body.guides-overhaul .guide-link-group h2,
body.guides-overhaul .guide-start-strip h2 {
  margin: 0 !important;
  font-size: clamp(32px, 4.3vw, 54px) !important;
  line-height: .95 !important;
}
body.guides-overhaul .guide-group-note {
  margin: 12px 0 22px !important;
  max-width: 680px !important;
  color: rgba(232, 220, 188, .72) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
body.guides-overhaul .guide-chip-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 12px !important;
}
body.guides-overhaul .guide-chip-grid a,
body.guides-overhaul .guide-link-group > a,
body.guides-overhaul .guide-start-strip > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 52px !important;
  padding: 14px 15px 14px 16px !important;
  border-radius: 16px !important;
  color: #f7e8be !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(214, 174, 91, .26) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}
body.guides-overhaul .guide-chip-grid a span {
  display: block !important;
}
body.guides-overhaul .guide-chip-grid a em {
  flex: 0 0 auto !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  font-style: normal !important;
  color: #171005 !important;
  background: linear-gradient(135deg, #ffe7a3, #bf842c) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.28) !important;
}
body.guides-overhaul .guide-chip-grid a:hover,
body.guides-overhaul .guide-chip-grid a:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 214, 125, .70) !important;
  background: linear-gradient(180deg, rgba(218, 169, 72, .11), rgba(255,255,255,.025)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px rgba(0,0,0,.24) !important;
}
@media (max-width: 700px) {
  body.guides-overhaul .guide-link-group,
  body.guides-overhaul .guide-start-strip { padding: 24px 18px !important; }
  body.guides-overhaul .guide-chip-grid { grid-template-columns: 1fr !important; }
}
/* guide options menu preview */
body.guides-overhaul #guide-directory.guide-directory {
  margin-top: 36px !important;
  display: grid !important;
  gap: 18px !important;
}
body.guides-overhaul #guide-directory .guide-link-group,
body.guides-overhaul #guide-directory .guide-start-strip {
  display: grid !important;
  grid-template-columns: minmax(230px, 32%) 1fr !important;
  gap: 24px !important;
  align-items: center !important;
  padding: 24px !important;
  min-height: auto !important;
  border-radius: 22px !important;
  background:
    linear-gradient(90deg, rgba(218,169,72,.12), transparent 34%),
    linear-gradient(135deg, rgba(7,16,17,.98), rgba(3,9,10,.98)) !important;
  border: 1px solid rgba(211,168,86,.34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 38px rgba(0,0,0,.24) !important;
}
body.guides-overhaul #guide-directory .guide-link-group::before,
body.guides-overhaul #guide-directory .guide-start-strip::before {
  display: none !important;
}
body.guides-overhaul #guide-directory .guide-link-group h2,
body.guides-overhaul #guide-directory .guide-start-strip h2 {
  grid-column: 1 !important;
  margin: 0 !important;
  max-width: 260px !important;
  font-size: clamp(30px, 3.7vw, 48px) !important;
  line-height: .92 !important;
  letter-spacing: -.035em !important;
}
body.guides-overhaul #guide-directory .guide-group-note {
  grid-column: 1 !important;
  margin: 10px 0 0 !important;
  max-width: 260px !important;
  color: rgba(232,220,188,.68) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
body.guides-overhaul #guide-directory .guide-chip-grid {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)) !important;
  gap: 10px !important;
}
body.guides-overhaul #guide-directory .guide-chip-grid a,
body.guides-overhaul #guide-directory .guide-link-group > a,
body.guides-overhaul #guide-directory .guide-start-strip > a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 54px !important;
  padding: 13px 14px !important;
  border-radius: 14px !important;
  color: #f6e7bd !important;
  text-decoration: none !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.014)) !important;
  border: 1px solid rgba(216,174,88,.28) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.16 !important;
  white-space: normal !important;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}
body.guides-overhaul #guide-directory .guide-chip-grid a span {
  display: block !important;
}
body.guides-overhaul #guide-directory .guide-chip-grid a em {
  flex: 0 0 auto !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  font-style: normal !important;
  color: #161006 !important;
  background: linear-gradient(135deg, #ffe9a8, #b9822d) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.28) !important;
}
body.guides-overhaul #guide-directory .guide-chip-grid a:hover,
body.guides-overhaul #guide-directory .guide-chip-grid a:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(255,215,128,.75) !important;
  background: linear-gradient(180deg, rgba(218,169,72,.13), rgba(255,255,255,.025)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px rgba(0,0,0,.26) !important;
}
@media (max-width: 850px) {
  body.guides-overhaul #guide-directory .guide-link-group,
  body.guides-overhaul #guide-directory .guide-start-strip {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 22px 18px !important;
  }
  body.guides-overhaul #guide-directory .guide-link-group h2,
  body.guides-overhaul #guide-directory .guide-start-strip h2,
  body.guides-overhaul #guide-directory .guide-group-note,
  body.guides-overhaul #guide-directory .guide-chip-grid {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none !important;
  }
}
/* mobile and tablet compatibility pass */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}
@media (max-width: 1024px) {
  body:not(.language-gate) {
    --page-pad: clamp(14px, 3vw, 26px);
  }
  body:not(.language-gate) .site-header,
  body:not(.language-gate) header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px var(--page-pad) !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    backdrop-filter: blur(18px);
  }
  body:not(.language-gate) .brand,
  body:not(.language-gate) .logo,
  body:not(.language-gate) .site-logo {
    min-width: 0 !important;
  }
  body:not(.language-gate) nav,
  body:not(.language-gate) .main-nav,
  body:not(.language-gate) .site-nav {
    order: 3;
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 6px 0 2px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  body:not(.language-gate) nav a,
  body:not(.language-gate) .main-nav a,
  body:not(.language-gate) .site-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
  body:not(.language-gate) .language-picker,
  body:not(.language-gate) .language-select,
  body:not(.language-gate) select[aria-label="Language"] {
    margin-left: auto !important;
    max-width: 190px !important;
  }
  body:not(.language-gate) .page,
  body:not(.language-gate) main.page,
  body:not(.language-gate) .home-page,
  body:not(.language-gate) .guides-page {
    width: 100% !important;
    padding-left: var(--page-pad) !important;
    padding-right: var(--page-pad) !important;
  }
  body:not(.language-gate) section,
  body:not(.language-gate) article,
  body:not(.language-gate) .hero,
  body:not(.language-gate) .announcement-hero,
  body:not(.language-gate) .migration-hero,
  body:not(.language-gate) .achievements-hero,
  body:not(.language-gate) .media-hero,
  body:not(.language-gate) .guides-hero,
  body:not(.language-gate) .socials-hero,
  body:not(.language-gate) .leadership-hero {
    max-width: 100% !important;
  }
  body:not(.language-gate) .hero h1,
  body:not(.language-gate) .announcement-hero h1,
  body:not(.language-gate) .migration-hero h1,
  body:not(.language-gate) .achievements-hero h1,
  body:not(.language-gate) .media-hero h1,
  body:not(.language-gate) .guides-hero h1,
  body:not(.language-gate) .socials-hero h1,
  body:not(.language-gate) .leadership-hero h1,
  body:not(.language-gate) .unified-page-title h1 {
    font-size: clamp(38px, 8.4vw, 72px) !important;
    line-height: .95 !important;
    overflow-wrap: anywhere;
  }
  body:not(.language-gate) h2 {
    font-size: clamp(30px, 6.4vw, 52px) !important;
    line-height: .98 !important;
  }
  body:not(.language-gate) p,
  body:not(.language-gate) li {
    font-size: clamp(14px, 2.2vw, 17px) !important;
    line-height: 1.55 !important;
  }
  body:not(.language-gate) .button,
  body:not(.language-gate) button.button,
  body:not(.language-gate) .feature-card a,
  body:not(.language-gate) .panel a:not(.form-support) {
    min-height: 44px !important;
  }
  body:not(.language-gate) .home-grid,
  body:not(.language-gate) .route-grid,
  body:not(.language-gate) .feature-grid,
  body:not(.language-gate) .media-grid,
  body:not(.language-gate) .social-grid,
  body:not(.language-gate) .officer-grid,
  body:not(.language-gate) .r4-grid,
  body:not(.language-gate) .achievement-grid,
  body:not(.language-gate) .notice-grid,
  body:not(.language-gate) .guide-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  body:not(.language-gate) .site-header,
  body:not(.language-gate) header.site-header {
    padding: 10px 14px !important;
  }
  body:not(.language-gate) .brand-word,
  body:not(.language-gate) .logo-word,
  body:not(.language-gate) .site-title {
    font-size: 28px !important;
    letter-spacing: .14em !important;
  }
  body:not(.language-gate) .language-picker,
  body:not(.language-gate) .language-select,
  body:not(.language-gate) select[aria-label="Language"] {
    max-width: 150px !important;
    font-size: 12px !important;
  }
  body:not(.language-gate) .hero,
  body:not(.language-gate) .announcement-hero,
  body:not(.language-gate) .migration-hero,
  body:not(.language-gate) .achievements-hero,
  body:not(.language-gate) .media-hero,
  body:has(.guides-overhaul) .guides-hero,
  body:not(.language-gate) .socials-hero,
  body:not(.language-gate) .leadership-hero,
  body:not(.language-gate) .notice-panel,
  body:not(.language-gate) .war-dispatch,
  body:not(.language-gate) .media-tile,
  body:not(.language-gate) .social-card,
  body:not(.language-gate) .achievement-panel {
    border-radius: 20px !important;
    padding: 24px 18px !important;
    min-height: auto !important;
    display: block !important;
  }
  body:not(.language-gate) .home-grid,
  body:not(.language-gate) .route-grid,
  body:not(.language-gate) .feature-grid,
  body:not(.language-gate) .media-grid,
  body:not(.language-gate) .social-grid,
  body:not(.language-gate) .officer-grid,
  body:not(.language-gate) .r4-grid,
  body:not(.language-gate) .achievement-grid,
  body:not(.language-gate) .notice-grid,
  body:not(.language-gate) .guide-feature-strip,
  body:not(.language-gate) .guide-action-row {
    grid-template-columns: 1fr !important;
  }
  body:not(.language-gate) .hero-actions,
  body:not(.language-gate) .guide-action-row,
  body:not(.language-gate) .migration-submit-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body:not(.language-gate) .button,
  body:not(.language-gate) button.button,
  body:not(.language-gate) .guide-action-tile {
    width: 100% !important;
    max-width: none !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile,
  body.guides-overhaul .guide-action-row .button.guide-action-tile,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    clip-path: none !important;
    border-radius: 18px !important;
    grid-template-columns: 42px 1fr !important;
    padding: 12px 46px 12px 12px !important;
  }
  body.guides-overhaul .guide-action-mark {
    width: 40px !important;
    height: 40px !important;
  }
  body.guides-overhaul #guide-directory .guide-link-group,
  body.guides-overhaul #guide-directory .guide-start-strip {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 20px 16px !important;
  }
  body.guides-overhaul #guide-directory .guide-link-group h2,
  body.guides-overhaul #guide-directory .guide-start-strip h2,
  body.guides-overhaul #guide-directory .guide-group-note,
  body.guides-overhaul #guide-directory .guide-chip-grid {
    grid-column: auto !important;
    grid-row: auto !important;
    max-width: none !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid {
    grid-template-columns: 1fr !important;
  }
  body.leadership-overhaul .r5-card,
  body.leadership-overhaul .leader-card,
  body.leadership-overhaul .r5-feature {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
  }
  body.leadership-overhaul .r5-badge,
  body.leadership-overhaul .rank-badge,
  body.leadership-overhaul .officer-rank {
    position: static !important;
    margin: 0 auto 12px !important;
  }
  body.leadership-overhaul .leader-avatar,
  body.leadership-overhaul .r5-avatar {
    width: min(68vw, 230px) !important;
    height: min(68vw, 230px) !important;
  }
}
@media (max-width: 430px) {
  body:not(.language-gate) {
    --page-pad: 12px;
  }
  body:not(.language-gate) nav a,
  body:not(.language-gate) .main-nav a,
  body:not(.language-gate) .site-nav a {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
  body:not(.language-gate) .hero h1,
  body:not(.language-gate) .announcement-hero h1,
  body:not(.language-gate) .migration-hero h1,
  body:not(.language-gate) .achievements-hero h1,
  body:not(.language-gate) .media-hero h1,
  body:not(.language-gate) .guides-hero h1,
  body:not(.language-gate) .socials-hero h1,
  body:not(.language-gate) .leadership-hero h1,
  body:not(.language-gate) .unified-page-title h1 {
    font-size: clamp(34px, 12vw, 48px) !important;
  }
  body:not(.language-gate) h2 {
    font-size: clamp(28px, 10vw, 40px) !important;
  }
  body:not(.language-gate) .hero,
  body:not(.language-gate) .announcement-hero,
  body:not(.language-gate) .migration-hero,
  body:not(.language-gate) .achievements-hero,
  body:not(.language-gate) .media-hero,
  body:has(.guides-overhaul) .guides-hero,
  body:not(.language-gate) .socials-hero,
  body:not(.language-gate) .leadership-hero {
    padding: 22px 14px !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid a {
    min-height: 48px !important;
    padding: 12px !important;
  }
  body.guides-overhaul .guide-action-tile strong {
    font-size: 20px !important;
  }
}
/* phone polish after responsive check */
@media (max-width: 760px) {
  body:not(.language-gate) nav,
  body:not(.language-gate) .main-nav,
  body:not(.language-gate) .site-nav {
    border-radius: 16px !important;
    background: rgba(2, 9, 10, .72) !important;
    border: 1px solid rgba(216,174,88,.18) !important;
    padding: 7px !important;
    scrollbar-width: none !important;
  }
  body:not(.language-gate) nav::-webkit-scrollbar,
  body:not(.language-gate) .main-nav::-webkit-scrollbar,
  body:not(.language-gate) .site-nav::-webkit-scrollbar {
    display: none !important;
  }
  body:not(.language-gate) nav a,
  body:not(.language-gate) .main-nav a,
  body:not(.language-gate) .site-nav a {
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    border: 1px solid rgba(216,174,88,.14) !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile,
  body.guides-overhaul .guide-action-row .button.guide-action-tile,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    min-height: 70px !important;
    grid-template-columns: 38px 1fr 24px !important;
    column-gap: 10px !important;
    padding: 12px 14px !important;
    display: grid !important;
    align-items: center !important;
  }
  body.guides-overhaul .guide-action-copy {
    min-width: 0 !important;
  }
  body.guides-overhaul .guide-action-kicker {
    display: block !important;
    font-size: 9px !important;
    letter-spacing: .12em !important;
    margin-bottom: 3px !important;
    white-space: normal !important;
  }
  body.guides-overhaul .guide-action-tile strong {
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    white-space: normal !important;
  }
  body.guides-overhaul .guide-action-mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
  }
  body.guides-overhaul .guide-action-arrow {
    position: static !important;
    transform: none !important;
    justify-self: end !important;
    align-self: center !important;
    font-size: 17px !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile:hover .guide-action-arrow,
  body.guides-overhaul .guide-action-row .guide-action-tile:focus-visible .guide-action-arrow {
    transform: translateX(2px) !important;
  }
}
@media (max-width: 430px) {
  body:not(.language-gate) .site-header,
  body:not(.language-gate) header.site-header {
    padding: 9px 10px !important;
  }
  body:not(.language-gate) .brand-word,
  body:not(.language-gate) .logo-word,
  body:not(.language-gate) .site-title {
    font-size: 24px !important;
  }
  body:not(.language-gate) .language-picker,
  body:not(.language-gate) .language-select,
  body:not(.language-gate) select[aria-label="Language"] {
    max-width: 142px !important;
    min-height: 40px !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile,
  body.guides-overhaul .guide-action-row .button.guide-action-tile,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    min-width: 0 !important;
  }
}
/* hard mobile guide fix */
@media (max-width: 820px) {
  body.guides-overhaul main.guides-page,
  body.guides-overhaul .guides-page,
  body.guides-overhaul .page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.guides-overhaul .guides-hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    min-height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: rgba(4, 13, 14, .98) !important;
  }
  body.guides-overhaul .guides-hero::before,
  body.guides-overhaul .guides-hero::after {
    display: none !important;
  }
  body.guides-overhaul .guides-hero > * {
    position: relative !important;
    z-index: 1 !important;
  }
  body.guides-overhaul .guides-hero::marker {
    display: none !important;
  }
  body.guides-overhaul .guides-hero .guide-action-row {
    margin: 0 !important;
  }
  body.guides-overhaul .guides-hero > div:first-child,
  body.guides-overhaul .guides-hero .guides-hero-copy,
  body.guides-overhaul .guides-hero [class*="copy"] {
    padding: 24px 18px 0 !important;
  }
  body.guides-overhaul .guides-hero {
    background-image:
      linear-gradient(180deg, rgba(1,8,9,.08), rgba(1,8,9,.92) 58%, rgba(1,8,9,.98)),
      url("assets/section-guides.webp") !important;
    background-size: 100% 220px, 100% 220px !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    padding-top: 160px !important;
  }
  body.guides-overhaul .guides-hero h1 {
    font-size: clamp(35px, 11vw, 50px) !important;
    line-height: .94 !important;
    max-width: 9ch !important;
  }
  body.guides-overhaul .guides-hero p {
    max-width: 34ch !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  body.guides-overhaul .guide-action-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 18px 22px !important;
    width: 100% !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile,
  body.guides-overhaul .guide-action-row .button.guide-action-tile,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 62px !important;
    clip-path: none !important;
    border-radius: 18px !important;
    grid-template-columns: 34px minmax(0, 1fr) 20px !important;
    padding: 11px 12px !important;
    column-gap: 10px !important;
  }
  body.guides-overhaul .guide-action-mark {
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
    border-radius: 11px !important;
  }
  body.guides-overhaul .guide-action-kicker {
    font-size: 8px !important;
    letter-spacing: .10em !important;
    line-height: 1.1 !important;
  }
  body.guides-overhaul .guide-action-tile strong {
    font-size: 17px !important;
    line-height: 1.02 !important;
    white-space: normal !important;
  }
  body.guides-overhaul .guide-action-arrow {
    position: static !important;
    width: 20px !important;
    transform: none !important;
    justify-self: end !important;
    font-size: 16px !important;
  }
  body.guides-overhaul #guide-directory.guide-directory {
    gap: 14px !important;
    margin-top: 22px !important;
  }
  body.guides-overhaul #guide-directory .guide-link-group,
  body.guides-overhaul #guide-directory .guide-start-strip {
    display: block !important;
    padding: 18px 14px !important;
    border-radius: 20px !important;
    min-height: 0 !important;
    background: linear-gradient(180deg, rgba(7,18,20,.98), rgba(2,8,9,.98)) !important;
  }
  body.guides-overhaul #guide-directory .guide-link-group h2,
  body.guides-overhaul #guide-directory .guide-start-strip h2 {
    font-size: clamp(28px, 9vw, 38px) !important;
    line-height: .98 !important;
    max-width: none !important;
    margin-bottom: 8px !important;
  }
  body.guides-overhaul #guide-directory .guide-group-note {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 0 0 14px !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid a {
    min-height: 50px !important;
    width: 100% !important;
    padding: 12px 12px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid a em {
    width: 25px !important;
    height: 25px !important;
    border-radius: 9px !important;
  }
}
@media (max-width: 430px) {
  body.guides-overhaul .guides-hero {
    padding-top: 145px !important;
    background-size: 100% 200px, 100% 200px !important;
  }
  body.guides-overhaul .guides-hero > div:first-child,
  body.guides-overhaul .guides-hero .guides-hero-copy,
  body.guides-overhaul .guides-hero [class*="copy"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.guides-overhaul .guide-action-row {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.guides-overhaul .guides-hero h1 {
    font-size: 36px !important;
  }
}
/* full website mobile compatibility fix */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
*, *::before, *::after { box-sizing: border-box; }
@media (max-width: 900px) {
  body:not(.language-gate) {
    --mobile-pad: clamp(12px, 4vw, 22px);
  }
  body:not(.language-gate) .site-header,
  body:not(.language-gate) header,
  body:not(.language-gate) .topbar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px var(--mobile-pad) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
  }
  body:not(.language-gate) nav,
  body:not(.language-gate) .main-nav,
  body:not(.language-gate) .site-nav {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 7px !important;
    border-radius: 16px !important;
    background: rgba(2, 9, 10, .78) !important;
    border: 1px solid rgba(216,174,88,.18) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  body:not(.language-gate) nav::-webkit-scrollbar,
  body:not(.language-gate) .main-nav::-webkit-scrollbar,
  body:not(.language-gate) .site-nav::-webkit-scrollbar { display: none !important; }
  body:not(.language-gate) nav a,
  body:not(.language-gate) .main-nav a,
  body:not(.language-gate) .site-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 11px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }
  body:not(.language-gate) main,
  body:not(.language-gate) .page,
  body:not(.language-gate) .home-page,
  body:not(.language-gate) .guides-page,
  body:not(.language-gate) .inner-page {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--mobile-pad) !important;
    padding-right: var(--mobile-pad) !important;
  }
  body:not(.language-gate) .hero,
  body.home-overhaul .harbor-hero,
  body.announcements-overhaul .announcement-hero,
  body.migration-overhaul .migration-hero,
  body.achievements-page .achievements-hero,
  body.media-page .media-hero,
  body.guides-overhaul .guides-hero,
  body.contacts-page .socials-hero,
  body.leadership-overhaul .leadership-hero,
  body.leadership-overhaul .r5-card,
  body.leadership-overhaul .leader-card,
  body.leadership-overhaul .r5-feature,
  body:not(.language-gate) .notice-panel,
  body:not(.language-gate) .war-dispatch,
  body:not(.language-gate) .achievement-panel,
  body:not(.language-gate) .media-tile,
  body:not(.language-gate) .social-card,
  body:not(.language-gate) .feature-card,
  body:not(.language-gate) .panel {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }
  body:not(.language-gate) .hero h1,
  body.home-overhaul .harbor-hero h1,
  body.announcements-overhaul .announcement-hero h1,
  body.migration-overhaul .migration-hero h1,
  body.achievements-page .achievements-hero h1,
  body.media-page .media-hero h1,
  body.guides-overhaul .guides-hero h1,
  body.contacts-page .socials-hero h1,
  body.leadership-overhaul .leadership-hero h1,
  body.leadership-overhaul .r5-card h2,
  body.leadership-overhaul .leader-card h2 {
    font-size: clamp(34px, 10vw, 56px) !important;
    line-height: .95 !important;
    letter-spacing: -.035em !important;
    max-width: 10ch !important;
    overflow-wrap: normal !important;
  }
  body:not(.language-gate) h2 {
    font-size: clamp(28px, 8.4vw, 44px) !important;
    line-height: 1 !important;
    overflow-wrap: normal !important;
  }
  body:not(.language-gate) p,
  body:not(.language-gate) li {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  body:not(.language-gate) .home-grid,
  body:not(.language-gate) .route-grid,
  body:not(.language-gate) .feature-grid,
  body:not(.language-gate) .notice-grid,
  body:not(.language-gate) .achievement-grid,
  body:not(.language-gate) .media-grid,
  body:not(.language-gate) .social-grid,
  body:not(.language-gate) .officer-grid,
  body:not(.language-gate) .r4-grid,
  body:not(.language-gate) .guide-feature-strip,
  body:not(.language-gate) .guide-action-row,
  body:not(.language-gate) .migration-grid,
  body:not(.language-gate) .migration-form-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  body:not(.language-gate) .hero-actions,
  body:not(.language-gate) .actions,
  body:not(.language-gate) .button-row,
  body:not(.language-gate) .migration-submit-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body:not(.language-gate) .button,
  body:not(.language-gate) button.button,
  body:not(.language-gate) .feature-card a,
  body:not(.language-gate) .panel a:not(.form-support) {
    width: 100% !important;
    max-width: none !important;
    min-height: 46px !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
  }
  body:not(.language-gate) img,
  body:not(.language-gate) picture,
  body:not(.language-gate) video {
    max-width: 100% !important;
    height: auto !important;
  }
}
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.announcements-overhaul .announcement-hero,
  body.migration-overhaul .migration-hero,
  body.achievements-page .achievements-hero,
  body.media-page .media-hero,
  body.guides-overhaul .guides-hero,
  body.contacts-page .socials-hero,
  body.leadership-overhaul .leadership-hero {
    display: block !important;
    padding: 150px 16px 22px !important;
    background-size: 100% 210px, 100% 210px, cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .harbor-hero::after,
  body.announcements-overhaul .announcement-hero::before,
  body.announcements-overhaul .announcement-hero::after,
  body.migration-overhaul .migration-hero::before,
  body.migration-overhaul .migration-hero::after,
  body.achievements-page .achievements-hero::before,
  body.achievements-page .achievements-hero::after,
  body.media-page .media-hero::before,
  body.media-page .media-hero::after,
  body.guides-overhaul .guides-hero::before,
  body.guides-overhaul .guides-hero::after,
  body.contacts-page .socials-hero::before,
  body.contacts-page .socials-hero::after,
  body.leadership-overhaul .leadership-hero::before,
  body.leadership-overhaul .leadership-hero::after {
    opacity: .18 !important;
    pointer-events: none !important;
  }
  body.announcements-overhaul .announcement-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/section-announcements.webp") !important; }
  body.migration-overhaul .migration-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/section-migration.webp") !important; }
  body.achievements-page .achievements-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/section-achievements.webp") !important; }
  body.media-page .media-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/section-media.webp") !important; }
  body.guides-overhaul .guides-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/section-guides.webp") !important; }
  body.contacts-page .socials-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/section-contacts.webp") !important; }
  body.leadership-overhaul .leadership-hero { background-image: linear-gradient(180deg, rgba(1,8,9,.05), rgba(1,8,9,.96) 65%), url("assets/leader-throne.webp") !important; }
  body:not(.language-gate) .notice-panel,
  body:not(.language-gate) .war-dispatch,
  body:not(.language-gate) .achievement-panel,
  body:not(.language-gate) .media-tile,
  body:not(.language-gate) .social-card,
  body:not(.language-gate) .feature-card,
  body:not(.language-gate) .panel,
  body.leadership-overhaul .r5-card,
  body.leadership-overhaul .leader-card,
  body.leadership-overhaul .r5-feature {
    padding: 20px 15px !important;
    display: block !important;
  }
  body.leadership-overhaul .r5-card,
  body.leadership-overhaul .leader-card,
  body.leadership-overhaul .r5-feature {
    text-align: center !important;
  }
  body.leadership-overhaul .leader-avatar,
  body.leadership-overhaul .r5-avatar,
  body.leadership-overhaul .avatar-ring {
    width: min(70vw, 220px) !important;
    height: min(70vw, 220px) !important;
    margin: 0 auto 16px !important;
  }
  body.leadership-overhaul .rank-badge,
  body.leadership-overhaul .r5-badge,
  body.leadership-overhaul .officer-rank {
    position: static !important;
    margin: 0 auto 12px !important;
    transform: none !important;
  }
  body:not(.language-gate) .media-tile img,
  body:not(.language-gate) .preview-frame,
  body:not(.language-gate) .media-preview,
  body:not(.language-gate) .card-preview {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px !important;
  }
  body.guides-overhaul #guide-directory .guide-link-group,
  body.guides-overhaul #guide-directory .guide-start-strip {
    display: block !important;
    padding: 18px 14px !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  body.guides-overhaul #guide-directory .guide-chip-grid a {
    width: 100% !important;
    min-height: 50px !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.announcements-overhaul .announcement-hero,
  body.migration-overhaul .migration-hero,
  body.achievements-page .achievements-hero,
  body.media-page .media-hero,
  body.guides-overhaul .guides-hero,
  body.contacts-page .socials-hero,
  body.leadership-overhaul .leadership-hero {
    padding: 132px 13px 20px !important;
    background-size: 100% 190px, 100% 190px, cover !important;
  }
  body:not(.language-gate) .hero h1,
  body.home-overhaul .harbor-hero h1,
  body.announcements-overhaul .announcement-hero h1,
  body.migration-overhaul .migration-hero h1,
  body.achievements-page .achievements-hero h1,
  body.media-page .media-hero h1,
  body.guides-overhaul .guides-hero h1,
  body.contacts-page .socials-hero h1,
  body.leadership-overhaul .leadership-hero h1 {
    font-size: clamp(31px, 11vw, 42px) !important;
  }
}
/* targeted mobile fixes from live screenshots */
@media (max-width: 760px) {
  /* Welcome / language gate: zoom image out and keep logo readable */
  body.language-gate,
  body.language-gate .language-screen,
  body.language-gate .language-gate {
    min-height: 100dvh !important;
    background-size: contain !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-color: #020707 !important;
  }
  body.language-gate::before,
  body.language-gate .language-screen::before,
  body.language-gate .language-gate::before {
    background-size: contain !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
  }
  body.language-gate .language-panel,
  body.language-gate .language-card,
  body.language-gate .language-options {
    width: calc(100% - 28px) !important;
    max-width: 460px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Homepage bottom menu cards: stop title/body overlap */
  body.home-overhaul .home-route,
  body.home-overhaul .route-card,
  body.home-overhaul .home-card,
  body.home-overhaul a[href$='.html'].home-route {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: end !important;
    min-height: 150px !important;
    padding: 22px 22px 24px !important;
    gap: 8px !important;
    background-size: cover !important;
    background-position: center !important;
  }
  body.home-overhaul .home-route strong,
  body.home-overhaul .route-card strong,
  body.home-overhaul .home-card strong,
  body.home-overhaul .home-route h2,
  body.home-overhaul .route-card h2,
  body.home-overhaul .home-card h2 {
    display: block !important;
    position: static !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: .92 !important;
    letter-spacing: .04em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    transform: none !important;
  }
  body.home-overhaul .home-route p,
  body.home-overhaul .route-card p,
  body.home-overhaul .home-card p {
    display: block !important;
    position: static !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    transform: none !important;
  }
  body.home-overhaul .home-route span,
  body.home-overhaul .route-card span,
  body.home-overhaul .home-card span {
    position: static !important;
    transform: none !important;
  }
  body.home-overhaul .home-route .route-cta,
  body.home-overhaul .route-card .route-cta,
  body.home-overhaul .home-card .route-cta,
  body.home-overhaul .home-route small,
  body.home-overhaul .route-card small,
  body.home-overhaul .home-card small {
    display: inline-flex !important;
    margin-top: 8px !important;
    position: static !important;
    transform: none !important;
  }

  /* Announcement: restore picture in first tab/hero and keep it from going blank */
  body.announcements-overhaul .announcement-hero,
  body.announcements-overhaul .unified-page-title,
  body.announcements-overhaul .inner-hero {
    background-image:
      linear-gradient(180deg, rgba(1,8,9,.03), rgba(1,8,9,.90) 62%, rgba(1,8,9,.98)),
      url("assets/section-announcements.webp") !important;
    background-size: 100% 215px, 100% 215px !important;
    background-position: top center, top center !important;
    background-repeat: no-repeat !important;
    padding-top: 150px !important;
  }
  body.announcements-overhaul .announcement-hero::before,
  body.announcements-overhaul .announcement-hero::after {
    display: none !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .home-route,
  body.home-overhaul .route-card,
  body.home-overhaul .home-card,
  body.home-overhaul a[href$='.html'].home-route {
    min-height: 142px !important;
    padding: 20px 18px 22px !important;
  }
  body.home-overhaul .home-route strong,
  body.home-overhaul .route-card strong,
  body.home-overhaul .home-card strong,
  body.home-overhaul .home-route h2,
  body.home-overhaul .route-card h2,
  body.home-overhaul .home-card h2 {
    font-size: clamp(30px, 9.5vw, 40px) !important;
  }
  body.announcements-overhaul .announcement-hero,
  body.announcements-overhaul .unified-page-title,
  body.announcements-overhaul .inner-hero {
    background-size: 100% 200px, 100% 200px !important;
    padding-top: 138px !important;
  }
}
/* preview only welcome gul background zoom out */
@media (max-width: 760px) {
  body.has-language-gate .language-gate,
  body.has-language-gate .language-gate .gate-backdrop,
  body.has-language-gate .language-gate::before,
  body.has-language-gate .language-gate::after,
  .language-gate,
  .language-gate .gate-backdrop,
  .language-gate::before,
  .language-gate::after {
    background-size: contain !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
  }
  .language-gate {
    background-color: #030707 !important;
  }
  .language-gate .gate-panel {
    margin-top: min(58vh, 470px) !important;
  }
}
@media (max-width: 430px) {
  body.has-language-gate .language-gate,
  body.has-language-gate .language-gate .gate-backdrop,
  body.has-language-gate .language-gate::before,
  body.has-language-gate .language-gate::after,
  .language-gate,
  .language-gate .gate-backdrop,
  .language-gate::before,
  .language-gate::after {
    background-size: 100% auto !important;
    background-position: top center !important;
  }
  .language-gate .gate-panel {
    margin-top: min(58vh, 455px) !important;
  }
}
/* preview homepage route card overlap fix */
@media (max-width: 760px) {
  /* Restore homepage hero image behavior closer to desktop, no forced top-banner zoom rule */
  body.home-overhaul .harbor-hero {
    padding: 28px 18px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* Make the bottom homepage cards readable on phones */
  body.home-overhaul .home-route-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  body.home-overhaul .home-route {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    gap: 9px !important;
    min-height: 168px !important;
    padding: 24px 22px !important;
    text-align: left !important;
    background-size: cover !important;
    background-position: center !important;
  }
  body.home-overhaul .home-route::after {
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(1,8,9,.88), rgba(1,8,9,.64) 54%, rgba(1,8,9,.34)) !important;
  }
  body.home-overhaul .home-route > * {
    position: relative !important;
    z-index: 2 !important;
  }
  body.home-overhaul .home-route strong {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(31px, 9vw, 42px) !important;
    line-height: .95 !important;
    letter-spacing: .055em !important;
    white-space: normal !important;
    transform: none !important;
  }
  body.home-overhaul .home-route small {
    display: block !important;
    width: 100% !important;
    max-width: 31ch !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.36 !important;
    color: rgba(245, 234, 204, .82) !important;
    white-space: normal !important;
    transform: none !important;
  }
  body.home-overhaul .home-route .route-mark,
  body.home-overhaul .home-route span:not([data-i18n]) {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    letter-spacing: .16em !important;
    white-space: nowrap !important;
    transform: none !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .home-route {
    min-height: 162px !important;
    padding: 22px 18px !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(29px, 8.6vw, 38px) !important;
  }
}
/* preview announcement mobile banner restore */
@media (max-width: 760px) {
  body.announcements-overhaul .announcement-hero,
  body.announcements-overhaul .unified-page-title,
  body.announcements-overhaul .inner-hero {
    background:
      linear-gradient(180deg, rgba(1,8,9,.02), rgba(1,8,9,.88) 62%, rgba(1,8,9,.98)),
      url("assets/announcements-board.webp") !important;
    background-size: 100% 220px, 100% 220px !important;
    background-position: top center, top center !important;
    background-repeat: no-repeat, no-repeat !important;
    padding-top: 150px !important;
  }
  body.announcements-overhaul .announcement-hero::before,
  body.announcements-overhaul .announcement-hero::after,
  body.announcements-overhaul .unified-page-title::before,
  body.announcements-overhaul .unified-page-title::after {
    display: none !important;
  }
}
@media (max-width: 430px) {
  body.announcements-overhaul .announcement-hero,
  body.announcements-overhaul .unified-page-title,
  body.announcements-overhaul .inner-hero {
    background-size: 100% 205px, 100% 205px !important;
    padding-top: 140px !important;
  }
}
/* preview homepage mobile route cards final spacing */
@media (max-width: 760px) {
  body.home-overhaul .home-route-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-inline: 0 !important;
  }
  body.home-overhaul .home-route {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 42%) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    min-height: 150px !important;
    padding: 22px 18px !important;
    text-align: left !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
  }
  body.home-overhaul .home-route::after {
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(1,8,9,.88), rgba(1,8,9,.70) 52%, rgba(1,8,9,.46)) !important;
  }
  body.home-overhaul .home-route strong {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(24px, 7.4vw, 34px) !important;
    line-height: .96 !important;
    letter-spacing: .045em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    transform: none !important;
  }
  body.home-overhaul .home-route small {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    display: block !important;
    width: 100% !important;
    max-width: 14ch !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.26 !important;
    color: rgba(246, 236, 207, .86) !important;
    white-space: normal !important;
    transform: none !important;
  }
  body.home-overhaul .home-route .route-mark,
  body.home-overhaul .home-route span:not([data-i18n]) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    justify-self: start !important;
    display: inline-flex !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    letter-spacing: .17em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .home-route {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 40%) !important;
    min-height: 146px !important;
    padding: 20px 16px !important;
    column-gap: 10px !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(23px, 7vw, 31px) !important;
    letter-spacing: .035em !important;
  }
  body.home-overhaul .home-route small {
    font-size: 13px !important;
    line-height: 1.28 !important;
    max-width: 13ch !important;
  }
}
/* preview welcome balanced mobile fit */
@media (max-width: 760px) {
  body.has-language-gate .language-gate,
  body.has-language-gate .language-gate .gate-backdrop,
  .language-gate,
  .language-gate .gate-backdrop {
    background-size: auto 66vh !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  body.has-language-gate .language-gate::before,
  body.has-language-gate .language-gate::after,
  .language-gate::before,
  .language-gate::after {
    background-size: auto 66vh !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  .language-gate .gate-panel {
    margin-top: min(53vh, 430px) !important;
  }
}
@media (max-width: 430px) {
  body.has-language-gate .language-gate,
  body.has-language-gate .language-gate .gate-backdrop,
  .language-gate,
  .language-gate .gate-backdrop,
  body.has-language-gate .language-gate::before,
  body.has-language-gate .language-gate::after,
  .language-gate::before,
  .language-gate::after {
    background-size: auto 62vh !important;
    background-position: center top !important;
  }
  .language-gate .gate-panel {
    margin-top: min(51vh, 405px) !important;
  }
}
/* preview sleek mobile guide buttons */
@media (max-width: 760px) {
  body.guides-overhaul .guide-action-row {
    gap: 11px !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile,
  body.guides-overhaul .guide-action-row .button.guide-action-tile,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    display: grid !important;
    grid-template-columns: 1fr 32px !important;
    min-height: 58px !important;
    padding: 12px 12px 12px 18px !important;
    border-radius: 18px !important;
    clip-path: none !important;
    background:
      linear-gradient(180deg, rgba(23, 29, 27, .98), rgba(4, 10, 10, .98)) !important;
    border: 1px solid rgba(218, 176, 91, .42) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      inset 0 -14px 24px rgba(0,0,0,.28),
      0 14px 26px rgba(0,0,0,.30) !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile.primary,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    background:
      radial-gradient(circle at 18% 0%, rgba(255,232,166,.30), transparent 34%),
      linear-gradient(180deg, rgba(56, 41, 20, .98), rgba(16, 13, 10, .98)) !important;
    border-color: rgba(245, 204, 111, .76) !important;
  }
  body.guides-overhaul .guide-action-mark {
    display: none !important;
  }
  body.guides-overhaul .guide-action-copy {
    display: block !important;
    min-width: 0 !important;
  }
  body.guides-overhaul .guide-action-kicker {
    display: block !important;
    margin: 0 0 4px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .15em !important;
    color: rgba(221, 180, 93, .88) !important;
  }
  body.guides-overhaul .guide-action-tile strong {
    display: block !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    color: #fff0bf !important;
  }
  body.guides-overhaul .guide-action-arrow {
    position: static !important;
    justify-self: end !important;
    align-self: center !important;
    width: 32px !important;
    height: 32px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    transform: none !important;
    font-size: 0 !important;
    color: transparent !important;
    background: linear-gradient(135deg, #ffe7a0, #b77a25) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.50), 0 8px 18px rgba(0,0,0,.32) !important;
  }
  body.guides-overhaul .guide-action-arrow::before {
    content: "↗";
    color: #140d04;
    font-size: 16px;
    line-height: 1;
  }
}
@media (max-width: 430px) {
  body.guides-overhaul .guide-action-tile strong {
    font-size: 12px !important;
    letter-spacing: .07em !important;
  }
  body.guides-overhaul .guide-action-row .guide-action-tile,
  body.guides-overhaul .guide-action-row .button.guide-action-tile,
  body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
    padding-left: 15px !important;
  }
}
/* preview homepage phone full-screen fit */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 142px) !important;
    height: auto !important;
    display: grid !important;
    align-items: end !important;
    padding: 42vh 16px 22px !important;
    border-radius: 0 !important;
    background-size: auto 100% !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    transform: none !important;
  }
  body.home-overhaul .harbor-hero h1,
  body.home-overhaul:has(.harbor-hero) .hero-content h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: .91 !important;
    max-width: 10ch !important;
    margin: 0 auto 10px !important;
    letter-spacing: .02em !important;
  }
  body.home-overhaul .harbor-hero p,
  body.home-overhaul:has(.harbor-hero) .hero-content p {
    font-size: 12px !important;
    line-height: 1.35 !important;
    max-width: 29ch !important;
    margin: 0 auto 12px !important;
    letter-spacing: .10em !important;
  }
  body.home-overhaul .harbor-hero .hero-actions,
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    width: min(100%, 250px) !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 8px !important;
  }
  body.home-overhaul .harbor-hero .button,
  body.home-overhaul:has(.harbor-hero) .hero-actions .button {
    min-height: 42px !important;
    padding: 11px 16px !important;
    font-size: 11px !important;
    letter-spacing: .14em !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 136px) !important;
    padding: 40vh 14px 18px !important;
    background-size: auto 100% !important;
    background-position: center top !important;
  }
  body.home-overhaul .harbor-hero h1,
  body.home-overhaul:has(.harbor-hero) .hero-content h1 {
    font-size: clamp(31px, 9.2vw, 40px) !important;
  }
  body.home-overhaul .harbor-hero p,
  body.home-overhaul:has(.harbor-hero) .hero-content p {
    font-size: 11px !important;
  }
}
/* preview homepage route cards compact aligned */
@media (max-width: 760px) {
  body.home-overhaul .home-route-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 0 !important;
  }
  body.home-overhaul .home-route {
    display: grid !important;
    grid-template-columns: 52% 40% !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 126px !important;
    padding: 18px 18px !important;
    column-gap: 8px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-align: left !important;
    background-size: cover !important;
    background-position: center !important;
  }
  body.home-overhaul .home-route::after {
    inset: 0 !important;
    background:
      linear-gradient(90deg, rgba(1,8,9,.86), rgba(1,8,9,.58) 50%, rgba(1,8,9,.66)) !important;
  }
  body.home-overhaul .home-route strong {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(20px, 5.8vw, 28px) !important;
    line-height: 1 !important;
    letter-spacing: .045em !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    transform: none !important;
  }
  body.home-overhaul .home-route small {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    display: block !important;
    max-width: 13ch !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    color: rgba(248, 239, 214, .88) !important;
    transform: none !important;
  }
  body.home-overhaul .home-route .route-mark,
  body.home-overhaul .home-route span:not([data-i18n]) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    justify-self: start !important;
    display: inline-flex !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .16em !important;
    transform: none !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .home-route {
    grid-template-columns: 53% 39% !important;
    min-height: 122px !important;
    padding: 17px 15px !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(19px, 5.4vw, 25px) !important;
    letter-spacing: .035em !important;
  }
  body.home-overhaul .home-route small {
    font-size: 12.5px !important;
    max-width: 12ch !important;
  }
}
/* preview classy simple guide buttons */
body.guides-overhaul .guide-action-row .guide-action-tile,
body.guides-overhaul .guide-action-row .button.guide-action-tile,
body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 58px !important;
  padding: 14px 22px !important;
  border-radius: 18px !important;
  clip-path: none !important;
  text-align: center !important;
}
body.guides-overhaul .guide-action-row .button.primary.guide-action-tile {
  background:
    linear-gradient(180deg, rgba(245, 205, 117, .98), rgba(146, 91, 26, .98)) !important;
  border: 1px solid rgba(255, 235, 171, .80) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -16px 24px rgba(91,45,8,.24),
    0 14px 28px rgba(0,0,0,.34) !important;
}
body.guides-overhaul .guide-action-row .button.guide-action-tile:not(.primary) {
  background:
    linear-gradient(180deg, rgba(21, 29, 28, .98), rgba(5, 11, 11, .98)) !important;
  border: 1px solid rgba(216, 176, 91, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -14px 24px rgba(0,0,0,.28),
    0 14px 26px rgba(0,0,0,.28) !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-mark,
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-kicker,
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-arrow,
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-copy {
  display: contents !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-mark,
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-kicker,
body.guides-overhaul .guide-action-row .guide-action-tile .guide-action-arrow {
  display: none !important;
}
body.guides-overhaul .guide-action-row .guide-action-tile strong {
  display: block !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  text-align: center !important;
}
body.guides-overhaul .guide-action-row .button.primary.guide-action-tile strong {
  color: #1b1003 !important;
  text-shadow: 0 1px 0 rgba(255,239,196,.45) !important;
}
body.guides-overhaul .guide-action-row .button.guide-action-tile:not(.primary) strong {
  color: #f6e6ba !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.55) !important;
}
@media (max-width: 430px) {
  body.guides-overhaul .guide-action-row .guide-action-tile strong {
    font-size: 12px !important;
    letter-spacing: .10em !important;
  }
}
/* preview mobile hero no logo overlap */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: calc(100dvh - 136px) !important;
    padding: 56vh 16px 22px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    background: linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 42%,
      rgba(2,8,9,.78) 57%,
      rgba(2,8,9,.98) 100%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 18px 14px 16px !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(5,12,12,.70), rgba(5,10,10,.36)) !important;
    border: 1px solid rgba(216,174,88,.24) !important;
    backdrop-filter: blur(4px) !important;
    text-align: center !important;
  }
  body.home-overhaul .harbor-hero h1,
  body.home-overhaul:has(.harbor-hero) .hero-content h1 {
    font-size: clamp(30px, 8.6vw, 42px) !important;
    line-height: .93 !important;
    max-width: 11ch !important;
    margin: 0 auto 10px !important;
    letter-spacing: .02em !important;
    text-shadow: 0 8px 22px rgba(0,0,0,.75) !important;
  }
  body.home-overhaul .harbor-hero p,
  body.home-overhaul:has(.harbor-hero) .hero-content p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    max-width: 31ch !important;
    margin: 0 auto 12px !important;
    letter-spacing: .10em !important;
  }
  body.home-overhaul .harbor-hero .hero-actions,
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    width: min(100%, 230px) !important;
    margin: 0 auto !important;
  }
  body.home-overhaul .harbor-hero .button,
  body.home-overhaul:has(.harbor-hero) .hero-actions .button {
    min-height: 40px !important;
    padding: 10px 14px !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 132px) !important;
    padding: 54vh 12px 18px !important;
    background-size: 112% auto !important;
    background-position: center top !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    padding: 16px 12px 14px !important;
  }
  body.home-overhaul .harbor-hero h1,
  body.home-overhaul:has(.harbor-hero) .hero-content h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
}
/* preview hall image perfect mobile fit */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 136px) !important;
    padding: 52vh 14px 18px !important;
    background-size: 100% 58vh !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #020808 !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before {
    background: linear-gradient(180deg,
      rgba(2,8,9,0) 0%,
      rgba(2,8,9,0) 44%,
      rgba(2,8,9,.72) 58%,
      rgba(2,8,9,.98) 100%) !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    max-width: 345px !important;
    padding: 15px 12px 13px !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 132px) !important;
    padding: 51vh 10px 16px !important;
    background-size: 100% 57vh !important;
    background-position: center top !important;
  }
}
/* preview smaller mobile route names */
@media (max-width: 760px) {
  body.home-overhaul .home-route {
    grid-template-columns: 50% 42% !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(17px, 4.8vw, 24px) !important;
    line-height: 1.02 !important;
    letter-spacing: .035em !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .home-route {
    grid-template-columns: 51% 41% !important;
  }
  body.home-overhaul .home-route strong {
    font-size: clamp(16px, 4.4vw, 21px) !important;
    letter-spacing: .025em !important;
  }
}
/* preview homepage hero clean poster fit */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 132px) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 0 16px 18px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #020707 !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    width: min(100%, 270px) !important;
    max-width: 270px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    text-align: center !important;
  }
  body.home-overhaul .harbor-hero h1,
  body.home-overhaul .harbor-hero p,
  body.home-overhaul:has(.harbor-hero) .hero-content h1,
  body.home-overhaul:has(.harbor-hero) .hero-content p {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .hero-actions,
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 0 auto !important;
  }
  body.home-overhaul .harbor-hero .button,
  body.home-overhaul:has(.harbor-hero) .hero-actions .button {
    min-height: 42px !important;
    border-radius: 18px !important;
    padding: 11px 16px !important;
    font-size: 11px !important;
    letter-spacing: .14em !important;
    background: rgba(5, 12, 12, .70) !important;
    border: 1px solid rgba(216,174,88,.38) !important;
    color: #f7e8be !important;
    backdrop-filter: blur(6px) !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 128px) !important;
    padding: 0 14px 16px !important;
    background-size: contain !important;
    background-position: center top !important;
  }
}
/* preview mobile gul logo placement */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    background-size: auto 94% !important;
    background-position: center 0 !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    background-size: auto 92% !important;
    background-position: center 2px !important;
  }
}
/* preview hero poster fit only */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 136px) !important;
    height: calc(100dvh - 136px) !important;
    display: block !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #020707 !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before,
  body.home-overhaul .harbor-hero::after,
  body.home-overhaul .hero.harbor-hero::after,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::after {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    display: none !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 132px) !important;
    height: calc(100dvh - 132px) !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
}
/* preview stable mobile homepage hero */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    position: relative !important;
    min-height: calc(100dvh - 132px) !important;
    height: calc(100dvh - 132px) !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background-image:
      linear-gradient(180deg, rgba(1,7,8,.10), rgba(1,7,8,.15) 42%, rgba(1,7,8,.80) 76%, rgba(1,7,8,.98)),
      url("assets/hero-viking-guild.webp") !important;
    background-size: cover, cover !important;
    background-position: center top, center top !important;
    background-repeat: no-repeat !important;
    background-color: #020707 !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .harbor-hero::after,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::after,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::after {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .harbor-scene {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    display: block !important;
    position: absolute !important;
    z-index: 2 !important;
    left: 50% !important;
    top: 27% !important;
    width: min(78vw, 330px) !important;
    max-width: 330px !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    text-align: center !important;
  }
  body.home-overhaul .home-crest-mark.cinematic-home-mark,
  body.home-overhaul .home-crest-mark {
    display: block !important;
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.home-overhaul .home-crest-mark.cinematic-home-mark::before,
  body.home-overhaul .home-crest-mark.cinematic-home-mark::after,
  body.home-overhaul .home-crest-mark::before,
  body.home-overhaul .home-crest-mark::after {
    display: none !important;
  }
  body.home-overhaul .home-crest-mark.cinematic-home-mark img,
  body.home-overhaul .home-crest-mark img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.55)) !important;
  }
  body.home-overhaul .harbor-hero .hero-actions,
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    display: none !important;
  }
  body.home-overhaul .home-welcome-line {
    position: absolute !important;
    z-index: 3 !important;
    left: 50% !important;
    top: 60% !important;
    width: min(86vw, 360px) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.home-overhaul .home-welcome-line strong {
    display: block !important;
    margin: 0 auto 10px !important;
    max-width: 11ch !important;
    font-size: clamp(31px, 9.5vw, 44px) !important;
    line-height: .92 !important;
    letter-spacing: .02em !important;
    text-shadow: 0 10px 24px rgba(0,0,0,.78) !important;
  }
  body.home-overhaul .home-welcome-line span {
    display: block !important;
    max-width: 30ch !important;
    margin: 0 auto !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: .11em !important;
    text-shadow: 0 8px 18px rgba(0,0,0,.78) !important;
  }
  body.home-overhaul .home-scroll-cue {
    position: absolute !important;
    z-index: 4 !important;
    left: 50% !important;
    top: 77% !important;
    width: min(62vw, 230px) !important;
    min-height: 66px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 24px !important;
    background: rgba(5, 12, 12, .58) !important;
    border: 1px solid rgba(216,174,88,.34) !important;
    backdrop-filter: blur(6px) !important;
  }
  body.home-overhaul .home-scroll-cue span {
    display: block !important;
    font-size: 11px !important;
    letter-spacing: .16em !important;
    text-align: center !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 128px) !important;
    height: calc(100dvh - 128px) !important;
    background-size: auto 100%, cover !important;
    background-position: center top, center top !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    top: 28% !important;
    width: min(82vw, 320px) !important;
  }
  body.home-overhaul .home-welcome-line {
    top: 60.5% !important;
  }
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(29px, 8.8vw, 38px) !important;
  }
  body.home-overhaul .home-scroll-cue {
    top: 78% !important;
    width: min(66vw, 225px) !important;
  }
}
/* preview corrected hall mobile hero */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    position: relative !important;
    min-height: calc(100dvh - 132px) !important;
    height: calc(100dvh - 132px) !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background-image:
      linear-gradient(180deg, rgba(5, 8, 8, .06), rgba(5, 8, 8, .18) 42%, rgba(5, 8, 8, .78) 76%, rgba(5, 8, 8, .98)),
      url("assets/leader-throne.webp") !important;
    background-size: cover, cover !important;
    background-position: center top, center top !important;
    background-repeat: no-repeat !important;
    background-color: #020707 !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before {
    content: "" !important;
    position: absolute !important;
    z-index: 1 !important;
    left: 50% !important;
    top: 30% !important;
    width: min(82vw, 340px) !important;
    aspect-ratio: 1 / 1 !important;
    transform: translate(-50%, -50%) !important;
    display: block !important;
    background: url("assets/guild-logo-cutout.webp") center / contain no-repeat !important;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.65)) !important;
    opacity: .96 !important;
    pointer-events: none !important;
  }
  body.home-overhaul .harbor-hero::after,
  body.home-overhaul .hero.harbor-hero::after,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::after {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .harbor-scene,
  body.home-overhaul .harbor-hero .hero-content {
    display: none !important;
  }
  body.home-overhaul .home-welcome-line {
    position: absolute !important;
    z-index: 2 !important;
    left: 50% !important;
    top: 57% !important;
    width: min(84vw, 340px) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.home-overhaul .home-welcome-line strong {
    display: block !important;
    max-width: 12ch !important;
    margin: 0 auto 7px !important;
    font-size: clamp(25px, 7.2vw, 34px) !important;
    line-height: .94 !important;
    letter-spacing: .02em !important;
    text-shadow: 0 10px 24px rgba(0,0,0,.82) !important;
  }
  body.home-overhaul .home-welcome-line span {
    display: block !important;
    max-width: 30ch !important;
    margin: 0 auto !important;
    font-size: 10px !important;
    line-height: 1.32 !important;
    letter-spacing: .10em !important;
    text-shadow: 0 8px 18px rgba(0,0,0,.82) !important;
  }
  body.home-overhaul .home-scroll-cue {
    position: absolute !important;
    z-index: 3 !important;
    left: 50% !important;
    top: 74% !important;
    width: min(58vw, 215px) !important;
    min-height: 62px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 24px !important;
    background: rgba(5, 12, 12, .58) !important;
    border: 1px solid rgba(216,174,88,.34) !important;
    backdrop-filter: blur(6px) !important;
  }
  body.home-overhaul .home-scroll-cue span {
    display: block !important;
    font-size: 10px !important;
    letter-spacing: .16em !important;
    text-align: center !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    min-height: calc(100dvh - 128px) !important;
    height: calc(100dvh - 128px) !important;
    background-position: center top, center top !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before {
    top: 30% !important;
    width: min(86vw, 320px) !important;
  }
  body.home-overhaul .home-welcome-line {
    top: 57% !important;
  }
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(24px, 6.8vw, 31px) !important;
  }
  body.home-overhaul .home-scroll-cue {
    top: 74.5% !important;
    width: min(62vw, 210px) !important;
  }
}
/* preview final hall logo mobile layout */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    position: relative !important;
    height: calc(100dvh - 132px) !important;
    min-height: calc(100dvh - 132px) !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background-image:
      linear-gradient(180deg, rgba(4,7,7,.04), rgba(4,7,7,.12) 42%, rgba(4,7,7,.70) 72%, rgba(4,7,7,.98) 100%),
      url("assets/leader-throne.webp") !important;
    background-size: cover, cover !important;
    background-position: center top, center top !important;
    background-repeat: no-repeat !important;
    background-color: #020707 !important;
  }
  body.home-overhaul .harbor-hero::before,
  body.home-overhaul .harbor-hero::after,
  body.home-overhaul .hero.harbor-hero::before,
  body.home-overhaul .hero.harbor-hero::after,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::before,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero::after {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .harbor-scene {
    display: none !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    display: block !important;
    position: absolute !important;
    z-index: 2 !important;
    left: 50% !important;
    top: 30% !important;
    width: min(88vw, 360px) !important;
    max-width: 360px !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  body.home-overhaul .home-crest-mark,
  body.home-overhaul .home-crest-mark.cinematic-home-mark {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.home-overhaul .home-crest-mark::before,
  body.home-overhaul .home-crest-mark::after,
  body.home-overhaul .home-crest-mark.cinematic-home-mark::before,
  body.home-overhaul .home-crest-mark.cinematic-home-mark::after {
    display: none !important;
  }
  body.home-overhaul .home-crest-mark img,
  body.home-overhaul .home-crest-mark.cinematic-home-mark img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.68)) !important;
  }
  body.home-overhaul .harbor-hero .hero-actions,
  body.home-overhaul:has(.harbor-hero) .hero-actions {
    display: none !important;
  }
  body.home-overhaul .home-welcome-line {
    position: absolute !important;
    z-index: 3 !important;
    left: 50% !important;
    top: 58% !important;
    width: min(84vw, 340px) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.home-overhaul .home-welcome-line strong {
    display: block !important;
    max-width: 12ch !important;
    margin: 0 auto 8px !important;
    font-size: clamp(24px, 7vw, 33px) !important;
    line-height: .94 !important;
    letter-spacing: .02em !important;
    text-shadow: 0 10px 24px rgba(0,0,0,.84) !important;
  }
  body.home-overhaul .home-welcome-line span {
    display: block !important;
    max-width: 31ch !important;
    margin: 0 auto !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    letter-spacing: .10em !important;
    text-shadow: 0 8px 18px rgba(0,0,0,.84) !important;
  }
  body.home-overhaul .home-scroll-cue {
    position: absolute !important;
    z-index: 4 !important;
    left: 50% !important;
    top: 78% !important;
    width: min(58vw, 220px) !important;
    min-height: 62px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 24px !important;
    background: rgba(5, 12, 12, .58) !important;
    border: 1px solid rgba(216,174,88,.34) !important;
    backdrop-filter: blur(6px) !important;
  }
  body.home-overhaul .home-scroll-cue span {
    display: block !important;
    font-size: 10px !important;
    letter-spacing: .16em !important;
    text-align: center !important;
  }
}
@media (max-width: 430px) {
  body.home-overhaul .harbor-hero,
  body.home-overhaul .hero.harbor-hero,
  body.home-overhaul:has(.harbor-hero) .hero.harbor-hero {
    height: calc(100dvh - 128px) !important;
    min-height: calc(100dvh - 128px) !important;
    background-position: center top, center top !important;
  }
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    top: 30% !important;
    width: min(90vw, 345px) !important;
  }
  body.home-overhaul .home-welcome-line {
    top: 58.5% !important;
  }
  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(23px, 6.6vw, 30px) !important;
    margin-bottom: 7px !important;
  }
  body.home-overhaul .home-welcome-line span {
    font-size: 9.5px !important;
  }
  body.home-overhaul .home-scroll-cue {
    top: 79% !important;
    width: min(62vw, 215px) !important;
  }
}
/* preview welcome warriors mobile spacing */
@media (max-width: 760px) {
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    top: 27% !important;
    width: min(82vw, 330px) !important;
    max-width: 330px !important;
  }

  body.home-overhaul .home-welcome-line {
    top: 57% !important;
    width: min(82vw, 330px) !important;
  }

  body.home-overhaul .home-welcome-line strong {
    max-width: 13ch !important;
    margin-bottom: 9px !important;
    font-size: clamp(22px, 6.2vw, 29px) !important;
    line-height: 1 !important;
    letter-spacing: .025em !important;
  }

  body.home-overhaul .home-welcome-line span {
    max-width: 29ch !important;
    font-size: 9.5px !important;
    line-height: 1.42 !important;
    letter-spacing: .075em !important;
  }

  body.home-overhaul .home-scroll-cue {
    top: auto !important;
    bottom: clamp(24px, 5.8vh, 48px) !important;
    width: min(58vw, 210px) !important;
    min-height: 58px !important;
    display: grid !important;
    place-items: center !important;
    padding: 10px 18px !important;
  }

  body.home-overhaul .home-scroll-cue span {
    font-size: 10px !important;
    letter-spacing: .18em !important;
    line-height: 1 !important;
  }
}

@media (max-width: 430px) {
  body.home-overhaul .harbor-hero .hero-content,
  body.home-overhaul:has(.harbor-hero) .hero-content {
    top: 26.5% !important;
    width: min(84vw, 320px) !important;
  }

  body.home-overhaul .home-welcome-line {
    top: 56.5% !important;
  }

  body.home-overhaul .home-welcome-line strong {
    font-size: clamp(21px, 5.9vw, 27px) !important;
  }

  body.home-overhaul .home-welcome-line span {
    font-size: 9px !important;
    max-width: 28ch !important;
  }

  body.home-overhaul .home-scroll-cue {
    bottom: clamp(22px, 5vh, 42px) !important;
    width: min(60vw, 205px) !important;
    min-height: 56px !important;
  }
}

/* preview text-only enter hall rune */
@media (max-width: 760px) {
  body.home-overhaul .home-scroll-cue {
    top: auto !important;
    bottom: clamp(24px, 5.6vh, 46px) !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    color: #f7e6b8 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-decoration: none !important;
  }

  body.home-overhaul .home-scroll-cue::before,
  body.home-overhaul .home-scroll-cue::after {
    content: "" !important;
    display: block !important;
    pointer-events: none !important;
  }

  body.home-overhaul .home-scroll-cue::before {
    width: 92px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(247, 222, 150, .78), transparent) !important;
    animation: enterHallRunePulse 1.7s ease-in-out infinite !important;
  }

  body.home-overhaul .home-scroll-cue span {
    display: block !important;
    color: #f7e6b8 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .22em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 14px rgba(246, 199, 91, .28), 0 8px 18px rgba(0,0,0,.85) !important;
  }

  body.home-overhaul .home-scroll-cue i {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(247, 222, 150, .38) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(247, 222, 150, .28), rgba(247, 222, 150, .04) 54%, transparent 68%) !important;
    box-shadow: 0 0 18px rgba(246, 199, 91, .2), inset 0 0 14px rgba(246, 199, 91, .16) !important;
    animation: enterHallRuneBlink 1.2s ease-in-out infinite !important;
  }

  body.home-overhaul .home-scroll-cue i::before {
    content: "ᚱ" !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #f7df96 !important;
    font-family: var(--font-display) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-shadow: 0 0 12px rgba(246, 199, 91, .48) !important;
  }
}

@keyframes enterHallRuneBlink {
  0%, 100% { opacity: .46; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes enterHallRunePulse {
  0%, 100% { opacity: .28; transform: scaleX(.72); }
  50% { opacity: .92; transform: scaleX(1); }
}
