:root {
  --page-bg: #fbfaf6;
  --navy: #0b1f35;
  --line: rgba(11, 31, 53, 0.13);
  --gold: #b88d3f;
  --focus: rgba(184, 141, 63, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
}

.pixel-stage {
  width: min(100vw, 1536px);
  aspect-ratio: 1536 / 1024;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--page-bg);
  contain: layout paint;
}

.shared-topbar {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto 0;
  height: 7.8125%;
  border-bottom: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 29.6% 36.8% 1fr;
  align-items: center;
  padding: 0 1.35%;
}

.shared-topbar > * {
  opacity: 0;
}

.shared-brand {
  display: inline-flex;
  align-items: center;
  gap: 1.35vw;
  width: fit-content;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: clamp(7px, 1.24vw, 19px);
  line-height: 1;
  text-decoration: none;
}

.brand-k {
  width: clamp(18px, 3.19vw, 49px);
  height: clamp(18px, 3.19vw, 49px);
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #d4b875;
  font: 700 clamp(11px, 1.82vw, 28px)/1 Georgia, serif;
  letter-spacing: -0.08em;
}

.shared-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4.35vw, 67px);
  height: 100%;
}

.shared-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: clamp(5px, 0.98vw, 15px);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.shared-langs {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(3, clamp(22px, 3.65vw, 56px));
  height: clamp(18px, 3.12vw, 48px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.shared-langs a {
  display: grid;
  place-items: center;
  color: var(--navy);
  text-decoration: none;
  border-right: 1px solid var(--line);
  font-size: clamp(5px, 0.85vw, 13px);
  font-weight: 500;
}

.shared-langs a.is-active {
  background: var(--navy);
  color: #fff;
}

.shared-langs a:last-child { border-right: 0; }

.artboard-window {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.pixel-artboard {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 260ms ease;
  will-change: opacity;
}

.pixel-artboard.is-visible { opacity: 1; }

.hotspot {
  position: absolute;
  z-index: 6;
  display: block;
  border: 0;
  outline: none;
  background: transparent;
  color: transparent;
  overflow: hidden;
  white-space: nowrap;
  text-indent: -9999px;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus-visible,
.shared-brand:focus-visible,
.shared-nav a:focus-visible,
.shared-langs a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus) inset;
}

.reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Coordinates remain percentages of the original 1536 x 1024 image2 artboard. */
.hs-primary { left: 5.2%; top: 39.4%; width: 14.3%; height: 4.9%; }
.hs-secondary { left: 21.4%; top: 39.4%; width: 8.7%; height: 4.9%; }
.hs-card-ma { left: 6.1%; top: 66.0%; width: 19.9%; height: 13.4%; }
.hs-card-hospitality { left: 27.7%; top: 66.0%; width: 19.9%; height: 13.4%; }
.hs-card-pmi { left: 49.3%; top: 66.0%; width: 19.9%; height: 13.4%; }
.hs-card-visa { left: 70.8%; top: 66.0%; width: 21.5%; height: 13.4%; }

@media (prefers-reduced-motion: reduce) {
  .pixel-artboard { transition: none; }
}

@media (min-width: 1537px) {
  body {
    background:
      linear-gradient(90deg, rgba(11,31,53,0.03), transparent 18%, transparent 82%, rgba(11,31,53,0.03)),
      var(--page-bg);
  }
}
