.hero-logo-link {
  display: block;
  margin-bottom: 1.25rem;
}

.hero-logo {
  height: clamp(22px, 4vw, 32px);
  width: auto;
  display: block;
}

.site-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #501e4c;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  height: 58px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(.77, 0, .18, 1);
  justify-content: center;
}

.site-bar.is-visible {
  transform: translateY(0);
}

.site-bar-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-bar-logo {
  height: clamp(24px, 6vw, 38px);
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.site-bar-link:hover .site-bar-logo {
  opacity: 0.8;
}

@media (min-width: 740px) {
  .site-bar {
    padding: 0 calc((100% - 700px) / 2);
  }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', serif;
  scrollbar-gutter: stable;
  overscroll-behavior-y: none;
  background: #fff;
  color: black;
}

#story {
  color: black;
  background: #fff;
  padding-top: 58px;
}

a {
  color: #501e4c;
}

#story a {
  color: #501e4c;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

#scrolly ::selection {
  background: #e8c5e4;
  color: #501e4c;
  text-shadow: none;
}

#scrolly {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #501e4c;
}

.step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(.77, 0, .18, 1);
  background: #501e4c;
  color: white;
}

.step.is-active { transform: translateY(0%);    z-index: 2; }
.step.is-prev   { transform: translateY(-100%); z-index: 1; }

.no-transition .step {
  transition: none;
}

.scrolly-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.75rem 1.25rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 4px;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.scrolly-btn:hover    { background: rgba(255, 255, 255, 0.4); }
.scrolly-btn:disabled { opacity: 0; pointer-events: none; }
.scrolly-btn.up       { top: 1rem; }
.scrolly-btn.down     { bottom: 1rem; }

.scrolly-live-region,
.scrolly-btn-instructions,
.ap-seek-slider {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

#story {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1.25rem;
}

@media (min-width: 740px) {
  #story {
    padding: 0;
  }
}

.hed {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.byline {
  font-size: clamp(14px, 2.5vw, 16px);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1173px) {
  .byline {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .byline-sep {
    display: none;
  }
}

.byline a {
  color: inherit;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.byline a:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.8);
}

.byline-sep { opacity: 0.4; }

.illus-credit {
  font-size: clamp(14px, 2.5vw, 16px);
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}

.illus-credit a {
  color: inherit;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.illus-credit a:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.8);
}

.hero-cw {
  font-size: clamp(15px, 3vw, 22px);
  font-style: italic;
}

.body {
  font-size: 20px;
  line-height: 1.4em;
  overflow-wrap: break-word;
  text-align: left;
}

@media (max-width: 600px) {
  .body {
    font-size: 18px;
  }
}

.header {
  font-weight: 700;
  font-size: clamp(18px, 3.5vw, 26px);
  line-height: 1.2em;
  margin: 12px 0;
  padding: 0;
}

.hero {
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  font-size: 16px;
  padding: 0;
}

.hero-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 3rem;
  text-align: left;
}

.hero-right {
  flex: 0 0 50%;
  position: relative;
  background: #3d1639;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.hero-img-a {
  animation: hero-flip 1s step-end infinite;
}

.hero-img-b {
  animation: hero-flip 1s step-end infinite reverse;
}

@keyframes hero-flip {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero .hed {
  font-size: clamp(20px, 3.5vw, 36px);
}

@media (max-width: 947px) {
  .hero { flex-direction: column; }
  .hero-left  { flex: 0 0 auto; padding: 2rem 1.5rem; }
  .hero-right { flex: 1 1 auto; min-height: 200px; }
  .hero .hed  { font-size: clamp(22px, 5vw, 32px); }
}

@media (max-width: 700px) {
  .hero-left  { padding: 1.5rem 1.25rem; }
  .hero .hed  { font-size: clamp(20px, 6vw, 28px); }
}

.slide-reports {
  background: #501e4c;
  padding: 3rem;
}

.slide-audio {
  background: #501e4c;
  padding: 2rem;
  overflow-y: auto;
}

.slide-audio > * {
  position: relative;
  z-index: 1;
}


.ap-root {
  width: min(680px, 100%);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 180px auto;
  align-self: center;
}

.ap-waveform-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ap-canvas {
  width: 100%;
  height: 80px;
  display: block;
  border-radius: 4px;
  cursor: pointer;
}

.ap-playhead {
  position: relative;
  width: 2px;
  height: 80px;
  margin-top: -80px;
  background: rgba(255,255,255,0.9);
  pointer-events: none;
  border-radius: 1px;

  transition: left 0.05s linear;
}

.ap-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.ap-controls-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.ap-play-btn:hover { background: rgba(255,255,255,0.28); }
.ap-play-btn svg   { width: 16px; height: 16px; }

.ap-time {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  font-variant-numeric: tabular-nums;
}

.ap-duration {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-variant-numeric: tabular-nums;
}

.ap-bubbles {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 7px);
  user-select: none;
}

