.resources-page {
  background: #080808;
  color: #f2f2f2;
}

.resources-page .page-main {
  background: #0b0b0c;
}

.resources-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 170, 76, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(216, 170, 76, 0.07) 1px, transparent 1px),
    #080808;
  background-size: 72px 72px;
  color: #fff;
}

.resources-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 8, 8, 0.96) 0%, rgba(8, 8, 8, 0.78) 58%, rgba(8, 8, 8, 0.9) 100%);
  content: "";
}

.resources-hero .container {
  position: relative;
  z-index: 1;
}

.resources-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
  min-height: 470px;
  padding-top: clamp(70px, 10vw, 132px);
  padding-bottom: clamp(66px, 8vw, 104px);
}

.resources-hero .breadcrumb {
  margin-bottom: 28px;
}

.resources-hero .breadcrumb,
.resources-hero .breadcrumb a {
  color: #b9b9b9;
}

.resources-hero h1 {
  max-width: 820px;
  margin: 14px 0 22px;
  color: #fff;
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.resources-hero .lede {
  max-width: 760px;
  color: #d4d4d4;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.75;
}

.resources-hero__index {
  display: grid;
  gap: 1px;
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
}

.resources-hero__index a,
.resources-hero__index span {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 14px 18px;
  background: rgba(8, 8, 8, 0.88);
  color: #f3f3f3;
  text-decoration: none;
}

.resources-hero__index a:hover {
  background: #161616;
  color: #f0cd76;
}

.resources-hero__index strong {
  color: #d8aa4c;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.resources-content {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #0b0b0c;
}

.resources-section {
  padding: clamp(52px, 7vw, 88px) 0;
}

.resources-section:first-child {
  padding-top: 0;
}

.resources-section + .resources-section {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.resources-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 28px 72px;
  align-items: end;
  margin-bottom: 38px;
}

.resources-section-heading h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.resources-section-heading p {
  max-width: 720px;
  margin: 0;
  color: #b9b9b9;
  font-size: 1.04rem;
  line-height: 1.75;
}

.resources-kicker {
  color: #d8aa4c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.resource-category-grid,
.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-category-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 224px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #151516;
  color: #f3f3f3;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 133, 45, 0.55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.36);
}

.resource-category-card__number {
  color: #d8aa4c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.resource-category-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.resource-category-card p {
  margin: 0 0 24px;
  color: #b9b9b9;
  line-height: 1.7;
}

.resource-category-card__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #f0cd76;
  font-weight: 750;
}

.resource-category-card__link::after {
  content: "→";
}

.resource-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin: 32px 0 0;
  padding: 24px 26px;
  border-left: 4px solid #d8aa4c;
  background: #171717;
  color: #e7e7e7;
}

.resource-notice__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(240, 205, 118, 0.65);
  border-radius: 50%;
  color: #f0cd76;
  font-weight: 800;
}

.resource-notice strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.resource-notice p {
  margin: 0;
  color: #c8c8c8;
  line-height: 1.65;
}

.resources-tools {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 26px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #131314;
}

.resources-filter {
  display: grid;
  gap: 7px;
  min-width: min(100%, 320px);
}

.resources-search {
  display: grid;
  flex: 1 1 360px;
  gap: 7px;
  min-width: min(100%, 280px);
}

.resources-filter label,
.resources-search label {
  color: #d1d1d1;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resources-filter select {
  min-height: 46px;
  border: 1px solid #666;
  border-radius: 0;
  background: #090909;
  color: #fff;
  font: inherit;
  padding: 0 42px 0 14px;
}

.resources-search input {
  min-height: 46px;
  border: 1px solid #666;
  border-radius: 0;
  background: #090909;
  color: #fff;
  font: inherit;
  padding: 0 14px;
}

.resources-search input::placeholder {
  color: #929292;
}

.resources-search input:focus-visible,
.resources-filter select:focus-visible {
  border-color: #e1af4f;
  box-shadow: 0 0 0 3px rgba(225, 175, 79, 0.2);
  outline: none;
}

.resources-result-count {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.9rem;
  font-weight: 700;
}

