/* Essays index only. The collection's words, destinations, and artwork stay intact. */
.essays-page {
  --essay-paper: #faf8f3;
  --essay-ink: #211b22;
  --essay-muted: #655e68;
  --essay-rule: #ddd6de;
  --essay-accent: #714177;
  background: var(--essay-paper);
  color: var(--essay-ink);
}

.essays-page .masthead {
  min-height: 80px;
  padding-inline: max(28px, calc((100vw - 1200px) / 2));
  border-color: var(--essay-rule);
  background: rgba(250, 248, 243, .97);
}
.essays-page .wordmark {font-size: 18px; letter-spacing: -.035em;}
.essays-page .wordmark-mark {width: 24px; height: 24px;}
.essays-page .nav-link,
.essays-page .more-menu summary {font: 600 14px/1.5 var(--sans); letter-spacing: 0; text-transform: none;}
.essays-page .more-panel {border-color: var(--essay-rule); box-shadow: 0 12px 32px #24272012; background: var(--essay-paper);}
.essays-page .more-panel a {font: 500 14px/1.5 var(--sans); letter-spacing: 0; text-transform: none;}

.essays-page .page-hero {
  width: min(1120px, calc(100% - 96px));
  min-height: 0;
  margin-inline: auto;
  padding: 64px 0 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 22px 72px;
  border-color: var(--essay-rule);
  overflow: visible;
}
.essays-page .page-hero::after {display: none;}
.essays-page .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--essay-muted);
  font: 500 12px/1.5 var(--mono);
  letter-spacing: .08em;
}
.essays-page .page-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.055em;
}
.essays-page .lede {
  max-width: 45ch;
  margin: 0;
  font: 500 clamp(19px, 1.6vw, 22px)/1.45 var(--serif);
  letter-spacing: -.015em;
}

.essays-page .collection {
  width: min(1120px, calc(100% - 96px));
  margin: 0 auto;
  padding: 0 0 72px;
  background: transparent;
}
.essays-page .grid {max-width: none; display: block;}
.essays-page .item {
  min-height: 0;
  padding: 32px 0;
  display: grid;
  grid-template-columns: minmax(200px, 28%) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 52px);
  align-items: start;
  overflow: visible;
  border-radius: 0;
  border-bottom: 1px solid var(--essay-rule);
  background: transparent;
  color: var(--essay-ink);
}
.essays-page .item-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #e7e7df;
}
.essays-page .item-media img {width: 100%; height: 100%; object-fit: cover;}
.essays-page .item-media[style] {padding: 22px !important;}
.essays-page .item-media > span[style] {font-size: clamp(23px, 2.2vw, 32px) !important; line-height: 1.05 !important; letter-spacing: -.035em !important;}
.essays-page .item-copy {min-height: 0; padding: 0; display: block;}
.essays-page .item-type {
  display: block;
  margin-bottom: 11px;
  color: var(--essay-muted);
  font: 500 11px/1.6 var(--mono);
  letter-spacing: .045em;
}
.essays-page .item h2 {
  max-width: 32ch;
  margin: 0;
  font: 600 clamp(25px, 2.15vw, 30px)/1.17 var(--sans);
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.essays-page .item p {
  max-width: 65ch;
  margin: 13px 0 0;
  color: #50554b;
  font: 500 18px/1.45 var(--serif);
  letter-spacing: -.005em;
}
.essays-page .item-action {
  display: inline-block;
  margin-top: 18px;
  padding: 0 0 3px;
  border-bottom: 1px solid #aeb5a5;
  color: var(--essay-accent);
  font: 600 14px/1.45 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.essays-page .item-action::after {content: none;}
.essays-page .item:hover h2 {text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;}
.essays-page .item:hover .item-action {border-color: var(--essay-accent);}
.essays-page .item:first-child {display: block; padding: 38px 0 40px;}
.essays-page .item:first-child .item-copy {max-width: 900px;}
.essays-page .item:first-child .item-type {margin-bottom: 18px; color: var(--essay-accent);}
.essays-page .item:first-child h2 {max-width: 32ch; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.16; letter-spacing: -.04em;}
.essays-page .item:first-child p {max-width: 72ch; margin-top: 18px; font-size: 20px;}
.essays-page .item:first-child .item-action {margin-top: 22px;}

.essays-page .footer {
  min-height: 0;
  padding: 48px max(48px, calc((100vw - 1120px) / 2)) 40px;
  gap: 40px;
  border-top: 1px solid var(--essay-rule);
  background: #f0edf0;
  color: var(--essay-ink);
}
.essays-page .footer-statement {max-width: none; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; letter-spacing: -.04em;}
.essays-page .footer-small,
.essays-page .footer-links {font: 500 14px/1.7 var(--sans); letter-spacing: 0; text-transform: none;}
.essays-page .footer-small {color: var(--essay-muted);}
.essays-page .footer-small a,
.essays-page .footer-links a {text-underline-offset: 4px; text-decoration-thickness: 1px;}
.essays-page a:focus-visible,
.essays-page summary:focus-visible {outline: 2px solid var(--essay-accent); outline-offset: 5px;}

@media (max-width: 760px) {
  .essays-page .masthead {min-height: 70px; padding-inline: 24px;}
  .essays-page .wordmark {font-size: 16px;}
  .essays-page .page-hero {width: calc(100% - 48px); padding: 42px 0 36px; grid-template-columns: 1fr; gap: 20px;}
  .essays-page .page-hero h1 {font-size: 52px;}
  .essays-page .lede {max-width: 45ch; font-size: 20px;}
  .essays-page .collection {width: calc(100% - 48px); padding-bottom: 44px;}
  .essays-page .item {grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding-block: 28px;}
  .essays-page .item-media[style] {padding: 12px !important;}
  .essays-page .item-media > span[style] {font-size: 19px !important;}
  .essays-page .item h2 {font-size: 25px;}
  .essays-page .item p {font-size: 18px;}
  .essays-page .item:first-child {padding-block: 30px;}
  .essays-page .item:first-child h2 {font-size: 32px;}
  .essays-page .item:first-child p {font-size: 19px;}
  .essays-page .footer {padding: 36px 24px; gap: 28px;}
}
@media (max-width: 540px) {
  .essays-page .masthead {padding-inline: 20px;}
  .essays-page .page-hero,
  .essays-page .collection {width: calc(100% - 40px);}
  .essays-page .page-hero {padding-top: 32px; gap: 18px;}
  .essays-page .page-hero h1 {font-size: 46px;}
  .essays-page .item {grid-template-columns: 1fr; gap: 20px;}
  .essays-page .item-media {aspect-ratio: 16 / 9;}
  .essays-page .item-media[style] {padding: 24px !important;}
  .essays-page .item-media > span[style] {font-size: clamp(28px, 7vw, 36px) !important;}
  .essays-page .item h2 {font-size: 27px;}
  .essays-page .item:first-child h2 {font-size: 30px;}
  .essays-page .footer {padding-inline: 20px;}
}

/* Keep the existing navigation visible and comfortably operable at every width. */
.essays-page .masthead {flex-wrap: wrap; gap: 4px 20px; padding-block: 10px;}
.essays-page .masthead-nav {gap: 20px;}
.essays-page .nav-link, .essays-page .more-menu summary {display: inline-flex; align-items: center; min-height: 44px;}
.essays-page .footer-links a {display: inline-flex; align-items: center; min-height: 44px;}
.essays-page .more-menu summary {gap: 5px;}
@media(max-width:380px){.essays-page .masthead-nav {width:100%;justify-content:space-between;}}
