/* Responsive refinements shared by the presentation and the price page. */
header > *, .hero > *, .about > *, .contact-grid > *,
.studio-video > *, .gift > *, .price-contact > * { min-width: 0; }

@media (min-width: 651px) and (max-width: 1000px) {
  .hero { min-height: 620px; }
  .hero h1 { font-size: clamp(42px, 6.1vw, 61px); letter-spacing: -1.8px; }
  .hero-copy { padding: 48px 8%; }
  .contact-grid { gap: 32px; }
  .contact h2 { font-size: clamp(34px, 4.6vw, 46px); }
  .contact-details > a.email { font-size: clamp(19px, 2.8vw, 25px); }
  .about-copy { padding: 48px 9%; }
}

@media (max-width: 900px) {
  header {
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 14px;
    padding: 12px 6% 0;
  }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; width: 150px; max-width: 100%; }
  .brand img { height: 66px; }
  header > nav {
    grid-column: 1 / -1; grid-row: 2;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px; width: 100%; border-top: 1px solid var(--line);
  }
  header > nav a { display: flex; align-items: center; justify-content: center; min-height: 46px; font-size: 12px; white-space: nowrap; }
  .header-actions, header > .header-cta { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-actions { flex-direction: column; gap: 0; align-items: flex-end; }
  .header-social { gap: 8px; }
  .social-icon { width: 40px; height: 40px; }
  .header-actions .header-cta, header > .header-cta { font-size: 10px; padding: 9px 0; min-height: 36px; }
  .header-cta span { padding-left: 8px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
  body { font-size: 14px; }
  .topline { gap: 12px; padding: 9px 6%; font-size: 7px; letter-spacing: 1px; line-height: 1.6; }
  .topline span { text-align: right; }
  .brand { width: clamp(128px, 38vw, 150px); }
  .section { padding: 52px 6%; }
  .eyebrow, .hero .eyebrow, .intro-section .eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 20px; }
  h2, .section-title h2, .intro-section h2, .about-copy h2, .gift h2, .contact h2 {
    font-size: clamp(34px, 10vw, 44px); line-height: 1.16; letter-spacing: -1px;
  }
  .hero { min-height: 0; }
  .hero-copy { padding: 36px 6% 38px; }
  .hero h1 { font-size: clamp(43px, 12vw, 55px); line-height: 1.12; letter-spacing: -1.7px; }
  .hero .intro { font-size: 14px; line-height: 1.8; margin: 24px 0; }
  .hero-sign { margin-top: 24px; }
  .hero-sign small { font-size: 8px; letter-spacing: 1.2px; }
  .hero-image { min-height: 0; aspect-ratio: 4 / 5; }
  .hero-image > img { object-position: 50% 35%; }
  .image-label { left: 6%; right: 6%; bottom: 24px; }
  .image-label > span { font-size: 8px; letter-spacing: 1.2px; }
  .image-label > em { font-size: 25px; }
  .button { min-width: 0; max-width: 100%; min-height: 50px; padding: 14px 20px; gap: 20px; font-size: 12px; }
  .hero-copy > .button { width: 100%; max-width: 340px; }
  .underlink { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 12px; line-height: 1.6; }
  .hero-copy > .underlink { display: table; margin: 12px 0 0; }
  .intro-section { padding: 52px 6% 40px; }
  .intro-section br { display: initial; }
  .intro-section > p:not(.eyebrow), .title-aside,
  .about-copy > p:not(.eyebrow), .gift > div > p:not(.eyebrow),
  .contact-grid > div > p, .price-lead { font-size: 14px; line-height: 1.85; }
  .intro-section > p:not(.eyebrow) br, .hero .intro br { display: none; }
  .section-title { margin-bottom: 28px; }
  .portfolio h2 { font-size: clamp(29px, 8.5vw, 42px); }
  .gallery { gap: 22px 12px; }
  .gallery > figure:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .gallery figcaption { font-size: 10px; letter-spacing: .8px; }
  .gallery figcaption small { font-size: 9px; }
  .zoom { width: 30px; height: 30px; }
  .social-card { padding: 22px 16px; gap: 13px; }
  .social-card > svg { width: 28px; height: 28px; }
  .social-card strong { font-size: 27px; }
  .social-card small { font-size: 11px; line-height: 1.6; }
  .social-card b { flex-shrink: 0; }
  .price-table { table-layout: fixed; }
  .price-table thead th { font-size: 10px; }
  .price-table thead th:last-child { width: 80px; }
  .price-table tbody th, .price-table td { vertical-align: top; padding: 20px 0; }
  .price-table tbody th > span { font-size: 22px; line-height: 1.35; }
  .price-table tbody th > small { font-size: 12px; line-height: 1.75; margin-top: 9px; }
  .price-table td { font-size: 27px; line-height: 1.1; padding-left: 12px; }
  .pricing-bottom { align-items: flex-start; gap: 16px; }
  .pricing-bottom .price-note { flex-basis: 100%; font-size: 11px; line-height: 1.7; }
  .faq summary { font-size: 22px; line-height: 1.4; gap: 12px; }
  .faq summary > span:nth-child(2) { min-width: 0; }
  .faq-number { width: 20px; font-size: 11px; }
  .faq-plus { flex: 0 0 24px; text-align: center; }
  .faq details p { margin: 0 0 24px 32px; font-size: 14px; line-height: 1.85; }
  .faq-source { font-size: 13px; }
  .about-image { min-height: 0; aspect-ratio: 3 / 4; }
  .about-image > img { object-position: 50% 42%; }
  .about-image > span { left: 6%; max-width: 88%; font-size: 8px; letter-spacing: 1px; }
  .about-copy { padding: 44px 6%; }
  .signature { font-size: 25px; }
  .studio-video { gap: 28px; }
  .studio-video .underlink { margin-top: 16px; }
  .video-embed { width: 100%; max-width: 340px; }
  .gift { gap: 28px; }
  .contact-grid { gap: 36px; }
  .contact-details > a { font-size: clamp(27px, 8vw, 34px); line-height: 1.5; }
  .contact-details > a.email { font-size: clamp(19px, 5.8vw, 25px); line-height: 1.6; overflow-wrap: anywhere; }
  .contact-details small { font-size: 9px; letter-spacing: 1.4px; }
  .contact-social-links { gap: 12px; }
  .contact-social { min-height: 48px; padding: 12px 14px; font-size: 12px; }
  .address p, .location-address address, .price-contact address { font-size: 14px; }
  .location-grid { gap: 20px; }
  .studio-photo { min-height: 0; aspect-ratio: 3 / 4; }
  .studio-photo figcaption { font-size: 12px; }
  .map-wrap iframe { min-height: 320px; height: 360px; flex: none; }
  .map-wrap > a { font-size: 12px; min-height: 48px; padding: 14px 16px; }
  .price-page h1 { font-size: clamp(29px, 8.8vw, 42px); }
  .price-page > .section:first-of-type { padding-top: 32px; }
  .breadcrumbs { min-height: 44px; font-size: 12px; }
  .price-contact h2 { font-size: 38px; }
  footer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 28px 6%; }
  footer .footer-brand { grid-column: 1 / -1; font-size: 28px; }
  footer > a:not(.footer-brand) { display: flex; align-items: center; min-height: 44px; font-size: 12px; }
  footer > span { grid-column: 1 / -1; order: 5; font-size: 11px; }
  dialog[open] {
    display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px; width: calc(100vw - 24px); max-width: 520px;
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
    padding: 0; overflow: auto;
  }
  dialog figure { grid-column: 1 / -1; grid-row: 2; max-width: 100%; min-width: 0; }
  #lightbox-image { max-width: 100%; max-height: calc(100vh - 220px); max-height: calc(100svh - 220px); margin: auto; }
  #lightbox-caption { max-width: 100%; padding: 14px 8px; font-size: 12px; line-height: 1.6; }
  dialog button { position: static; min-width: 48px; min-height: 48px; padding: 8px; border: 1px solid #ffffff66; font-size: 24px; line-height: 1; }
  .close-lightbox { grid-column: 3; grid-row: 1; }
  .prev-photo { grid-column: 1; grid-row: 3; }
  .next-photo { grid-column: 3; grid-row: 3; }
}
