/* 2026-10-10: contact page first screen, sample library phone filters and lighter card buttons. */

/* Contact: a short heading band so the form starts on the first screen. */
.marketing-inner .contact-hero { padding: clamp(26px, 2.6vw, 48px) 0 clamp(22px, 2.2vw, 40px); }
.marketing-inner .contact-hero h1 { font-size: clamp(30px, 2.6vw, 46px); margin: 10px 0 12px; }
.marketing-inner .contact-hero .lead { margin-bottom: 0; }
.quote-sidebar .direct-contact { margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid #dcdce0; }
.quote-sidebar .direct-contact h3 { margin-top: 0; }
.quote-sidebar .direct-contact p { margin: 6px 0; }
.quote-sidebar .direct-contact a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.quote-sidebar .direct-contact a:hover { color: var(--red); }
@media (max-width: 760px) {
  .marketing-inner .contact-hero { padding: 20px 0 18px; }
  .marketing-inner .contact-hero h1 { font-size: 28px; }
  .marketing-inner .contact-hero .lead { font-size: 15px; line-height: 1.6; }
}

/* Sample library: card buttons as outlines, filled once the case is on the inquiry list. */
.case-grid .case-inquiry-button, .craft-grid .craft-inquiry-button {
  background: #fff !important; color: #c6232a !important; border-color: #c6232a !important;
}
.case-grid .case-inquiry-button:hover, .case-grid .case-inquiry-button:focus-visible,
.craft-grid .craft-inquiry-button:hover, .craft-grid .craft-inquiry-button:focus-visible,
.case-grid .case-inquiry-button.is-added, .craft-grid .craft-inquiry-button.is-added {
  background: #c6232a !important; color: #fff !important; border-color: #c6232a !important;
}

/* Sample library on phones: filters fold behind one button (see library-filters.js). */
.filter-toggle { display: none; }
@media (max-width: 820px) {
  .library-layout.has-filter-toggle .filter-toggle {
    position: sticky; top: var(--library-sticky-top, 0px); z-index: 11; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; width: 100%; min-height: 48px; padding: 10px 16px; border: 0; border-bottom: 1px solid #e3e3e6; background: #fff;
    color: #33373d; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
  }
  .filter-toggle-label::before { content: ""; display: inline-block; width: 14px; height: 10px; margin-right: 10px;
    background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 70% 2px no-repeat,
      linear-gradient(currentColor 0 0) bottom / 40% 2px no-repeat; }
  .filter-toggle-current { overflow: hidden; max-width: 55%; color: #c6232a; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .filter-toggle-current::after { content: " ▾"; color: #6b7079; }
  .filters-open .filter-toggle-current::after { content: " ▴"; }
  /* mobile-site.css forces the panel open with !important; the fold has to outrank it. */
  body[data-page="library"] .library-layout.has-filter-toggle .process-sidebar { display: none !important; position: static !important; }
  body[data-page="library"] .library-layout.has-filter-toggle.filters-open .process-sidebar { display: grid !important; }
}
