/**
 * t2126u Military Relocation — CH04 Area of Operations
 * Version: 0.1.5-ch04-labels-t1112u
 * Does not modify CH00, CH01, CH02, or CH03.
 * Type already on Military chapters: Cinzel + Inter. No new font family.
 * Map image is stable. No background-position animation, pulse, glow, or parallax.
 * Red is the mission line. Gold is orientation.
 */
#sd-mil-ch04 {
  --sd-mil-ch04-navy: #0e2438;
  --sd-mil-ch04-gold: #C4A574;
  --sd-mil-ch04-red: #B33A3A;
  --sd-mil-ch04-ivory: #f4efe6;
  --sd-mil-ch04-ink: #142033;
  --sd-mil-font-display: "Cinzel", "Times New Roman", Georgia, serif;
  --sd-mil-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: 1300vh;
  margin: 0;
  padding: 0;
  background: #0e2438;
  overflow: visible;
  isolation: isolate;
}

#sd-mil-ch04 *,
#sd-mil-ch04 *::before,
#sd-mil-ch04 *::after {
  box-sizing: border-box;
}

#sd-mil-ch04 h2,
#sd-mil-ch04 p {
  margin: 0;
  padding: 0;
}

.sd-mil-ch04__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: #0e2438;
}

.sd-mil-ch04__map {
  position: absolute;
  inset: 0;
  background-color: #0e2438;
  background-image: var(--sd-mil-ch04-map);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  opacity: var(--sd-mil-ch04-map-o, 0);
  z-index: 0;
}

.sd-mil-ch04__wash {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: min(520px, 44%);
  height: 62%;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: radial-gradient(ellipse 85% 78% at 22% 30%,
    rgba(8, 20, 36, 0.58) 0%,
    rgba(8, 20, 36, 0.32) 42%,
    rgba(8, 20, 36, 0.08) 68%,
    rgba(8, 20, 36, 0) 100%);
  opacity: var(--sd-mil-ch04-map-o, 0);
}

