/* ==========================================================================
   Nauvoo subsite addendum — only styles unique to the Nauvoo features
   (hero silhouette, period plat map, pin highlights). Everything else
   should come from bootstrap + pages.css.
   ========================================================================== */

/* Brand palette pulled from the East Netherton color squares */
:root {
  --en-peach:        #f5e6d8;
  --en-orange:       #f89e62;
  --en-orange-dark:  #ca842f;
  --en-blue-dark:    #193258;
  --en-blue:         #5474b8;
  --en-sky:          #97c3ce;
  --en-charcoal:     #273944;
  --en-graphite:     #45454a;
  --en-stone:        #6e7a8a;
}

/* ---------- Hero ---------- */
.nv-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
  background: #1a1a1a;
}

.nv-hero__photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(25,50,88,0) 0%, rgba(25,50,88,0.15) 55%, rgba(25,50,88,0.55) 100%),
    /* Temporary sunset photo placeholder; swap for a real Mississippi sunset */
    url("https://images.unsplash.com/photo-1495616811223-4d98c6e9c869?w=2400&auto=format&fit=crop");
  background-size: cover;
  background-position: center 60%;
}

.nv-hero__silhouette {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.nv-hero__inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 0 50px;
  color: #fff;
  text-shadow: 0 1px 30px rgba(0,0,0,0.4);
}
.nv-hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 14px;
}
.nv-hero__title {
  color: #fff;
  font-weight: 300;
  margin: 0 0 12px;
}
.nv-hero__sub {
  font-size: 18px;
  font-weight: 300;
  max-width: 540px;
  opacity: 0.92;
  margin: 0;
}

/* Color-square row pulled from the brand badge */
.nv-swatch-row {
  display: flex;
  height: 6px;
  width: 100%;
}
.nv-swatch-row > span { flex: 1; }
.nv-swatch-row > .s1 { background: var(--en-peach); }
.nv-swatch-row > .s2 { background: var(--en-orange); }
.nv-swatch-row > .s3 { background: var(--en-orange-dark); }
.nv-swatch-row > .s4 { background: var(--en-blue); }
.nv-swatch-row > .s5 { background: var(--en-blue-dark); }
.nv-swatch-row > .s6 { background: var(--en-stone); }
.nv-swatch-row > .s7 { background: var(--en-charcoal); }
.nv-swatch-row > .s8 { background: var(--en-sky); }

/* ---------- People list ---------- */
.nv-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px 40px;
}
@media (max-width: 767px) {
  .nv-people { grid-template-columns: 1fr; gap: 18px; }
}
.nv-person {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nv-person__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--en-peach);
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
.nv-person__pin {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--en-orange);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  border: 2px solid #fff;
}
.nv-person__name {
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 2px;
}
.nv-person__meta {
  font-size: 12px;
  color: #8b91a0;
  letter-spacing: 0.02em;
  margin: 0;
}
.nv-person__actions {
  display: flex;
  gap: 6px;
}
.nv-person__btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #626262;
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 6px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nv-person__btn:hover {
  border-color: var(--en-orange);
  color: var(--en-orange-dark);
}
.nv-person__btn--map:hover {
  background: var(--en-orange);
  color: #fff;
}

