.dispatch {
  --focus: #233a54;
  --insert-offset: 10%;
  --insert-angle: -7deg;
  color: #241e22;
  background: #f6c04c;
  overflow: clip;
}

.dispatch-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(28px, 5.2vw, 100px);
  padding-block: clamp(76px, 8.3vw, 145px);
}

.dispatch .eyebrow { color: #403119; }
.dispatch .short-line { background: #8a441b; }
.dispatch h2, .format h2 {
  font-size: clamp(72px, 7.9vw, 143px);
  margin: 24px 0 22px;
}
.dispatch h2 em { color: #77351d; }
.dispatch-lead { max-width: 39ch; font-size: clamp(16px, 1.25vw, 20px); }
.envelope-note {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.8vw, 29px);
  border-top: 1px solid #7a58187a;
  padding-top: 22px;
  margin-top: clamp(34px, 4vw, 68px);
  max-width: 520px;
}
.envelope-note img { width: clamp(78px, 8vw, 124px); aspect-ratio: 1; object-fit: cover; }
.envelope-note h3 { margin-bottom: 6px; font-weight: 650; font-size: clamp(15px, 1.22vw, 20px); }
.envelope-note p { font-size: clamp(13px, 1.02vw, 16px); line-height: 1.45; max-width: 36ch; }
.dispatch-visual {
  position: relative;
  width: min(100%, 700px);
  justify-self: center;
  aspect-ratio: 1.1;
  container-type: inline-size;
}
.mail-layers { position: absolute; inset: 0; transform: rotate(-6deg); isolation: isolate; }
.mail-back, .mail-front, .mail-imprint { position: absolute; }
.mail-back {
  left: 7%;
  right: 7%;
  top: 14%;
  height: 72%;
  background: linear-gradient(162deg, #fbcb7f 4%, #d99047 55%, #ac642e 82%);
  clip-path: polygon(0 42%, 49% 0, 100% 42%, 100% 100%, 0 100%);
}
.dispatch-sheet {
  position: absolute;
  left: 22%;
  top: 8%;
  width: 54%;
  height: 65%;
  padding: 3%;
  display: flex;
  flex-direction: column;
  color: #171e34;
  background: #faf4e4;
  border: 1px solid #fffaea;
  box-shadow: 2px 5px 8px #733e2033;
  transform: translateY(var(--insert-offset)) rotate(var(--insert-angle));
  transform-origin: center 92%;
  clip-path: inset(0 0 var(--insert-mask,0%) 0);
}
.mail-proof-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(6px, 1.4cqw, 10px);
  font-weight: 650;
  letter-spacing: .12em;
  margin-bottom: 4%;
}
.mail-proof-heading b { font-size: 1.4em; letter-spacing: -.11em; }
.dispatch-sheet img { flex: 1; width: 100%; min-height: 0; object-fit: cover; }
.dispatch-sheet strong { order: -1; font: 400 clamp(30px, 8.5cqw, 64px)/.95 var(--serif); letter-spacing: -.06em; margin-bottom: 3%; }
.dispatch-sheet strong span { color: #df3077; }
.mail-front {
  left: 7%;
  right: 7%;
  top: 44.1%;
  bottom: 14%;
  filter: drop-shadow(5px 18px 10px #99541738);
}
.mail-front > div { position: absolute; inset: 0; }
.mail-fold-a { background: linear-gradient(135deg, #ffe1a1, #edb261); clip-path: polygon(0 0, 60% 86%, 0 100%); }
.mail-fold-b { background: linear-gradient(282deg, #fce1a0, #df9850); clip-path: polygon(100% 0, 100% 100%, 34% 85%); }
.mail-fold-c { background: linear-gradient(140deg, #ffe9aa, #efb967 83%); clip-path: polygon(0 100%, 47% 33%, 52% 33%, 100% 100%); }
.mail-imprint {
  right: 15%;
  bottom: 19%;
  color: #6c4529;
  letter-spacing: -.045em;
  font-size: clamp(10px, 2.5cqw, 19px);
  line-height: 1;
}
.mail-imprint span { font-weight: 750; }
.mail-imprint small { display: block; font-size: .42em; letter-spacing: .18em; text-align: right; margin-top: .45em; }

.format { background: #0d3940; color: #fbf2dc; padding-block: clamp(70px, 7.5vw, 133px); }
.format .eyebrow { color: #c0e1d9; }
.format .short-line { background: #94e2d7; }
.format-opener {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid #80b8b17a;
  margin-bottom: clamp(28px, 3.1vw, 55px);
  padding-bottom: clamp(24px, 3.2vw, 58px);
}
.format-opener h2 { margin-bottom: 0; }
.format-opener h2 br { display: none; }
.format h2 em { color: #96e4d6; }
.format-opener p { max-width: 29ch; color: #d0e2de; font-size: clamp(15px, 1.16vw, 18px); }
.format-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 8vw, 130px); align-items: center; }
.format-photo {
  background: #aab2d1;
  overflow: hidden;
  aspect-ratio: 1;
  width: min(100%, 585px);
}
.format-photo img { width: 100%; height: 100%; object-fit: cover; }
.format-list { min-width: 0; }
.format-list details { padding-block: 4px; border-top: 1px solid #86c3b959; }
.format-list details:last-of-type { border-bottom: 1px solid #86c3b959; }
.format-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-block: 9px;
  cursor: pointer;
  list-style: none;
  font: 400 clamp(26px, 2.7vw, 48px)/1.08 var(--serif);
  letter-spacing: -.02em;
}
.format-list summary::-webkit-details-marker { display: none; }
.format-list summary::after { content: '+'; font: 300 22px/1 var(--sans); color: #9fe3d7; padding-inline: 5px; }
.format-list details[open] summary::after { content: '−'; }
.format-list summary:hover { color: #a4f1e4; }
.format-list details p { max-width: 40ch; font-size: 15px; color: #d4e6e0; margin-bottom: 18px; }
.format-list .text-link { margin-top: 25px; }
.format-list .text-link:hover { color: #a4f1e4; }

@media (min-width: 1600px) {
  .format-photo { max-width: 760px; }
}
@media (max-width: 900px) {
  .dispatch-inner { gap: 24px; }
  .format-opener { align-items: start; flex-direction: column; }
  .format-opener p { max-width: 48ch; }
  .format-detail { gap: 38px; grid-template-columns: 1fr 1fr; }
  .format-photo { aspect-ratio: 1; }
}
@media (max-width: 650px) {
  .dispatch-inner { grid-template-columns: 1fr; gap: 20px; padding-block: 64px 42px; }
  .dispatch h2, .format h2 { margin: 15px 0 19px; font-size: clamp(63px, 14vw, 85px); }
  .dispatch-lead, .format-opener p { font-size: 16px; }
  .envelope-note { max-width: none; margin-top: 22px; padding-top: 17px; }
  .envelope-note img { width: 77px; }
  .dispatch-visual { width: min(100%, 400px); aspect-ratio: 1.16; }
  .format { padding-block: 62px; }
  .format-opener { gap: 0; }
  .format-opener h2 br { display: inline; }
  .format-detail { grid-template-columns: 1fr; gap: 23px; }
  .format-photo { max-width: 450px; width: 100%; aspect-ratio: 1; }
  .format-list summary { font-size: 30px; }
}
