:root {
  --paper: #fff7ea;
  --ink: #3d252b;
  --pink: #a03556;
  --plum: #57263e;
  --rose: #f5d6d4;
  --line: #e0bdb0;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans) }
a { color: inherit }
button, summary { cursor: pointer }
button { font: inherit }
[hidden] { display: none !important }
:focus-visible { outline: 3px solid #cb6e8c; outline-offset: 4px }
img { display: block; max-width: 100% }
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { font-family: var(--serif); font-weight: normal }
h1, h2 { letter-spacing: -.05em; line-height: .98 }
h2 { font-size: clamp(2.4rem, 7vw, 4.5rem) }
em { color: var(--pink) }
.mast, footer {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px max(16px, calc((100% - 1152px) / 2)); border-bottom: 1px solid var(--line);
}
.mast a:first-child { font: bold 1.2rem var(--serif); text-decoration: none }
.nav, footer a { font-size: .84rem; text-underline-offset: 4px }
.hero { display: grid; max-width: 1200px; margin-inline: auto }
.hero-art { grid-row: 1; overflow: hidden; background: #e8bda1 }
.hero-art picture { display: block }
.hero-art img { width: 100%; height: auto }
.hero-copy {
  grid-row: 2; position: relative; z-index: 1; margin: -39px 14px 0; padding: 21px 18px 28px;
  border: 1px solid var(--line); border-radius: 8px 8px 0 0;
  background: radial-gradient(ellipse at 35% 4%, #fee1da, var(--paper) 75%);
  text-align: center;
}
.label { color: #7b2b46; font: bold .68rem/1.45 var(--sans); letter-spacing: .15em; text-transform: uppercase }
h1 { font-size: clamp(3.4rem, 12.3vw, 6rem); margin: 10px 0 12px }
h1 br { display: none }
.flourish { color: var(--pink); font-size: 1rem; margin: 7px 0 }
.lead { font: 1.55rem/1.16 var(--serif); margin: 0 auto 11px; max-width: 21ch }
.hero-copy > p:last-child { font-size: .96rem; max-width: 36ch; margin-inline: auto }
.gallery { background: var(--plum); color: var(--paper); padding: 29px 0 16px; margin-top: 16px }
.section-head { max-width: 1200px; margin: 0 auto 16px; padding-inline: 18px }
.section-head h2 { margin: 6px 0 11px }
.section-head p:last-child { max-width: 53ch }
.gallery .label, .gallery h2 em { color: #ffccd6 }
.controls { display: flex; gap: 8px; margin-top: 12px }
.controls button, #close {
  border: 1px solid #b9798d; border-radius: 50%; background: #fff2e7;
  color: var(--plum); width: 44px; height: 44px; font-size: 1.3rem; line-height: 1;
}
.rail {
  max-width: 1200px; margin: auto; display: flex; align-items: flex-start; gap: 14px;
  overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  padding: 5px 18px 16px; scroll-padding-inline: 18px; scrollbar-color: #df9eae transparent;
}
.cover {
  scroll-snap-align: start; flex: 0 0 min(52vw, 220px); min-width: 0;
  padding: 0; border: 0; background: none; text-align: left; color: inherit;
}
.cover img {
  width: 100%; height: auto; object-fit: contain; border: 2px solid #f2d4ca;
  border-radius: 4px; box-shadow: 0 4px 10px #31112470;
}
.cover span { display: block; font-size: .75rem; margin-top: 8px }
.memory, .closing { text-align: center; padding: 45px 18px }
.memory h2 { margin: 10px auto 17px }
.memory > p { max-width: 570px; margin-inline: auto }
.memories { max-width: 960px; margin: 24px auto 0; display: grid; gap: 10px; text-align: left }
.memories article { padding: 16px 18px; background: #fffbf4; border: 1px solid var(--line); border-radius: 6px }
.memories h3 { font-size: 1.45rem; color: var(--pink); margin-bottom: 4px }
.memories p { font-size: .94rem }
.offer {
  width: min(100% - 32px, 970px); margin: auto; display: grid; gap: 19px;
  padding: 21px; background: var(--rose); border: 1px solid #d8a5ab; border-radius: 9px;
}
.offer h2 { margin: 8px 0 11px }
.offer ul { margin: 12px 0 0; padding-left: 18px }
.price { text-align: center; border-top: 1px solid #cd9aa4; padding-top: 15px }
.amount { font: 3.8rem/1.06 var(--serif); color: #802a48; letter-spacing: -.065em; white-space: nowrap }
.amount span { font-size: .55em }
.buy {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  border-radius: 28px; background: #82314d; color: white; text-decoration: none;
  padding: 10px 22px; margin-top: 15px; font-weight: 750;
}
.price .buy { width: 100% }
.buy:hover { background: #67213b }
.faq { width: min(100% - 36px, 670px); margin: 43px auto }
.faq h2 { margin-bottom: 16px }
.faq details { padding: 11px 0; border-bottom: 1px solid var(--line) }
.faq details p { margin-top: 8px }
.closing { background: #f6ddd8; border-top: 1px solid var(--line) }
footer { border-bottom: 0; border-top: 1px solid var(--line); font-size: .84rem }
dialog { width: fit-content; max-width: calc(100% - 24px); padding: 7px; border: 0; background: #fff2e7; border-radius: 6px }
dialog::backdrop { background: #26141ae8 }
dialog img { max-height: 82dvh; width: auto; object-fit: contain; margin: auto }
#close { position: absolute; right: 10px; top: 10px }
@media (max-width: 350px) {
  .hero-copy { margin-inline: 10px; padding-inline: 14px }
  .lead { font-size: 1.35rem }
}
@media (min-width: 700px) {
  .mast, footer { padding-block: 14px }
  .hero { grid-template-columns: .8fr 1.2fr; margin-block: 22px; padding-inline: 20px; gap: 0 }
  .hero-copy { grid-row: 1; grid-column: 1; margin: 0; padding: 30px 24px; align-content: center; border-radius: 8px 0 0 8px }
  .hero-art { grid-column: 2; border-radius: 0 8px 8px 0 }
  .hero-art picture, .hero-art img { height: 100% }
  .hero-art img { object-fit: cover; min-height: 430px }
  h1 { font-size: clamp(4rem, 7.5vw, 7.5rem) }
  h1 br { display: initial }
  .section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-inline: 23px }
  .controls { flex-shrink: 0 }
  .rail { gap: 19px; padding-inline: 23px; scroll-padding-inline: 23px }
  .cover { flex-basis: clamp(175px, 23vw, 238px) }
  .gallery { padding-block: 38px 24px }
  .memory, .closing { padding-block: 70px }
  .memories { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px }
  .offer { grid-template-columns: 1fr .7fr; align-items: center; padding: 36px }
  .price { border-top: 0; border-left: 1px solid #cd9aa4; padding: 10px 0 10px 24px }
  .faq { margin-block: 61px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
