/* Homepage sections use the Product Portfolio typography and the established ZenHe palette. */
.zenhe-desktop .zh-home-display,
.zenhe-mobile .zh-home-display {
    font: 600 clamp(32px, 4vw, 62px)/1.04 "Instrument Sans", sans-serif;
    letter-spacing: -.036em;
    margin: 0;
    max-width: none;
}
.zenhe-desktop .zh-home-lab-heading { margin-bottom: 48px; }
.zenhe-mobile .zh-home-labs-v5 .zh-home-display,
.zenhe-mobile [id="footprint"] .zh-home-display,
.zenhe-mobile .zh-home-display { margin-bottom: 24px; }
.zenhe-desktop .zh-home-lab-grid,
.zenhe-mobile .zh-home-lab-grid {
    display: grid;
    grid-template-columns: 1.18fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(176px,14vw));
    gap: 16px;
}
.zenhe-desktop .zh-home-lab-grid .lab:first-child,
.zenhe-mobile .zh-home-lab-grid .lab:first-child { grid-row: span 2; }
.zenhe-desktop .zh-home-lab-grid .lab:nth-child(2),
.zenhe-mobile .zh-home-lab-grid .lab:nth-child(2) { grid-column: span 2; }
.zenhe-desktop .zh-home-lab-grid .lab,
.zenhe-mobile .zh-home-lab-grid .lab { position: relative; margin: 0; overflow: hidden; border-radius: 18px; }
.elementor.elementor.elementor .zenhe-desktop .zh-home-lab-grid .lab { min-height: 0; height: 100%; }
.zenhe-mobile .zh-home-lab-grid .lab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zenhe-mobile .zh-home-lab-grid .lab-cap { position: absolute; inset: auto 0 0; padding: 14px !important; color: white; background: linear-gradient(transparent, #121f26dc); }
.zenhe-mobile .zh-home-lab-grid .lab-cap h3 { font-size: 17px !important; line-height: 1.25; }
.zenhe-mobile .zh-home-lab-grid .lab-cap p { display: none; }
.zenhe-desktop .zh-spool img.pp-img,
.zenhe-mobile .zh-spool img { object-position: 42% center; }
.zenhe-mobile .zh-mobile-range { display: none; }
.zenhe-mobile .zh-mobile-product .mp-on + .zh-mobile-range {
    display: inline-block;
    width: fit-content;
    margin: 6px 0 14px 14px;
    padding: 6px 0;
    color: #096b76;
    font-size: 14px;
    font-weight: 650;
}

.zc-family-tabs [role="tab"] { color: #273b3d; font-weight: 650; }
.zc-family-tabs [role="tab"][aria-selected="true"] { color: #fff; background: #086e79; border-color: #086e79; }
.zc-series-tabs [role="tab"] { color: #425759; font-weight: 580; }
.zc-series-tabs [role="tab"][aria-selected="true"] { color: #075e69; font-weight: 700; }
#sectors .sector-tabs button { color: #31474a; font-weight: 630; }
#sectors .sector-tabs button[aria-selected="true"] { color: #fff; background: #086d78; border-color: #086d78; }
.zh-v5-heading-wide, .zh-v5-heading { margin-bottom: clamp(24px, 3.2vw, 48px); }
.zh-v5-heading h2 { margin: 0; max-width: 24ch; }
.zh-v5-heading .eyebrow { display: block; margin-bottom: 16px; }
#sector-brief { display: grid; gap: 0; }
#sector-brief[hidden] { display: none; }

.zh-v5-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.zh-v5-pills :is(button,a), .zh-v5-pagination a {
    background: #fff;
    border: 1px solid #c8d9d5;
    border-radius: 100px;
    padding: 9px 15px;
    min-height: 40px;
    color: #2b484b;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 590;
    cursor: pointer;
}
.zh-v5-pills :is([aria-selected="true"],[aria-current="true"]),
.zh-v5-pagination [aria-current="page"] { background: #0a6f7a; border-color: #0a6f7a; color: #fff; }
.zh-v5-pills :is(button,a):hover, .zh-v5-pagination a:hover { border-color: #0a6f7a; }
.zh-v5-pills :is(button,a):focus-visible, .zh-v5-pagination a:focus-visible { outline: 2px solid #0a6f7a; outline-offset: 3px; }
.zh-v5-empty { margin: 0; padding: 26px; background: #fff; border: 1px solid #dce9e5; border-radius: 12px; }

.zh-lab-entries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.zh-lab-entries button {
    text-align: left;
    display: grid;
    gap: 10px;
    padding: 14px 14px 24px;
    position: relative;
    background: #fff;
    border: 1px solid #d1e0dd;
    border-radius: 20px;
    color: #151d20;
    font: inherit;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.zh-lab-entries button[aria-expanded="true"], .zh-lab-entries button:hover {
    border-color: #468d8d;
    box-shadow: 0 16px 30px -23px #194d52a8;
}
.zh-lab-entries img { width: 100%; aspect-ratio: 2.45; object-fit: cover; border-radius: 12px; }
.zh-lab-entries :is(.eyebrow,strong) { margin: 0 8px; }
.zh-lab-entries strong { font-size: clamp(17px,2.65vw,33px); line-height: 1.14; padding-right: 14px; }
.zh-entry-icon { position: absolute; border: solid #136d74; border-width: 0 2px 2px 0; padding: 4px; transform: rotate(45deg); right: 22px; bottom: 32px; }
[aria-expanded="true"] .zh-entry-icon { transform: rotate(225deg); }
.zh-lab-panel { margin-top: 20px; padding: clamp(16px,3vw,42px); border: 1px solid #d1e0dd; border-radius: 20px; background: #fff; }
.zh-lab-panel-head h3 { margin: 0; font-size: clamp(24px,3vw,38px); line-height: 1.1; }
.zh-lab-panel-head p { margin: 8px 0 22px; }
.zh-lab-detail { border-top: 1px solid #d9e4e0; margin-top: 22px; padding-top: 24px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 24px; scroll-margin-top: 100px; }
.zh-lab-detail h4 { margin: 8px 0 0; font-size: clamp(23px,3vw,40px); line-height: 1.1; }
.zh-lab-body { max-width: 76ch; }
.zh-lab-body p { margin: 0 0 .65em; }
.zh-lab-body h5 { font: 640 14px/1.35 "Instrument Sans",sans-serif; color: #075d68; margin: 20px 0 9px; }
.zh-lab-pager { border-top: 1px solid #d9e4e0; margin-top: 17px; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.zh-lab-pager button { border: 1px solid #b4cbca; border-radius: 100px; padding: 7px 12px; background: #fff; color: #145864; cursor: pointer; }
.zh-lab-pager button:disabled { color: #677477; border-color: #e0e8e6; cursor: default; }
.zh-lab-pager span { color: #3c5559; font-size: 14px; }

.zh-quality-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; margin: 0; padding: 0; list-style: none; }
.zh-quality-grid li { overflow: hidden; border-radius: 15px; background: #fff; border: 1px solid #e0eae7; }
.zh-quality-grid img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.zh-quality-grid li:last-child img { object-fit: contain; background: #f1f7f6; }
.zh-quality-grid li > div { padding: clamp(14px,1.9vw,24px); }
.zh-quality-grid h3 { font-size: clamp(17px,1.9vw,26px); line-height: 1.16; margin: 9px 0; }
.zh-quality-grid p { margin: 0; }

.zh-document-panel { margin-top: 24px; }
.zh-v5-doc-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.zh-v5-document { display: grid; grid-template-rows: auto 1fr; color: #173d42; height: 100%; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #d9e6e1; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.zh-v5-document img { width: 100%; aspect-ratio: 1.08; object-fit: contain; padding: 16px; background: #e6efed; }
.zh-v5-document > span { padding: 15px; font-weight: 590; }
.zh-v5-document:hover { border-color: #82adab; box-shadow: 0 16px 24px -23px #194d52; }

.zh-insight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; margin-top: 24px; }
.zh-insight-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    background: #fff;
    border: 1px solid #d9e6e2;
    border-radius: 18px;
}
.zh-insight-featured { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto; background: #edf5f3; }
.zh-insight-featured:not(:has(.zh-insight-photo)) { grid-template-columns: 1fr; }
.zh-insight-photo { display: block; overflow: hidden; }
.zh-insight-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 2.2; object-fit: cover; transition: transform .42s ease; }
.zh-insight-photo:hover img { transform: scale(1.035); }
.zh-insight-copy { padding: clamp(20px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.zh-insight-featured .zh-insight-copy { align-content: center; }
.zh-insight-copy :is(h2,h3) { font-size: clamp(21px,2.7vw,39px); line-height: 1.14; margin: 0; }
.zh-insight-copy :is(h2,h3) a { color: inherit; text-decoration: none; }
.zh-insight-copy p { margin: 0; }
.zh-insight-copy .text-link { width: fit-content; }
.zh-insight-meta { display: flex; flex-wrap: wrap; column-gap: 12px; color: #376669; font-size: 13px; font-weight: 560; }
.zh-v5-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 34px 0 0; }
.zh-v5-pagination a { display: inline-grid; place-items: center; min-width: 40px; }
.zenhe-r7 .article-heading h1 { font-size: clamp(32px, 4.6vw, 69px); line-height: 1.06; }

.contact-form-layout.zh-v5-contact { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; }
.zh-v5-contact .direct-note { font-size: 15px; }
.zh-contact-phone { display: block; width: fit-content; margin-top: 9px; }
.zh-v5-contact .form-photo { margin-top: 23px; }
.zh-v5-contact .enquiry-card { padding: clamp(18px,3vw,42px); }
.zh-v5-project-form fieldset { margin: 0 0 20px; border-radius: 12px; padding: 15px; }
.zh-v5-project-form fieldset > legend { color: #193f44; font-size: 16px; font-weight: 650; }
.zh-v5-project-form fieldset > legend > span[aria-hidden] { color: #14727a; margin-right: 6px; font-size: 12px; }
.zh-v5-project-form .field-grid { margin-bottom: 0; gap: 14px; }
.zh-v5-project-form select { width: 100%; }
.zh-v5-project-form label small { font-size: 11px; margin-left: 3px; }
.zh-v5-project-form .zh-volume { border: 0; padding: 0; margin: 16px 0; }
.zh-v5-project-form .zh-volume legend { font-size: 14px; padding: 0; margin-bottom: 6px; }
.zh-volume-options { display: flex; flex-wrap: wrap; gap: 8px; }
.zh-v5-project-form .zh-volume-options label { position: relative; margin: 0; cursor: pointer; }
.zh-v5-project-form .zh-volume-options input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.zh-volume-options span { display: inline-block; border: 1px solid #c4d8d3; border-radius: 100px; padding: 7px 11px; color: #2b4d50; }
.zh-volume-options input:checked + span { background: #0b6d77; border-color: #0b6d77; color: white; }
.zh-volume-options input:focus-visible + span { outline: 2px solid #075f69; outline-offset: 3px; }
.zh-v5-project-form .zh-counter { display: block; text-align: right; }
.zh-v5-project-form .zh-contact-help { margin: 0 0 12px; font-size: 13px; }
.zh-v5-labs [hidden], .zh-v5-docs [hidden] { display: none; }

@media (max-width: 920px) {
    .zh-quality-grid,.zh-v5-doc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .contact-form-layout.zh-v5-contact { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .zenhe-mobile .zh-home-lab-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 190px 132px 132px; gap: 10px; }
    .zenhe-mobile .zh-home-lab-grid .lab:first-child { grid-row: span 1; grid-column: span 2; }
    .zenhe-mobile .zh-home-lab-grid .lab:nth-child(2) { grid-column: span 2; }
    .zh-insight-grid,.zh-insight-featured,.zh-lab-detail { grid-template-columns: 1fr; }
    .zh-lab-entries { gap: 10px; }
    .zh-lab-entries button { padding: 8px 8px 15px; }
    .zh-lab-entries img { aspect-ratio: 1.54; }
    .zh-lab-entries strong { font-size: 16px; margin-inline: 3px; }
    .zh-lab-entries .eyebrow { margin-inline: 3px; font-size: 10px; }
    .zh-entry-icon { right: 12px; bottom: 21px; padding: 3px; }
    .zh-v5-project-form fieldset { padding: 12px; }
}
@media (max-width: 390px) {
    .zh-quality-grid { grid-template-columns: 1fr; }
    .zh-v5-doc-grid { gap: 9px; }
    .zh-v5-document > span { padding: 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .zh-insight-photo img, .zh-lab-entries button, .zh-v5-document { transition: none; }
}

#collection,#sectors,#labs,#laboratories,#documents,#quality-control,#latest,#project,#locations { scroll-margin-top: 96px; }

#sectors .sector-panel { min-height: clamp(440px, 39vw, 550px); }
#sectors .sector-panel:has(#sector-brief[hidden]) .sector-content { align-self: center; }
.zh-lab-count { margin: 2px 8px 0; color: #476467; font-size: 13px; }
.zh-lab-detail-photo {
    grid-column: 1/-1;
    width: 100%;
    height: clamp(190px, 26vw, 365px);
    object-fit: cover;
    object-position: center 40%;
    border-radius: 12px;
}
.zh-v5-contact .form-photo { display: block; }
.zh-v5-contact .form-photo img { width: 100%; }
@media (max-width: 768px) {
    #sectors .sector-panel { min-height: 0; }
    #sectors .sector-photo { height: clamp(220px, 61vw, 350px); }
    .zh-v5-contact .form-photo img { height: 190px; }
    .zh-lab-count { margin-left: 3px; font-size: 11px; }
}

.zh-v5-project-form label { display: block; min-width: 0; color: #203a3e; font-size: 14px; font-weight: 590; }
.zh-v5-project-form label small { color: #51676a; font-weight: 450; }
.zh-v5-project-form label > :is(input:not([type="radio"]), select, textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 6px 0 0;
    padding: 10px 12px;
    color: #172d30;
    background: #f7faf9;
    border: 1px solid #c6d6d4;
    border-radius: 8px;
    font: 400 15px/1.4 "Instrument Sans",sans-serif;
    min-height: 42px;
}
.zh-v5-project-form label > :is(input, select, textarea):focus-visible {
    border-color: #13747e;
    outline: 2px solid #9bcecc;
    outline-offset: 1px;
}
.zh-v5-project-form textarea { min-height: 100px; resize: vertical; }
.zh-v5-project-form .zh-counter { margin-top: 6px; }
@media (min-width: 1051px) {
    .zc-heading { grid-template-columns: minmax(0,2.1fr) minmax(240px,.9fr); gap: 4%; }
    .zc-heading h2 { font-size: clamp(39px,3.85vw,65px); }
}

.zenhe-r7 nav.zh-v5-pills {
    height: auto;
    min-height: 0;
    position: static;
    justify-content: flex-start;
    align-content: flex-start;
}
.zenhe-r7 nav.zh-v5-pagination { height: auto; position: static; }
.elementor img.zh-lab-detail-photo { height: clamp(190px, 26vw, 365px); }

/* V5 visual pass: bring the quality sequence and editorial index closer to the reference. */
.zh-quality-grid { gap: clamp(13px,1.8vw,25px); }
.zh-quality-grid li {
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: clamp(12px,1.8vw,24px);
    border-radius: 16px;
}
.zh-quality-grid li > .eyebrow {
    display: block;
    color: #245d61;
    border-bottom: 1px solid #ccddda;
    padding-bottom: 10px;
    font: 500 clamp(21px,2.1vw,32px)/1 "Instrument Sans",sans-serif;
}
.zh-quality-grid li > div { padding: 15px 0 16px; }
.zh-quality-grid li > img { border-radius: 10px; }
.zh-quality-grid h3 { margin: 0 0 9px; }
.zh-lab-intro > p { margin: 0 0 15px; max-width: 65ch; }
.zh-lab-intro details { border-top: 1px solid #dce7e4; border-bottom: 1px solid #dce7e4; }
.zh-lab-intro summary {
    cursor: pointer;
    color: #096771;
    font-weight: 630;
    padding: 12px 0;
}
.zh-lab-intro details[open] .zh-lab-body { padding: 0 0 10px; }
.zh-lab-panel .zh-lab-detail-photo { object-position: center 48%; }
.zh-document-count,.zh-insight-count { font-size: 13px; color: #36585b; margin: 12px 0; }
.zh-v5-document img { transition: transform .32s ease; }
.zh-v5-document:hover img { transform: scale(1.018); }
.zh-v5-document > span { display: grid; align-content: start; gap: 9px; }
.zh-v5-document > span strong { font-weight: 620; }
.zh-v5-document > span small { font-size: 12px; color: #116771; }

.journal-hero .zh-insight-featured { border-color: #cbded9; }
.zh-insight-featured .zh-insight-copy .eyebrow { color: #086c76; }
.zh-insight-featured .zh-insight-copy h2 { font-size: clamp(27px,3.25vw,49px); }
.zh-insight-photo img { aspect-ratio: 2 / 1; }
.zh-insight-featured .zh-insight-photo img { aspect-ratio: 1.4; }
.zh-insight-grid { margin-top: 12px; }
.zh-v5-project-form fieldset > legend > span[aria-hidden] {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0 3px;
    border-radius: 50%;
    background: #e5f2ef;
}
.zh-v5-project-form > button[type="submit"] { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
    .zh-v5-document img { transition: none; }
}
.zh-home-quality-link {
    margin-top: 28px;
    padding: 0 20px;
    text-align: center;
}
.zh-home-quality-link a {
    display: inline-block;
    color: #086973;
    font-size: 15px;
    font-weight: 650;
    border-bottom: 1px solid #55918e;
    padding: 3px 0;
}
.zh-home-quality-link a:hover,.zh-home-quality-link a:focus-visible { color: #123c43; border-bottom-color: #123c43; }

/* Spool photography uses a different crop from the pellet textures. */
html body .elementor.elementor.elementor .zenhe-desktop .zh-spool.pp-on img.pp-img {
    transform: scale(1.025);
    object-position: 48% 36%;
}
html body .elementor.elementor.elementor .zenhe-mobile .zh-spool.mp-on {
    height: 374px;
    background: #17343e;
}
html body .elementor.elementor.elementor .zenhe-mobile .zh-spool.mp-on img {
    top: 68px;
    height: 192px;
    object-fit: contain;
    object-position: center;
    background: #f0f4f2;
    transform: none;
}
html body .elementor.elementor.elementor .zenhe-mobile .zh-spool.mp-on .mp-sh { background: none; }
html body .elementor.elementor.elementor .zenhe-mobile .zh-spool.mp-on .mp-head { height: 68px; }
html body .elementor.elementor.elementor .zenhe-mobile .zh-spool.mp-on .mp-body { bottom: 16px; gap: 5px; }
#base-details { scroll-margin-top: 100px; }
#sector-panel[aria-labelledby="sector-tab-film"] #sector-image {
    object-fit: contain;
    background: #fff;
}

#lab-color-microscopy-lab .zh-lab-detail-photo {
    height: auto;
    aspect-ratio: 3 / 2;
    object-position: center;
}
@media (min-width: 769px) {
    #lab-color-microscopy-lab { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 16px 28px; }
    #lab-color-microscopy-lab .zh-lab-detail-photo { grid-column: 1; grid-row: 1 / span 2; }
    #lab-color-microscopy-lab .zh-lab-detail-title { align-self: end; }
    #lab-color-microscopy-lab .zh-lab-intro { grid-column: 2; }
}
