
/* Base layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 40px 10vw;
  font-family: "Times New Roman", Times, serif;
  background-color: #ffffff;
  color: #111111;
  font-size: 28px;
  line-height: 0.9;
  position: relative;
}

/* Background image layer that will fade in/out */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}


.site {
  max-width: 960px;
  position: relative;
  z-index: 1;
}

.site-title {
  font-size: 5.1rem;
  font-weight: normal;
  margin: 0 0 2rem 0;
  line-height: 0.85;
}

/* All headings (About, Biographical Statement, Contact, etc.) */
h2,
h3,
h4 {
  font-weight: normal;
  font-size: 3.45rem;
  margin-top: -0.1rem;
  margin-bottom: -0.05rem;
  line-height: 0.8;
  letter-spacing: -0.5px;
}

/* Section titles */
.section-title {
  cursor: pointer;
  user-select: none;

  display: inline-block;

  display: inline-block;
}

/* Italicize open section titles and toggles */
.section-title.is-open,
.toggle-title.is-open {
  font-style: italic;
}

/* Collapsible sections */
.collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.collapsible.open {
  max-height: 6000px;
}

.section-inner {
  padding: 0.25rem 0 1.5rem 1.5rem;
}

/* Toggle headings */
.toggle-title {
  cursor: pointer;
  user-select: none;

  display: inline-block;

  display: inline-block;
}

.toggle-title::before {
  content: none;
}

/* Paragraphs */
p {
  margin-top: -0.05rem;
  margin-bottom: 0.1rem;
  line-height: 0.92;
}

/* Toggle content */
.toggle-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
  margin-left: 1.5rem;
}

.toggle-content.open {
  max-height: 5000px;
}

/* Media blocks */
.media-block {
  margin: 0.2rem 0 0.75rem 0;
}

.media-label {
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
}

.media-audio,
.media-video {
  width: 100%;
  max-width: 100%;
  display: block;
}

.pull-photo {
  max-width: 520px;
  width: 100%;
  height: auto;
  display: block;
}

.small-note {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Lists */
.entry-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem 0;
}

.entry-list li {
  margin: 0.05rem 0;
}

/* LINKS */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 700px) {
  body {
    padding: 24px 6vw;
    font-size: 20px;
    line-height: 1;
  }
  .site-title {
    font-size: 3.2rem;
  }
  h2,
  h3,
  h4 {
    font-size: 2.3rem;
    line-height: 0.9;
  }
}

/* Improved paragraph spacing for long text sections */
.long-text p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.long-text p:first-of-type {
  margin-top: 1.6rem;
}

.solo-blurb {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

.solo-audio-spacer {
  height: 3rem;
}

/* SOLO & PULL text colour only */
body.solo-mode .site,
body.solo-mode .site *,
body.pull-mode .site,
body.pull-mode .site * {
  color: #ffffff !important;
}


/* Make all text white in solo & pull modes */
body.solo-mode .site,
body.solo-mode .site *,
body.pull-mode .site,
body.pull-mode .site * {
  color: #ffffff !important;
}

/* Fullscreen background layers for SOLO / PULL crossfade */
.bg-layer {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Active background layer (fades in) */
.bg-layer.active {
  opacity: 1;
}

/* Ensure main site content stays above background */
.site {
  position: relative;
  z-index: 1;
}

.bg-layer-pull {
  background-image: url("pull-photo-website.jpg");
}

/* Text shadow removed for crisp white-on-black text */

/* Dark mode when a section is open */
body.dark-mode {
  background-color: #000000;
  color: #ffffff;
}

body.dark-mode .site,
body.dark-mode .site * {
  color: #ffffff;
}

/* Match Solo blurb spacing in PULL */
#pull > p {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}


/* Soft glow / aura overlay */

