/* Trex brand page: the live site's header, quote form, and footer stay shared. */
.tx { --tx-navy: #2c3a50; --tx-gold: #cd9a26; --tx-line: #dce1e6; color: var(--dks-text); font-size: 1rem; line-height: 1.5; }
.tx *, .tx *::before, .tx *::after { box-sizing: border-box; }
.tx-wrap { width: 100%; }
.tx-section p { margin: 1rem 0 0; }
.tx .tx-eyebrow { margin: 0 0 1.1rem; color: #765817; font-size: .875rem; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; }
.tx .tx-lead { font-size: 1rem; line-height: 1.5; color: var(--dks-muted); }
.tx-section { background: #fff; scroll-margin-top: 100px; }
.tx-section--soft { background: #f3f5f6; }
.tx-section--navy { background: var(--tx-navy); color: #fff; }
.tx-section--navy .dksH2, .tx-section--navy .dksH3 { color: #fff; }
.tx-section--navy .tx-eyebrow { color: #edc96c; }
.tx-section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 28px; }
.tx-section-head > * { flex: 1; }
.tx-section-head > p { max-width: 440px; margin: 0; }
.tx-section-head > a { flex: none; }
.tx-actions { display: flex; gap: 12px 20px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.tx-text-link { display: inline-block; color: #2c3a50; font-size: 1rem; font-weight: 700; text-decoration: underline; text-decoration-color: #cd9a26; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tx-text-link:hover { text-decoration-color: currentColor; }
.tx-section--navy .tx-text-link { color: white; }
.tx a:focus-visible, .tx summary:focus-visible, .tx [tabindex]:focus-visible { outline: 3px solid #cd9a26; outline-offset: 5px; }
.tx-skip { position: fixed; z-index: 100000; top: 8px; left: 8px; padding: 12px 20px; background: #fff; color: #172333; transform: translateY(-200%); }
.tx-skip:focus { transform: none; }
.tx-partnership { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; }
.tx-partnership .tx-text-link { margin-top: 24px; }
.tx-credential { padding: 44px 28px 0; border: 1px solid #d8dee5; border-top: 4px solid var(--tx-gold); border-radius: var(--dks-radius); background: #fff; text-align: center; overflow: hidden; box-shadow: 0 12px 36px rgba(11,15,23,.06); }
.tx-credential > img { width: min(100%, 320px); height: auto; margin: 0 auto 32px; }
.tx-credential .tx-credential__title { font-size: 1.2rem; font-weight: 750; color: #2c3a50; }
.tx-credential > p:not(.tx-credential__title) { font-size: 1rem; color: #526071; }
.tx-credential__foot { margin: 30px -28px 0; padding: 18px 24px; border-top: 1px solid var(--tx-line); background: #f5f6f8; color: #536072; font-size: .875rem; }
.tx-services { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--tx-line); scroll-margin-top: 100px; }
.tx-services > p { max-width: 72ch; }
.tx-service-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.tx-service-options article { padding-top: 22px; border-top: 2px solid var(--tx-gold); }
.tx-service-options p { color: #4a5768; }
.tx-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.tx-benefits article { border-top: 1px solid #b9c2cd; padding-top: 23px; }
.tx-benefit-mark { display: block; font-size: 1.75rem; line-height: 1; color: #866719; font-weight: 700; margin-bottom: 22px; }
.tx-benefit-mark--number { font-size: 1.6rem; }
.tx-benefits p { font-size: 1rem; color: #4a5768; }
.tx-compare { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--tx-line); scroll-margin-top: 100px; }
.tx-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.tx-compare-option { padding: 28px; background: #fff; border: 1px solid var(--tx-line); border-top: 3px solid #b9c2cd; border-radius: var(--dks-radius); }
.tx-compare-option--trex { border-top-color: var(--tx-gold); }
.tx-compare-option h4 { margin: 0; color: var(--tx-navy); font-size: 1.125rem; }
.tx-compare-option dl { margin: 20px 0 0; }
.tx-compare-option dt { margin-top: 18px; font-weight: 700; }
.tx-compare-option dd { margin: 5px 0 0; color: #4a5768; }
.tx-care { margin-top: 28px; }
.tx .tx-source { font-size: .875rem; color: #526071; margin-top: 32px; }
.tx-source a { color: inherit; text-underline-offset: 3px; }
.tx-section--navy .tx-source { color: #d8e0e9; }
.tx-table-wrap { border: 1px solid var(--tx-line); border-radius: var(--dks-radius); overflow-x: auto; }
.tx-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 1rem; }
.tx-table caption { text-align: left; padding: 16px 24px; background: #f3f5f6; font-weight: 750; color: #2c3a50; }
.tx-table th, .tx-table td { padding: 21px 24px; border-bottom: 1px solid var(--tx-line); vertical-align: top; }
.tx-table thead th { font-size: .875rem; color: #536072; background: #f3f5f6; line-height: 1.5; }
.tx-table tbody th { width: 26%; color: #24364c; }
.tx-table td:last-child { width: 22%; white-space: nowrap; font-weight: 700; color: #2c3a50; }
.tx-table td strong { display: block; font-weight: 650; }
.tx-table td span { display: block; margin-top: 4px; color: #526071; }
.tx-table tr:last-child > * { border-bottom: 0; }
.tx-collection-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tx-collection-notes p { font-size: .875rem; color: #4b5868; margin-top: 22px; }
.tx-section--navy .tx-lead { color: #d8e0e9; }
.tx-color-choices { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tx-color-choice { appearance: none; min-height: 48px; padding: 12px 24px; border: 1px solid #8491a3; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-weight: 700; text-transform: none; cursor: pointer; }
.tx-color-choice:hover { background: rgba(255,255,255,.1); }
.tx-color-choice[aria-pressed="true"] { background: #edc96c; border-color: #edc96c; color: #1d2e43; }
.tx-color-choice:focus-visible { outline: 3px solid #edc96c; outline-offset: 4px; }
.tx-color-panels { display: grid; gap: 28px; }
.tx-color-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--dks-radius); background: #fff; color: var(--dks-text); }
.tx-color-panel[hidden], .tx-color-choices[hidden] { display: none; }
.tx-color-photo { min-width: 0; margin: 0; background: #1c293a; }
.tx-color-photo img { width: 100%; height: 430px; object-fit: cover; }
.tx-color-photo figcaption { padding: 12px 20px; color: #e0e6ed; font-size: .875rem; }
#color-foggy-wharf .tx-color-photo img { object-position: center 65%; }
#color-lava-rock .tx-color-photo img { object-position: center bottom; }
/* Use the lower board detail, below the umbrella base, at a fixed crop ratio. */
.tx-color-photo-crop { position: relative; aspect-ratio: 1.65; overflow: hidden; }
#color-island-mist .tx-color-photo-crop img { position: absolute; bottom: 0; left: -50%; width: 200%; max-width: none; height: auto; }
.tx-color-copy { align-self: center; padding: 32px; }
.tx-color-copy .dksH2 { color: var(--tx-navy); }
.tx-color-copy .tx-eyebrow { color: #765817; }
.tx-color-copy .tx-color-collection { margin-top: 0; font-weight: 700; color: #526071; }
.tx-color-copy .dksChip { margin-top: 26px; }
.tx-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tx-feature__photo { margin: 0; }
.tx-feature__photo > img { width: 100%; height: 625px; object-fit: cover; object-position: center 47%; border-radius: var(--dks-radius); }
.tx-feature__photo figcaption { padding-top: 12px; font-size: .875rem; color: #526071; }
.tx-feature__copy > .tx-text-link { margin-top: 24px; }
.tx-project-details { margin: 24px 0 0; }
.tx-project-details > div { margin-top: 18px; }
.tx-project-details dt { font-weight: 700; color: var(--tx-navy); }
.tx-project-details dd { margin: 5px 0 0; color: #4a5768; }
.tx-rainescape { display: flex; align-items: center; gap: 20px; padding-top: 26px; margin-top: 28px; border-top: 1px solid var(--tx-line); }
.tx-rainescape img { width: 84px; height: auto; flex: none; }
.tx-rainescape p { font-size: .875rem; margin: 0; color: #526071; }
.tx-rainescape strong { color: #273a4e; }
.tx-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.tx-faq-layout > div:first-child > p:not(.tx-eyebrow) { max-width: 34ch; color: #526071; }
.tx-faq-layout > div:first-child .tx-text-link { margin-top: 24px; }
.tx-faqs details { position: relative; border-bottom: 1px solid rgba(44,58,80,.1); }
.tx-faqs details:last-child { border-bottom: 0; }
.tx-faqs summary { position: relative; cursor: pointer; padding: 20px 54px 20px 24px; list-style: none; font-size: 1rem; font-weight: 700; line-height: 1.5; background: rgba(44,58,80,.03); }
.tx-faqs summary::-webkit-details-marker { display: none; }
.tx-faqs summary::after { content: "+"; position: absolute; right: 24px; top: 15px; font-weight: 400; font-size: 1.5rem; color: #7b5c1c; }
.tx-faqs details[open] summary::after { content: "−"; }
.tx-faqs details p { color: var(--dks-muted); margin: 0; padding: 18px 24px 22px; }
.tx-areas { padding-block: 48px; text-align: center; }
.tx-areas h2 { font-size: 1.5rem; }
.tx-areas p { margin-bottom: 14px; }
@media (max-width: 1050px) {
  .tx-partnership, .tx-feature, .tx-faq-layout { gap: 40px; }
  .tx-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (max-width: 760px) {
  .tx h2 br { display: none; }
  .tx-partnership, .tx-feature, .tx-faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .tx-service-options { grid-template-columns: 1fr; gap: 26px; }
  .tx-section-head { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 30px; }
  .tx-section-head > p { max-width: none; }
  .tx-credential { max-width: 520px; width: 100%; margin-inline: auto; padding-top: 32px; }
  .tx-benefits { gap: 30px 22px; }
  .tx-table { min-width: 620px; }
  .tx-table th, .tx-table td { padding: 18px; }
  .tx-collection-notes { grid-template-columns: 1fr; gap: 0; }
  .tx-compare-grid, .tx-color-panel { grid-template-columns: 1fr; }
  .tx-compare-option, .tx-color-copy { padding: 24px; }
  .tx-color-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tx-color-choice { padding-inline: 12px; }
  .tx-color-photo img { height: 280px; }
  .tx-feature__photo > img { height: auto; max-height: 620px; aspect-ratio: 4 / 5; }
  .tx-areas { padding-block: 40px; }
}
@media (max-width: 420px) {
  .tx-benefits { grid-template-columns: 1fr; }
  .tx-benefits article { padding-top: 18px; }
  .tx-benefit-mark { margin-bottom: 14px; }
  .tx-rainescape { gap: 16px; }
  .tx-rainescape img { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tx * { transition: none !important; }
}
