/* Trellis — Industry pages (hub + industry silos): one shared content width, image placeholders, industry cards, jump nav, tall-image split, related-page cards, card groups, topic grids, photo banner */

/* ---------- One content width for every section on industry pages (full-bleed photo banner excluded) ---------- */
:root{--tr-page-w:1240px}
.tr-crumbs ol,.tr-jump,.tr-split,.tr-svcs,.tr-topic,.tr-proof,.tr-pillars-sec,.tr-rel,.tr-faqs,.tr-inds,.tr-flow-in,.tr-ph-sec{max-width:var(--tr-page-w)!important;margin-left:auto!important;margin-right:auto!important;padding-left:var(--tr-gutter)!important;padding-right:var(--tr-gutter)!important;box-sizing:border-box}
.tr-topic::before{left:var(--tr-gutter);right:var(--tr-gutter)}

/* ---------- Hero: same widths as every other inner-page hero (content 1200, H1 1100, lede 1020, sub 1000) ---------- */
.tr-ind-hero .tr-ihero-lede{max-width:1020px;margin-left:auto;margin-right:auto}
.tr-ind-hero .tr-ihero-sub{max-width:1000px;margin-left:auto;margin-right:auto}
.tr-ind-hero .tr-ihero-sub + .tr-ihero-sub{margin-top:14px}