/* ---------- Plat map ---------- */
.nv-plat-wrap {
  background: var(--en-peach);
  padding: 60px 0;
  position: relative;
}
.nv-plat-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.nv-plat-controls__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--en-charcoal);
  margin: 0;
}
.nv-plat-toggle {
  display: inline-flex;
  border: 1px solid var(--en-charcoal);
  background: transparent;
  border-radius: 2px;
  overflow: hidden;
}
.nv-plat-toggle button {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  color: var(--en-charcoal);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nv-plat-toggle button + button {
  border-left: 1px solid var(--en-charcoal);
}
.nv-plat-toggle button.is-active,
.nv-plat-toggle button:hover {
  background: var(--en-charcoal);
  color: var(--en-peach);
}

.nv-plat {
  position: relative;
  width: 100%;
  background: var(--en-peach);
  border: 1px solid rgba(39,57,68,0.2);
}
.nv-plat svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Pin styles on the plat */
.nv-plat-pin { cursor: pointer; transition: opacity 0.2s ease; }
.nv-plat-pin__inner {
  transition: transform 0.2s ease;
  transform-origin: 0 0;
}
.nv-plat-pin .nv-plat-pin__bubble {
  fill: var(--en-orange);
  stroke: #fff;
  stroke-width: 1.2;
  transition: fill 0.15s ease;
}
.nv-plat-pin .nv-plat-pin__num {
  fill: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 4px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.nv-plat-pin .nv-plat-pin__label {
  fill: var(--en-charcoal);
  font-family: 'Open Sans', sans-serif;
  font-size: 4.5px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke fill;
  stroke: var(--en-peach);
  stroke-width: 2;
  stroke-linejoin: round;
}
.nv-plat-pin:hover .nv-plat-pin__bubble,
.nv-plat-pin.is-focused .nv-plat-pin__bubble {
  fill: var(--en-blue-dark);
}
.nv-plat-pin.is-focused .nv-plat-pin__inner {
  transform: scale(1.6);
}
.nv-plat-pin.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Period plat map base layers */
.nv-plat-bg          { fill: var(--en-peach); }
.nv-plat-river       { fill: #b8d4dd; }
.nv-plat-river-line  { fill: none; stroke: var(--en-blue); stroke-width: 0.4; opacity: 0.45; }
.nv-plat-block       { fill: #efd9bf; stroke: var(--en-charcoal); stroke-width: 0.35; }
.nv-plat-block--temple { fill: var(--en-sky); stroke: var(--en-blue-dark); stroke-width: 0.6; }
.nv-plat-street      { fill: none; stroke: var(--en-charcoal); stroke-width: 0.15; opacity: 0.35; }
.nv-plat-label       {
  fill: var(--en-charcoal);
  font-family: 'Open Sans', sans-serif;
  font-size: 4.5px;
  font-style: italic;
  letter-spacing: 0.08em;
  text-anchor: middle;
}
.nv-plat-label--major {
  font-size: 6px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nv-plat-compass-ring {
  fill: var(--en-peach);
  stroke: var(--en-charcoal);
  stroke-width: 0.4;
}
.nv-plat-compass-pt {
  fill: var(--en-charcoal);
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
}

/* ---------- Modal (uses Bootstrap modal but customized header) ---------- */
.nv-bio-modal .modal-content {
  border-radius: 2px;
  border: 0;
}
.nv-bio-modal .modal-header {
  background: var(--en-charcoal);
  color: #fff;
  padding: 20px 24px;
  border-bottom: 4px solid var(--en-orange);
}
.nv-bio-modal .modal-header h3 {
  color: #fff;
  margin: 0;
  font-size: 22px;
  font-weight: 300;
}
.nv-bio-modal .modal-header .nv-bio-pin {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--en-orange);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  margin-right: 12px;
  vertical-align: 4px;
}
.nv-bio-modal .modal-header .close {
  color: #fff;
  opacity: 0.7;
  font-size: 24px;
  text-shadow: none;
}
.nv-bio-modal .modal-body { padding: 28px 24px; }
.nv-bio-modal .modal-body dt {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b91a0;
  margin-top: 12px;
}
.nv-bio-modal .modal-body dd { font-size: 15px; color: #2c2c2c; }

/* ---------- Chronology ---------- */
.nv-chrono {
  border-left: 2px solid var(--en-charcoal);
  padding-left: 30px;
  margin: 0;
}
.nv-chrono li {
  list-style: none;
  position: relative;
  padding: 0 0 28px 0;
}
.nv-chrono li::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--en-peach);
  border: 2px solid var(--en-charcoal);
}
.nv-chrono li.is-major::before {
  background: var(--en-orange);
  border-color: var(--en-orange-dark);
  width: 14px;
  height: 14px;
  left: -38px;
  top: 6px;
}
.nv-chrono__date {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--en-orange-dark);
  margin: 0 0 4px;
}
.nv-chrono__event {
  font-size: 16px;
  color: #2c2c2c;
  margin: 0 0 4px;
  font-weight: 400;
}
.nv-chrono__detail {
  font-size: 14px;
  color: #626262;
  margin: 0;
}

/* ---------- Pull-quote ---------- */
.nv-pullquote {
  border: 0;
  padding: 30px 0;
  margin: 30px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nv-pullquote::before { display: none; }
.nv-pullquote p {
  font-size: 24px !important;
  line-height: 36px !important;
  font-weight: 300;
  font-style: italic;
  color: var(--en-charcoal);
  margin: 0 0 12px;
}
.nv-pullquote footer {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b91a0;
}

/* ---------- Footnotes ---------- */
.nv-fn-ref {
  font-size: 11px;
  vertical-align: super;
  color: var(--en-orange-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 0 1px;
}
.nv-fn-ref:hover { color: var(--en-orange); }
.nv-footnotes ol {
  padding-left: 18px;
}
.nv-footnotes li {
  font-size: 13px;
  line-height: 22px;
  color: #626262;
  padding-left: 6px;
  margin-bottom: 8px;
}

/* Section heading kicker */
.nv-kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--en-orange-dark);
  margin: 0 0 8px;
}

/* Sidebar fact-box for the Beautiful City section */
.nv-factbox {
  background: #fff;
  border-top: 4px solid var(--en-orange);
  padding: 24px;
  font-size: 14px;
}
.nv-factbox h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8b91a0;
  margin: 0 0 14px;
}
.nv-factbox dl { margin: 0; }
.nv-factbox dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b91a0;
  margin-top: 10px;
}
.nv-factbox dt:first-child { margin-top: 0; }
.nv-factbox dd { font-size: 15px; color: #2c2c2c; margin: 2px 0 0; }

/* Drop cap for opening paragraph */
.nv-dropcap::first-letter {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--en-orange-dark);
}

/* Dark "City Beautiful" section overrides */
.nv-section-dark { background: #1a1a1a; color: #bdbdbd; }
.nv-section-dark h1,
.nv-section-dark h2,
.nv-section-dark h3,
.nv-section-dark h4,
.nv-section-dark h5 { color: #ffffff; }
.nv-section-dark .block-title { color: rgba(255,255,255,0.55) !important; }
.nv-section-dark p { color: #bdbdbd; }
.nv-section-dark .nv-pullquote {
  border-color: rgba(255,255,255,0.12);
}
.nv-section-dark .nv-pullquote p { color: #ffffff; }
.nv-section-dark .nv-pullquote footer { color: rgba(255,255,255,0.55); }
.nv-section-dark .nv-dropcap::first-letter { color: var(--en-orange); }
.nv-section-dark .nv-fn-ref { color: var(--en-orange); }
.nv-section-dark .nv-fn-ref:hover { color: var(--en-peach); }
.nv-section-dark .nv-factbox {
  background: #232323;
  border-top-color: var(--en-orange);
}
.nv-section-dark .nv-factbox h5 { color: rgba(255,255,255,0.55); }
.nv-section-dark .nv-factbox dt { color: rgba(255,255,255,0.5); }
.nv-section-dark .nv-factbox dd { color: #ffffff; }
.nv-section-dark figcaption { color: rgba(255,255,255,0.55) !important; }
.nv-header-kicker {
  position: absolute;
  left: 152px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.3);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .nv-header-kicker { display: none; }
}
