/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 48px 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,6fr);
  gap: clamp(28px,5vw,64px);
  align-items: center;
}

.dated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  background: var(--card);
  border-radius: 999px;
  padding: 4px 12px 4px 10px;
  margin-bottom: 22px;
}

.dated i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--l3);
  display: block;
}

h1 {
  font-weight: 900;
  font-size: clamp(2.3rem,5vw,3.9rem);
  line-height: 1.06;
  letter-spacing: -.005em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.06rem,1.6vw,1.22rem);
  color: var(--ink-2);
  max-width: 44ch;
  margin-bottom: 26px;
}

.visa-line {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px dashed color-mix(in srgb,var(--ink) 45%,transparent);
  border-radius: 12px;
  max-width: 440px;
  margin-bottom: 28px;
  background: color-mix(in srgb,var(--card) 70%,transparent);
}

.visa-line b {
  font: 900 30px/1 var(--serif);
  white-space: nowrap;
}

.visa-line span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s,color .15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #4A3290;
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.atlas {
  position: relative;
  padding: 6px;
}

.rosette {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132%;
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 0;
  opacity: .42;
}

.atlas>*:not(.rosette) {
  position: relative;
  z-index: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--rule);
  background: var(--card);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  line-height: 1.2;
  transition: background .15s,border-color .15s;
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip .n {
  font-size: 13px;
  font-weight: 700;
  opacity: .62;
}

.atlas .chips {
  margin-bottom: 18px;
  justify-content: center;
}

.map {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 6px;
  max-width: 468px;
  margin-inline: auto;
}

.tile {
  --rot: 0deg;
  aspect-ratio: 1;
  border-radius: 9px;
  background: var(--lc);
  color: var(--lt);
  border: 1.5px solid color-mix(in srgb,var(--lc) 50%,var(--ink));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 0;
  transform: rotate(var(--rot));
  transition: transform .18s ease,opacity .25s ease,filter .25s ease;
  min-width: 0;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 6px;
  border: 1px solid currentColor;
  opacity: .28;
  pointer-events: none;
}

.tile.ns {
  border-style: dashed;
  border-width: 2px;
}

.tile.ne {
  border-radius: 50%;
  background-image: repeating-linear-gradient(135deg,rgba(255,255,255,.3) 0 3px,transparent 3px 8px);
}

.tile.ne::before {
  border-radius: 50%;
  border-style: dashed;
  opacity: .55;
}

.tile.ne .lv {
  right: 50%;
  transform: translateX(50%);
  top: 4px;
  font-size: 10px;
}

.tile .code {
  font: 900 clamp(15px,2.1vw,22px)/1 var(--serif);
  letter-spacing: .02em;
}

.tile .nm {
  font: 600 11px/1.1 var(--sans);
  margin-top: 3px;
  max-width: 94%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.tile .lv {
  position: absolute;
  top: 4px;
  right: 6px;
  font: 800 11px/1 var(--sans);
  opacity: .85;
}

.tile:hover,.tile:focus-visible {
  transform: rotate(0) scale(1.09);
  z-index: 3;
  box-shadow: 0 8px 18px -8px rgba(20,33,61,.5);
}

.tile.dim {
  opacity: .2;
  filter: saturate(.2);
}

.tile.dim:hover,.tile.dim:focus-visible {
  opacity: .6;
}

.map.anim .tile {
  animation: stampIn .44s cubic-bezier(.2,.8,.3,1.25) both;
  animation-delay: calc(var(--i)*26ms);
}

@keyframes stampIn {
  0% {
    opacity: 0;
    transform: rotate(var(--rot)) scale(1.7);
  }

  65% {
    opacity: 1;
    transform: rotate(var(--rot)) scale(.95);
  }

  100% {
    opacity: 1;
    transform: rotate(var(--rot)) scale(1);
  }

}

.map-status {
  text-align: center;
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 14px;
  min-height: 1.6em;
}

.layer-switch {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 14px;
  width: max-content;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}

.layer-switch button {
  border: 0;
  background: none;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  min-height: 38px;
}

.layer-switch button[aria-checked="true"] {
  background: var(--ink);
  color: var(--paper);
}

.layer-switch small {
  font-weight: 600;
  font-size: 11.5px;
  opacity: .7;
  margin-inline-start: 4px;
}

.wx-ctrl {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-bottom: 16px;
}

.wx-ctrl[hidden] {
  display: none;
}

.wx-month {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%,420px);
}

