.ls-page { background: var(--paper); color: var(--ink); }
.ls-hero { padding: 76px 0 44px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.ls-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: end; }
.ls-hero h1 { font-family: var(--serif); font-size: clamp(42px, 7vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.025em; margin: 12px 0 0; }
.ls-hero p { max-width: 68ch; color: var(--ink-70); font-family: var(--serif); font-size: 21px; line-height: 1.55; margin: 20px 0 0; }
.ls-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ls-chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; background: var(--paper); color: var(--ink-50); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ls-cover { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.ls-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; }
.ls-cover video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ls-cover__body { padding: 16px; }
.ls-cover__title { font-family: var(--serif); font-size: 20px; line-height: 1.15; }
.ls-cover__sub { color: var(--ink-50); font-family: var(--mono); font-size: 11px; line-height: 1.45; margin-top: 6px; }
.ls-lens { position: sticky; top: 0; z-index: 30; background: rgba(244,238,226,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.ls-lens .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; }
.ls-lens a { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; background: var(--paper); color: var(--ink-70); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ls-lens a[href="#edit"], .ls-lens a.ls-lens__edit { border-color: rgba(60,90,71,.36); color: var(--green); }
.ls-section { padding: 58px 0; border-bottom: 1px solid var(--line); }
.ls-section--alt { background: var(--paper-2); }
.ls-section h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 46px); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; }
.ls-two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.ls-lead { font-family: var(--serif); font-size: 24px; line-height: 1.45; color: var(--ink); margin: 0 0 22px; }
.ls-prose p { color: var(--ink-70); font-family: var(--serif); font-size: 19px; line-height: 1.68; margin: 0 0 20px; max-width: 72ch; }
.ls-prose ul { color: var(--ink-70); font-size: 16px; line-height: 1.55; padding-left: 20px; }
.ls-prose li + li { margin-top: 8px; }
.ls-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.ls-panel + .ls-panel { margin-top: 14px; }
.ls-panel__label { color: var(--brass-2); font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ls-panel__title { font-family: var(--serif); font-size: 21px; line-height: 1.18; margin-top: 6px; }
.ls-panel__body { color: var(--ink-70); font-size: 15px; line-height: 1.52; margin-top: 8px; }
.ls-panel a { color: var(--green); font-family: var(--sans); font-size: 12px; font-weight: 700; }
.ls-timeline { display: grid; gap: 0; }
.ls-time { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.ls-time:last-child { border-bottom: none; }
.ls-time__date { color: var(--brass-2); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-align: right; padding-top: 3px; }
.ls-time__title { font-family: var(--serif); font-size: 22px; line-height: 1.18; }
.ls-time__body { color: var(--ink-70); font-size: 16px; line-height: 1.52; margin-top: 6px; }
.ls-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ls-media-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; color: inherit; display: flex; flex-direction: column; cursor: pointer; }
.ls-media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; }
.ls-media-card video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-3); display: block; }
.ls-media-card__body { padding: 15px; }
.ls-media-card__type { color: var(--ink-50); font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.ls-media-card__title { font-family: var(--serif); font-size: 20px; line-height: 1.15; margin-top: 6px; }
.ls-media-card__note { color: var(--ink-70); font-size: 14px; line-height: 1.45; margin-top: 8px; }
.ls-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ls-source { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 4px; padding: 18px; }
.ls-source__claim { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.ls-source__meta { color: var(--ink-50); font-family: var(--mono); font-size: 11px; line-height: 1.45; margin-top: 8px; }
.ls-related { display: flex; flex-wrap: wrap; gap: 12px; }
.ls-related a { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 700; }
.ls-update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ls-update-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 17px; }
.ls-update-card__meta { color: var(--brass-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ls-update-card__title { font-family: var(--serif); font-size: 21px; line-height: 1.16; margin-top: 7px; }
.ls-update-card__body { color: var(--ink-70); font-size: 14px; line-height: 1.48; margin-top: 8px; }
.ls-edit-box { background: var(--ink); color: var(--paper); border-radius: 4px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.ls-edit-box h2 { color: var(--paper); margin: 0 0 8px; }
.ls-edit-box p { color: rgba(244,238,226,.74); font-size: 15px; line-height: 1.5; margin: 0; max-width: 72ch; }
.ls-edit-box__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ls-edit-box__actions a { border: 1px solid rgba(244,238,226,.24); border-radius: 999px; color: var(--paper); padding: 10px 14px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ls-edit-box__actions a:first-child { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.ls-review-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ls-review-status span { border: 1px solid rgba(244,238,226,.22); border-radius: 999px; color: rgba(244,238,226,.76); font-family: var(--mono); font-size: 11px; padding: 6px 9px; }
.ls-family-form { display: grid; gap: 16px; }
.ls-family-form label { display: grid; gap: 6px; color: var(--ink-70); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ls-family-form input, .ls-family-form select, .ls-family-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; font-family: var(--serif); font-size: 18px; padding: 11px 12px; }
.ls-family-form textarea { min-height: 150px; line-height: 1.55; resize: vertical; }
.ls-family-form button { justify-self: start; border: 0; border-radius: 999px; background: var(--green); color: var(--paper); padding: 12px 17px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.ls-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,19,16,.88); display: none; align-items: center; justify-content: center; padding: 24px; }
.ls-lightbox.is-open { display: flex; }
.ls-lightbox__inner { max-width: min(1100px, 96vw); max-height: 90vh; color: var(--paper); }
.ls-lightbox img, .ls-lightbox video { max-width: 100%; max-height: 78vh; display: block; border-radius: 4px; }
.ls-lightbox__caption { color: rgba(244,238,226,.75); font-family: var(--sans); font-size: 13px; line-height: 1.45; margin-top: 12px; }
.ls-lightbox__close { position: fixed; top: 16px; right: 16px; background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; width: 38px; height: 38px; font-size: 22px; cursor: pointer; }
@media (max-width: 900px) {
  .ls-hero__grid, .ls-two { grid-template-columns: 1fr; }
  .ls-card-grid, .ls-evidence, .ls-update-grid { grid-template-columns: 1fr 1fr; }
  .ls-edit-box { grid-template-columns: 1fr; }
  .ls-edit-box__actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .ls-card-grid, .ls-evidence, .ls-update-grid { grid-template-columns: 1fr; }
  .ls-time { grid-template-columns: 1fr; gap: 6px; }
  .ls-time__date { text-align: left; }
}

/* ── SoundCite Overrides ── */
.soundcite {
  display: inline !important;
  border-bottom: 2px solid var(--brass) !important;
  cursor: pointer;
  padding-bottom: 1px;
  background: linear-gradient(var(--brass-soft), var(--brass-soft)) no-repeat !important;
  background-size: 0% 100% !important;
  transition: background-size .3s var(--ease) !important;
  color: var(--brass-2) !important;
  font-family: var(--serif) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.soundcite:hover {
  background-size: 100% 100% !important;
  color: var(--ink) !important;
}
.soundcite.soundcite-loaded {
  background-color: rgba(169, 133, 78, 0.1) !important;
}
.soundcite.soundcite-playing {
  background-color: var(--brass) !important;
  color: var(--paper) !important;
}
.soundcite .sc-btn {
  display: inline-flex;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--paper);
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 4px;
  font-size: 8px;
  line-height: 1;
}

/* ── Custom Hotspot System (ThingLink Clone) ── */
.ls-hotspot-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.ls-hotspot-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.ls-hotspot {
  position: absolute;
  z-index: 10;
}
.ls-hotspot-pin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 0 0 3px rgba(60,90,71,0.22);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s cubic-bezier(0.22,0.61,0.36,1), background 0.2s;
  position: relative;
  outline: none;
}
.ls-hotspot-pin::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: ls-pulse-hotspot 2s infinite;
  opacity: 0;
  pointer-events: none;
}
@keyframes ls-pulse-hotspot {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.ls-hotspot-pin:hover, .ls-hotspot.is-active .ls-hotspot-pin {
  transform: scale(1.15);
  background: var(--brass);
  border-color: var(--paper);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25), 0 0 0 3px rgba(169,133,78,0.3);
}
.ls-hotspot-popover {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.22,0.61,0.36,1), transform 0.25s, visibility 0.25s;
  pointer-events: none;
  z-index: 20;
}
.ls-hotspot-popover--bottom {
  bottom: auto;
  top: 28px;
  transform: translateX(-50%) translateY(-8px);
}
.ls-hotspot-popover--left {
  left: auto;
  right: -10px;
  transform: translateY(8px);
}
.ls-hotspot-popover--left.ls-hotspot-popover--bottom {
  transform: translateY(-8px);
}
.ls-hotspot-popover--right {
  left: -10px;
  transform: translateY(8px);
}
.ls-hotspot-popover--right.ls-hotspot-popover--bottom {
  transform: translateY(-8px);
}

.ls-hotspot:hover .ls-hotspot-popover, .ls-hotspot.is-active .ls-hotspot-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ls-hotspot:hover .ls-hotspot-popover--left, .ls-hotspot.is-active .ls-hotspot-popover--left {
  transform: translateX(0) translateY(0);
}
.ls-hotspot:hover .ls-hotspot-popover--right, .ls-hotspot.is-active .ls-hotspot-popover--right {
  transform: translateX(0) translateY(0);
}

.ls-hotspot-popover__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.25;
}
.ls-hotspot-popover__desc {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-70);
  margin-bottom: 10px;
}
.ls-hotspot-popover__link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s;
}
.ls-hotspot-popover__link:hover {
  color: var(--brass-2);
}

