/* 420: compact, readable mobile presentation; all content remains available. */
@media (max-width: 680px) {
  .panorama166 .p166-hero h1 { font-size: clamp(38px, 10.5vw, 42px); line-height: 1.02; margin-bottom: 11px; }
  .panorama166 .p166-hero p { font-size: 15px; line-height: 1.4; margin-bottom: 14px; max-width: 31ch; }
  .panorama166 .p166-gifts-copy h2 { font-size: clamp(32px, 9.3vw, 35px); line-height: 1.04; margin-bottom: 10px; }
  .panorama166 .p166-gifts-copy > p:not(.p166-gift-note):not(.p166-terms) { font-size: 14px; line-height: 1.42; }
  .panorama166 .p166-gift-types { gap: 8px; }
  .panorama166 .p166-gift-types a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .panorama166 .p166-gifts-copy .p166-cta,
  .panorama166 .p166-hero .p166-cta,
  .panorama166 .p417-service-ending .p166-more-services > summary { min-height: 48px; }
  .panorama166 .p166-services { padding-block: 20px 24px; }
  .panorama166 .p166-section-head h2 { font-size: 27px; line-height: 1.1; margin-bottom: 9px; }
  .panorama166 .p166-section-head p { font-size: 14px; line-height: 1.42; }
  .panorama166 .p166-service-grid { gap: 8px; margin-top: 14px; }
  .panorama166 .p166-service { grid-template-columns: 90px minmax(0,1fr); min-height: 100px; }
  .panorama166 .p166-service > img { min-height: 100px; }
  .panorama166 .p166-service-copy { min-height: 100px; padding: 10px 11px; }
  .panorama166 .p166-service h3 { font-size: 17px; line-height: 1.16; }
  .panorama166 .p166-service small { font-size: 13px; padding-top: 7px; }
  .panorama166 .p414-price { font-size: 16px; }
  .panorama166 .p417-service-ending,
  .panorama166 .p417-service-ending:has(.p166-more-services[open]) { margin-top: 12px; }
  .panorama166 .p166-faq-list summary { min-height: 44px; }
}

/* Desktop editorial hierarchy follows the selected reference. */
@media (min-width: 1100px) {
  .panorama166 .p166-hero h1 { font-size: clamp(78px, 6.2vw, 90px); line-height: .94; }
  .panorama166 .p166-gifts-copy h2 { font-size: clamp(55px, 4.8vw, 70px); line-height: .98; }
  .panorama166 .p166-service { min-height: 254px; }
  .panorama166 .p166-service > img { height: 150px; min-height: 150px; }
}

/* Dark, compact glyph shadows improve legibility without a background panel. */
@media (min-width: 1100px) {
  .panorama166 .p166-gifts-copy > p:not(.p166-gift-note):not(.p166-terms) {
    text-shadow: 0 1px 2px #071a23, 0 0 6px #071a23, 0 0 10px #071a23;
  }
}

/* Keep the candle glow out of the description on extra-wide displays while
   leaving the gift card and the rest of the photographic scene untouched. */
@media (min-width: 1450px) {
  .panorama166 .p166-gifts::before {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 25%, #000 31%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 6%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, transparent 25%, #000 31%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 6%, #000 80%, transparent 100%);
    mask-composite: intersect;
  }
}
