/* Product discovery and project enquiries share the existing brand tokens. */
.reference-home > .ref-hero {
  height: min(760px, calc(100svh - var(--header-height) - 72px));
  min-height: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; max-width: 46%; }
.hero-actions .button { min-height: 48px; padding: 12px 22px; gap: 16px; font-size: 15px; }
.hero-actions .button.is-secondary { background: #fff; border: 1px solid #9cb6c6; color: #163f58; }
.hero-actions .button:hover { transform: translateY(-2px); }
.reference-home .hero-bottom { display: none; }
.products-search { width: min(100%, 420px); border-radius: 4px; padding-right: 4px; }
.products-search .catalog-search-submit { width: 42px; height: 40px; flex-basis: 42px; border-radius: 3px; background: var(--accent); color: #fff; }
.products-search .catalog-search-submit:hover { background: var(--accent-deep); color: #fff; }
.catalog-results-heading { padding: 38px 0 30px; border-bottom: 1px solid var(--line); }
.catalog-results-heading h1 { font-size: 36px; margin: 14px 0 0; line-height: 1.3; }
.catalog-result-summary { margin: -8px 0 30px; color: #53636e; overflow-wrap: anywhere; }
.catalog-empty { padding: 60px 20px; text-align: center; border-block: 1px solid var(--line); }
.catalog-empty > i { font-size: 25px; color: #526a79; }
.catalog-empty h2 { margin: 18px 0 10px; font-size: 22px; }
.catalog-empty p { margin: 0 0 22px; color: #53636e; }
.document-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-bottom: 30px; }
.document-search { display: flex; align-items: center; gap: 12px; min-height: 48px; flex: 1 1 280px; max-width: 540px; border: 1px solid #91a4b1; border-radius: 4px; padding: 0 14px; background: #fff; }
.document-search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.document-search input { width: 100%; min-width: 0; padding: 12px 0; border: 0; background: transparent; outline: none; color: var(--ink); font-size: 16px; }
.document-search input::placeholder { color: #596b78; opacity: 1; }
.document-search button { width: 36px; min-height: 44px; flex-shrink: 0; border: 0; background: none; cursor: pointer; color: #425d6c; }
.document-type { display: flex; align-items: center; gap: 12px; }
.document-type label { color: #53636e; font-size: 14px; }
.document-type select { min-height: 48px; padding: 10px 32px 10px 12px; border: 1px solid #91a4b1; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; }
.document-count { margin: 0 0 0 auto; color: #53636e; font-size: 14px; font-variant-numeric: tabular-nums; }
.downloads-page .download-row { grid-template-columns: 52px minmax(0, 1fr) auto; padding-block: 28px; gap: 24px; }
.downloads-page .download-row h2 { font-size: 20px; line-height: 1.5; }
.downloads-page .download-row p { margin: 6px 0 10px; }
.document-label { font-size: 12px; font-weight: 600; color: #53636e; }
.document-actions { display: flex; align-items: center; gap: 22px; }
.document-preview { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent-deep); font-size: 14px; }
.document-preview:hover { text-decoration: underline; }
.document-support { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-block: 28px; border-top: 1px solid var(--line); }
.document-support h2 { font-size: 22px; margin: 0 0 8px; }
.document-support p { color: #53636e; margin: 0; }
.document-support .text-link { flex-shrink: 0; }
.inquiry-length { justify-self: end; color: #53636e; font-size: 12px; font-variant-numeric: tabular-nums; }
.inquiry-form .form-status { flex: 1 1 240px; line-height: 1.7; }
.inquiry-form .form-status:empty { display: none; }
.inquiry-form .form-status.is-error { color: #a52d25; }
.inquiry-form .form-status.is-success { color: #236542; }
.inquiry-form button:disabled { cursor: wait; opacity: .65; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
  .hero-actions { max-width: 50%; }
  .hero-actions .button { padding-inline: 16px; }
  .document-count { flex-basis: 100%; margin: 0; }
  .document-actions { gap: 12px; }
}
@media (max-width: 760px) {
  .reference-home > .ref-hero { height: min(640px, calc(100svh - var(--header-height) - var(--contact-bar-height) - 48px)); min-height: 510px; }
  .reference-home .ref-hero-copy { padding-top: 28px; padding-bottom: 0; }
  .reference-home .ref-hero-media { height: 44%; }
  .hero-actions { max-width: 100%; margin-top: 14px; gap: 10px; }
  .hero-actions .button { min-height: 44px; font-size: 14px; padding: 10px 16px; }
  .products-search { width: 100%; }
  .catalog-results-heading h1 { font-size: 28px; }
  .downloads-page .download-row { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-block: 24px; }
  .downloads-page .download-icon { font-size: 26px; width: 34px; }
  .downloads-page .download-row h2 { font-size: 18px; }
  .document-actions { grid-column: 2; justify-content: flex-start; gap: 24px; }
  .document-actions .button { width: auto; min-height: 44px; }
  .document-search { max-width: none; flex-basis: 100%; }
  .document-toolbar { gap: 14px; }
  .document-type { flex: 1; }
  .document-type select { flex: 1; min-width: 0; }
  .document-count { flex: 0 0 auto; }
  .document-support { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 980px) and (max-height: 540px) and (orientation: landscape) {
  .reference-home > .ref-hero { height: 330px; min-height: 330px; }
  .reference-home .ref-hero-media { height: 100%; }
  .reference-home .ref-hero-copy { padding-top: 18px; }
  .hero-actions { max-width: 48%; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-actions .button { transition: none; }
  .hero-actions .button:hover { transform: none; }
}