/* ── TimelineJS Overrides ── */
.tl-timeline { font-family: var(--serif) !important; }
.tl-menubar { background: var(--green) !important; }
.tl-menubar-button { color: var(--paper) !important; }
.tl-timemarker.tl-timemarker-active .tl-timemarker-content-container { background: var(--green) !important; border-color: var(--green) !important; }
.tl-timemarker .tl-timemarker-content-container { border-color: var(--brass) !important; }
.tl-timeaxis-tick-text { font-family: var(--mono) !important; font-size: 10px !important; color: var(--ink-50) !important; }
.tl-slide-content-container { background: var(--paper) !important; }
.tl-headline { font-family: var(--serif) !important; color: var(--ink) !important; font-weight: 400 !important; }
.tl-text p { font-family: var(--serif) !important; color: var(--ink-70) !important; font-size: 17px !important; line-height: 1.65 !important; }
.tl-credit { font-family: var(--mono) !important; font-size: 10px !important; color: var(--ink-50) !important; }
.tl-caption { font-family: var(--mono) !important; font-size: 10px !important; }
.tl-timenav { background: var(--paper-2) !important; border-top: 1px solid var(--line) !important; }
.tl-timenav-slider { background: var(--paper-2) !important; }
.tl-timemarker-timespan { background: rgba(169,133,78,0.25) !important; }
.tl-slide-titleslide .tl-headline { font-size: clamp(32px, 5vw, 48px) !important; }
.tl-slide-titleslide .tl-text p { font-size: 20px !important; font-weight: 300 !important; }
.tl-media-image img { filter: grayscale(0.4) contrast(1.05); }