.sd-mil-ch04__rings {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.sd-mil-ch04__rings circle {
  fill: none;
  stroke-linecap: butt;
  vector-effect: non-scaling-stroke;
  transition: none;
  animation: none;
}

.sd-mil-ch04__rings [data-halo] {
  stroke: #06101e;
  stroke-width: 3.25px;
  stroke-opacity: 0.5;
}

.sd-mil-ch04__rings [data-ring] {
  stroke: #E4D3B0;
}

.sd-mil-ch04__rings [data-ring="1"] { stroke-width: 1.5px; stroke-opacity: 0.72; }
.sd-mil-ch04__rings [data-ring="2"] { stroke-width: 1.5px; stroke-opacity: 0.68; }
.sd-mil-ch04__rings [data-ring="3"] { stroke-width: 1.75px; stroke-opacity: 0.76; }
.sd-mil-ch04__rings [data-ring="4"] { stroke-width: 1.5px; stroke-opacity: 0.68; }
.sd-mil-ch04__rings [data-ring="5"] { stroke-width: 1.75px; stroke-opacity: 0.76; }

.sd-mil-ch04__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.sd-mil-ch04__route path {
  fill: none;
  stroke: #B33A3A;
  stroke-width: 4px;
  stroke-opacity: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  transition: none;
  animation: none;
}

.sd-mil-ch04__route [data-strand] {
  stroke: #E4D3B0;
  stroke-width: 2.25px;
  stroke-opacity: 0.82;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sd-mil-ch04__copy,
.sd-mil-ch04__mac,
.sd-mil-ch04__place,
.sd-mil-ch04__compass,
.sd-mil-ch04__topic,
.sd-mil-ch04__ring-note {
  position: absolute;
  z-index: 6;
  margin: 0;
  pointer-events: none;
}

.sd-mil-ch04__copy {
  left: 0;
  top: 0;
  width: min(460px, 36%);
  max-width: 460px;
  padding: 3.4rem 1rem 0 4.5%;
  background: none;
  border: 0;
  box-shadow: none;
}

.sd-mil-ch04__label,
.sd-mil-ch04__hl,
.sd-mil-ch04__support,
.sd-mil-ch04__place,
.sd-mil-ch04__compass,
.sd-mil-ch04__topic,
.sd-mil-ch04__marker,
.sd-mil-ch04__icon,
.sd-mil-ch04__target,
.sd-mil-ch04__mac-label,
.sd-mil-ch04__ring-note,
.sd-mil-ch04__topic-title,
.sd-mil-ch04__topic-q {
  transition: none;
  animation: none;
}

.sd-mil-ch04__label {
  margin: 0 0 0.7rem;
  font-family: var(--sd-mil-font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 1.25;
  color: var(--sd-mil-ch04-ivory);
  opacity: var(--sd-mil-ch04-o, 0);
}

.sd-mil-ch04__headline {
  margin: 0;
  font-family: var(--sd-mil-font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.sd-mil-ch04__hl {
  display: block;
  white-space: nowrap;
  opacity: var(--sd-mil-ch04-o, 0);
}

.sd-mil-ch04__hl--ivory {
  color: var(--sd-mil-ch04-ivory);
  font-weight: 500;
  font-size: 46px;
}

.sd-mil-ch04__hl--gold {
  color: #C4A574;
  font-weight: 600;
  font-size: 48px;
  margin-top: 0.14em;
}

.sd-mil-ch04__support {
  margin: 0.85rem 0 0;
  max-width: 36em;
  font-family: var(--sd-mil-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--sd-mil-ch04-ivory);
  opacity: var(--sd-mil-ch04-o, 0);
}

.sd-mil-ch04__mac {
  opacity: var(--m, 0);
}

.sd-mil-ch04__target {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #B33A3A;
}

.sd-mil-ch04__target svg,
.sd-mil-ch04__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sd-mil-ch04__target svg {
  stroke-width: 1.65;
}

.sd-mil-ch04__icon svg {
  stroke-width: 1.55;
}

.sd-mil-ch04__target svg circle {
  fill: none;
}

.sd-mil-ch04__mac-label {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sd-mil-font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1.0;
  text-transform: uppercase;
  color: #f7f3ea;
  white-space: nowrap;
  text-shadow:
    0 0 1px rgba(6, 16, 30, 1),
    0 2px 0 rgba(6, 16, 30, 0.92),
    0 -2px 0 rgba(6, 16, 30, 0.92),
    2px 0 0 rgba(6, 16, 30, 0.92),
    -2px 0 0 rgba(6, 16, 30, 0.92),
    2px 2px 0 rgba(6, 16, 30, 0.78),
    -2px 2px 0 rgba(6, 16, 30, 0.78),
    2px -2px 0 rgba(6, 16, 30, 0.78),
    -2px -2px 0 rgba(6, 16, 30, 0.78),
    1px 1px 0 rgba(6, 16, 30, 0.95),
    -1px 1px 0 rgba(6, 16, 30, 0.95),
    1px -1px 0 rgba(6, 16, 30, 0.95),
    -1px -1px 0 rgba(6, 16, 30, 0.95);
}

.sd-mil-ch04__place {
  opacity: var(--sd-mil-ch04-o, 0);
  width: 0;
  height: 0;
}

.sd-mil-ch04__dot {
  position: absolute;
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  border: 1px solid #C4A574;
  border-radius: 50%;
  background: rgba(14, 36, 56, 0.35);
}

.sd-mil-ch04__leader {
  position: absolute;
  height: 1px;
  background: #C4A574;
  transform-origin: 0 50%;
  opacity: 0.9;
}

.sd-mil-ch04__place-name {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--sd-mil-font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #f7f3ea;
  max-width: none;
  white-space: nowrap;
  text-shadow:
    0 0 1px rgba(6, 16, 30, 0.95),
    0 2px 0 rgba(6, 16, 30, 0.82),
    0 -2px 0 rgba(6, 16, 30, 0.82),
    2px 0 0 rgba(6, 16, 30, 0.82),
    -2px 0 0 rgba(6, 16, 30, 0.82),
    1px 1px 0 rgba(6, 16, 30, 0.88),
    -1px 1px 0 rgba(6, 16, 30, 0.88),
    1px -1px 0 rgba(6, 16, 30, 0.88),
    -1px -1px 0 rgba(6, 16, 30, 0.88);
}

.sd-mil-ch04__compass {
  width: max-content;
  opacity: var(--sd-mil-ch04-o, 0);
  color: #f4efe6;
  animation: none;
  transform: none;
  overflow: visible;
}

.sd-mil-ch04__rose {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto;
  overflow: visible;
  animation: none;
  transform: none;
  background: transparent;
  border: 0;
}

.sd-mil-ch04__rose-outer,
.sd-mil-ch04__rose-inner,
.sd-mil-ch04__rose-axis,
.sd-mil-ch04__rose-north,
.sd-mil-ch04__rose-hub,
.sd-mil-ch04__rose-letter {
  position: absolute;
  animation: none;
  pointer-events: none;
}

.sd-mil-ch04__rose-outer {
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  border: 1.25px solid #f4efe6;
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
}

.sd-mil-ch04__rose-inner {
  left: 20px;
  top: 20px;
  width: 64px;
  height: 64px;
  border: 1px solid #C4A574;
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
}

.sd-mil-ch04__rose-axis { background: #f4efe6; }

.sd-mil-ch04__rose-axis--v {
  left: 50%;
  top: 50%;
  width: 1px;
  height: 96px;
  transform: translate(-50%, -50%);
}

.sd-mil-ch04__rose-axis--h {
  left: 50%;
  top: 50%;
  width: 96px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.sd-mil-ch04__rose-north {
  left: calc(50% - 4px);
  top: calc(50% - 38px);
  width: 8px;
  height: 38px;
  background: #C4A574;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.sd-mil-ch04__rose-hub {
  left: calc(50% - 3px);
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4A574;
  z-index: 2;
}

.sd-mil-ch04__rose-letter {
  font-family: var(--sd-mil-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #f4efe6;
}

.sd-mil-ch04__rose-letter--n {
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  color: #C4A574;
}

.sd-mil-ch04__rose-letter--s {
  left: 50%;
  top: calc(100% + 7px);
  transform: translateX(-50%);
}

.sd-mil-ch04__rose-letter--e {
  left: calc(100% + 7px);
  top: 50%;
  transform: translateY(-50%);
}

.sd-mil-ch04__rose-letter--w {
  right: calc(100% + 7px);
  top: 50%;
  transform: translateY(-50%);
}

#sd-mil-ch04 .sd-mil-ch04__bay {
  margin: 31px 0 0;
  text-align: center;
  font-family: var(--sd-mil-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1;
  color: #C4A574;
  white-space: nowrap;
}

.sd-mil-ch04__ring-note {
  margin: 0;
  pointer-events: none;
  font-family: var(--sd-mil-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: #E4D3B0;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  opacity: var(--sd-mil-ch04-o, 0);
  text-shadow:
    0 0 1px rgba(6, 16, 30, 1),
    0 0 3px rgba(6, 16, 30, 0.88),
    0 1px 0 rgba(6, 16, 30, 0.8),
    0 -1px 0 rgba(6, 16, 30, 0.8),
    1px 0 0 rgba(6, 16, 30, 0.8),
    -1px 0 0 rgba(6, 16, 30, 0.8);
}

.sd-mil-ch04__topic {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: max-content;
  max-width: 280px;
}

.sd-mil-ch04__marker {
  position: relative;
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 0;
  border: 1.5px solid #E4D3B0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  opacity: var(--m, 0);
}

.sd-mil-ch04__mark-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E4D3B0;
  transform: translate(-50%, -50%);
}

.sd-mil-ch04__topic-copy {
  position: relative;
  opacity: 1;
  max-width: 235px;
  z-index: 0;
}

.sd-mil-ch04__topic-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -28px;
  right: -36px;
  top: -14px;
  bottom: -16px;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: radial-gradient(ellipse 78% 80% at 42% 46%,
    rgba(14, 36, 56, 0.60) 0%,
    rgba(14, 36, 56, 0.55) 38%,
    rgba(14, 36, 56, 0.18) 68%,
    rgba(14, 36, 56, 0) 100%);
  opacity: var(--cat, 0);
  pointer-events: none;
}

.sd-mil-ch04__topic-title {
  position: relative;
  font-family: var(--sd-mil-font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: #f4efe6;
  opacity: var(--cat, 0);
  text-shadow:
    0 0 1px rgba(6, 16, 30, 0.9),
    0 1px 0 rgba(6, 16, 30, 0.55);
}

.sd-mil-ch04__topic-num {
  display: inline-block;
  margin-right: 0.45em;
  color: #f4efe6;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sd-mil-ch04__topic-q {
  position: relative;
  margin-top: 0.28rem;
  font-family: var(--sd-mil-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.28;
  color: #f7f4ee;
  opacity: var(--tx, 0);
  text-shadow:
    0 0 1px rgba(6, 16, 30, 0.85),
    0 1px 0 rgba(6, 16, 30, 0.45);
}

#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__wash {
  display: none;
}

.sd-mil-ch04__phone-places {
  display: none;
  position: absolute;
  z-index: 6;
  margin: 0;
  pointer-events: none;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: flex-start;
}

.sd-mil-ch04__phone-places p {
  margin: 0;
  font-family: var(--sd-mil-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #f7f3ea;
  opacity: var(--sd-mil-ch04-o, 0);
  text-shadow:
    0 0 1px rgba(6, 16, 30, 0.95),
    0 2px 0 rgba(6, 16, 30, 0.82),
    0 -2px 0 rgba(6, 16, 30, 0.82),
    2px 0 0 rgba(6, 16, 30, 0.82),
    -2px 0 0 rgba(6, 16, 30, 0.82),
    1px 1px 0 rgba(6, 16, 30, 0.88),
    -1px 1px 0 rgba(6, 16, 30, 0.88),
    1px -1px 0 rgba(6, 16, 30, 0.88),
    -1px -1px 0 rgba(6, 16, 30, 0.88);
}

#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__phone-places {
  display: flex;
}

#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__place-name,
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__leader {
  display: none;
}

#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__hl { white-space: normal; }
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__hl--ivory { font-size: 26px; }
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__hl--gold { font-size: 28px; }
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__support { font-size: 14px; }
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__label { font-size: 11px; letter-spacing: 0.12em; }
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__topic-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__topic-q {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__mac-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.0;
}
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__place-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.05;
}
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__compass {
  transform: scale(0.7884615385);
  transform-origin: top left;
}
#sd-mil-ch04[data-layout="phone"] .sd-mil-ch04__ring-note {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.25;
  white-space: normal;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .sd-mil-ch04__hl--ivory { font-size: 30px; }
  .sd-mil-ch04__hl--gold { font-size: 32px; }
  .sd-mil-ch04__support { font-size: 14px; }
  .sd-mil-ch04__label { font-size: 11px; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  #sd-mil-ch04 {
    height: auto !important;
  }
  #sd-mil-ch04 .sd-mil-ch04__stage {
    position: relative !important;
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible !important;
  }
  #sd-mil-ch04 .sd-mil-ch04__map,
  #sd-mil-ch04 .sd-mil-ch04__wash,
  #sd-mil-ch04 .sd-mil-ch04__label,
  #sd-mil-ch04 .sd-mil-ch04__hl,
  #sd-mil-ch04 .sd-mil-ch04__support,
  #sd-mil-ch04 .sd-mil-ch04__place,
  #sd-mil-ch04 .sd-mil-ch04__compass,
  #sd-mil-ch04 .sd-mil-ch04__mac,
  #sd-mil-ch04 .sd-mil-ch04__marker,
  #sd-mil-ch04 .sd-mil-ch04__topic-copy,
  #sd-mil-ch04 .sd-mil-ch04__topic-title,
  #sd-mil-ch04 .sd-mil-ch04__topic-q,
  #sd-mil-ch04 .sd-mil-ch04__ring-note {
    opacity: 1 !important;
  }
  #sd-mil-ch04 .sd-mil-ch04__route path,
  #sd-mil-ch04 .sd-mil-ch04__rings circle {
    stroke-dashoffset: 0 !important;
  }
  #sd-mil-ch04 .sd-mil-ch04__phone-places p {
    opacity: 1 !important;
  }
}
