.story-preview-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff9eb;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.story-preview-note span {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  color: #173f35;
  background: #f0ce87;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.story-preview-note p { margin: 0; font-size: 13px; opacity: .84; }

.living-stories {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  padding: 84px 0 92px;
  color: #f9f5e9;
  background:
    radial-gradient(circle at 90% 4%, rgba(209, 161, 76, .25), transparent 27%),
    radial-gradient(circle at 5% 92%, rgba(86, 142, 114, .30), transparent 31%),
    linear-gradient(138deg, #0b2b25 0%, #123c32 55%, #08231f 100%);
}

.living-stories::before {
  content: "“";
  position: absolute;
  top: -126px;
  right: 5%;
  color: rgba(240, 206, 135, .08);
  font: 700 460px/1 Georgia, serif;
  pointer-events: none;
}

.story-wall-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .7fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 46px;
}

.story-wall-heading h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .94;
  letter-spacing: -.045em;
}

.story-wall-heading h2 span { color: #f0ce87; }
.story-wall-heading .eyebrow { color: #d7b36c; }
.story-wall-intro { padding-bottom: 6px; border-left: 1px solid rgba(240, 206, 135, .45); padding-left: 28px; }
.story-wall-intro p { margin: 0 0 12px; font-size: clamp(18px, 2vw, 25px); line-height: 1.55; }
.story-wall-intro small { display: block; color: rgba(255, 250, 240, .64); font-size: 13px; line-height: 1.65; }

.story-wall-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 24px;
}

.story-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  color: #17372f;
  background: #f8f4e9;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .22);
}

.story-card-featured {
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(360px, 1.08fr) auto;
}

.story-photo { position: relative; min-height: 255px; overflow: hidden; background: #d9d3c4; }
.story-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(5, 28, 23, .55)); pointer-events: none; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.story-card:hover .story-photo img { transform: scale(1.025); }
.story-card-featured .story-photo img { object-position: 64% 40%; }
.story-card:not(.story-card-featured) .story-photo img { object-position: 50% 36%; }
.story-card-warm .story-photo img { object-position: 50% 48%; }

.story-kind {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  color: white;
  background: rgba(9, 43, 36, .62);
  backdrop-filter: blur(9px);
  font-size: 12px;
  font-weight: 700;
}

.story-copy { padding: 25px 26px 23px; }
.story-card-featured .story-copy { padding: 34px 36px 30px; }
.story-index { color: #99702e; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.story-copy blockquote { margin: 13px 0 12px; color: #14372f; font: 600 clamp(20px, 2.15vw, 31px)/1.43 Georgia, "Noto Serif Thai", serif; }
.story-card:not(.story-card-featured) .story-copy blockquote { font-size: clamp(18px, 1.55vw, 23px); }
.story-copy > p { margin: 0; color: #5e6f68; font-size: 14px; line-height: 1.75; }
.story-copy footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #ded8ca; }
.story-person { display: flex; align-items: center; gap: 11px; }
.story-person > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #f6e5b8; background: #19483c; font-size: 11px; font-weight: 800; }
.story-person strong, .story-person small { display: block; }
.story-person strong { color: #14372f; font-size: 14px; }
.story-person small { margin-top: 2px; color: #8a948e; font-size: 11px; letter-spacing: .08em; }
.story-source { color: #8c6426; font-size: 12px; font-weight: 800; white-space: nowrap; }

.story-wall-ending {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
  text-align: left;
  color: rgba(255, 250, 240, .72);
}
.story-wall-ending > span { color: #f0ce87; font-size: 36px; }
.story-wall-ending p { margin: 0; line-height: 1.55; }
.story-wall-ending strong { color: #fffaf0; font-weight: 700; }

@media (max-width: 840px) {
  .living-stories { margin-top: 48px; padding: 58px 0 70px; }
  .story-preview-note { align-items: flex-start; border-radius: 18px; margin-bottom: 32px; }
  .story-wall-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .story-wall-intro { padding-left: 20px; }
  .story-wall-grid { grid-template-columns: 1fr; }
  .story-card-featured { grid-row: auto; grid-template-rows: minmax(310px, 52vw) auto; }
  .story-photo { min-height: min(72vw, 390px); }
  .story-card-featured .story-copy, .story-copy { padding: 25px 22px 22px; }
}

@media (max-width: 520px) {
  .living-stories { padding: 48px 0 62px; }
  .story-preview-note { display: block; padding: 14px; }
  .story-preview-note span { display: inline-block; margin-bottom: 8px; }
  .story-wall-heading h2 { font-size: 51px; }
  .story-wall-intro p { font-size: 17px; }
  .story-card { border-radius: 21px; }
  .story-card-featured { display: block; }
  .story-card-featured .story-photo, .story-photo { min-height: 76vw; max-height: 410px; }
  .story-copy blockquote, .story-card:not(.story-card-featured) .story-copy blockquote { font-size: 20px; }
  .story-copy footer { align-items: flex-end; }
  .story-source { max-width: 95px; text-align: right; white-space: normal; line-height: 1.35; }
  .story-wall-ending { align-items: flex-start; justify-content: flex-start; }
}