.resources-directory-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
}

.resources-directory-footer a {
  color: #e6bd70;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(230, 189, 112, 0.42);
  text-underline-offset: 0.22em;
}

.resource-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #151516;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.resource-card[hidden] {
  display: none;
}

.resource-card__top,
.resource-card__heading-row,
.resource-card__identity {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.resource-card__heading-row {
  justify-content: space-between;
}

.resource-card__identity {
  min-width: 0;
}

.resource-card__mark {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 170, 76, 0.65);
  background: #0d0d0e;
  color: #f0cd76;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-card__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resource-card__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.22;
}

.resource-card__organization {
  display: block;
  margin-bottom: 7px;
  color: #d8aa4c;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-status {
  display: inline-flex;
  width: max-content;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid #626262;
  color: #c7c7c7;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.resource-status--current {
  border-color: #5f8465;
  background: #18231a;
  color: #b7ddb9;
}

.resource-status--planned,
.resource-status--needs-review {
  border-color: #9b7a36;
  background: #2a2111;
  color: #f0cd76;
}

.resource-card__description {
  margin: 22px 0;
  color: #b9b9b9;
  line-height: 1.7;
}

.resource-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.resource-card__meta-item {
  min-width: 0;
}

.resource-card__meta dt {
  margin-bottom: 3px;
  color: #929292;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.resource-card__meta dd {
  margin: 0;
  color: #dedede;
  font-size: 0.88rem;
  line-height: 1.45;
}

.resource-card__availability {
  display: grid;
  gap: 1px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  background: #343434;
}

.resource-card__availability li {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 11px 12px;
  background: #101011;
  color: #bcbcbc;
  font-size: 0.82rem;
}

.resource-card__availability strong {
  color: #9b9b9b;
  text-align: right;
}

.resource-card__availability .is-available strong {
  color: #a9d6ad;
}

.resource-card__note {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid #d8aa4c;
  background: #1d1a14;
  color: #c8c2b7;
  font-size: 0.84rem;
  line-height: 1.6;
}

.resource-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 4px;
}

.resource-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #666;
  border-radius: 0;
  background: #111;
  color: #f0f0f0;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.25;
  padding: 10px 13px;
  text-decoration: none;
}

.resource-action:hover {
  border-color: #d8aa4c;
  color: #f0cd76;
}

.resource-action--primary {
  border-color: #d8aa4c;
  background: #d8aa4c;
  color: #111;
}

.resource-action--primary:hover {
  border-color: #f0cd76;
  background: #f0cd76;
  color: #111;
}

.resource-action--disabled {
  border-color: #424242;
  background: #202020;
  color: #929292;
  cursor: default;
}

.resource-empty,
.resource-catalog-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed #646464;
  background: #111;
  color: #bdbdbd;
  text-align: center;
}

.resources-learning-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 52px);
  background: #171717;
  color: #fff;
}

.resources-learning-bridge h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

.resources-learning-bridge p {
  max-width: 780px;
  margin: 0;
  color: #c8c8c8;
  line-height: 1.7;
}

.resource-viewer[hidden] {
  display: none;
}

.resource-viewer {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  padding: clamp(12px, 3vw, 34px);
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
}

.resource-viewer__panel {
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr);
  width: min(1180px, 100%);
  height: min(860px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}

.resource-viewer__header {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px 17px 22px;
  background: #111;
  color: #fff;
}

.resource-viewer__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.resource-viewer__close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

.resource-viewer__toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 18px;
  border-bottom: 1px solid #d7d2c9;
  background: #f4f1eb;
}

.resource-viewer__status {
  margin: 0;
  color: #5d5850;
  font-size: 0.82rem;
}

.resource-viewer__status-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.resource-viewer__fallback {
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f511a;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.resource-viewer__fallback:disabled {
  color: #6f675d;
  cursor: default;
  text-decoration: none;
}

.resource-viewer__status.is-warning {
  color: #785719;
}

.resource-viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.resource-viewer-open {
  overflow: hidden;
}

.handout-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.handout-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #151516;
}

