.ex-section {
  color: #21251c;
  background: #faf8ee;
  padding: clamp(64px, 8vw, 124px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 32px;
  font-family: "DM Sans", sans-serif;
}

.ex-section .ex-grid {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(32px, 7vw, 112px);
  max-width: 1200px;
  margin-inline: auto;
}

.ex-section #ex-title {
  max-width: 9em;
  margin: 0 0 .3em;
  font: 750 clamp(2.5rem, 4.5vw, 4.75rem)/.96 "Bricolage Grotesque", sans-serif;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.ex-intro > p {
  max-width: 37ch;
  margin: 16px 0 28px;
  font-size: 1rem;
  line-height: 1.55;
  color: #53594e;
}

.ex-section .ex-choice {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid #c7c9ba;
  text-decoration: none;
  color: inherit;
}

.ex-section .ex-choice:hover { background: #eeefde; }
.ex-section .ex-choice[aria-selected="true"] { background: #ffe595; border-color: #dbbc61; }
.ex-section .ex-choice:focus-visible, .ex-section .ex-preview:focus-visible { outline: 3px solid #334b82; outline-offset: 2px; }
.ex-choice strong { display: block; font-size: 1.12rem; line-height: 1.3; }
.ex-choice small { display: block; margin-top: 3px; font-size: .875rem; color: #515344; line-height: 1.4; }
.ex-choice .ex-arrow { font-size: 1.2rem; line-height: 1; }
.ex-choice[aria-selected="true"] .ex-arrow { transform: rotate(45deg); }
.ex-previews { min-width: 0; }

.ex-section .ex-preview {
  margin: 0;
  padding: clamp(26px, 4.7vw, 72px) clamp(14px, 3vw, 48px) clamp(18px, 2.2vw, 36px);
  background: #dae1ce;
  color: #353127;
  scroll-margin: 16px;
}

.ex-preview + .ex-preview { margin-top: 16px; }
.ex-previews .ex-preview[hidden] { display: none; }
.ex-previews [role="tabpanel"] + .ex-preview { margin-top: 0; }
#ex-cart { background: #e9decb; }
#ex-thanks { background: #dce2e7; }

.ex-letter {
  max-width: 510px;
  margin: 0 auto;
  padding: clamp(15px, 2vw, 30px);
  border: 1px solid #b9baa9;
  background: #fffaf0;
  box-shadow: 3px 4px 0 #70776022;
}

.ex-letter .ex-shop {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #c5bcab;
  font: normal clamp(1.4rem, 2.4vw, 2.2rem)/1.1 Georgia, serif;
  text-align: center;
  letter-spacing: -.055em;
}

.ex-shop i { font-size: .8em; }
.ex-letter-body {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
  background: #f1e5cd;
}

.ex-letter-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
}

.ex-letter-copy h3 {
  margin: 0;
  color: #382e24;
  font: normal clamp(1.55rem, 2.8vw, 2.75rem)/.99 Georgia, serif;
  letter-spacing: -.055em;
}

.ex-letter-copy p { color: #51493e; margin: 12px 0 0; font-size: clamp(.75rem, .87vw, .87rem); line-height: 1.45; }
.ex-letter-body img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.ex-letter-sign { padding-top: 13px; text-align: center; font: italic .83rem/1.4 Georgia, serif; }
.ex-preview figcaption { color: #45503f; margin-top: 18px; text-align: center; font-size: .81rem; }
@media (max-width: 800px) {
  .ex-section .ex-grid { grid-template-columns: 1fr; gap: 22px; max-width: 600px; }
  .ex-section #ex-title { max-width: none; }
  .ex-intro > p { max-width: 48ch; margin-bottom: 20px; }
}
@media (max-width: 420px) {
  .ex-section { padding-inline: 16px; }
  .ex-section .ex-preview { padding-inline: 12px; }
  .ex-letter { padding: 12px; }
  .ex-letter-body { grid-template-columns: 1.12fr .88fr; }
}