.ap-bubble {
  width: clamp(6px, 1.5vw, 10px);
  height: clamp(6px, 1.5vw, 10px);
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ap-bubble--active {
  background: rgba(255,255,255,0.9);
  transform: scale(1.25);
}

.ap-bubble--done { background: rgba(255,255,255,0.5); }

.ap-transcript-wrapper {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  min-height: 120px;
}

.ap-transcript {
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 3vw, 19px);
  line-height: clamp(1.35, 1.2 + 0.5vw, 1.5);
}




.ap-track-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  margin: 0.1em 0;
}

.ap-track-sep::before {
  content: "...";
  letter-spacing: 0.4em;
  font-size: 14px;
  line-height: 1;
  display: block;
  padding-bottom: 0.15em;
}

.ap-attribution {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin-top: 0.75em;
  margin-bottom: 0;
}

.ap-word {
  color: rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 1px 2px;
  margin: 0 -2px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ap-word--active   { color: rgba(255,255,255,1); background: rgba(255,255,255,0.15); }
.ap-word--past     { color: rgba(255,255,255,1); }

.ap-word--special.ap-word--active { color: #F9B4F6 !important; }
.ap-word--revealed { color: #F9B4F6 !important; }

.ap-speaker {
  color: rgba(255,255,255,0.4);
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 3vw, 19px);
  transition: color 0.2s ease;
}

.ap-speaker--block {
  display: block;
  margin-top: 0.6em;
}

.ap-speaker--active { color: rgba(255,255,255,1); }
.ap-speaker--past   { color: rgba(255,255,255,1); }
.ap-speaker--future { color: rgba(255,255,255,0.22); }

.ap-transcript--revealed .ap-word           { color: rgba(255,255,255,1); transition: color 0.3s ease, background 0.3s ease; }
.ap-transcript--revealed .ap-word--revealed { color: #F9B4F6 !important; }
.ap-transcript--revealed .ap-track-sep      { color: rgba(255,255,255,0.35); transition: color 0.3s ease; }
.ap-transcript--revealed .ap-speaker        { color: rgba(255,255,255,1); transition: color 0.3s ease; }

@media (max-width: 600px) {
  .slide-audio {
    padding: 1.25rem;
  }
}



.slide-reports-p1 {
  max-width: 700px;
  text-align: center;
  line-height: 1.4;
  font-size: clamp(22px, 5vw, 36px);
}

.slide-reports-p2 {
  max-width: 700px;
  text-align: center;
  line-height: 1.4;
  font-size: clamp(22px, 5vw, 36px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (max-width: 600px) {
  .slide-reports {
    padding: 1.5rem 1.25rem;
  }
}


.slide-reports::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--reveal-image, none) center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
  pointer-events: none;
  z-index: 0;
}

.slide-reports > * {
  position: relative;
  z-index: 1;
}

.slide-reports.is-revealed::after      { opacity: 1; }
.slide-reports.is-revealed .slide-reports-p2 { opacity: 1; transform: translateY(0); }

.public-record {
  color: #501e4c;
  text-decoration: underline;
  text-decoration-color: #501e4c;
}

.slide-audio .public-record,
.slide-reports .public-record {
  color: rgba(255,255,255,0.6);
  text-decoration-color: rgba(255,255,255,0.4);
}
.contact-group,
.related-group {
  margin: 1em 0 0 0;
}

.contact-group p,
.related-group p {
  margin: 0;
  line-height: 1.6;
}

.contact-group a,
.related-group a {
  text-decoration: none;
}

.contact-group a:hover,
.related-group a:hover {
  text-decoration: underline;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.site-footer-text {
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
  font-family: 'Georgia', serif;
  font-size: 13px;
  color: rgba(0,0,0,0.45);
  text-align: center;
}

.site-footer-text a {
  color: rgba(0,0,0,0.45);
  text-decoration: none;
}

.site-footer-text a:hover {
  color: rgba(0,0,0,0.75);
  text-decoration: underline;
}

.pull-quote {
  display: inline;
  width: 62.5%;
  max-width: 62.5%;
}

.pull-quote.alignleft {
  float: left;
  margin: 0.2rem 1.5rem 0.75rem 0;
}

.pull-quote.alignright {
  float: right;
  margin: 0.2rem 0 0.75rem 1.5rem;
}

.pull-quote img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.pull-quote figcaption {
  font-size: 13px;
  color: black;
  margin-top: 0.4rem;
  font-family: 'Georgia', serif;
}

@media (max-width: 700px) {
  .pull-quote,
  .pull-quote.alignleft,
  .pull-quote.alignright {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}