/* WRES design system. Plain HTML/CSS; technical content remains in its original pages. */
:root {
  --navy: #102b42;
  --navy-deep: #0b2032;
  --steel: #346887;
  --blue: #176b98;
  --ice: #eaf1f5;
  --paper: #f6f8fa;
  --ink: #182d3e;
  --muted: #536775;
  --line: #dce4ea;
  --white: #fff;
  --max: 1248px;
}
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body.wres-modern {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wres-modern *, .wres-modern *::before, .wres-modern *::after { box-sizing: border-box; }
.wres-modern h1, .wres-modern h2, .wres-modern h3, .wres-modern p { margin-top: 0; }
.wres-modern h1, .wres-modern h2, .wres-modern h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.wres-modern h2 { font-size: clamp(30px, 3.1vw, 45px); }
.wres-modern h3 { font-size: 23px; letter-spacing: -.025em; }
.wres-modern a { color: var(--blue); text-underline-offset: 4px; }
.wres-modern button { font: inherit; cursor: pointer; }
.wres-modern img { max-width: 100%; }
.wres-modern a:focus-visible, .wres-modern button:focus-visible,
.wres-modern summary:focus-visible, .wres-modern [tabindex="0"]:focus-visible {
  outline: 3px solid #d18a36;
  outline-offset: 4px;
}
.wres-modern [hidden] { display: none !important; }
.site-wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .17em; line-height: 1.6; text-transform: uppercase; color: var(--steel); }
.wres-skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 12px 20px; background: #fff; color: var(--navy); }
.wres-skip-link:focus { top: 10px; }
.site-utility { background: var(--navy-deep); color: #c9d8e3; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.site-utility .site-wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 8px; }
.site-utility a { color: #e5eef4; text-decoration: none; font-size: 11px; letter-spacing: .02em; text-transform: none; }
.wres-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 36px; min-height: 91px; }
.wres-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.wres-brand img { display: block; width: 205px; height: auto; }
.wres-navigation { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.wres-navigation > a, .nav-dropdown > summary { color: var(--navy); font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; padding-block: 28px; }
.wres-navigation a:hover, .nav-dropdown > summary:hover { color: var(--blue); }
.wres-navigation a[aria-current="page"] { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-chevron { font-size: 10px; color: var(--steel); transition: transform .18s; }
.nav-dropdown[open] .nav-chevron { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: calc(100% - 5px); right: -20px; width: 310px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 20px 45px #102b4220; }
.dropdown-panel a { display: block; padding: 10px 12px; border-radius: 3px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.4; }
.dropdown-panel a:hover { background: var(--ice); }
.dropdown-label { display: block; margin: 9px 12px 3px; font-size: 10px; color: var(--steel); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wres-navigation > .nav-contact { padding: 11px 17px; background: var(--navy); color: white; border-radius: 3px; }
.wres-navigation > .nav-contact:hover { background: var(--steel); color: white; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 3px; align-items: center; gap: 10px; padding: 9px 13px; }
.menu-toggle svg { width: 19px; height: 19px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 21px; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 650; line-height: 1.4; transition: background .18s, transform .18s; }
.button:hover { background: var(--steel); border-color: var(--steel); transform: translateY(-2px); }
.button-outline { color: var(--navy) !important; background: transparent; border-color: #a9bac6; }
.button-outline:hover { background: #fff; border-color: var(--navy); }
.button-light { color: var(--navy) !important; background: #fff; border-color: #fff; }
.button-light:hover { background: #e8f1f5; border-color: #e8f1f5; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 650; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.home-hero { background: #edf2f5; padding: 48px 0 0; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.07fr; gap: 60px; align-items: center; }
.hero-copy { padding: 36px 0 72px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(44px, 4.7vw, 68px); letter-spacing: -.055em; margin: 0 0 25px; }
.hero-copy h1 span { color: var(--steel); }
.hero-description { max-width: 480px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; align-self: stretch; min-height: 570px; }
.hero-media picture, .hero-media > picture > img { display: block; width: 100%; height: 100%; }
.hero-media > picture > img { object-fit: cover; object-position: 42% center; }
.hero-photo-note { position: absolute; bottom: 28px; left: -24px; padding: 18px 27px; background: var(--navy); color: #fff; box-shadow: 0 12px 35px #102b4225; }
.hero-photo-note span { display: block; color: #b9d0df; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.hero-photo-note strong { display: block; font-size: 18px; font-weight: 550; margin-top: 4px; }
.expertise-strip { background: #fff; border-bottom: 1px solid var(--line); }
.expertise-strip .site-wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.expertise-strip div > p { margin: 0; padding: 24px 0; color: var(--navy); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.expertise-strip p + p { border-left: 1px solid var(--line); padding-left: 25px !important; }
.expertise-strip p span { color: #7993a5; font-size: 10px; margin-right: 15px; }
.section-pad { padding-block: 100px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 37px; }
.section-top h2 { max-width: 640px; margin-bottom: 0; }
.section-top > p { max-width: 330px; margin: 0; color: var(--muted); font-size: 14px; }
.service-grid, .landing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; align-items: start; min-width: 0; min-height: 260px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 4px; text-decoration: none !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); border-color: #9db5c7; box-shadow: 0 13px 30px #102b4209; }
.service-card .card-index { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 30px; font-size: 11px; letter-spacing: .12em; color: var(--steel); }
.service-card .card-index span:last-child { font-size: 20px; font-weight: 400; }
.service-card h3 { margin-bottom: 13px; }
.service-card p { margin-bottom: 21px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-card .card-link { margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 650; }
.lab-feature { background: var(--navy); color: #d3e0e9; }
.feature-layout { display: grid; grid-template-columns: .95fr 1fr; gap: 90px; align-items: center; }
.feature-photo { position: relative; }
.feature-photo picture, .feature-photo img { display: block; width: 100%; }
.feature-photo img { height: 560px; object-fit: cover; }
.feature-photo figcaption { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-top: 15px; color: #a9c1d1; }
.lab-feature .eyebrow { color: #9dbfd5; }
.lab-feature h2 { color: #fff; font-size: clamp(32px,3.3vw,48px); }
.feature-copy > p { color: #c4d5df; font-size: 15px; }
.method-list { list-style: none; margin: 28px 0; padding: 0; }
.method-list li { padding: 17px 0; border-top: 1px solid #ffffff26; }
.method-list strong { display: block; color: #fff; font-size: 15px; }
.method-list span { display: block; color: #bfd0dc; font-size: 13px; margin-top: 4px; }
.lab-feature .text-link { color: #fff; }
.resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-panel { position: relative; padding: 36px; background: var(--ice); border: 1px solid var(--line); }
.product-panel h3 { font-size: 30px; max-width: 380px; }
.product-panel p { max-width: 380px; color: var(--muted); font-size: 14px; }
.resource-list { border-top: 1px solid var(--line); }
.document-link { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; gap: 17px; padding: 25px 0; border-bottom: 1px solid var(--line); align-items: start; text-decoration: none; }
.document-icon { border: 1px solid #b9cbd7; padding: 5px; font-size: 9px; letter-spacing: .07em; color: var(--steel); text-align: center; }
.document-link strong { color: var(--navy); display: block; font-size: 16px; line-height: 1.45; font-weight: 600; }
.document-link small { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }
.document-link:hover strong { color: var(--blue); }
.resource-footer { margin-top: 22px; }
.industry-section { padding-block: 68px; background: #eaf0f4; }
.industry-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.industry-layout h2 { font-size: 34px; }
.industry-layout p { color: var(--muted); font-size: 14px; }
.industry-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; }
.industry-links a { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #c6d5df; text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.gallery-tile { display: block; text-decoration: none; color: var(--navy); overflow: hidden; }
.gallery-tile picture, .gallery-tile img { display: block; width: 100%; }
.gallery-tile img { height: 260px; object-fit: cover; transition: transform .35s; }
.gallery-tile:hover img { transform: scale(1.025); }
.gallery-tile span { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; color: var(--muted); font-size: 12px; }
.gallery-tile:nth-child(n+4) { display: none; }
.company-summary { padding-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); margin-top: 75px; }
.company-summary h2 { font-size: 35px; }
.company-summary p { color: var(--muted); font-size: 15px; }
.contact-band { padding: 60px 0; background: #214c69; color: #e1ecf3; }
.contact-band .site-wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact-band h2 { color: white; margin-bottom: 12px; font-size: clamp(30px,3vw,42px); }
.contact-band p { margin: 0; max-width: 670px; color: #c9dce8; font-size: 14px; }
.wres-footer { padding-top: 60px; background: var(--navy-deep); color: #adc1cf; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 45px; padding-bottom: 50px; }
.footer-brand img { display: block; width: 195px; height: auto; background: #fff; padding: 8px; border-radius: 3px; }
.footer-brand p { margin-top: 19px; max-width: 260px; font-size: 12px; color: #b7cad7; }
.footer-column h2 { color: #fff; font-size: 12px; letter-spacing: .02em; font-weight: 650; margin-bottom: 19px; }
.footer-column a { color: #b7cad7; text-decoration: none; display: block; margin-bottom: 9px; font-size: 12px; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-column p { font-size: 12px; color: #b7cad7; }
.footer-bottom { padding: 20px 0; border-top: 1px solid #ffffff1c; display: flex; justify-content: space-between; gap: 20px; color: #8ea8ba; font-size: 10px; }
.footer-bottom a { color: #a7bfce; text-decoration: none; }
.footer-bottom p { margin: 0; color: inherit; }
.footer-bottom div { display: flex; gap: 24px; }
.page-hero { background: var(--ice); border-bottom: 1px solid var(--line); padding: 46px 0 50px; }
.page-hero .breadcrumbs { margin-bottom: 27px; font-size: 11px; color: var(--steel); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { margin-inline: 10px; color: #8a9eac; }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.page-hero h1 { font-size: clamp(35px,4vw,56px); margin: 12px 0 22px; max-width: 900px; overflow-wrap: anywhere; }
.page-hero p:not(.eyebrow):not(.breadcrumbs) { max-width: 720px; margin-bottom: 24px; color: var(--muted); font-size: 16px; }
.page-hero-image picture, .page-hero-image img { display: block; width: 100%; }
.page-hero-image img { height: 230px; object-fit: cover; }
.landing-section { padding-top: 42px; padding-bottom: 0; }
.landing-grid .service-card { min-height: 220px; padding: 23px; }
.landing-grid .card-index { margin-bottom: 18px; }
.landing-grid h3 { font-size: 22px; }
.landing-grid p { margin-bottom: 14px; font-size: 13px; }
.legacy-area { padding: 50px 0 75px; }
.clients-directory { padding-block: 50px 75px; }
.clients-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.client-sector { min-width: 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.client-sector h2 { margin: 0 0 22px; font-size: 28px; }
.client-list { list-style: none; margin: 0; padding: 0; }
.client-list li { list-style: none; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.clients-tools { display: flex; justify-content: flex-end; margin-top: 24px; }
@media (max-width: 680px) {
  .clients-directory { padding-block: 28px 45px; }
  .clients-grid { grid-template-columns: 1fr; gap: 18px; }
  .client-sector { padding: 25px; }
  .client-sector h2 { font-size: 25px; }
  .client-list li { font-size: 14px; }
}
.resource-status { margin: 24px 0 0; padding: 16px 20px; border-left: 3px solid var(--steel); background: var(--ice); color: var(--muted); font-size: 14px; }
.resource-unavailable, .resource-unavailable * { color: var(--muted) !important; }
/* The following rules restyle the retained technical content without rewriting it. */
#Body.wres-modern { margin: 0; background: var(--paper); font-family: "Segoe UI",Arial,sans-serif; font-size: 16px; color: var(--ink); line-height: 1.7; }
#Body.wres-modern .content { width: 100%; max-width: 100%; padding: 0; margin: 0; }
#Body.wres-modern .DNNEmptyPane { display: none; }
#Body.wres-modern #ContentPane2Div { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; align-items: start; }
#Body.wres-modern #ContentPane2Div:has(> .LeftPane.DNNEmptyPane) { grid-template-columns: minmax(0,1fr); }
#Body.wres-modern .LeftPane, #Body.wres-modern .ContentPane2, #Body.wres-modern .ContentPane3, #Body.wres-modern .RightPane { width: auto; min-width: 0; max-width: 100%; float: none; margin: 0; }
#Body.wres-modern .LeftPane:not(.DNNEmptyPane) { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 18px 10px; }
#Body.wres-modern .LeftPane table, #Body.wres-modern .LeftPane tbody, #Body.wres-modern .LeftPane tr, #Body.wres-modern .LeftPane td { display: contents; }
#Body.wres-modern .LeftPane .ContainerCrystalTitle { display: block; padding: 0 12px 10px; color: var(--steel); font: 700 10px/1.5 "Segoe UI",Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; }
#Body.wres-modern .LeftPane a.Normal { display: block; color: var(--ink); padding: 9px 12px; font: 500 13px/1.55 "Segoe UI",Arial,sans-serif; text-decoration: none; border-radius: 3px; }
#Body.wres-modern .LeftPane a.Normal:hover { background: var(--ice); color: var(--blue); }
#Body.wres-modern .content td[background], #Body.wres-modern .content table[background] { background-image: none !important; }
#Body.wres-modern .content img[src*="/_default/Containers/"] { display: none; }
#Body.wres-modern .content table { max-width: 100%; border-collapse: collapse; border-spacing: 0; }
#Body.wres-modern .ContentPane2 > table { background: #fff; border: 1px solid var(--line); width: 100%; table-layout: fixed; }
#Body.wres-modern .ContentPane2 > table > tbody > tr:first-child > td { padding-top: 20px; }
#Body.wres-modern .ContentPane2 .ContainerCrystalTitle { color: var(--steel); font: 700 11px/1.5 "Segoe UI",Arial,sans-serif; letter-spacing: .08em; }
#Body.wres-modern .DNN_HTMLContent { width: 100%; table-layout: fixed; }
#Body.wres-modern div.Normal[id] { padding: 14px 8px 24px; overflow: auto; max-width: 100%; font: 400 15px/1.85 "Segoe UI",Arial,sans-serif; color: var(--ink); }
#Body.wres-modern .Normal p, #Body.wres-modern .Normal td, #Body.wres-modern .Normal .NormalBold { font-family: "Segoe UI",Arial,sans-serif; font-size: 15px; line-height: 1.85; color: var(--ink); }
#Body.wres-modern .Normal p { margin-bottom: 18px; }
#Body.wres-modern .Normal p[align="justify"], #Body.wres-modern .Normal td[align="justify"] { text-align: left; }
#Body.wres-modern .Normal table { table-layout: auto; }
#Body.wres-modern div.Normal[id] > table { width: 100% !important; }
#Body.wres-modern .Normal td { padding: 6px 8px; vertical-align: top; }
#Body.wres-modern .Normal img { max-width: 100%; height: auto; }
#Body.wres-modern .Normal a { color: var(--blue); overflow-wrap: anywhere; }
#Body.wres-modern .Normal br + br + br { display: none; }
#Body.wres-modern .Normal p:empty { display: none; }
#Body.wres-modern .Normal .MyStyleTableHeader, #Body.wres-modern .Normal th { font-weight: 700; color: var(--navy); background: var(--ice); }
#Body.wres-modern .MsoNormalTable td { border-bottom: 1px solid var(--line) !important; padding: 10px 8px; white-space: nowrap; }
#Body.wres-modern .MsoNormalTable tr:first-child td { color: var(--navy); font-weight: 700; background: var(--ice); }
#Body.wres-modern #dnn_ctr429_Document_grdDocuments { width: 100%; font: 400 13px/1.6 "Segoe UI",Arial,sans-serif; }
#Body.wres-modern .DNN_Documents { max-width: 100%; overflow-x: auto; }
#Body.wres-modern #dnn_ctr429_Document_grdDocuments td { padding: 18px 10px; border-bottom: 1px solid var(--line); }
#Body.wres-modern #dnn_ctr429_Document_grdDocuments .SubHead td { background: var(--ice); font-size: 11px; font-weight: 700; color: var(--navy); }
#Body.wres-modern #dnn_ctr429_Document_grdDocuments .TitleCell a { font-weight: 650; }
#Body.wres-modern .BottomDiv { height: auto; padding: 0; clear: both; background-image: none; }
.wres-template .wres-header, .wres-template .wres-footer { text-align: left; }
.wres-template > main, .wres-template > section { max-width: var(--max); margin-inline: auto; }
.gallery-dialog { border: 0; padding: 0; background: var(--navy-deep); color: #fff; width: min(1100px,calc(100% - 32px)); max-height: calc(100dvh - 32px); }
.gallery-dialog::backdrop { background: #061420e8; }
.gallery-dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.gallery-dialog-header p { margin: 0; font-size: 12px; }
.gallery-dialog button { color: white; background: transparent; border: 1px solid #ffffff50; min-width: 44px; min-height: 44px; border-radius: 3px; }
.gallery-dialog picture, .gallery-dialog img { display: block; width: 100%; }
.gallery-dialog img { height: min(67dvh,700px); object-fit: contain; }
.gallery-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; }
.gallery-caption { color: #bed0dd; font-size: 12px; margin: 0; flex: 1; text-align: center; }
.wres-modal-open { overflow: hidden; }
@media (min-width: 1001px) { #Body.wres-modern .Normal #Table3 td { max-width: 100%; } }
@media (max-width: 1100px) {
  .site-wrap { width: calc(100% - 56px); }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; justify-content: space-between; }
  .wres-brand img { width: 185px; }
  .menu-toggle { display: inline-flex; }
  .wres-navigation { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 0 20px; max-height: calc(100dvh - 130px); overflow: auto; }
  .wres-menu-ready .wres-navigation { display: none; }
  .wres-menu-open .wres-navigation { display: flex; }
  .wres-navigation > a, .nav-dropdown > summary { padding: 13px 8px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-dropdown > summary { justify-content: space-between; }
  .dropdown-panel { position: static; width: 100%; border: 0; box-shadow: none; background: var(--paper); padding: 10px; }
  .dropdown-panel a { padding-block: 12px; }
  .wres-navigation > .nav-contact { margin-top: 13px; text-align: center; padding-block: 13px; }
  .hero-layout { gap: 40px; }
  .hero-media { min-height: 540px; }
  .hero-copy h1 { font-size: 53px; }
  .feature-layout { gap: 50px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 15px 0 42px; }
  .hero-copy h1 { max-width: 680px; font-size: clamp(46px,7.3vw,63px); }
  .hero-description { max-width: 620px; }
  .hero-media { min-height: 0; height: 440px; }
  .hero-photo-note { left: 20px; bottom: 20px; }
  .expertise-strip .site-wrap { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .expertise-strip div > p { padding-block: 18px; }
  .expertise-strip p:nth-child(3) { border-left: none; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .expertise-strip p:nth-child(4) { border-top: 1px solid var(--line); }
  .service-grid, .landing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .feature-photo { margin: 0; }
  .feature-photo img { height: 520px; }
  .industry-layout { grid-template-columns: 1fr; gap: 20px; }
  .company-summary { gap: 45px; }
  .page-hero-grid { gap: 30px; }
  .page-hero-image img { height: 210px; }
  #Body.wres-modern #ContentPane2Div { grid-template-columns: 190px minmax(0,1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 35px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 90px; }
  .site-wrap { width: calc(100% - 40px); }
  .site-utility .site-wrap { padding-block: 7px; }
  .site-utility span { font-size: 8px; letter-spacing: .08em; }
  .site-utility a { font-size: 10px; }
  .header-inner { min-height: 73px; }
  .wres-brand img { width: 162px; }
  .menu-toggle { padding: 8px 10px; font-size: 12px; min-height: 44px; }
  .home-hero { padding-top: 22px; }
  .hero-copy { padding-bottom: 34px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 21px; }
  .hero-copy h1 { font-size: clamp(39px,10.7vw,53px); margin-bottom: 23px; }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 25px; }
  .button { min-height: 48px; }
  .hero-media { height: 330px; }
  .hero-photo-note { left: 14px; bottom: 14px; right: 14px; padding: 14px 18px; }
  .hero-photo-note strong { font-size: 16px; }
  .expertise-strip p span { margin-right: 8px; font-size: 9px; }
  .expertise-strip div > p { font-size: 10px; }
  .expertise-strip p + p { padding-left: 12px !important; }
  .section-pad { padding-block: 64px; }
  .section-top { display: block; margin-bottom: 26px; }
  .section-top > p { margin-top: 20px; max-width: none; }
  .section-top h2 { font-size: 33px; }
  .service-grid, .landing-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 25px; }
  .service-card .card-index { margin-bottom: 22px; }
  .service-card h3 { font-size: 25px; }
  .feature-layout, .resource-grid, .company-summary { grid-template-columns: 1fr; gap: 35px; }
  .feature-photo img { height: 390px; }
  .feature-copy h2 { font-size: 35px; }
  .product-panel { padding: 28px; }
  .product-panel h3 { font-size: 29px; }
  .industry-section { padding-block: 54px; }
  .industry-links { gap: 2px 20px; }
  .industry-links a { font-size: 13px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 27px; }
  .gallery-tile img { height: 250px; }
  .company-summary { margin-top: 50px; padding-top: 50px; gap: 10px; }
  .company-summary h2 { font-size: 32px; }
  .contact-band { padding-block: 46px; }
  .contact-band .site-wrap { align-items: stretch; flex-direction: column; gap: 25px; }
  .contact-band h2 { font-size: 31px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .page-hero { padding: 26px 0 35px; }
  .page-hero .breadcrumbs { margin-bottom: 23px; font-size: 10px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .page-hero h1 { font-size: 37px; }
  .page-hero p:not(.eyebrow):not(.breadcrumbs) { font-size: 14px; }
  .page-hero-image img { height: 190px; }
  .landing-section { padding-top: 25px; }
  .legacy-area { padding: 30px 0 50px; }
  #Body.wres-modern #ContentPane2Div { grid-template-columns: minmax(0,1fr); gap: 25px; }
  #Body.wres-modern .LeftPane:not(.DNNEmptyPane) { padding: 15px 10px; }
  #Body.wres-modern .LeftPane a.Normal { font-size: 14px; padding-block: 9px; }
  #Body.wres-modern .Normal p, #Body.wres-modern .Normal td { font-size: 14px; line-height: 1.8; }
  #Body.wres-modern .Normal td { padding: 4px; }
  #Body.wres-modern.wres-company-layout .Normal #Table3 > tbody > tr > td,
  #Body.wres-modern.wres-astm-layout .Normal #Table3 > tbody > tr > td { display: block; width: auto !important; }
  #Body.wres-modern #dnn_ctr429_Document_grdDocuments { min-width: 660px; }
  #Body.wres-modern #dnn_ctr429_Document_grdDocuments td { font-size: 13px; }
  .gallery-dialog-footer { gap: 10px; padding: 12px; }
  .gallery-caption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wres-modern *, .wres-modern *::before, .wres-modern *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-utility, .wres-header, .contact-band, .wres-footer, .landing-section, .wres-skip-link { display: none !important; }
  .site-wrap { width: 100%; }
  .page-hero { padding: 10px 0; background: #fff; }
  .page-hero-image { display: none; }
  #Body.wres-modern #ContentPane2Div { display: block; }
  #Body.wres-modern .LeftPane { display: none !important; }
}