.handout-document {
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid #cfc8bb;
  background: #fff;
  box-shadow: 0 24px 50px rgba(38, 31, 21, 0.08);
}

.handout-document__brand {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 2px solid #1b1b1b;
}

.handout-document__brand img {
  width: min(260px, 62%);
  height: auto;
}

.handout-document__brand span {
  color: #736b61;
  font-size: 0.78rem;
  text-align: right;
}

.handout-document__title {
  margin: 0 0 16px;
  color: #111;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.handout-document__lede {
  max-width: 720px;
  margin: 0 0 36px;
  color: #55514a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.handout-section {
  break-inside: avoid;
  padding: 24px 0;
  border-top: 1px solid #d8d2c8;
}

.handout-section h2 {
  margin: 0 0 12px;
  color: #181818;
  font-size: 1.35rem;
}

.handout-section p,
.handout-section li,
.glossary-entry p {
  color: #4f4b45;
  line-height: 1.7;
}

.handout-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.handout-caution {
  break-inside: avoid;
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 4px solid #b9852d;
  background: #f7f1e3;
}

.installer-contact-box {
  min-height: 150px;
  margin-top: 34px;
  padding: 22px;
  border: 1px dashed #8b857c;
  break-inside: avoid;
}

.installer-contact-box h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.installer-contact-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.installer-contact-lines span {
  display: block;
  padding-top: 26px;
  border-bottom: 1px solid #aaa39a;
  color: #686159;
  font-size: 0.75rem;
}

.benefits-grid,
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card,
.glossary-entry {
  break-inside: avoid;
  padding: 24px;
  border: 1px solid #d2cbc0;
  background: #fff;
}

.benefit-card h2,
.glossary-entry h2 {
  margin: 0 0 10px;
  color: #171717;
  font-size: 1.2rem;
}

.benefit-card p,
.glossary-entry p {
  margin: 0;
}

.glossary-entry__why {
  display: block;
  margin-top: 12px;
  color: #76571e;
  font-size: 0.82rem;
  font-weight: 700;
}

.glossary-letter {
  grid-column: 1 / -1;
  margin: 26px 0 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #1b1b1b;
  color: #8c641d;
  font-size: 1.4rem;
}

