/* YEOMANAUGHT / L003 — fixed visitor map and observation-vessel entry. */
.yeomanaught-entry {
  padding: clamp(72px, 7vw, 108px) 0;
  background:
    radial-gradient(circle at 18% 36%, rgba(69, 181, 193, .10), transparent 34rem),
    radial-gradient(circle at 91% 12%, rgba(181, 102, 203, .10), transparent 27rem),
    #070a0e;
}

.yeomanaught-entry::after { background: #84d9df; }

.observatory-anchor-alias { position: absolute; top: 0; }

.yn-observatory {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(320px, 1fr);
  min-height: clamp(660px, 52vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(132, 217, 223, .30);
  background: #090d12;
  color: #e9f4f1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.yn-observatory::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 65%;
  height: 2px;
  background: linear-gradient(90deg, #84d9df, rgba(132, 217, 223, 0));
}

.yn-observation-field {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 36px);
  border-right: 1px solid rgba(132, 217, 223, .20);
  background:
    linear-gradient(rgba(132, 217, 223, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 217, 223, .025) 1px, transparent 1px),
    radial-gradient(circle at 38% 48%, rgba(58, 137, 151, .13), transparent 43%),
    #080d12;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.yn-field-head,
.yn-field-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yn-field-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(132, 217, 223, .16);
}

.yn-field-head .eyebrow,
.yn-entry .eyebrow {
  margin: 0;
  color: rgba(132, 217, 223, .82);
  font-size: .59rem;
  letter-spacing: .18em;
}

.yn-registry-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(221, 240, 239, .58);
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.yn-registry-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bf9857;
  box-shadow: 0 0 9px rgba(191, 152, 87, .55);
}

.yn-registry-status.is-live::before {
  background: #6ff6ff;
  box-shadow: 0 0 10px rgba(111, 246, 255, .70);
}

.yn-registry-status.is-unavailable::before { background: #b56b78; box-shadow: none; }

.yn-field-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(175px, .36fr);
  align-items: stretch;
  gap: clamp(18px, 2vw, 30px);
  min-height: 0;
  padding: 22px 0;
}

.yn-map-column {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  min-width: 0;
}

.yn-map-shell {
  position: relative;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(132, 217, 223, .12);
  background: rgba(3, 8, 13, .58);
}

#yn-observatory-map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.yn-satellite-sweep {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .58;
}

.yn-satellite-route {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.yn-satellite-route path {
  fill: none;
  stroke: rgba(132, 217, 223, .38);
  stroke-width: .7;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}

.yn-satellite-glyph {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 21px;
  height: 11px;
  color: #9ce8e9;
  filter: drop-shadow(0 0 3px rgba(111, 246, 255, .46));
  transform-origin: center;
  will-change: transform;
}

.yn-satellite-glyph::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 246, 255, .17), transparent 68%);
  transform: translate(-50%, -50%);
}

.yn-satellite-glyph i {
  position: absolute;
  z-index: 1;
  display: block;
  box-sizing: border-box;
}

.yn-satellite-panel {
  top: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(156, 232, 233, .72);
  background: rgba(46, 120, 132, .22);
  box-shadow: inset 0 0 0 1px rgba(156, 232, 233, .10);
}

.yn-satellite-panel--port { left: 0; }
.yn-satellite-panel--starboard { right: 0; }

.yn-satellite-core {
  top: 3px;
  left: 8px;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(233, 244, 241, .85);
  background: rgba(132, 217, 223, .38);
}

.yn-satellite-mast {
  top: 0;
  left: 10px;
  width: 1px;
  height: 3px;
  background: rgba(233, 244, 241, .74);
}

