/* Independent Tienrun layout, calibrated from public browser measurements. */
:root {
  --tienrun-accent: #008fbe;
  --tienrun-text: #20294f;
  --tienrun-muted: #5a6170;
  --tienrun-dark: #101640;
  --tienrun-border: #d9dce3;
  --tienrun-surface: #f3f4f7;
  --tienrun-gutter: 80px;
  --tienrun-width: 1600px;
  --tienrun-header-height: 80px;
  --tienrun-motion: 200ms;
  --tienrun-easing: ease-out;
  --tienrun-hover: #006c91;
  --tienrun-hover-surface: #edf7fb;
  --tienrun-arrow-travel: 5px;
  --tienrun-image-zoom: 1.02;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--tienrun-text); background: #fff; font: 16px/1.6 Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-underline-offset: .25em; }
/* Prose keeps native underlines; component links own their interaction states. */
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: 60px; }
h2 { font-size: 40px; letter-spacing: .01em; }
h3 { font-size: 25px; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid #008fbe; outline-offset: 5px; }
.dark-section :focus-visible, .photo-surface :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: #77d9ff; }
.container { width: calc(100% - var(--tienrun-gutter) * 2); max-width: var(--tienrun-width); margin-inline: auto; min-width: 0; }
.section { padding-block: 80px; }
body { --tienrun-admin-offset: 0px; }
body.admin-bar { --tienrun-admin-offset: 32px; }
main [id], main[id] { scroll-margin-top: calc(var(--tienrun-header-height) + var(--tienrun-admin-offset) + 16px); }
@media (max-width: 782px) { body.admin-bar { --tienrun-admin-offset: 46px; } }
@media (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
.eyebrow { display: flex; align-items: center; gap: 24px; color: var(--tienrun-accent); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::after { content: ''; width: 80px; height: 1px; background: currentColor; opacity: .35; flex-shrink: 0; }
.section-heading { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
.section-heading h2 { text-transform: uppercase; }
.section-intro { max-width: 580px; color: var(--tienrun-muted); }
.dark-section { background: var(--tienrun-dark); color: #fff; }
.dark-section .eyebrow { color: #77cae6; }
.dark-section .section-intro { color: #e0e4ee; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 100; padding: 12px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Stable control sizes: narrower desktop containers do not shrink controls. */
.button, .header-rfq { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; padding: 24px 32px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; line-height: 24px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background-color var(--tienrun-motion) var(--tienrun-easing), color var(--tienrun-motion) var(--tienrun-easing), border-color var(--tienrun-motion) var(--tienrun-easing); }
.button--primary, .header-rfq { background: #fff; color: var(--tienrun-text); }
.button--secondary { border-color: #c3c9d7; background: transparent; color: inherit; }
.button--primary:hover, .button--primary:focus-visible, .header-rfq:hover, .header-rfq:focus-visible { background: #007fa9; color: #fff; border-color: #77d9ff; }
.button--secondary:hover, .button--secondary:focus-visible { background: #fff; color: var(--tienrun-text); border-color: #fff; }
.button:active, .header-rfq:active { background: #bce8f7; color: var(--tienrun-dark); }
.button span, .text-link span { font-size: 24px; font-weight: 400; transition: translate var(--tienrun-motion) var(--tienrun-easing), color var(--tienrun-motion) var(--tienrun-easing); }
.button:hover span, .button:focus-visible span, .text-link:hover span, .text-link:focus-visible span { translate: var(--tienrun-arrow-travel) 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }

.site-header { position: sticky; top: var(--tienrun-admin-offset); z-index: 30; background: var(--tienrun-text); color: #fff; transition: background-color var(--tienrun-motion) var(--tienrun-easing); }
.home .site-header { margin-bottom: calc(-1 * var(--tienrun-header-height)); background: transparent; }
.home .site-header.is-scrolled, .home .site-header:has(.menu-toggle[aria-expanded=true]) { background: var(--tienrun-text); }
.site-bar { width: calc(100% - 44px); max-width: none; display: flex; align-items: center; gap: 22px; min-height: var(--tienrun-header-height); padding-block: 12px; }
.site-branding { flex: 0 0 180px; min-width: 0; }
.site-branding a { font-size: 30px; line-height: 33px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.site-branding .custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: auto; height: auto; max-width: 180px; max-height: 44px; object-fit: contain; }
/* Keep the homepage header slot stable while sizing the logo by width, not canvas height. */
.home .site-branding .custom-logo-link { width: 132px; height: 44px; }
.home .site-branding .custom-logo { width: 100%; height: auto; max-width: 100%; max-height: none; }
.primary-navigation { min-width: 0; }
.primary-navigation .menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.primary-navigation li { position: relative; flex-shrink: 0; }
.primary-navigation .menu-rfq-mobile { display:none; }
.primary-navigation a { display: block; position: relative; padding-block: 10px; color: #fff; text-decoration: none; font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.primary-navigation .menu > li > a::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 100%; height: 2px; background: #77d9ff; transform: scaleX(0); transform-origin: right center; transition: transform var(--tienrun-motion) var(--tienrun-easing); }
.primary-navigation .menu > li > a:is(:hover, :focus-visible)::after { transform: scaleX(1); transform-origin: left center; }
.primary-navigation .sub-menu { position: absolute; top: 100%; left: 0; z-index: 2; width: 260px; margin: 0; padding: 16px; list-style: none; background: var(--tienrun-text); visibility: hidden; opacity: 0; translate: 0 6px; transition: opacity 150ms, translate 150ms, visibility 150ms; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { visibility: visible; opacity: 1; translate: 0 0; }
.primary-navigation .sub-menu a { padding: 10px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.primary-navigation .sub-menu a:hover, .primary-navigation .sub-menu a:focus-visible { background: #ffffff14; }
.primary-navigation .sub-menu .sub-menu { position: static; width: auto; padding: 0 0 0 12px; }
.header-rfq { min-height: 46px; margin-left: auto; padding: 10px 22px; flex-shrink: 0; font-size: 10px; line-height: 24px; }
.menu-toggle { align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #718099; background: transparent; color: #fff; font-size: 11px; text-transform: uppercase; }

.primary-navigation .menu > li > a { width: fit-content; transition: color var(--tienrun-motion) var(--tienrun-easing); }
.primary-navigation .menu > li > a:is(:hover, :focus-visible),
.primary-navigation :is(.current-menu-item,.current-menu-ancestor,.current_page_item) > a { color: #a8e7ff; }
/* Media boxes determine layout; intrinsic photo dimensions never do. */
.photo-surface, .image-slot { position: relative; isolation: isolate; overflow: hidden; background: #46566a; }
.section-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-surface > .section-photo, .image-slot > .section-photo { position: absolute; inset: 0; z-index: -2; }
.photo-surface { color: #fff; }
.photo-surface::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 15%, #101640e8 100%); }
.hero { display: flex; align-items: center; min-height: 800px; padding-block: 180px 100px; background: var(--tienrun-text); }
.hero::before { background: linear-gradient(90deg, #20294ff5, #20294fc9 40%, #20294f15 85%); }
.hero-content { position: relative; }
.hero .eyebrow { color: #c3cadb; margin-bottom: 40px; }
.hero h1 { width: 650px; max-width: 100%; font-size: 60px; line-height: 60px; letter-spacing: .025em; text-transform: uppercase; }
.hero-summary { max-width: 600px; margin: 40px 0 0 60px; padding-left: 32px; border-left: 1px solid #299bc4; font-size: 16px; line-height: 27px; color: #edf0f7; }
.hero .cta-row { margin-left: 60px; }
.hero .button { min-width: 290px; }
.proof-strip { position: relative; margin-top: -30px; padding-top: 30px; background: #fff; clip-path: polygon(0 30px,6% 30px,9% 0,91% 0,94% 30px,100% 30px,100% 100%,0 100%); }
.proof-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 30px 0 80px; margin-block: 0; }
.proof-list li { display: flex; align-items: center; gap: 20px; padding-inline: 20px; border-right: 1px solid var(--tienrun-border); }
.proof-list li:last-child { border-right: 0; }
.proof-symbol { flex: 0 0 52px; }
.proof-list strong { display: block; font-size: 18px; line-height: 1.25; }
.proof-list small { display: block; margin-top: 10px; color: #7b8190; font-size: 10px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }

/* Four / two / one columns at explicit measured breakpoints. */
.industries { padding-block: 0 80px; }
.industry-panels, .product-directory { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; }
.industry-panels > .section-heading, .product-directory > .section-heading { grid-column: span 2; align-self: center; margin: 0; padding-right: 24px; }
.industry-panels .section-intro, .product-directory .section-intro, .materials .section-intro { margin-left: 60px; padding-left: 24px; border-left: 1px solid #779ba9; }
.industry-panel, .product-entry { display: flex; align-items: flex-end; aspect-ratio: 1; min-width: 0; border-radius: 6px; }

.industry-copy, .product-copy { width: 100%; padding: 28px 28px 54px; }
.industry-copy h3, .product-copy h3 { font-size: 25px; line-height: 30px; margin-bottom: 12px; }
.industry-copy h3 a, .product-copy h3 a { display: block; color: inherit; text-decoration: none; }
.industry-copy h3 a::after, .product-copy h3 a::after { content: ''; position: absolute; inset: 0; }
.industry-copy h3 a > span, .product-copy h3 a > span { position: absolute; bottom: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; width: 86px; height: 44px; padding-right: 16px; clip-path: polygon(48% 0,100% 0,100% 100%,0 100%); background: #fff; color: var(--tienrun-text); font-size: 28px; font-weight: 400; pointer-events: none; transition: color var(--tienrun-motion) var(--tienrun-easing), background-color var(--tienrun-motion) var(--tienrun-easing), padding-right var(--tienrun-motion) var(--tienrun-easing); }
.product-copy h3 a > span { background: var(--tienrun-dark); color: #fff; }
.industry-copy p, .product-copy p { font-size: 14px; line-height: 21px; color: #e5e9f0; }
.industry-panel::after, .product-entry::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #101640b3; opacity: 0; pointer-events: none; transition: opacity var(--tienrun-motion) var(--tienrun-easing); }
.industry-panel:has(a[href]):hover::after, .industry-panel:focus-within::after, .product-entry:has(a[href]):hover::after, .product-entry:focus-within::after { opacity: 1; }
.industry-panel:has(a[href]):is(:hover, :focus-within) h3 a > span, .product-entry:has(a[href]):is(:hover, :focus-within) h3 a > span { color: #fff; background: #007fa9; padding-right: 11px; }
.industry-panel > .section-photo, .product-entry > .section-photo { transition: transform var(--tienrun-motion) var(--tienrun-easing); }
.industry-panel:has(a[href]):is(:hover, :focus-within) > .section-photo, .product-entry:has(a[href]):is(:hover, :focus-within) > .section-photo { transform: scale(var(--tienrun-image-zoom)); }
.industry-copy h3, .product-copy h3 { transition: color var(--tienrun-motion) var(--tienrun-easing); }
.industry-panel:has(a[href]):is(:hover, :focus-within) h3, .product-entry:has(a[href]):is(:hover, :focus-within) h3 { color: #a8e7ff; }
.industry-panel:focus-within, .product-entry:focus-within { outline: 3px solid #44b9e8; outline-offset: -3px; }
.product-copy > p:last-child { min-height: 63px; opacity: 0; transition: opacity var(--tienrun-motion) var(--tienrun-easing); }
.product-entry:hover .product-copy > p:last-child, .product-entry:focus-within .product-copy > p:last-child { opacity: 1; }
.products { position: relative; padding-block: 118px 118px; clip-path: polygon(0 0,47% 0,51% 38px,100% 38px,100% 100%,0 100%); }
.product-collection { grid-column: span 2; display: flex; align-items: flex-end; justify-content: center; min-width: 0; padding: 28px; border-radius: 6px; }
.product-collection::before { background: #10164045; }
.product-collection .button { background: #008fbe; color: #fff; }
.product-collection .button:is(:hover, :focus-visible) { background: #fff; color: var(--tienrun-text); border-color: #fff; }
@media (min-width: 1025px) {
  .homepage #products .product-directory > .product-collection { grid-column: auto; }
}

.process { padding-block: 82px 60px; }
.process .section-heading { max-width: 1100px; margin: 0 auto 60px; text-align: center; gap: 40px; }
.process .section-heading h2 { max-width: 800px; margin-inline: auto; }
.process .eyebrow { justify-content: center; }
.process .section-intro { max-width: 100%; margin-inline: auto; }
.process-stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; list-style: none; margin: 0; padding: 0; }
.process-stage { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--tienrun-surface); border-radius: 6px; }
.process-copy { position: relative; order: -1; padding: 60px; min-height: 380px; }
.process-copy .eyebrow { justify-content: flex-start; margin-bottom: 25px; }
.process-copy .eyebrow::after { display: none; }
.process-copy h3 { position: relative; font-size: 32px; line-height: 35px; margin-bottom: 25px; }
.process-copy > p:last-child { position: relative; color: var(--tienrun-muted); font-size: 16px; line-height: 25px; }
.stage-number { position: absolute; top: 12px; right: 16px; color: #e8eaf0; font-size: 150px; font-weight: 700; line-height: 1; }
.process-image { aspect-ratio: 3 / 2; margin-top: auto; flex-shrink: 0; }
.process-bridge { max-width: 950px; margin: 50px auto 0; padding: 60px 0; text-align: center; }
.process-bridge h2 { text-transform: uppercase; margin-bottom: 32px; }
.process-bridge p { color: var(--tienrun-muted); }
.process-bridge .button { margin-top: 40px; background: var(--tienrun-text); color: #fff; }
.process-bridge .button:is(:hover, :focus-visible) { background: #007fa9; border-color: #007fa9; }
.capabilities { padding: 0; }
.feature-layout { display: grid; width: 100%; max-width: none; grid-template-columns: 1fr 1fr; align-items: stretch; }
.capability-image { min-height: 800px; }
.capability-image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,transparent 50%,#101640 100%); }
.feature-copy { padding: 80px var(--tienrun-gutter) 80px 48px; }
.feature-copy .section-heading { gap: 40px; }
.feature-copy .section-intro { margin-left: 60px; padding-left: 32px; border-left: 1px solid #3786a3; }
.capability-list, .material-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
.capability-list li { padding: 16px; background: #1b234d; border-radius: 4px; font-size: 15px; line-height: 24px; }
.capability-list a, .material-list a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.capability-list a::before { content: '+'; display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; flex-shrink: 0; border-radius: 50%; background: #029ecb; color: #fff; font-size: 20px; }
.capability-list a span { display: none; }

.capability-cta { margin-top: 40px; background: transparent; border: 1px solid #adb7c9; color: #fff; }
.capability-cta:is(:hover, :focus-visible) { background: #fff; color: var(--tienrun-text); border-color: #fff; }
.knowledge { position: relative; isolation: isolate; padding-block: 80px; background: #f5f6f8; }
.knowledge::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #049ed1; clip-path: polygon(86% 0,100% 0,100% 100%,56% 100%); }
.knowledge-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: center; }
.materials .section-heading h2 { max-width: 19ch; }
.material-list li { padding: 18px; background: #fff; border-radius: 5px; font-size: 15px; line-height: 24px; }
.material-list a::before { content: '+'; color: var(--tienrun-accent); font-size: 20px; }
.condition-list { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--tienrun-border); color: var(--tienrun-muted); font-size: 13px; }
.resource-story { padding: 16px; background: #fff; }
.resource-image { aspect-ratio: 3 / 2; border-radius: 5px; }
.resource-copy { padding: 40px 28px 28px; }
.resource-copy .eyebrow { color: #b67b35; margin-bottom: 30px; }
.resource-copy h3 { font-size: 30px; line-height: 36px; margin-bottom: 28px; }
.resource-copy p:not(.eyebrow) { color: var(--tienrun-muted); font-size: 16px; line-height: 26px; }
.resource-copy .text-link { display: flex; margin-top: 28px; border-bottom: 1px solid #a8b3c4; text-decoration: none; }
.resource-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.resource-controls button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: #128ebd; color: #fff; font-size: 24px; transition: background-color var(--tienrun-motion) var(--tienrun-easing); }
.resource-controls button:hover, .resource-controls button:focus-visible { background: #08739b; }
.resource-controls span { color: #fff; font-size: 12px; letter-spacing: .1em; }
.final-cta { padding-block: 120px; background: var(--tienrun-dark) url('../images/demo/footer-pattern.svg') center / cover; text-align: center; }
.final-cta::before { background: #10164080; }
.final-cta .section-heading { max-width: 1000px; margin: 0 auto; gap: 40px; }
.final-cta .eyebrow { justify-content: center; color: #b2c4da; }
.final-cta h2 { max-width: 900px; margin-inline: auto; font-size: 44px; }
.final-cta .section-intro { max-width: 760px; margin-inline: auto; color: #d4d9e5; }
.final-cta .cta-row { justify-content: center; }
.site-footer { background: var(--tienrun-dark); color: #d5dbeb; }
.footer-columns { display: grid; grid-template-columns: 1.5fr repeat(5,minmax(0,1fr)); gap: 28px; border-top: 1px solid #3c456a; padding-block: 60px 100px; }
.footer-columns > nav { border-left: 1px solid #3c456a; padding-left: 24px; min-width: 0; }
.footer-brand { display: block; margin-bottom: 30px; color: #fff; font-size: 30px; line-height: 1.2; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.footer-brand-row p { font-size: 18px; line-height: 27px; }
.footer-brand-row .text-link { margin-top: 30px; font-size: 11px; }
.footer-columns h2 { margin-bottom: 40px; color: #a5afca; font-size: 13px; line-height: 20px; letter-spacing: .18em; text-transform: uppercase; }
.footer-columns ul { list-style: none; margin: 0; padding: 0; }
.footer-columns li { margin-bottom: 24px; font-size: 16px; line-height: 21px; }
.footer-columns a { text-decoration: none; }
.footer-columns a:hover, .footer-columns a:focus-visible { color: #fff; }
.footer-copyright { padding-block: 32px; border-top: 1px solid #3c456a; font-size: 12px; }
main.container { padding-block: 64px; }
main.container article { margin-bottom: 48px; }
main.container h1, main.container h2, main.container p { margin-bottom: 20px; }
.alignwide { max-width: 100%; }

@media (min-width: 1025px) {
  /* Preserve the header slot; the logo canvas includes transparent artwork margins. */
  .site-header .site-branding .custom-logo-link { width: 146px; height: 44px; }
  .site-header .site-branding .custom-logo { width: 100%; height: auto; max-width: 100%; max-height: none; }
}

/* Three independent desktop tracks preserve the existing header height and gutters. */
@media (min-width: 1200px) {
  .site-bar { display: grid; grid-template-columns: 180px minmax(0, 1fr) 210px; column-gap: 22px; }
  .site-header .site-branding .custom-logo-link { width: 168px; }
  .primary-navigation { display: flex; justify-content: center; padding-inline-start: 20px; }
  .primary-navigation .menu { gap: 30px; }
  .header-rfq { grid-column: 3; justify-self: end; margin-left: 0; white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .site-bar { grid-template-columns: 160px minmax(0, 1fr) 196px; column-gap: 16px; }
  .site-header .site-branding .custom-logo-link { width: 157px; }
  .primary-navigation { padding-inline-start: 0; }
  .primary-navigation .menu { gap: 22px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .site-bar { grid-template-columns: 160px minmax(0, 1fr) 180px; column-gap: 12px; }
  .primary-navigation .menu { gap: 16px; }
}

/* Compact desktop: preserve type and controls, spend less space on gaps. */
@media (min-width: 1025px) and (max-width: 1380px) {
  .industry-copy, .product-copy { padding: 24px 20px 52px; }
  .industry-copy h3, .product-copy h3 { font-size: 24px; line-height: 28px; }
  .section-heading h2 { font-size: 36px; }
  .process-copy { padding: 48px 32px; }
  .feature-copy { padding-left: 32px; }
  .feature-copy .section-intro { margin-left: 20px; padding-left: 20px; }
  .knowledge-layout { gap: 60px; }
  .footer-columns { gap: 18px; }
  .footer-columns > nav { padding-left: 16px; }
}
@media (max-width: 1199px) {
  .primary-navigation .menu-rfq-mobile { display:block; }
  .site-bar { flex-wrap: wrap; gap: 16px; }
  .site-branding { margin-right: auto; flex-basis: auto; }
  .menu-toggle { display: inline-flex; }
  .header-rfq { margin-left: 0; }
  .primary-navigation { position: absolute; top: 100%; left: 0; width: 100%; padding-inline: 22px; background: var(--tienrun-text); order: 4; flex-basis: 100%; min-width: 0; max-height: calc(100dvh - var(--tienrun-header-height) - var(--tienrun-admin-offset)); overflow-y: auto; border-top: 1px solid #718099; }
  .primary-navigation .menu { display: block; padding-block: 16px; }
  .primary-navigation a { padding: 14px 12px; font-size: 16px; letter-spacing: .06em; }
  .primary-navigation .sub-menu { position: static; width: auto; visibility: visible; opacity: 1; translate: none; padding: 0 0 0 20px; }
  .primary-navigation .sub-menu a { font-size: 15px; }
}
@media (max-width: 1024px) {
  :root { --tienrun-header-height: 70px; }
  h2 { font-size: 32px; }
  .hero { align-items: flex-start; min-height: 850px; padding-block: 160px 100px; }
  .hero h1 { font-size: 48px; line-height: 50px; width: 620px; }
  .hero-summary, .hero .cta-row { margin-left: 0; }
  .hero-summary { max-width: 650px; }
  .hero .button { min-width: 290px; }
  .proof-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 0; }
  .proof-list li:nth-child(2) { border-right: 0; }
  .industry-panels, .product-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .industry-panels > .section-heading, .product-directory > .section-heading { grid-column: 1 / -1; padding: 0; margin-bottom: 16px; }

  .product-collection { grid-column: span 2; min-height: 360px; }
  .process-stages { grid-template-columns: 1fr; }
  .process-copy { min-height: 280px; }
  .process .section-heading { gap: 30px; }
  .feature-layout { grid-template-columns: 1fr; }
  .capability-image { min-height: 0; aspect-ratio: 16 / 7; }
  .capability-image::after { background: linear-gradient(180deg,transparent 55%,#101640 100%); }
  .feature-copy { padding: 60px var(--tienrun-gutter) 80px; }
  .knowledge-layout { grid-template-columns: 1fr; gap: 80px; }
  .knowledge::before { clip-path: polygon(100% 35%,100% 100%,35% 100%); }
  .resource-image { aspect-ratio: 3 / 2; }
  .resource-copy { padding: 40px; }
  .final-cta h2 { font-size: 36px; }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; }
  .footer-brand-row { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid #3c456a; }
  .footer-brand-row p, .footer-brand-row .text-link { max-width: 350px; }
  .footer-columns > nav { padding-left: 0; border-left: 0; }
}
@media (min-width: 768px) and (max-width: 820px) {
  .hero h1 { font-size: 40px; line-height: 42px; }
  .hero .button { min-width: 280px; }
}
@media (max-width: 767px) {
  :root { --tienrun-gutter: 20px; }
  .site-bar { width: calc(100% - 40px); gap: 12px; }
  .site-branding a { font-size: 26px; }
  .custom-logo { max-width: 150px; max-height: 36px; }
  .home .site-branding .custom-logo-link { width: 105px; height: 36px; }
  .header-rfq { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero { display: block; min-height: 0; padding: 0; }
  .hero > .section-photo { position: relative; inset: auto; z-index: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .hero::before { display: none; }
  .hero-content { padding-block: 80px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .16em; }
  .hero .eyebrow::after { width: 60px; }
  .hero h1 { font-size: 32px; line-height: 34px; letter-spacing: .02em; width: 100%; max-width: 540px; }
  .hero-summary { margin-top: 36px; margin-left: 20px; padding-left: 20px; font-size: 16px; line-height: 25px; }
  .hero .cta-row { gap: 24px; }
  .hero .button { min-height: 74px; max-width: 100%; }
  .proof-list { gap: 30px; padding-bottom: 60px; }
  .proof-list li { padding: 0; border: 0; gap: 12px; flex-direction: column; align-items: flex-start; }
  .proof-list strong { font-size: 16px; }
  .proof-list small { font-size: 10px; }
  .proof-symbol { flex-basis: 40px; width: 40px; height: 40px; }
  .industries { padding-bottom: 60px; }
  .industry-panels, .product-directory { grid-template-columns: minmax(0,1fr); }
  .industry-panels > .section-heading, .product-directory > .section-heading { grid-column: auto; margin-bottom: 30px; }
  .industry-panels .section-intro, .product-directory .section-intro, .materials .section-intro { margin-left: 20px; padding-left: 20px; }
  .industry-copy, .product-copy { padding: 28px 28px 54px; }
  .industry-copy h3, .product-copy h3 { font-size: 25px; line-height: 30px; }
  .products { padding-block: 80px; clip-path: polygon(0 0,47% 0,53% 20px,100% 20px,100% 100%,0 100%); }
  .product-collection { grid-column: auto; min-height: 360px; padding: 20px; }
  .product-collection .button { padding-inline: 24px; }
  .product-copy > p:last-child { display: none; }
  .process { padding-top: 80px; }
  .process .section-heading { gap: 32px; }
  .process-copy { min-height: 0; padding: 48px 40px; }
  .process-copy h3 { font-size: 26px; line-height: 29px; }
  .stage-number { font-size: 130px; }
  .process-bridge { margin-top: 40px; padding-block: 40px; }
  .capability-image { aspect-ratio: 4 / 3; }
  .feature-copy { padding-block: 40px 80px; }
  .feature-copy .section-intro { margin-left: 20px; padding-left: 20px; }
  .capability-list { grid-template-columns: 1fr; }
  .capability-cta { width: 100%; padding-inline: 24px; font-size: 11px; letter-spacing: .1em; }
  .knowledge { padding-block: 80px; }
  .knowledge-layout { gap: 60px; }
  .material-list { grid-template-columns: 1fr; }
  .resource-copy { padding: 32px 12px; }
  .resource-copy h3 { font-size: 28px; line-height: 33px; }
  .resource-copy .eyebrow { font-size: 11px; gap: 16px; }
  .resource-copy .eyebrow::after { width: 40px; }
  .final-cta { padding-block: 100px; }
  .final-cta h2 { font-size: 32px; }
  .final-cta .button { max-width: 100%; }
  .footer-columns { gap: 40px 24px; padding-block: 60px; }
  .footer-columns h2 { font-size: 12px; letter-spacing: .1em; }
  .footer-columns li { font-size: 15px; line-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .button span, .text-link span { translate: none !important; }
  .industry-panel > .section-photo, .product-entry > .section-photo { transform: none !important; }
}
@media (forced-colors: active) {
  .button, .header-rfq, .industry-panel, .product-entry { border: 1px solid ButtonText; }
  .photo-surface::before { background: Canvas; }
  .photo-surface { color: CanvasText; }
}

/* Shared linked-card states; inset borders preserve accepted dimensions. */
:is(.resource-story,.material-list > li,.capability-list > li):has(a[href]) { position: relative; transition: background-color var(--tienrun-motion) var(--tienrun-easing), box-shadow var(--tienrun-motion) var(--tienrun-easing); }
:is(.resource-story,.material-list > li,.capability-list > li) a[href]::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
:is(.resource-story,.material-list > li):has(a[href]):is(:hover,:focus-within) { background: var(--tienrun-hover-surface); box-shadow: inset 0 0 0 2px var(--tienrun-accent); }
.capability-list > li:has(a[href]):is(:hover,:focus-within) { background: #263b62; box-shadow: inset 0 0 0 2px #77d9ff; }
.resource-story h3 { transition: color var(--tienrun-motion) var(--tienrun-easing); }
.resource-story:has(a[href]):is(:hover,:focus-within) h3 { color: var(--tienrun-hover); }
.resource-image img { transition: transform var(--tienrun-motion) var(--tienrun-easing); }
.resource-story:has(a[href]):is(:hover,:focus-within) img { transform: scale(var(--tienrun-image-zoom)); }
.resource-story:has(a[href]):is(:hover,:focus-within) .text-link span { translate: var(--tienrun-arrow-travel) 0; }
:is(.industry-panel,.product-entry):has(a[href]):is(:hover,:focus-within) { box-shadow: inset 0 0 0 2px #77d9ff; }
@media (prefers-reduced-motion: reduce) {
  .resource-image img { transform: none !important; }
  .industry-copy h3 a > span, .product-copy h3 a > span { padding-right: 16px !important; }
  .primary-navigation .sub-menu { translate: none; }
}

/* The collection tile has one destination, shared by its entire surface. */
.product-collection a[href]::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
:is(.industry-panel,.product-entry,.product-collection):has(a[href]) { transition: box-shadow var(--tienrun-motion) var(--tienrun-easing); }
.product-collection > .section-photo { transition: transform var(--tienrun-motion) var(--tienrun-easing); }
.product-collection:has(a[href]):is(:hover,:focus-within) { box-shadow: inset 0 0 0 2px #77d9ff; }
.product-collection:has(a[href]):is(:hover,:focus-within) > .section-photo { transform: scale(var(--tienrun-image-zoom)); }
.product-collection:has(a[href]):is(:hover,:focus-within) .button { background: #fff; color: var(--tienrun-text); }
.product-collection:has(a[href]):is(:hover,:focus-within) .button span { translate: var(--tienrun-arrow-travel) 0; }
@media (prefers-reduced-motion: reduce) { .product-collection > .section-photo { transform: none !important; } }

/* Shared directional underline: enter from left, exit toward right. */
.footer-columns > nav a { position: relative; text-decoration: none; }
.footer-columns > nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: #77d9ff; transform: scaleX(0); transform-origin: right center; transition: transform var(--tienrun-motion) var(--tienrun-easing); }
.footer-columns > nav a:is(:hover,:focus-visible) { text-decoration: none; }
.footer-columns > nav a:is(:hover,:focus-visible)::after { transform: scaleX(1); transform-origin: left center; }
/* Standalone entry links only. Card hit-area pseudo-elements remain untouched. */
:is(.footer-brand-row > .text-link,.company-rfq-link,.tin-breadcrumb a,.tma-breadcrumb a,.trr-breadcrumb a) { position:relative; text-decoration:none; }
:is(.footer-brand-row > .text-link,.company-rfq-link,.tin-breadcrumb a,.tma-breadcrumb a,.trr-breadcrumb a)::before { content:''; position:absolute; inset-inline:0; bottom:0; height:1px; background:currentColor; transform:scaleX(0); transform-origin:right; transition:transform var(--tienrun-motion) var(--tienrun-easing); }
:is(.footer-brand-row > .text-link,.company-rfq-link,.tin-breadcrumb a,.tma-breadcrumb a,.trr-breadcrumb a):is(:hover,:focus-visible)::before { transform:scaleX(1); transform-origin:left; }
/* Informational homepage tiles respond without becoming links. */
.process-stage { transition: background-color var(--tienrun-motion) var(--tienrun-easing), box-shadow var(--tienrun-motion) var(--tienrun-easing); }
@media (hover:hover) and (pointer:fine) {
  .process-stage:hover { background: #e8f0f5; box-shadow: inset 0 0 0 1px #9ebac9; }
}

/* Component links never borrow navigation or prose underlines. */
.homepage :is(.industry-panel,.product-entry,.product-collection,.resource-story,.material-list > li,.capability-list > li) a {
  text-decoration: none;
  transition: color var(--tienrun-motion) var(--tienrun-easing);
}
.homepage :is(.industry-panel,.product-entry,.product-collection,.resource-story,.material-list > li,.capability-list > li):has(a[href]) { cursor: pointer; }
.homepage .material-list > li:has(a[href]):is(:hover,:focus-within) a { color: var(--tienrun-hover); }
.homepage .capability-list > li:has(a[href]):is(:hover,:focus-within) a { color: #a8e7ff; }
.homepage :is(.industry-panel,.product-entry,.resource-story,.material-list > li,.capability-list > li):not(:has(a[href])) {
  cursor: auto;
  transition: background-color var(--tienrun-motion) var(--tienrun-easing), box-shadow var(--tienrun-motion) var(--tienrun-easing);
}
@media (hover:hover) and (pointer:fine) {
  .homepage :is(.resource-story,.material-list > li):not(:has(a[href])):hover { background-color: #eaf1f5; box-shadow: inset 0 0 0 1px #afc4d0; }
  .homepage .capability-list > li:not(:has(a[href])):hover { background-color: #263b62; box-shadow: inset 0 0 0 1px #718ca6; }
  .homepage :is(.industry-panel,.product-entry):not(:has(a[href])):hover { box-shadow: inset 0 0 0 1px #afc4d0; }
  .homepage :is(.industry-panel,.product-entry):not(:has(a[href])):hover::after { opacity: .4; }
}
