.notes-opening {
  padding-block: clamp(58px, 7vw, 112px);
  background: var(--mist);
}
.notes-opening__layout,
.notes-close__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
}
.notes-opening h1 {
  font-size: clamp(64px, 7.8vw, 128px);
  text-wrap: balance;
}
.notes-opening__layout > div > p {
  max-width: 47ch;
  margin-top: clamp(22px, 2.5vw, 38px);
  font-size: clamp(18px, 1.5vw, 23px);
  color: var(--body);
}
.notes-index {
  display: block;
  padding: 0;
  color: var(--ink);
}
.notes-index h2 {
  font: 500 14px/1.4 var(--sans);
  letter-spacing: 0;
  margin-bottom: 15px;
}
.notes-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #a6bbc2;
}
.notes-index li {
  border-bottom: 1px solid #a6bbc2;
}
.notes-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 53px;
  padding-block: 9px;
  font: 400 clamp(20px, 1.65vw, 28px)/1.25 var(--serif);
  letter-spacing: -.025em;
}
.notes-index a .icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.notes-entry {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: clamp(52px, 9vw, 146px);
  scroll-margin-block-start: 24px;
  padding-block: clamp(52px, 6.1vw, 98px);
}
.notes-entry + .notes-entry {
  border-top: 1px solid var(--rule);
}
.notes-entry:focus-visible {
  outline: 2px solid var(--outline);
  outline-offset: 6px;
}
.notes-entry h2,
.notes-close h2 {
  font-size: clamp(41px, 4.4vw, 69px);
  text-wrap: balance;
}
.notes-entry header p {
  max-width: 36ch;
  margin-top: 22px;
  color: var(--blue);
  font: italic 400 clamp(21px, 1.75vw, 29px)/1.42 var(--serif);
  letter-spacing: -.018em;
}
.notes-entry__body {
  max-width: 63ch;
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.65;
  color: var(--body);
}
.notes-entry__body > p + p {
  margin-top: .85em;
}
.notes-prompt {
  margin-top: 24px;
  border-block: 1px solid var(--rule);
  color: var(--ink);
}
.notes-prompt summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding-block: 10px;
  cursor: pointer;
  list-style: none;
  font: 550 15px/1.35 var(--sans);
}
.notes-prompt summary::-webkit-details-marker { display: none; }
.notes-prompt summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.notes-prompt[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}
.notes-prompt summary:focus-visible {
  outline: 3px solid var(--outline);
  outline-offset: 2px;
}
.notes-prompt p {
  max-width: 53ch;
  padding-bottom: 17px;
}
.notes-close {
  padding-block: clamp(45px, 6vw, 88px);
  background: #e9ede8;
}
.notes-close__layout {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(52px, 9vw, 146px);
}
.notes-close__layout p {
  max-width: 47ch;
  color: var(--body);
  font-size: clamp(17px, 1.35vw, 21px);
}
.notes-close__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin-top: 13px;
}
@media (hover: hover) and (pointer: fine) {
  .notes-index a:hover,
  .notes-prompt summary:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
  }
}
@media (max-width: 760px) {
  .notes-opening__layout,
  .notes-entry,
  .notes-close__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .notes-opening { padding-block: 41px; }
  .notes-opening h1 { font-size: clamp(55px, 12vw, 82px); }
  .notes-opening__layout > div > p { margin-top: 16px; }
  .notes-index { margin-top: 6px; }
  .notes-index h2 { margin-bottom: 8px; }
  .notes-index a { min-height: 48px; }
  .notes-entry { padding-block: 45px; }
  .notes-entry header p { margin-top: 14px; }
  .notes-close__layout { gap: 18px; }
}
