.story-page {
  padding: 73px 0 112px;
  background:
    radial-gradient(circle at 8% 9%, rgba(249, 221, 194, .5), transparent 28%),
    radial-gradient(circle at 95% 53%, rgba(241, 225, 198, .44), transparent 32%),
    #fff9f1;
}

.story-intro {
  text-align: center;
  margin: 0 auto 47px;
  max-width: 760px;
}

.story-intro .eyebrow {
  margin-bottom: 17px;
}

.story-intro h1 {
  font: 600 clamp(49px, 6vw, 78px)/1.04 var(--font-heading);
  letter-spacing: -.035em;
  margin: 0;
}

.story-intro .subtitle {
  margin: 18px 0 0;
  color: #a77355;
  font: italic 500 clamp(17px, 2vw, 21px)/1.55 var(--font-body);
}

.story-intro .rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #c58d69;
  margin-top: 25px;
}

.story-intro .rule::before,
.story-intro .rule::after {
  content: '';
  width: 69px;
  height: 1px;
  background: #d9b699;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.story-letter {
  position: relative;
  background: #fffdf8;
  border: 1px solid #ebd9c6;
  border-radius: 7px 27px 8px 7px;
  box-shadow: 0 18px 45px rgba(104, 70, 51, .08);
  padding: clamp(30px, 4.4vw, 61px);
}

.story-letter::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(223, 196, 171, .54);
  border-radius: 2px 17px 2px 2px;
  pointer-events: none;
}

.letter-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
  color: #b98a6e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.letter-topline::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #e9d6c4;
}

.story-letter p {
  color: #755846;
  font-size: 15px;
  line-height: 1.89;
  margin: 0 0 22px;
}

.story-letter p strong {
  color: #684633;
  font-weight: 700;
}

.story-letter .letter-opening {
  color: #9f6548;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}

.story-letter .letter-question {
  margin-top: 34px;
  color: #9f6548;
  font-size: 17px;
}

.letter-ending {
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid #ead9c7;
}

.story-letter .letter-ending p {
  margin: 0 0 22px;
}

.letter-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
}

.letter-actions .text-link {
  color: #9e6c4f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ccaa94;
  text-underline-offset: 4px;
}

.story-photo-column {
  position: sticky;
  top: 138px;
  padding: 12px 6px 25px;
}

.story-photo {
  position: relative;
  margin: 0;
  padding: 17px 17px 20px;
  background: #fffdf7;
  border: 1px solid #ead5bc;
  box-shadow: 0 21px 43px rgba(89, 56, 39, .16);
  transform: rotate(2deg);
}

.story-photo::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -20px;
  left: 43%;
  width: 90px;
  height: 35px;
  background: rgba(235, 204, 172, .68);
  box-shadow: 0 2px 2px rgba(92, 58, 40, .06);
  transform: rotate(-8deg);
}

.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #eddfcf;
}

.story-photo figcaption {
  margin-top: 16px;
  color: #9d745d;
  font: 500 17px/1.3 var(--font-heading);
  text-align: center;
}

.story-postmark {
  display: block;
  margin: 33px auto 0;
  width: 114px;
  height: 114px;
  border: 1.5px dashed #c69c7a;
  border-radius: 50%;
  color: #aa8065;
  text-align: center;
  font: 700 10px/1.55 var(--font-body);
  letter-spacing: .13em;
  padding-top: 32px;
  transform: rotate(-11deg);
}

@media (max-width: 800px) {
  .story-grid { gap: 33px; }
  .story-page { padding-top: 58px; }
  .story-photo-column { top: 112px; }
  .story-letter { padding: 35px; }
}

@media (max-width: 680px) {
  .story-page { padding: 53px 0 78px; }
  .story-intro { margin-bottom: 45px; }
  .story-grid { display: flex; flex-direction: column; gap: 32px; }
  .story-photo-column { position: static; order: -1; width: min(100%, 445px); margin: 0 auto; padding: 0 13px 0; }
  .story-photo { transform: rotate(1.2deg); }
  .story-postmark { display: none; }
  .story-letter { width: 100%; padding: 35px 30px; }
  .story-letter p { font-size: 14px; line-height: 1.86; }
}

@media (max-width: 390px) {
  .story-letter { padding: 31px 23px; }
  .story-letter::before { inset: 9px; }
  .story-intro h1 { font-size: 47px; }
  .story-photo-column { padding: 0 8px; }
}
