/* Later compositions. Load after 01-foundation.css. */

/* Later compositions. Earlier declarations stay first for the contract. */

body:has(main.hero) .wordmark img {
  height: clamp(3.35rem, 9vh, 5.35rem);
  max-width: min(52vw, 22rem);
}

main.hero .card .kicker {
  padding-bottom: 0.35rem;
  border-bottom: 0;
  margin-bottom: 0.85rem;
}

.issue {
  display: flex;
  flex-direction: column;
  gap: clamp(3.25rem, 8vh, 5.75rem);
  margin-top: clamp(3rem, 8vh, 5rem);
}

.issue h2,
.issue h3,
.pieces h3,
.formats h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
}

.issue .support,
.book-read .support {
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
}

.issue-career {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem 3rem;
  align-items: start;
}

.issue-career h2 {
  max-width: 16ch;
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
}

.issue-career blockquote {
  margin: 1.1rem 0 0;
  max-width: 22ch;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.roster {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.roster li {
  margin: 0;
  padding: 0.72rem 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.016em;
}

.issue-speak,
.issue-advocacy,
.issue-voice {
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.75rem, 4vh, 2.75rem);
}

.issue-voice h2 {
  max-width: 16ch;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.05;
}

.issue-speak .issue-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
}

.formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2rem;
  margin-top: 1.85rem;
}

.formats article {
  padding: 0.9rem 0 0.2rem;
  border-top: 1px solid var(--accent);
}

.formats h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.issue-book {
  display: grid;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem 2.75rem;
  align-items: center;
  padding: clamp(1.5rem, 4vh, 2.5rem) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.jacket {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  line-height: 0;
}

.jacket img {
  display: block;
  width: auto;
  max-width: min(100%, 26rem);
  height: auto;
  max-height: min(34rem, 58vh);
}

.issue-book h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.deck {
  margin: 0.8rem 0 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

.issue-advocacy > h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
}

.issue-advocacy .themes,
.themes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.25rem;
  margin-top: 1.6rem;
}

.issue-advocacy .themes article,
main.ledger .themes section:has(h2) {
  display: block;
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid var(--accent);
  background: var(--raise);
}

.issue .themes h3,
main.ledger .themes section:has(h2) > h2 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.issue .roles {
  margin-top: 1.75rem;
}

.issue .roles h3 {
  margin-bottom: 0.35rem;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--track-kicker);
  line-height: 1.4;
  text-transform: uppercase;
}

.issue .lines li {
  font-size: 1.2rem;
}

.pieces {
  display: grid;
  margin-top: 1.15rem;
}

.pieces article {
  padding: 1.05rem 0 1.15rem;
  border-top: 1px solid var(--rule);
}

.pieces h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  line-height: 1.15;
}

.pieces h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
}

.pieces .support {
  margin-top: 0.4rem;
}

.issue-mail,
.contact-mail {
  margin: 1.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.024em;
}

.issue-mail a,
.contact-mail a {
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
}

.speaker {
  margin: 0 0 1rem;
  line-height: 0;
}

.speaker img {
  display: block;
  width: min(100%, 16.5rem);
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  object-position: center 12%;
}

.speaking .request {
  padding: 1.15rem 1.2rem 1.35rem;
  border: 1px solid var(--rule);
  background: var(--raise);
}

.request .draft {
  margin: 0;
  max-width: 28rem;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.request .draft + .draft {
  margin-top: 0.12rem;
}

.request h2 {
  margin-top: 0.95rem;
}

.talks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 2rem;
  margin-top: clamp(2rem, 5vh, 3.25rem);
}

main.sheet--stage .talks section {
  display: block;
  margin: 0;
  padding: 0.85rem 0 0.15rem;
  border-top: 1px solid var(--accent);
}

main.sheet--stage .talks h2 {
  max-width: none;
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

main.about .profile-quote {
  margin-top: 0.25rem;
  padding: 1.2rem 1.25rem 1.3rem;
  border-top: 0;
  background-color: var(--ink);
  color: var(--paper);
}

main.about .profile-quote h2 {
  margin: 0 0 0.7rem;
  max-width: none;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-family: var(--sans);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--track-kicker);
  line-height: 1.4;
  text-transform: uppercase;
}

main.about .profile-quote blockquote.support {
  margin-top: 0;
  max-width: 22ch;
  color: var(--paper);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.24;
  letter-spacing: -0.022em;
}

main.about .profile-read {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.5rem 3rem;
  margin-top: clamp(2.25rem, 6vh, 4rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
}

main.about .profile-read section {
  margin: 0;
  padding: 0;
  border-top: 0;
}

main.book .split-copy > .support {
  margin-top: 0.85rem;
  color: var(--accent);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.3;
}

main.book .book-read {
  max-width: 40rem;
  margin-top: clamp(2rem, 5vh, 3.25rem);
}

main.book .book-read .lines {
  margin-top: 1.6rem;
}

main.ledger.media section:has(h2),
main.ledger section.advocacy-lead:has(h2),
main.ledger section.advocacy-roles:has(h2),
main.ledger > section.essay:has(h2),
main.ledger .routes section:has(h2),
main.ledger .quiet section:has(h2) {
  display: block;
}

main.ledger section.advocacy-lead:has(h2) {
  max-width: 40rem;
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: 0;
}

main.ledger section.advocacy-lead:has(h2) > h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

main.ledger .advocacy-roles:has(h2) {
  margin-top: 2.25rem;
}

main.ledger > section.preface {
  max-width: 34rem;
  margin-top: 1.15rem;
  padding-top: 0;
  border-top: 0;
}

main.ledger > section.preface .support {
  color: var(--quiet);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
}

main.ledger > section.essay:has(h2) {
  max-width: 40rem;
  margin-top: 2rem;
  padding-top: 0;
  border-top: 0;
}

main.ledger > h1 + section.preface + section.essay:has(h2) {
  margin-top: 1.85rem;
}

main.ledger > section.essay:has(h2) > h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
}

.routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2.25rem;
  margin-top: 2.25rem;
}

main.ledger .routes section:has(h2) {
  margin: 0;
  padding: 0.85rem 0 0.2rem;
  border-top: 1px solid var(--rule);
}

.contact-mail {
  margin: 0 0 0.85rem;
}

.quiet {
  max-width: 36rem;
}

.quiet .display {
  max-width: 22ch;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.2;
}

main.ledger .quiet section:has(h2) {
  margin-top: 1.35rem;
  padding-top: 0;
  border-top: 0;
}

.quiet .lines li {
  font-size: 1.02rem;
  line-height: 1.45;
}

@media (max-width: 800px), (max-height: 540px) {
  main.hero .card .display {
    max-width: 28ch;
    font-size: clamp(1.08rem, 4.4vw, 1.32rem);
    line-height: 1.32;
    letter-spacing: -0.018em;
  }

  main.hero .card .kicker {
    margin-bottom: 0.6rem;
  }

  .speaking-copy .speaker {
    order: 2;
    margin: 0.85rem 0 0;
  }

  .issue-career,
  .issue-book,
  .formats,
  .talks,
  .routes,
  .themes,
  .issue-advocacy .themes,
  main.about .profile-read {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .jacket img {
    max-width: min(100%, 16rem);
    max-height: 18rem;
  }
}

@media (max-width: 800px) {
  main.sheet--stage.ledger .speaking {
    display: contents;
  }

  main.sheet--stage.ledger .talks {
    order: 3;
    margin-top: 1.5rem;
  }

  main.sheet--stage.ledger .speaking .request {
    order: 4;
    margin-top: 0;
  }
}

@media (max-width: 800px) and (min-height: 841px) {
  main.hero .wall {
    order: 1;
  }

  main.hero .card {
    order: 2;
  }

  main.hero .wall img {
    max-height: min(22rem, 46vh);
    clip-path: inset(0 8% 0 0);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 5%, #000 86%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 5%, #000 86%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 3%, #000 97%, transparent 100%);
  }
}

@media (max-width: 720px) {
  body:has(main.hero) .wordmark img {
    height: 3.05rem;
    max-width: min(72vw, 15rem);
  }
}

@media (min-width: 801px) and (max-height: 540px) {
  .speaker {
    margin-bottom: 0.35rem;
  }

  .speaker img {
    width: auto;
    max-width: 8rem;
    max-height: 6.5rem;
  }
}

@media (min-width: 801px) and (min-height: 541px) {
  main.hero .room {
    grid-template-columns: minmax(0, 0.96fr) minmax(18rem, 1.04fr);
    align-items: end;
    min-height: calc(100dvh - 16.25rem);
  }

  main.hero .wall {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: end;
  }

  main.hero .wall img {
    width: auto;
    max-width: 100%;
    max-height: min(42rem, calc(100dvh - 16.25rem));
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 5%, #000 94%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 5%, #000 94%, transparent 100%);
  }

  main.hero .card {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  main.hero .card .display {
    max-width: 24ch;
    font-size: clamp(1.28rem, 1.55vw, 1.65rem);
    line-height: 1.32;
    letter-spacing: -0.016em;
  }

  main.hero .hero-ways {
    margin-top: clamp(1rem, 2.4vh, 1.75rem);
    padding-top: 0.85rem;
    border-top: 0;
    gap: 0.35rem 2rem;
  }

  main.hero .way-name {
    font-size: clamp(1.45rem, 2vw, 1.85rem);
  }

  main.hero .way-line {
    font-size: 0.75rem;
  }

  main.about .split {
    grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
    align-items: end;
  }

  main.about .cover {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    position: relative;
    top: auto;
    max-width: none;
  }

  main.about .split-copy {
    grid-column: 2;
    grid-row: 1;
  }

  main.about .cover img {
    width: 100%;
    max-width: 100%;
    max-height: min(32rem, 68vh);
    object-fit: contain;
  }

  main.book .split {
    grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
  }

  main.book .cover {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    position: relative;
    top: auto;
    max-width: none;
  }

  main.book .split-copy {
    grid-column: 2;
    grid-row: 1;
  }

  main.book .cover img {
    width: auto;
    max-width: 100%;
    max-height: min(36rem, 68vh);
    object-fit: contain;
  }

  main.sheet--stage .speaking-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.35rem;
    align-items: end;
  }

  main.sheet--stage .speaker {
    grid-row: 1 / span 2;
    margin: 0;
  }

  main.sheet--stage .speaking-copy h1,
  main.sheet--stage .speaking-copy > .support {
    grid-column: 2;
  }
}

@media (max-width: 800px) and (min-height: 841px) {
  main.hero .wall img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(30rem, 56vh);
    object-fit: contain;
    clip-path: none;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
  }

  .jacket img {
    max-width: min(100%, 20rem);
    max-height: 22rem;
  }
}