:where(.resource-category-card, .resource-action, .resources-filter select, .resource-viewer__close, .resource-viewer__fallback):focus-visible {
  outline: 3px solid #f0cd76;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .resources-hero-grid,
  .resources-section-heading,
  .resources-learning-bridge {
    grid-template-columns: 1fr;
  }

  .resources-hero-grid {
    min-height: 0;
  }

  .resources-hero__index {
    align-self: auto;
  }

  .resource-card-grid,
  .resource-category-grid {
    grid-template-columns: 1fr;
  }

  .resources-learning-bridge {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .resources-hero-grid {
    padding-top: 54px;
  }

  .resources-hero h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .resources-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .resources-filter {
    min-width: 0;
  }

  .resource-card__heading-row,
  .resource-card__availability li,
  .resource-viewer__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-card__meta,
  .benefits-grid,
  .glossary-grid,
  .installer-contact-lines {
    grid-template-columns: 1fr;
  }

  .resource-card__availability strong {
    text-align: left;
  }

  .resource-action {
    width: 100%;
  }

  .resource-viewer {
    padding: 0;
  }

  .resource-viewer__panel {
    width: 100%;
    height: 100%;
    border: 0;
  }

  .handout-shell {
    width: min(100% - 24px, 900px);
  }

  .handout-document {
    padding: 26px 20px;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  html,
  body,
  .resources-page,
  .resources-page .page-main {
    background: #fff !important;
    color: #000 !important;
  }

  .site-header,
  .site-footer,
  .resources-hero,
  .handout-toolbar,
  .resources-learning-bridge,
  .resource-viewer,
  .no-print {
    display: none !important;
  }

  .resources-content {
    padding: 0 !important;
  }

  .handout-shell {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .handout-document {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .handout-document__brand {
    margin-bottom: 24px;
  }

  .handout-document__brand img {
    width: 230px;
  }

  .handout-document__title {
    font-size: 28pt;
  }

  .handout-document p,
  .handout-document li {
    color: #000 !important;
    font-size: 10.5pt;
  }

  .handout-section,
  .handout-caution,
  .installer-contact-box,
  .benefit-card,
  .glossary-entry {
    break-inside: avoid;
  }

  .handout-caution,
  .benefit-card,
  .glossary-entry {
    border-color: #777;
    background: #fff !important;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}

/* Resources library refinement: align with the marketing-site palette and print system. */
.resources-page {
  --resource-ink: #111318;
  --resource-muted: #5f6872;
  --resource-soft: #747b84;
  --resource-gold: #b9852d;
  --resource-gold-light: #f3e5c2;
  --resource-border: rgba(17, 19, 24, 0.13);
  --resource-surface: #ffffff;
  background: #f7f7f4;
  color: var(--resource-ink);
}

.resources-page .page-main,
.resources-content {
  background: #f7f7f4;
}

.resources-hero {
  border-bottom: 1px solid var(--resource-border);
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 170, 76, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 240, 0.96));
  color: var(--resource-ink);
}

.resources-hero::after {
  opacity: 0.45;
  background:
    linear-gradient(90deg, transparent 0 55%, rgba(255, 255, 255, 0.42) 78%),
    repeating-linear-gradient(90deg, rgba(17, 19, 24, 0.035) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(180deg, rgba(185, 133, 45, 0.055) 0 1px, transparent 1px 78px);
}

.resources-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.58fr);
  gap: clamp(38px, 6vw, 82px);
  min-height: 410px;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(54px, 7vw, 84px);
  align-items: center;
}

.resources-hero .breadcrumb {
  margin-bottom: 26px;
}

.resources-hero .breadcrumb,
.resources-hero .breadcrumb a {
  color: #727983;
}

.resources-hero .premium-eyebrow {
  color: #946619;
}

.resources-hero h1 {
  max-width: 780px;
  color: var(--resource-ink);
  font-size: clamp(2.65rem, 5.2vw, 4.9rem);
  line-height: 1.01;
  letter-spacing: -0.05em;
}

.resources-hero .lede {
  max-width: 720px;
  color: #505966;
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.68;
}

.resources-hero__index,
.resources-hero__panel {
  display: grid;
  align-self: center;
  gap: 0;
  padding: 8px 22px;
  border: 1px solid var(--resource-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(17, 19, 24, 0.09);
  backdrop-filter: blur(10px);
}

.resources-hero__index a,
.resources-hero__index span,
.resources-hero__panel a,
.resources-hero__panel span {
  display: block;
  min-height: 0;
  padding: 16px 2px;
  border-bottom: 1px solid var(--resource-border);
  background: transparent;
  color: #2f3743;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.resources-hero__index > :last-child,
.resources-hero__panel > :last-child {
  border-bottom: 0;
}

.resources-hero__index strong {
  display: none;
}

.resources-hero__index a:hover,
.resources-hero__panel a:hover {
  background: transparent;
  color: #805b1b;
}

.resources-hero__index a::after,
.resources-hero__panel a::after {
  float: right;
  color: var(--resource-gold);
  content: "→";
}

.resources-content {
  padding: clamp(58px, 7vw, 94px) 0;
}

.resources-section {
  padding: clamp(46px, 6vw, 76px) 0;
}

.resources-section + .resources-section {
  border-top-color: var(--resource-border);
}

.resources-section-heading h2 {
  color: var(--resource-ink);
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
}

.resources-section-heading p {
  color: var(--resource-muted);
  line-height: 1.7;
}

.resources-kicker {
  color: #946619;
}

.resources-learning-bridge .resources-kicker {
  color: #d8aa4c;
}

.resources-directory-footer a {
  color: #805b1b;
  text-decoration-color: rgba(128, 91, 27, 0.5);
}

.resource-category-grid {
  gap: 20px;
}

.resource-category-card {
  min-height: 210px;
  grid-template-columns: 1fr;
  border-color: var(--resource-border);
  border-radius: 20px;
  background: var(--resource-surface);
  color: var(--resource-ink);
  box-shadow: 0 16px 38px rgba(17, 19, 24, 0.07);
}

.resource-category-card:hover {
  border-color: rgba(185, 133, 45, 0.48);
  box-shadow: 0 22px 50px rgba(17, 19, 24, 0.11);
}

.resource-category-card__number {
  display: none;
}

.resource-category-card h3 {
  color: var(--resource-ink);
}

.resource-category-card p {
  color: var(--resource-muted);
}

.resource-category-card__link {
  color: #805b1b;
}

.resource-category-card__link::after {
  content: " →";
}

.resource-notice {
  border: 1px solid rgba(185, 133, 45, 0.28);
  border-left: 4px solid var(--resource-gold);
  border-radius: 14px;
  background: #fbf6ea;
  color: #343942;
}

.resource-notice__mark {
  color: #805b1b;
  border-color: rgba(185, 133, 45, 0.62);
}

.resource-notice strong {
  color: var(--resource-ink);
}

.resource-notice p {
  color: #5b5b57;
}

.resources-tools {
  border-color: var(--resource-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 19, 24, 0.05);
}

.resources-filter label,
.resources-search label,
.resources-result-count {
  color: #5d6570;
}

.resources-filter select {
  border-color: rgba(17, 19, 24, 0.24);
  border-radius: 10px;
  background: #fff;
  color: var(--resource-ink);
}

.resource-card-grid {
  gap: 22px;
  align-items: start;
}

.resource-card {
  border-color: var(--resource-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 19, 24, 0.07);
}

.resource-card__mark {
  width: 46px;
  height: 46px;
  border-color: rgba(185, 133, 45, 0.45);
  border-radius: 12px;
  background: #fbf6ea;
  color: #805b1b;
}

.resource-card__title {
  color: var(--resource-ink);
}

.resource-card__organization {
  color: #946619;
}

.resource-status {
  border-radius: 999px;
  color: #59616c;
  border-color: #d5d9dd;
  background: #f6f7f7;
}

.resource-status--current {
  border-color: #b9d2bd;
  background: #eff7f0;
  color: #355f3d;
}

.resource-card__description,
.resource-card__meta dd {
  color: var(--resource-muted);
}

.resource-card__meta dt {
  color: #646c76;
}

.resource-card__document-list {
  display: grid;
  margin: 2px 0 22px;
  border-top: 1px solid var(--resource-border);
}

.resource-card__document {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--resource-border);
}

.resource-card__document-copy h3 {
  margin: 0 0 5px;
  color: var(--resource-ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.resource-card__document-copy p {
  margin: 0 0 6px;
  color: var(--resource-muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.resource-card__document-format {
  color: #8a621e;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resource-card__document-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.resource-card__document-actions .resource-action {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.74rem;
}

.resource-card__note {
  border-left-color: var(--resource-gold);
  border-radius: 0 10px 10px 0;
  background: #fbf6ea;
  color: #625d53;
}

.manufacturer-hub-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.manufacturer-hub-card {
  min-height: 100%;
}

.manufacturer-hub-card .resource-card__description {
  min-height: 4.7em;
}

.manufacturer-hub-card .resource-card__actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--resource-border);
  text-align: center;
}

.manufacturer-hub-card .resource-action--primary {
  width: 100%;
  justify-content: center;
  margin: 0;
}

.manufacturer-hub-card .resource-action--external {
  justify-self: center;
  margin: 0;
}

.industry-organization-list {
  display: grid;
  gap: 16px;
}

.industry-organization {
  overflow: hidden;
  border: 1px solid var(--resource-border);
  border-radius: 18px;
  background: var(--resource-surface);
  box-shadow: 0 14px 36px rgba(17, 19, 24, 0.06);
}

.industry-organization__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  cursor: pointer;
  list-style: none;
}

.industry-organization__summary::-webkit-details-marker {
  display: none;
}

.industry-organization__summary > span:first-child {
  display: grid;
  gap: 4px;
}

.industry-organization__summary strong {
  color: var(--resource-ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.industry-organization__summary span span {
  color: #6b7078;
  font-size: 0.82rem;
}

.industry-organization__toggle {
  flex: 0 0 auto;
  color: #805b1b;
  font-size: 0.78rem;
  font-weight: 750;
}

.industry-organization[open] .industry-organization__toggle {
  font-size: 0;
}

.industry-organization[open] .industry-organization__toggle::after {
  content: "Hide resources";
  font-size: 0.78rem;
}

.industry-organization__resources {
  display: grid;
  border-top: 1px solid var(--resource-border);
}

.industry-resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 26px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--resource-border);
}

.industry-resource-row:last-child {
  border-bottom: 0;
}

.industry-resource-row .resource-card__heading-row,
.industry-resource-row .resource-card__description,
.industry-resource-row .resource-card__meta {
  grid-column: 1;
}

.industry-resource-row .resource-card__actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin: 0;
}

.manufacturer-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.manufacturer-detail-groups {
  display: grid;
  gap: 22px;
}

[data-manufacturer-detail] {
  display: grid;
  gap: 22px;
}

.manufacturer-detail-group,
.manufacturer-detail-source,
.manufacturer-detail-sidebar,
.manufacturer-warranty-overview {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--resource-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 19, 24, 0.06);
}

.manufacturer-detail-group h2,
.manufacturer-detail-source h2,
.manufacturer-detail-sidebar h2,
.manufacturer-warranty-overview h2 {
  margin: 0 0 16px;
  color: var(--resource-ink);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
}

.manufacturer-detail-links {
  display: grid;
}

.manufacturer-detail-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--resource-border);
}

.manufacturer-detail-link:first-child {
  border-top: 0;
}

.manufacturer-detail-link h3 {
  margin: 0 0 5px;
  color: var(--resource-ink);
  font-size: 1rem;
}

.manufacturer-detail-link p,
.manufacturer-detail-source p,
.manufacturer-detail-sidebar p,
.manufacturer-warranty-overview p {
  margin: 0;
  color: #5e636c;
  font-size: 0.88rem;
  line-height: 1.55;
}

.manufacturer-detail-source__contact-note {
  margin-top: 12px !important;
}

.manufacturer-detail-source__actions {
  display: flex;
  gap: 14px 22px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.manufacturer-detail-sidebar {
  position: sticky;
  top: 92px;
}

.manufacturer-detail-sidebar ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #565b64;
  font-size: 0.86rem;
  line-height: 1.5;
}

.resource-action {
  border-color: rgba(17, 19, 24, 0.22);
  border-radius: 10px;
  background: #fff;
  color: var(--resource-ink);
}

.resource-action:hover {
  border-color: var(--resource-gold);
  color: #805b1b;
}

.resource-action--external {
  min-height: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #725016;
  text-decoration: underline;
  text-decoration-color: rgba(114, 80, 22, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.resource-action--external:hover {
  border-color: transparent;
  background: transparent;
  color: #3f2a08;
  text-decoration-color: currentColor;
}

.resource-card__actions .resource-action--external {
  margin-inline: 2px;
}

.manufacturer-warranty-overview {
  border-left: 4px solid var(--resource-gold);
  background: #fffcf5;
}

.manufacturer-warranty-overview .resources-kicker {
  margin-bottom: 8px;
}

.manufacturer-warranty-overview__points {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding-left: 20px;
  color: #565b64;
  font-size: 0.88rem;
  line-height: 1.55;
}

.manufacturer-warranty-overview__status {
  padding: 15px 17px;
  border: 1px solid #e4d3ad;
  border-radius: 10px;
  background: #fff;
}

.manufacturer-warranty-overview__status strong {
  color: var(--resource-ink);
  font-size: 0.9rem;
}

.manufacturer-warranty-overview__status p {
  margin-top: 5px;
}

.resource-action--primary {
  border-color: var(--resource-gold);
  background: linear-gradient(135deg, #efdcae, #d8aa4c);
  color: #111318;
}

.resource-action--primary:hover {
  border-color: #c59435;
  background: linear-gradient(135deg, #f4e4bd, #e1b85c);
  color: #111318;
}

.resource-action--disabled {
  border-color: #dadcdf;
  background: #f0f1f2;
  color: #818790;
}

.resource-empty,
.resource-catalog-error {
  border-color: #c7cbd0;
  border-radius: 12px;
  background: #fff;
  color: var(--resource-muted);
}

.resources-learning-bridge {
  border-radius: 22px;
  background: #111318;
  box-shadow: 0 24px 56px rgba(17, 19, 24, 0.14);
}

.handout-shell {
  width: min(960px, calc(100% - 40px));
}

.handout-toolbar {
  border-color: var(--resource-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 19, 24, 0.06);
}

.handout-document {
  padding: clamp(30px, 6vw, 58px);
  border-color: #d5d7d9;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(17, 19, 24, 0.09);
}

.handout-document__brand {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #c7c9cc;
}

.handout-document__brand img {
  width: min(168px, 46%);
}

.handout-document__brand span {
  color: #70757c;
  font-size: 0.7rem;
}

.handout-document__title {
  max-width: 800px;
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.handout-document__lede {
  margin-bottom: 26px;
  font-size: 1rem;
  line-height: 1.62;
}

.reference-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.reference-page-content {
  min-width: 0;
}

.reference-page-intro {
  max-width: 760px;
  color: var(--resource-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.reference-section {
  padding: 26px 0;
  border-top: 1px solid var(--resource-border);
}

.reference-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.reference-section h2,
.reference-section h3 {
  color: var(--resource-ink);
}

.reference-section p,
.reference-section li {
  color: var(--resource-muted);
  line-height: 1.72;
}

@media (max-width: 820px) {
  .reference-page-layout {
    grid-template-columns: 1fr;
  }
}

.handout-section {
  padding: 19px 0;
}

.handout-section h2 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.handout-section p,
.handout-section li,
.glossary-entry p {
  line-height: 1.58;
}

.handout-caution {
  margin: 24px 0;
  padding: 17px 19px;
  border-radius: 0 10px 10px 0;
}

.handout-quick-grid,
.handout-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.handout-quick-card,
.handout-check-item {
  break-inside: avoid;
  padding: 17px 18px;
  border: 1px solid #d5d7d9;
  border-radius: 10px;
}

.handout-quick-card h2,
.handout-check-item h2 {
  margin: 0 0 7px;
  color: var(--resource-ink);
  font-size: 1.02rem;
}

.handout-quick-card p,
.handout-check-item p {
  margin: 0;
  color: #545963;
  font-size: 0.9rem;
  line-height: 1.5;
}

.handout-check-item {
  position: relative;
  padding-left: 48px;
}

.handout-check-item::before {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #4e535b;
  content: "";
}

.handout-reference-note {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid #d8dade;
  color: #727780;
  font-size: 0.74rem;
  line-height: 1.5;
}

.installer-contact-box {
  min-height: 128px;
  margin-top: 26px;
  padding: 18px;
}

.installer-contact-lines {
  gap: 18px 24px;
}

.installer-contact-lines span {
  padding-top: 20px;
}

.benefits-grid,
.glossary-grid {
  gap: 13px;
}

.benefit-card,
.glossary-entry {
  padding: 20px;
  border-radius: 10px;
}

:where(.resource-category-card, .resource-action, .resources-filter select, .resource-viewer__close, .resource-viewer__fallback):focus-visible {
  outline-color: #805b1b;
}

@media (max-width: 900px) {
  .resources-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .resources-hero__index,
  .resources-hero__panel {
    width: 100%;
  }

  .manufacturer-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manufacturer-detail-layout {
    grid-template-columns: 1fr;
  }

  .manufacturer-detail-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .resources-hero-grid {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .resources-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .resources-hero__index,
  .resources-hero__panel {
    padding-inline: 18px;
  }

  .resource-card__document {
    grid-template-columns: 1fr;
  }

  .resource-card__document-actions {
    justify-content: flex-start;
  }

  .resource-card__document-actions .resource-action {
    width: auto;
  }

  .manufacturer-hub-grid {
    grid-template-columns: 1fr;
  }

  .manufacturer-hub-card .resource-card__description {
    min-height: 0;
  }

  .industry-organization__summary {
    align-items: flex-start;
    padding: 19px 18px;
  }

  .industry-resource-row,
  .manufacturer-detail-link {
    grid-template-columns: 1fr;
  }

  .industry-resource-row {
    padding: 19px 18px;
  }

  .industry-resource-row .resource-card__actions {
    grid-column: 1;
    grid-row: auto;
  }

  .industry-resource-row .resource-card__actions .resource-action,
  .manufacturer-detail-link .resource-action {
    width: auto;
    justify-self: start;
  }

  .handout-quick-grid,
  .handout-check-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0.48in 0.55in 0.52in;
  }

  html,
  body,
  .site-shell,
  .page-shell,
  .page-main,
  .resources-content,
  .handout-shell,
  .handout-document {
    background: #fff !important;
    box-shadow: none !important;
  }

  .handout-document__brand {
    margin-bottom: 14pt;
    padding-bottom: 8pt;
  }

  .handout-document__brand img {
    width: 1.55in;
  }

  .handout-document__brand span {
    font-size: 7pt;
  }

  .handout-document__title {
    margin-bottom: 6pt;
    font-size: 23pt;
    line-height: 1.05;
  }

  .handout-document__lede {
    margin-bottom: 12pt;
    font-size: 9.5pt;
    line-height: 1.42;
  }

  .handout-section {
    padding: 9pt 0;
  }

  .handout-section h2 {
    margin-bottom: 4pt;
    font-size: 11.5pt;
  }

  .handout-document p,
  .handout-document li {
    font-size: 8.7pt;
    line-height: 1.4;
  }

  .handout-section ul {
    margin-top: 5pt;
  }

  .handout-caution {
    margin: 10pt 0;
    padding: 9pt 11pt;
    border-left-width: 2pt;
  }

  .handout-quick-grid,
  .handout-check-grid,
  .benefits-grid,
  .glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7pt;
    margin: 9pt 0;
  }

  .handout-quick-card,
  .handout-check-item,
  .benefit-card,
  .glossary-entry {
    padding: 9pt;
    border-radius: 0;
  }

  .handout-quick-card h2,
  .handout-check-item h2,
  .benefit-card h2,
  .glossary-entry h2 {
    margin-bottom: 3pt;
    font-size: 10pt;
  }

  .handout-check-item {
    padding-left: 26pt;
  }

  .handout-check-item::before {
    top: 10pt;
    left: 9pt;
    width: 10pt;
    height: 10pt;
  }

  .installer-contact-box {
    min-height: 0;
    margin-top: 10pt;
    padding: 9pt;
  }

  .installer-contact-box h2 {
    margin-bottom: 4pt;
    font-size: 10pt;
  }

  .installer-contact-lines {
    gap: 8pt 14pt;
  }

  .installer-contact-lines span {
    padding-top: 12pt;
    font-size: 7pt;
  }

  .handout-reference-note {
    margin-top: 10pt;
    padding-top: 6pt;
    font-size: 6.8pt !important;
  }

  body[data-handout-type="checklist"] .handout-document__title {
    font-size: 21pt;
  }

  body[data-handout-type="checklist"] .handout-document__lede {
    margin-bottom: 7pt;
  }

  body[data-handout-type="checklist"] .handout-section {
    padding: 5pt 0;
  }

  body[data-handout-type="checklist"] .handout-check-grid {
    gap: 4pt 12pt;
    margin: 5pt 0;
    font-size: 8pt;
    line-height: 1.25;
  }

  body[data-handout-type="checklist"] .installer-contact-lines {
    gap: 3pt 14pt;
  }

  body[data-handout-type="checklist"] .installer-contact-lines span {
    padding-top: 8pt;
  }

  body[data-handout-type="checklist"] .handout-caution {
    margin: 6pt 0;
    padding: 6pt 9pt;
  }
}
