/* Quiet, rounded sheets that feel like a natural extension of the studio. */
dialog {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: min(640px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  padding: 48px;
  border: 1px solid #ffffffc9;
  border-radius: 32px;
  background: #fffcf8;
  box-shadow: 0 32px 100px #23140e33, 0 4px 18px #23140e0a;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d8cfc6 transparent;
}
dialog::backdrop { background: #291e193f; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
dialog[open] { animation: sheet-arrive .38s cubic-bezier(.16,1,.3,1); }
dialog .close {
  top: 16px; right: 16px; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%; background: #eee8e1b3;
  color: #746a63; font-size: 14px;
  transition: background .2s, transform .2s;
}
dialog .close:hover { background: #e3d9cf; transform: rotate(90deg); }
dialog h2 { font-family: inherit; font-size: 40px; font-weight: 550; letter-spacing: -.045em; line-height: 1.1; margin: 14px 0 16px; }
dialog h2 em { font-style: normal; }
dialog .eyebrow { font-size: 10px; letter-spacing: .13em; color: var(--wine); padding-right: 20px; }
dialog .modal-intro { font-size: 15px; line-height: 1.65; margin-bottom: 26px; color: #7b7068; }
dialog .button { border-radius: 999px; min-height: 50px; font-size: 14px; padding: 14px 24px; justify-content: center; gap: 16px; }
dialog .button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px #671a2b22; }
dialog .button:active { transform: scale(.98); }

#detail-dialog { width: min(680px, calc(100% - 40px)); }
.service-detail h2 { max-width: 510px; }
.service-detail .modal-intro { max-width: 480px; }
.detail-list { display: grid; gap: 23px; margin: 32px 0; }
.detail-list li { border: 0; padding: 0; display: flex; gap: 15px; align-items: flex-start; font-size: 13px; line-height: 1.65; }
.detail-list strong { font-size: 15px; font-weight: 550; margin: 0 0 4px; line-height: 1.4; }
.detail-list p { color: #80746b; }
.detail-check { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #f0e8e1; display: grid; place-items: center; color: #85565d; }
.detail-check svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: 24px; background: #f4eee7; }
.detail-price { margin: 0; font-family: inherit; }
.detail-price span { display: block; font-size: 11px; color: #8a7c71; margin-bottom: 3px; }
.detail-price strong { font-size: 31px; line-height: 1.2; font-weight: 500; letter-spacing: -.04em; }
.service-note { font-size: 11px; line-height: 1.6; color: #95877c; margin: 16px 10px 0; text-align: center; }

.service-options { border: 0; display: grid; gap: 12px; }
.service-options > button { border: 0; padding: 22px; gap: 17px; border-radius: 22px; background: #f4eee8; transition: background .2s, transform .2s; }
.service-options > button:hover { padding: 22px; background: #eee3db; transform: translateY(-2px); }
.service-options strong { font-family: inherit; font-size: 17px; font-weight: 500; letter-spacing: -.02em; line-height: 1.4; }
.service-options small { font-size: 12px; margin-top: 5px; }
.option-number { font-family: inherit; font-size: 12px; font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: #fffcf8; display: grid; place-items: center; flex-shrink: 0; color: var(--wine); }
.service-options b { font-size: 17px; }
.modal-footer { justify-content: space-between; gap: 20px; margin-top: 28px; }
.modal-footer button { font-size: 11px; line-height: 1.5; }

dialog form { gap: 19px; }
dialog label { font-size: 12px; color: #75665b; gap: 8px; }
dialog input, dialog select, dialog textarea { border: 1px solid #ece4dc; border-radius: 15px; background: #f5f0ea; min-height: 50px; padding: 13px 15px; font-size: 15px; transition: box-shadow .2s, background .2s; }
dialog input:focus, dialog select:focus, dialog textarea:focus { outline: none; background: white; box-shadow: 0 0 0 3px #671a2b13; border-color: #b98b94; }
dialog textarea { min-height: 110px; }
.form-note { font-size: 11px; line-height: 1.6; color: #8b7d72; }
.contact-alternative { border: 0; font-size: 12px; padding: 0; margin-top: 24px; }
.stories-dialog { width: min(920px, calc(100% - 40px)); }
.story-grid { gap: 26px; margin-top: 28px; }
.story-grid > button { border-radius: 24px; background: #f5efe8; overflow: hidden; padding: 12px 12px 24px; transition: background .2s, transform .2s; }
.story-grid > button:hover { background: #eee5db; transform: translateY(-3px); }
.story-photos { border-radius: 16px; margin: 0 0 22px; height: 265px; }
.story-grid h3 { font-family: inherit; font-weight: 500; font-size: 28px; line-height: 1.12; padding: 0 12px; }
.story-grid .eyebrow { display: block; padding: 0 12px; font-size: 9px; }
.story-grid p { padding: 0 12px; font-size: 13px; min-height: 42px; }
.story-grid .inline-link { margin-left: 12px; font-size: 12px; }
.about-modal-photo { border-radius: 22px; height: 260px; }
.about-prose { font-size: 14px; line-height: 1.7; }
.about-film-link { font-size: 12px; margin-bottom: 25px; }
.faq-item { border: 0; border-radius: 18px; background: #f4eee8; padding: 19px 20px; margin: 12px 0; }
.faq-item summary { font-size: 14px; line-height: 1.5; }
.faq-item p { font-size: 13px; line-height: 1.7; }
.gallery-dialog { width: min(740px, calc(100% - 40px)); padding: 38px; }
.gallery-heading h2 { font-size: 31px; }
.gallery-heading > p:not(.eyebrow) { font-size: 13px; }
.gallery-stage { border-radius: 22px; overflow: hidden; background: #f3ece4; }
.gallery-nav button { border-radius: 50%; width: 44px; height: 44px; }
.gallery-caption { font-size: 13px; }
.gallery-note { font-size: 11px; }
.gallery-back { font-size: 12px; }
.film-dialog { padding: 0; width: auto; max-width: calc(100vw - 40px); }
.film-dialog video { max-height: calc(100dvh - 48px); }

@keyframes sheet-arrive { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
@media(max-width: 600px) {
  dialog, #detail-dialog, .stories-dialog, .gallery-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 52px 25px 28px; border-radius: 28px; }
  dialog .close { top: 12px; right: 12px; width: 36px; height: 36px; }
  dialog h2 { font-size: 34px; }
  dialog .eyebrow { font-size: 9px; }
  dialog .modal-intro { font-size: 14px; margin-bottom: 24px; }
  .detail-list { gap: 22px; margin: 28px 0; }
  .detail-list li { font-size: 13px; gap: 12px; }
  .detail-list strong { font-size: 14px; }
  .service-summary { padding: 20px; gap: 18px; flex-wrap: wrap; border-radius: 21px; }
  .service-summary .button { flex: 1; white-space: nowrap; font-size: 13px; padding-inline: 18px; }
  .detail-price strong { font-size: 28px; }
  .detail-price span { font-size: 10px; }
  .service-note { margin: 15px 0 0; font-size: 10px; }
  .service-options > button, .service-options > button:hover { padding: 20px 16px; gap: 12px; }
  .service-options strong { font-size: 16px; }
  .service-options small { font-size: 11px; }
  .option-number { width: 28px; height: 28px; font-size: 11px; }
  .modal-footer { display: flex; flex-wrap: wrap; gap: 18px; }
  dialog input, dialog select, dialog textarea { font-size: 16px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid h3 { font-size: 27px; }
  .story-grid p { min-height: 0; }
  .story-photos { height: 280px; }
  .gallery-heading h2 { font-size: 28px; }
  .gallery-stage > img { height: 42dvh; }
  .film-dialog { padding: 0; width: auto; }
}
@media(prefers-reduced-motion:reduce) { dialog[open] { animation: none; } }