.yn-map-label {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 8px;
  margin: 0;
  color: rgba(186, 213, 215, .42);
  font-size: .47rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.yn-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: rgba(205, 225, 225, .61);
  font-size: .46rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.yn-map-legend span { display: inline-flex; align-items: center; gap: 7px; }

.yn-legend-mark {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.yn-legend-mark--active { background: #6ff6ff; box-shadow: 0 0 7px rgba(111, 246, 255, .82); }
.yn-legend-mark--recent { background: #e591d9; box-shadow: 0 0 6px rgba(229, 145, 217, .55); }
.yn-legend-mark--historical { background: #8ea9b8; opacity: .70; }

.yn-activity-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.yn-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.yn-metric {
  min-width: 0;
  padding: 12px 10px 11px;
  border: 1px solid rgba(132, 217, 223, .14);
  background: rgba(5, 11, 16, .55);
}

.yn-metric dt {
  min-height: 2.7em;
  color: rgba(185, 211, 213, .52);
  font-size: .44rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.yn-metric dd {
  margin: 7px 0 0;
  color: #eef8f6;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.7vw, 1.85rem);
  font-weight: 600;
  line-height: 1;
}

.yn-latest {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 217, 223, .16);
}

.yn-latest h3 {
  margin: 0 0 7px;
  color: rgba(185, 211, 213, .50);
  font-size: .47rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.yn-latest ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: yn-location;
}

.yn-latest li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 5px;
  padding: 6px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(132, 217, 223, .08);
  color: rgba(232, 244, 242, .76);
  font-size: .49rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .045em;
  text-transform: uppercase;
  counter-increment: yn-location;
}

.yn-latest li::before {
  content: counter(yn-location, decimal-leading-zero);
  color: rgba(132, 217, 223, .37);
}

.yn-latest li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.yn-field-foot {
  padding-top: 17px;
  border-top: 1px solid rgba(132, 217, 223, .16);
}

.yn-readout { min-width: 0; }

.yn-readout span {
  display: block;
  margin-bottom: 5px;
  color: rgba(185, 211, 213, .45);
  font-size: .47rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.yn-readout strong {
  display: block;
  overflow: hidden;
  color: rgba(233, 244, 241, .88);
  font-size: .58rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yn-readout:last-child { text-align: right; }

.yn-provenance {
  margin: 15px 0 0;
  color: rgba(185, 211, 213, .40);
  font-size: .47rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.yn-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 3.4vw, 50px);
  background:
    radial-gradient(circle at 82% 21%, rgba(181, 102, 203, .14), transparent 19rem),
    linear-gradient(145deg, rgba(132, 217, 223, .055), transparent 48%);
}

.yn-entry::after {
  content: "L003";
  position: absolute;
  z-index: 0;
  right: clamp(18px, 2.2vw, 32px);
  bottom: clamp(16px, 2vw, 28px);
  color: rgba(132, 217, 223, .09);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 600;
  line-height: .7;
}

.yeomanaught-entry .yn-entry h2 {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: #f2f8f6;
  font-size: clamp(2rem, 3vw, 3.45rem);
  line-height: .86;
  overflow-wrap: normal;
}

.yn-entry-title-deck {
  display: block;
  margin-top: 14px;
  color: rgba(233, 244, 241, .88);
  font-family: var(--serif);
  font-size: .44em;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.1;
}

.yn-construction {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin: 17px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(132, 217, 223, .28);
  color: #bce9e9;
  background: rgba(132, 217, 223, .055);
  font-size: .51rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.yn-construction::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b566cb;
  box-shadow: 0 0 10px rgba(181, 102, 203, .65);
}

.yn-entry-note {
  position: relative;
  z-index: 1;
  max-width: 31ch;
  margin: 15px 0 0;
  color: rgba(221, 238, 236, .68);
  font-family: var(--serif);
  font-size: clamp(.82rem, .9vw, .98rem);
  font-weight: 400;
  line-height: 1.4;
}

.yn-engineering-plate {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
}

.yn-vessel-stage {
  position: relative;
  padding-top: 24px;
}

.yn-vessel-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.yn-vessel-label {
  position: absolute;
  z-index: 1;
  color: #6ff6ff;
  font-size: .43rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.yn-vessel-label--flight-deck {
  top: 6px;
  left: 9.5%;
}

.yn-vessel-label--flight-deck::after {
  content: "";
  position: absolute;
  top: calc(100% + 5px);
  left: 1px;
  width: 1px;
  height: 22px;
  background: linear-gradient(#6ff6ff, rgba(111, 246, 255, .18));
}

.yn-vessel-key {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1fr;
  gap: 8px;
  margin-top: 5px;
  color: rgba(132, 217, 223, .48);
  font-size: .41rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.yn-vessel-key span:nth-child(2) { text-align: center; }
.yn-vessel-key span:last-child { text-align: right; }

.yn-entry-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-top: 22px;
  padding: 16px 0 12px;
  border-top: 1px solid rgba(132, 217, 223, .30);
  border-bottom: 1px solid rgba(132, 217, 223, .30);
  color: #edf8f5;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}

.yn-entry-action span:last-child { color: #84d9df; font-size: 1rem; }
.yn-entry-action:hover { border-color: rgba(132, 217, 223, .68); color: #84d9df; }

@media (prefers-reduced-motion: reduce) {
  .yn-satellite-sweep { opacity: .44; }
  .yn-satellite-glyph { will-change: auto; }
}

@media (max-width: 1100px) {
  .yn-observatory { grid-template-columns: minmax(0, 1.82fr) minmax(300px, 1fr); }
  .yn-observation-field { padding: 24px; }
  .yn-field-body { grid-template-columns: minmax(0, 1fr) minmax(165px, .4fr); gap: 17px; }
  .yn-map-shell { min-height: 350px; }
  .yn-entry { padding: 30px; }
}

@media (max-width: 820px) {
  .yn-observatory { grid-template-columns: 1fr; min-height: 0; }
  .yn-observatory::before { width: 100%; }
  .yn-observation-field { border-right: 0; border-bottom: 1px solid rgba(132, 217, 223, .20); }
  .yn-entry { min-height: 520px; }
  .yeomanaught-entry .yn-entry h2 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .yn-engineering-plate { max-width: 620px; }
}

@media (max-width: 560px) {
  .yeomanaught-entry { padding: 58px 0; }
  .yn-observation-field { padding: 20px 18px; }
  .yn-field-head { align-items: flex-start; gap: 12px; padding-bottom: 16px; }
  .yn-field-head .eyebrow { max-width: 20ch; line-height: 1.5; }
  .yn-registry-status { margin-top: 2px; font-size: .48rem; }
  .yn-field-body { grid-template-columns: 1fr; padding: 18px 0; }
  .yn-map-shell { min-height: 0; aspect-ratio: 1.55; }
  .yn-map-legend { gap: 7px 13px; font-size: .43rem; }
  .yn-activity-column { gap: 18px; }
  .yn-metric dt { min-height: 0; }
  .yn-latest li { padding: 7px 0; font-size: .51rem; }
  .yn-field-foot { align-items: flex-start; gap: 16px; }
  .yn-readout { width: 55%; }
  .yn-readout:last-child { width: 45%; text-align: right; }
  .yn-readout strong { font-size: .50rem; line-height: 1.45; white-space: normal; }
  .yn-provenance { font-size: .44rem; }
  .yn-entry { min-height: 480px; padding: 30px 24px; }
  .yeomanaught-entry .yn-entry h2 { font-size: clamp(2.15rem, 10.4vw, 2.65rem); }
  .yn-vessel-key { font-size: .39rem; letter-spacing: .08em; }
  .yn-entry-action { margin-top: 22px; }
}

@media (max-width: 360px) {
  .yn-field-head { flex-direction: column; }
  .yn-registry-status { align-self: flex-start; }
  .yn-map-label { right: 7px; bottom: 6px; font-size: .40rem; }
  .yn-map-legend { display: grid; grid-template-columns: 1fr; }
  .yn-map-legend span { min-width: 0; }
}
