.moments {
  position: relative;
  padding: var(--section-space) var(--site-gutter);
  background: #290811;
  color: var(--ivory);
  scroll-margin-top: 110px;
}
.moments-heading { max-width: 920px; margin: 0 auto clamp(56px, 6vw, 88px); text-align: center; }
.moments-heading h2 { margin: 0 0 24px; font: 400 clamp(42px, 4.4vw, 64px)/1.08 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.moments-heading > [data-moments-intro] { margin: 0 auto; max-width: 650px; color: #d6c2bd; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; text-wrap: pretty; }
.moments-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.moment-card { display: flex; flex-direction: column; min-width: 0; border-radius: 8px; overflow: hidden; background: var(--ivory); color: var(--wine); }
.moment-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2vw, 28px); }
.moment-image { width: 100%; aspect-ratio: 1; overflow: hidden; background: #381420; }
.moment-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.moment-category { margin: 0 0 14px; color: #82602c; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .16em; }
.moment-card h3 { margin: 0 0 16px; font: 400 clamp(26px, 2.2vw, 32px)/1.15 var(--serif); letter-spacing: -.02em; }
.moment-description { margin: 0 0 14px; color: #574347; font-size: 15px; line-height: 1.7; text-wrap: pretty; }
.moment-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 0; padding: 10px 0; min-height: 44px; border: 0; border-bottom: 1px solid rgb(59 7 18 / 24%); background: transparent; color: var(--wine); font: 500 13px/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.moment-link svg { width: 19px; height: 19px; transition: transform .2s ease; }
.moment-link:hover { color: #8a591c; border-color: currentColor; }
.moment-link:hover svg { transform: translateX(4px); }
.moment-dialog { width: min(760px, calc(100% - 32px)); max-height: 90svh; padding: 0; border: 0; border-radius: 6px; background: var(--ivory); color: var(--wine); }
.moment-dialog::backdrop { background: rgb(15 4 8 / 75%); backdrop-filter: blur(5px); }
.moment-dialog-close { position: absolute; z-index: 1; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid rgb(59 7 18 / 15%); border-radius: 50%; background: var(--ivory); color: var(--wine); font: 300 28px/1 var(--sans); cursor: pointer; }
.moment-dialog-image { display: block; width: 100%; max-height: 38svh; object-fit: cover; }
.moment-dialog-copy { padding: clamp(24px, 4vw, 48px); }
.moment-dialog-copy .moment-category { margin-top: 0; color: #866025; }
.moment-dialog h2 { margin: 0 0 24px; font: 400 clamp(34px, 4vw, 48px)/1.1 var(--serif); }
.moment-dialog-copy div p { color: var(--body-ink); font-size: 16px; line-height: 1.8; }
body:has(.moment-dialog[open]) { overflow: hidden; }
@media (max-width: 760px) {
  .moments { padding-inline: 24px; }
  .moments-grid { grid-template-columns: 1fr; gap: 56px; }
  .moment-image { aspect-ratio: 4 / 3; }
  .moment-card h3 { font-size: 32px; min-height: 0; }
  .moment-description { max-width: 48ch; font-size: 16px; min-height: 0; }
  .moment-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .moment-link svg { transition: none; } }

.moments-label { display: inline-block; margin: 0 0 28px; padding: 8px 18px; border: 1px solid rgb(247 241 231 / 40%); border-radius: 99px; color: var(--ivory); font-size: 12px; line-height: 1.3; letter-spacing: .04em; }
@media (max-width: 760px) {
 .moments-heading h2 { font-size: clamp(38px, 8vw, 52px); }
 .moments-label { margin-bottom: 24px; }
}

/* Original brand pattern, subdued toward the reading area. */
.moments { isolation: isolate; --moments-pattern-opacity: .32; }
.moments::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('header-pattern-original.webp') left top / 680px auto repeat;
  opacity: var(--moments-pattern-opacity);
  mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / 35%) 25%, rgb(0 0 0 / 12%) 50%, rgb(0 0 0 / 35%) 75%, #000 100%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .moments { --moments-pattern-opacity: .22; }
  .moments::before { background-size: 560px auto; }
}