.wx-month label {
  font-weight: 700;
  white-space: nowrap;
  min-width: 92px;
}

.wx-month input {
  flex: 1;
  accent-color: var(--accent);
  min-height: 30px;
}

.tile .wv {
  display: none;
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  text-align: center;
  font: 800 11px/1 var(--sans);
  direction: ltr;
}

.map.wx .tile {
  background-color: var(--wxbg);
  color: var(--wxfg);
  border-color: color-mix(in srgb,var(--wxbg) 55%,var(--ink));
}

.map.wx .tile .lv {
  display: none;
}

.map.wx .tile .wv {
  display: block;
}

.map.wx .tile .code {
  margin-top: 8px;
}

.wx-legend {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.wx-legend[hidden] {
  display: none;
}

.wx-bar {
  position: relative;
  width: min(100%,360px);
  height: 12px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}

.wx-bar i {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 0;
  border-right: 2px dashed var(--ink);
}

.wx-ends {
  display: flex;
  justify-content: space-between;
  width: min(100%,360px);
  direction: ltr;
}

.wx-note {
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: center;
  max-width: 46ch;
  margin: 6px auto 0;
}

.clim {
  margin-top: 14px;
}

.clim h4 {
  font: 700 15px/1.3 var(--sans);
  margin-bottom: 2px;
}

.clim .keyrow {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-2);
  margin: 4px 0 2px;
  flex-wrap: wrap;
}

.clim .keyrow span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.clim .keyrow i {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2.5px solid var(--l4);
}

.clim .keyrow i.ta {
  border-top: 2px dashed var(--ink-2);
}

.clim svg {
  width: 100%;
  max-width: 470px;
  height: auto;
  display: block;
}

.clim p.small {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
  list-style: none;
  padding: 0;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend .sw {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--lc);
  border: 1.5px solid color-mix(in srgb,var(--lc) 50%,var(--ink));
}

.legend .sw.ns {
  background: transparent;
  border: 2px dashed var(--ink-2);
}

.legend .sw.ne {
  border-radius: 50%;
  background: repeating-linear-gradient(135deg,var(--l3) 0 3px,var(--card) 3px 6px);
  border: 1.5px dashed var(--ink-2);
}

.ne-dot {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 2px dashed var(--ink);
  background: repeating-linear-gradient(135deg,var(--l2) 0 3px,var(--card) 3px 7px);
}

.otbl {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
}

.otbl th,.otbl td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  text-align: start;
  font-size: 15.5px;
}

.otbl tbody th {
  font: 700 14.5px/1.4 var(--sans);
  color: var(--ink-2);
  width: 150px;
}

.otbl thead th {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
}

.out-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}

.ohead {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ohead .st {
  --sz: 40px;
}

.ohead b {
  font: 700 1.3rem/1.2 var(--serif);
  display: block;
}

.ohead button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.otbl .no {
  color: #6B2433;
}

.olv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.olv .st {
  --sz: 28px;
}

.otbl .yes2 {
  color: var(--l5);
  font-weight: 700;
}

.out-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 22px 36px;
  margin-top: 32px;
}

.out-facts div {
  border-top: 3px solid var(--ink);
  padding-top: 12px;
}

.out-facts h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.out-facts p {
  color: var(--ink-2);
  font-size: 16px;
}

.oseg {
  display: none;
  gap: 6px;
  margin-bottom: 14px;
}
