@layer components {
  .data-empty-state { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); min-height: 280px; }
  .empty-symbol { color: var(--orange); font-size: 2.8rem; line-height: 1; margin-bottom: 26px; }
  .data-empty-state h3 { font-size: 1.7rem; line-height: 1.2; color: var(--forest); margin-bottom: 18px; }
  .data-empty-state p { color: var(--muted); font-size: .92rem; }
  .data-empty-state .data-status { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 20px; width: 100%; font-size: .78rem; }
  .result-category-labels { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
  .result-category-labels span { font-size: .75rem; padding: 5px 12px; color: var(--forest); background: var(--warm); border: 1px solid var(--line); }
  .certificate-section { background: var(--forest); color: var(--paper); }
  .certificate-section .eyebrow { color: var(--apricot); }
  .certificate-section .editorial-grid p { color: var(--paper); }
  .certificate-note { position: relative; padding: 38px; border: 1px solid #ffffff50; border-top: 5px solid var(--apricot); background: #ffffff08; }
  .certificate-note > strong { display: block; font-size: 1.8rem; line-height: 1.2; padding-right: 40px; }
  .certificate-note > p { font-size: 1.4rem; margin-top: 8px; }
  .certificate-note > span:last-child { display: block; font-size: .8rem; margin-top: 35px; color: var(--paper); }
  .certificate-symbol { position: absolute; right: 25px; top: 18px; color: var(--apricot); font-size: 2.5rem; }
  .gallery-full-section { background: var(--warm); }
  .gallery-collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
  .gallery-collection-heading > span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
  .full-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .full-gallery-grid .gallery-photo { aspect-ratio: 4 / 3; }
  .full-gallery-grid .gallery-photo:nth-child(9n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .full-gallery-grid .gallery-photo img { height: 100%; width: 100%; object-fit: cover; }
  .gallery-end-note { margin-top: 32px; color: var(--muted); font-size: .9rem; }
  .faq-page-hero { padding-block: 70px 62px; background: var(--warm); }
  .faq-page-hero h1 { color: var(--forest); max-width: 950px; }
  .faq-page-hero p:not(.eyebrow) { color: var(--muted); margin-top: 24px; }
  .faq-page-hero .quiet-link { margin-top: 20px; }
  .faq-search { margin-bottom: 28px; }
  .faq-search label { display: block; color: var(--forest); font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
  .faq-search > div { display: flex; gap: 12px; }
  .faq-search input { width: 100%; min-width: 0; border: 1px solid var(--forest); padding: 16px 18px; border-radius: var(--radius); color: var(--ink); background: var(--white); min-height: 54px; }
  .faq-search input::placeholder { color: var(--muted); opacity: 1; }
  .faq-search button { border: 1px solid var(--line); padding: 12px 20px; background: var(--warm); color: var(--forest); border-radius: var(--radius); font-size: .85rem; }
  .faq-filter-group { display: flex; flex-wrap: wrap; gap: 10px; }
  .faq-filter-group button { min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; background: var(--paper); color: var(--forest); font-size: .8rem; }
  .faq-filter-group button[aria-pressed=true] { background: var(--forest); color: var(--paper); border-color: var(--forest); }
  .faq-result-count { color: var(--muted); font-size: .8rem; padding-block: 22px; margin-top: 0; }
  .faq-topic { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; padding-block: 35px; border-top: 1px solid var(--line); }
  .faq-topic h2 { font-size: 1.65rem; color: var(--forest); line-height: 1.2; overflow-wrap: anywhere; }
  .faq-topic details:first-child { border-top: 0; }
  .faq-contact-note { margin-top: 50px; padding: 40px; background: var(--warm); border-left: 3px solid var(--orange); }
  .faq-contact-note h2 { font-size: 2rem; margin-bottom: 20px; }
  .faq-contact-note p { color: var(--muted); overflow-wrap: anywhere; }
  .faq-no-results { padding: 35px 0; border-top: 1px solid var(--line); }
  .faq-no-results h2 { font-size: 1.65rem; margin-bottom: 18px; }
  .faq-no-results p { color: var(--muted); overflow-wrap: anywhere; }
  .faq-no-results a { text-decoration: underline; text-underline-offset: 4px; }
}
@layer responsive {
  @media (max-width: 950px) {
    .faq-topic { gap: 35px; }
    .full-gallery-grid { gap: 12px; }
  }
  @media (max-width: 680px) {
    .data-empty-state, .certificate-note { padding: 26px; }
    .data-empty-state h3, .certificate-note > strong { font-size: 1.6rem; }
    .gallery-collection-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .full-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .full-gallery-grid .gallery-photo:nth-child(9n + 1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
    .faq-page-hero { padding-block: 44px; }
    .faq-page-hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    .faq-search > div { flex-direction: column; }
    .faq-search button { align-self: flex-start; min-height: 44px; }
    .faq-search input { padding-inline: 12px; font-size: .85rem; }
    .faq-filter-group { gap: 8px; }
    .faq-filter-group button { font-size: .75rem; padding-inline: 12px; }
    .faq-topic { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
    .faq-topic h2 { font-size: 1.7rem; }
    .faq-contact-note { padding: 28px 24px; }
  }
}