/* Image placeholders: striped panel + label. Swap each .tr-ph for an <img> using its data-ph-alt text. */
.tr-ph{position:relative;display:grid;place-items:center;overflow:hidden;background-color:#2f3829;background-image:repeating-linear-gradient(135deg,rgba(245,241,232,.055) 0 14px,transparent 14px 28px);color:var(--tr-stone);text-align:center}
.tr-ph::after{content:"";position:absolute;inset:10px;border:1px dashed rgba(216,204,184,.42);pointer-events:none}
.tr-ph-label{position:relative;z-index:1;font-family:var(--tr-display);font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;line-height:1.75;padding:18px;max-width:34ch}
.tr-ph-label b{display:block;font-weight:500;color:var(--tr-terra);letter-spacing:.2em;margin-bottom:4px}
.tr-ph-label span{display:block;margin-top:6px;font-weight:300;font-size:12.5px;letter-spacing:.02em;text-transform:none;color:rgba(245,241,232,.78)}
.tr-ind-hero{position:relative}
.tr-ph--hero{position:absolute;inset:0;z-index:0;place-items:end end;background-color:transparent;pointer-events:none}
.tr-ph--hero .tr-ph-label{margin:0 clamp(22px,3vw,44px) clamp(22px,3vw,36px) 0;max-width:26ch;padding:12px 16px;text-align:left;font-size:10px;background:rgba(26,32,23,.66);border:1px solid rgba(216,204,184,.22)}
.tr-ph--hero .tr-ph-label span{font-size:11.5px}
@media (max-width:1180px){.tr-ph--hero .tr-ph-label{display:none}}
.tr-ind-hero .tr-ihero-content{position:relative;z-index:2}
.tr-ph--bg{position:absolute;inset:-8% 0;background-color:#27301f}
.tr-ph--tall{aspect-ratio:3/4;width:100%}
.tr-ph--card{aspect-ratio:5/3;width:100%}
/* Standalone wide placeholder section (2400x1400 graphics) and 4-up photo grid */
.tr-ph-sec{padding-top:clamp(72px,8vw,112px)}
.tr-ph--wide{aspect-ratio:12/7;width:100%}
.tr-ph-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,22px)}
.tr-ph-grid .tr-ph-label{font-size:10px;padding:12px}
.tr-ph-grid .tr-ph-label span{font-size:11.5px}
@media (max-width:900px){.tr-ph-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Jump navigation */
.tr-jump{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;padding-top:20px;padding-bottom:20px;border-bottom:1px solid var(--tr-line);font-family:var(--tr-display);font-weight:500;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
.tr-jump a{display:inline-flex;align-items:center;gap:10px;color:var(--tr-olive);transition:color .3s ease}
.tr-jump a::before{content:"";width:5px;height:5px;background:var(--tr-terra);transform:rotate(45deg)}
.tr-jump a:hover{color:var(--tr-terra)}

/* Industry cards: full width, stacked; image left (5:3), text right. Image on top on narrow screens. */
.tr-inds{display:grid;grid-template-columns:1fr;gap:clamp(20px,2.4vw,32px);margin-top:clamp(40px,4vw,60px)!important}
.tr-ind,.tr-ind:nth-child(4),.tr-ind:nth-child(5){grid-column:auto}
.tr-ind{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:stretch;background:#fff;border:1px solid var(--tr-line);transition:border-color .5s var(--tr-ease),box-shadow .6s var(--tr-ease-out)}
.tr-ind:hover{border-color:rgba(196,122,74,.4);box-shadow:0 26px 50px -32px rgba(26,32,23,.35)}
.tr-ind .tr-ph--card{aspect-ratio:auto;height:100%;min-height:340px}
.tr-ind-body{display:flex;flex-direction:column;padding:clamp(28px,3.4vw,52px)}
.tr-ind .tr-qn{margin-bottom:12px}
.tr-ind h3{font-size:clamp(26px,2.4vw,34px);font-weight:300;line-height:1.15;margin:0 0 14px}
.tr-ind-kicker{font-family:var(--tr-display);font-weight:400;font-size:16px;line-height:1.45;color:var(--tr-terra);margin:0 0 18px!important}
.tr-ind-body p{font-size:15px;line-height:1.75;color:rgba(63,73,56,.86);margin:0 0 14px;max-width:68ch}
.tr-ind-cta{margin-top:auto;padding-top:20px;border-top:1px solid var(--tr-line);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px}
.tr-ind-soon{font-family:var(--tr-display);font-weight:500;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:rgba(63,73,56,.45)}
.tr-ind-flag{font-family:var(--tr-display);font-size:11px;letter-spacing:.04em;color:var(--tr-sage)}
@media (max-width:860px){.tr-ind{grid-template-columns:1fr}.tr-ind .tr-ph--card{aspect-ratio:5/3;height:auto;min-height:0}}

/* Tall image beside copy */
.tr-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(36px,5.5vw,88px);align-items:center;padding-top:clamp(88px,10vw,140px)}
.tr-split--flip{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.tr-split--flip .tr-ph{order:2}
/* No image in the split (image removed or not supplied yet): single readable column instead of a half-width squeeze */
.tr-split:not(:has(> .tr-ph, > img, > .tr-split-img, > .tr-split-media)),.tr-split--flip:not(:has(> .tr-ph, > img, > .tr-split-img, > .tr-split-media)){grid-template-columns:minmax(0,1fr)}
.tr-split:not(:has(> .tr-ph, > img, > .tr-split-img, > .tr-split-media)) .tr-split-body{max-width:860px}
.tr-split-body h2{font-size:clamp(30px,3.2vw,46px);margin:0 0 22px}
.tr-split-body .tr-eyebrow{margin:0 0 14px}
.tr-split-body p{margin:0 0 16px}
.tr-split-body .tr-link{margin-top:6px}
.tr-tri--left{margin-left:0}
@media (max-width:900px){.tr-split,.tr-split--flip{grid-template-columns:1fr}.tr-split--flip .tr-ph{order:0}.tr-ph--tall{aspect-ratio:4/3}}

/* Copy on dark photo sections */
.tr-ind-search{max-width:820px;margin:clamp(28px,3vw,40px) auto 0;text-align:center}
.tr-ind-search p{margin:0 0 18px;font-size:16.5px;line-height:1.75;color:rgba(245,241,232,.86)}
.tr-ind-search a{color:var(--tr-ivory);text-decoration:underline;text-decoration-color:var(--tr-terra);text-underline-offset:3px}

/* Related pages (silo navigation) */
.tr-rel{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:clamp(18px,2vw,28px);margin-top:clamp(36px,4vw,52px)!important}
.tr-rel-card{position:relative;display:flex;flex-direction:column;padding:clamp(24px,2.4vw,32px);background:#fff;border:1px solid var(--tr-line);transition:border-color .5s var(--tr-ease),box-shadow .6s var(--tr-ease-out),transform .6s var(--tr-ease-out)}
.tr-rel-card:hover{border-color:rgba(196,122,74,.45);box-shadow:0 22px 44px -30px rgba(26,32,23,.35);transform:translateY(-3px)}
.tr-rel-card .tr-qn{margin-bottom:12px}
.tr-rel-card h3{font-size:clamp(20px,1.7vw,24px);font-weight:300;line-height:1.22;margin:0 0 12px}
.tr-rel-card h3 a::after{content:"";position:absolute;inset:0}
.tr-rel-card p{font-size:14px;line-height:1.7;color:rgba(63,73,56,.84);margin:0 0 18px}
.tr-rel-card .tr-link{margin-top:auto;align-self:flex-start}

/* Card groups (.tr-proof): real cards with even padding (overrides base "div + div {padding-left:0}" and p max-width), balanced 4- and 5-item grids, readable on dark */
.tr-proof{gap:clamp(18px,2vw,28px);margin-top:clamp(36px,4vw,52px)!important}
.tr-proof > div,.tr-proof > div + div{position:relative;padding:clamp(26px,2.6vw,36px);background:#fff;border:1px solid var(--tr-line)}
.tr-proof > div::before{content:"";position:absolute;left:clamp(26px,2.6vw,36px);top:-1px;width:40px;height:2px;background:var(--tr-terra);z-index:2}
.tr-proof .tr-qn{display:block;margin:0 0 14px}
.tr-proof h3{font-size:clamp(20px,1.7vw,24px);font-weight:300;line-height:1.22;margin:0 0 12px}
.tr-proof p{font-size:14.5px;line-height:1.75;margin:0;max-width:none}
.tr-proof a{color:inherit;text-decoration:underline;text-decoration-color:var(--tr-terra);text-underline-offset:3px}
/* Card image (or its placeholder) runs edge to edge across the top of the card, above the number and title.
   Same rule styles the real <img> once a placeholder is swapped out. */
.tr-proof > div > .tr-ph--cardtop,.tr-proof > div > img.tr-card-img{display:block;width:auto;aspect-ratio:5/3;object-fit:cover;margin:calc(-1 * clamp(26px,2.6vw,36px)) calc(-1 * clamp(26px,2.6vw,36px)) clamp(20px,2vw,26px)}
.tr-proof > div > .tr-ph--cardtop .tr-ph-label{max-width:40ch;padding:14px 18px}
@media (min-width:821px){
  .tr-proof:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .tr-proof:has(> :nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
  .tr-proof:has(> :nth-child(5):last-child) > *{grid-column:span 2}
  .tr-proof:has(> :nth-child(5):last-child) > :nth-child(4){grid-column:2 / span 2}
  .tr-proof:has(> :nth-child(5):last-child) > :nth-child(5){grid-column:4 / span 2}
}
.tr-dark .tr-proof > div,.tr-dark .tr-proof > div + div{background:rgba(245,241,232,.045);border-color:rgba(245,241,232,.14)}
.tr-dark .tr-proof h3{color:var(--tr-ivory)}
.tr-dark .tr-proof p{color:rgba(245,241,232,.78)}
.tr-dark .tr-proof .tr-qn{color:var(--tr-terra)}
.tr-dark .tr-proof a{color:var(--tr-ivory)}

/* Service rows with long spec headings: smaller title (overrides the 36px base) so it doesn't stack into 4+ lines */
.tr-svcs .tr-svc .tr-svc-title h3.tr-svc-name{font-size:clamp(21px,1.85vw,27px);line-height:1.24;letter-spacing:-.01em}

/* Process timeline: spec step titles are longer than the site's one-word steps, so size them for the narrow cards */
.tr-steps .tr-step-card h3{font-size:clamp(17px,1.4vw,20px)!important;line-height:1.28!important;letter-spacing:-.005em}

/* Final CTA: button, then a plain guidance sentence, then the email (same as the homepage).
   The shared partial styles .tr-final-note as an uppercase link label; reset it to the homepage sentence style. */
.tr-final .tr-final-in .tr-btn{margin-bottom:34px}
.tr-final .tr-final-in .tr-final-note{font-family:var(--tr-body);font-size:13.5px!important;font-weight:400;letter-spacing:normal;text-transform:none;line-height:1.7;color:rgba(245,241,232,.8);max-width:1000px;margin:0 auto 12px!important}
.tr-final-in > .tr-btn + .tr-final-email{display:table;margin:0 auto}

/* Topic sections: numbered workflow lists */
.tr-topic-body ol.tr-steplist{margin:4px 0 18px;padding:0;list-style:none;counter-reset:st;border-top:1px solid var(--tr-line)}
.tr-topic-body ol.tr-steplist li{counter-increment:st;display:flex;gap:14px;align-items:baseline;padding:11px 0;border-bottom:1px solid var(--tr-line);font-size:15px;line-height:1.55}
.tr-topic-body ol.tr-steplist li::before{content:"0" counter(st);flex:none;font-family:var(--tr-display);font-weight:500;font-size:10.5px;letter-spacing:.16em;color:var(--tr-terra)}

/* Topic grid: consecutive text sections grouped into cards */
.tr-pillars-sec{padding-top:clamp(80px,9vw,128px)}
.tr-pillars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2vw,28px)}
.tr-pillars:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.tr-pillar{position:relative;display:flex;flex-direction:column;padding:clamp(26px,2.6vw,36px);background:#fff;border:1px solid var(--tr-line)}
.tr-pillar::before{content:"";position:absolute;left:clamp(26px,2.6vw,36px);top:-1px;width:40px;height:2px;background:var(--tr-terra)}
.tr-pillar .tr-topic-side{position:static;top:auto;display:block;margin:0 0 14px}
.tr-pillar .tr-topic-side .tr-qn{display:block;margin:0 0 14px}
.tr-pillar .tr-topic-side h2{font-size:clamp(21px,1.9vw,27px);line-height:1.22;margin:0}
.tr-pillar .tr-topic-body{max-width:none;display:flex;flex-direction:column;flex:1}
.tr-pillar .tr-topic-body p{font-size:14.5px;line-height:1.75;color:rgba(63,73,56,.84);margin:0 0 12px;max-width:none}
/* Lead sentence: base .tr-lead uses !important sizes, so override at the same strength, scaled for a card */
.tr-pillar .tr-topic-body p.tr-lead{font-family:var(--tr-display)!important;font-weight:300!important;font-size:16.5px!important;line-height:1.55!important;color:var(--tr-olive);margin:0 0 12px}
.tr-pillar .tr-topic-body p:last-of-type{margin-bottom:0}
.tr-pillar .tr-link{margin-top:auto;padding-top:20px;align-self:flex-start}
@media (max-width:900px){.tr-pillars,.tr-pillars:has(> :nth-child(3):last-child){grid-template-columns:1fr}}

/* ---------- Photo banner: identical to the homepage "Based in Texas" section ----------
   Edge to edge with only the site gutter; photo parallax + line-by-line reveal come from the shared scripts. */
.tr-banner{padding:clamp(88px,10vw,140px) var(--tr-gutter) 0;max-width:none;margin:0}
.tr-banner-in{position:relative;min-height:clamp(480px,46vw,640px);background:var(--tr-olive);color:var(--tr-ivory);overflow:hidden;display:flex;align-items:flex-end}
.tr-banner-bg{position:absolute;inset:-12% 0;background:var(--tr-olive)}
.tr-banner-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%;display:block}
.tr-banner-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(20,26,18,.94) 0%,rgba(22,28,20,.86) 30%,rgba(24,30,21,.5) 52%,rgba(24,30,21,.12) 72%,transparent 100%),linear-gradient(180deg,transparent 55%,rgba(18,23,16,.55) 100%)}
.tr-banner-content{position:relative;z-index:2;padding:clamp(28px,3.4vw,52px);max-width:760px}
.tr-banner .tr-eyebrow{color:var(--tr-ivory)}
.tr-banner h2{font-size:clamp(30px,3.2vw,46px);margin:12px 0 24px;color:var(--tr-ivory)}
.tr-banner-content p:not(.tr-eyebrow){font-size:15px;line-height:1.75;color:rgba(245,241,232,.82);margin:0 0 14px;max-width:640px}
.tr-banner-content p.tr-banner-lead{font-family:var(--tr-display);font-weight:300;font-size:clamp(18px,1.45vw,21px);line-height:1.5;color:var(--tr-ivory)}
.tr-banner-content a:not(.tr-link){color:var(--tr-ivory);text-decoration:underline;text-decoration-color:var(--tr-terra);text-underline-offset:3px}
.tr-banner-content a:not(.tr-link):hover{color:var(--tr-stone)}
.tr-banner .tr-link{margin-top:14px;color:var(--tr-ivory)}
@media (max-width:760px){.tr-banner-in{min-height:0}.tr-banner-content{padding:clamp(160px,40vw,240px) 24px 28px}.tr-banner-shade{background:linear-gradient(180deg,rgba(20,26,18,.35) 0%,rgba(20,26,18,.88) 45%,rgba(18,23,16,.96) 100%)}}
