/* Preserve the imported design; replace only Webflow's interaction machinery. */
html { -webkit-text-size-adjust: 100%; }
body,a,button,input,.w-button { cursor: auto; }
a,button,.w-button { cursor: pointer; }
button.w-dropdown-toggle { background: transparent; color: inherit; font-family: Gt Pressura Mono,sans-serif; font-size: inherit; line-height: inherit; border: 0; }
button.w-nav-button { border: 0; background: transparent; color: inherit; }
.menu-stroke { display: block; width: 30px; height: 2px; margin: 7px 0; background: currentColor; transition: transform .3s; }
.menu-open .menu-stroke:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-stroke:last-child { transform: translateY(-4.5px) rotate(-45deg); }
:focus-visible { outline: 2px solid #292929; outline-offset: 5px; }
@media(max-width:991px) {
  .herd-nav.menu-open .w-nav-menu { display:flex; position:absolute; top:100%; left:0; width:100%; z-index:100; overflow-y:auto; background:#fafaf8; }
}
.herd-lightbox { width:min(96vw,1400px); max-width:96vw; padding:45px 20px 20px; border:0; background:#171717; color:#fff; }
.herd-lightbox::backdrop { background:rgba(0,0,0,.9); }
.herd-lightbox img { display:block; max-width:100%; max-height:80vh; margin:auto; object-fit:contain; }
.herd-lightbox iframe { display:block; width:100%; aspect-ratio:16/9; border:0; }
.lightbox-close { position:absolute; top:3px; right:12px; padding:5px 10px; color:#fff; background:transparent; border:0; font-size:30px; cursor:pointer; }
@media(prefers-reduced-motion:reduce) { .text-focus-in,.fade-in-bottom { opacity:1!important; animation:none!important; } }

/* Keep the contact introduction and form together as one balanced section. */
.contact-main-wrapper .contact-wrapper-div {
  margin-top: clamp(48px, 6vw, 88px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.contact-main-wrapper .c-info-wrapper { padding-bottom: 0; }
.contact-no-heading .contact-form-wrapper { padding-top: 0; margin-bottom: 64px; }
@media (max-width: 767px) {
  .contact-main-wrapper .more-padding-wrapper.no-p.contact { padding-top: 20px; padding-bottom: 0; }
  .contact-main-wrapper .left-content { margin-top: 0; }
  .contact-main-wrapper .contact-wrapper-div { margin-top: 24px; margin-bottom: 32px; }
  .contact-main-wrapper .right-content { margin-top: 24px; }
  .contact-no-heading .contact-form-wrapper { margin-bottom: 40px; }
}

/* The introduction is already in view; show it on first paint. */
.hero-home-wrapper .text-focus-in,
.hero-home-wrapper .fade-in-bottom { opacity: 1; animation: none !important; }

/* Articles use the same typefaces, monochrome palette and spacing as the site. */
.semantic-heading { margin-top: 0; margin-bottom: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.seo-context-link a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

.editorial-page {
  padding-top: 80px;
  padding-bottom: 96px;
  color: #292929;
}
.articles-heading { margin-bottom: 64px; }
.articles-heading .h1 { margin-top: 0; margin-bottom: 28px; }
.editorial-intro {
  max-width: 760px;
  font-family: Lyontext, Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
}
.editorial-label, .editorial-meta, .editorial-back, .editorial-read {
  font-family: Gt Pressura Mono, monospace;
  font-size: 16px;
  line-height: 1.6;
}
.editorial-label { text-transform: uppercase; margin-bottom: 18px; }
.editorial-meta { color: #595959; }
.article-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}
.article-card-image { display: block; background: #f0f0f0; }
.article-card-image img { width: 100%; height: auto; display: block; }
.article-card h2, .editorial-cta h2 {
  font-family: Lyontext Web, Georgia, serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 24px;
}
.article-card h2 a { color: inherit; text-decoration: none; }
.article-card h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.article-card-content > p:not(.editorial-label):not(.editorial-meta), .editorial-cta p {
  font-family: Lyontext, Georgia, serif;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.editorial-back, .editorial-read, .article-copy a, .editorial-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.editorial-read { display: inline-block; padding: 10px 0; }
.article-heading { max-width: 940px; margin: 0 auto 48px; }
.article-heading .editorial-back { display: inline-block; margin-bottom: 40px; }
.article-heading h1 {
  font-family: Lyontext Web, Georgia, serif;
  font-size: clamp(36px, 5.8vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 32px;
}
.article-heading .editorial-meta { margin-top: 28px; }
.article-image { margin: 0 auto 56px; max-width: 760px; background: #f0f0f0; }
.article-image img { display: block; width: 100%; height: auto; }
.article-copy { max-width: 760px; margin: auto; }
.article-image figcaption { padding: 12px 16px; font: 14px/1.6 Gt Pressura Mono, monospace; }
.research-cover img, .research-card .article-card-image img { aspect-ratio: 16 / 10; object-fit: cover; object-position: center 52%; }
.research-barn img { aspect-ratio: 3 / 2; object-fit: cover; object-position: center 62%; }
.research-note { padding: 24px 28px; background: #f1f1f1; margin: 36px 0; }
.article-copy .research-note h2 { margin-top: 0; font-size: 28px; }
.article-copy .research-note p { font-size: 18px; }
.research-note p:last-child { margin-bottom: 0; }
.article-copy .research-formula { font: 19px/1.65 Gt Pressura Mono, monospace; padding: 20px; border-left: 3px solid #292929; background: #f1f1f1; overflow-wrap: anywhere; }
.research-chart a { display: block; }
.research-chart figcaption a { display: inline; }
.research-chart a:focus-visible { outline: 3px solid #292929; outline-offset: 4px; }
.water-observation { scroll-margin-top: 100px; }
.article-copy .water-observation h3 { font: 400 28px/1.3 Lyontext Web, Georgia, serif; margin: 40px 0 20px; }
.water-photo { max-width: 480px; margin-left: auto; margin-right: auto; }
.water-video video { display: block; width: 100%; height: auto; background: #161616; }
.camera-demo { scroll-margin-top: 100px; }
.camera-demo video { display: block; width: 100%; height: auto; background: #161616; }
.camera-cover img, .camera-card .article-card-image img { aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.research-references { border-top: 1px solid #d8d8d8; margin-top: 48px; }
.research-references li { font: 16px/1.65 Lyontext, Georgia, serif; padding-left: 5px; margin-bottom: 16px; overflow-wrap: anywhere; }
.article-copy p { font-family: Lyontext, Georgia, serif; font-size: 20px; line-height: 1.75; margin-bottom: 24px; }
.article-copy h2 { font-family: Lyontext Web, Georgia, serif; font-size: 32px; font-weight: 400; line-height: 1.25; margin: 48px 0 20px; }
.editorial-cta { max-width: 940px; margin: 64px auto 0; padding: 40px; background: #f1f1f1; }
.editorial-cta .cta { display: inline-block; width: auto; margin-top: 8px; }
.editorial-footer { background: #f1f1f1; padding: 32px 0; }
.editorial-footer > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.editorial-footer p, .editorial-footer a { font-family: Gt Pressura Mono, monospace; font-size: 14px; margin: 0; }

/* Articles and case studies share a library; brochures have their own page. */
.resources-heading .h1 { max-width: 1100px; font-size: clamp(42px, 6.5vw, 84px); }
.resource-jumps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.resource-jumps a {
  padding: 10px 18px;
  border: 1px solid #b7b7b7;
  border-radius: 30px;
  color: #292929;
  font: 16px/1.5 Gt Pressura Mono, monospace;
  text-decoration: none;
}
.resource-jumps a:hover { background: #292929; border-color: #292929; color: #fff; }
.resources-cases, .resources-brochures { margin-top: 88px; scroll-margin-top: 100px; }
.article-card[id] { scroll-margin-top: 100px; }
.resource-section-heading { margin-bottom: 32px; }
.resource-section-heading h2 { font: 400 clamp(32px, 4vw, 48px)/1.15 Lyontext Web, Georgia, serif; margin: 0 0 18px; }
.resource-section-heading > p { max-width: 760px; font: 20px/1.6 Lyontext, Georgia, serif; }
.resource-case { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-top: 1px solid #d8d8d8; padding: 28px 0; }
.resource-case:last-child { border-bottom: 1px solid #d8d8d8; }
.resource-case .editorial-meta { margin: 0 0 12px; }
.resource-case h3 { max-width: 940px; font: 400 clamp(23px, 2.5vw, 32px)/1.3 Lyontext Web, Georgia, serif; margin: 0; }
.resource-case h3 a { color: inherit; text-decoration: none; }
.resource-case h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.brochure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.brochure-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 26px; align-items: start; border: 1px solid #d8d8d8; padding: 28px; background: #fafafa; }
.brochure-cover { display: block; width: 132px; height: auto; box-shadow: 0 6px 16px #00000018; }
.brochure-copy { display: flex; flex-direction: column; height: 100%; }
.brochure-copy .editorial-label { font-size: 14px; margin-bottom: 14px; }
.brochure-copy h2, .brochure-copy h3 { font: 400 29px/1.2 Lyontext Web, Georgia, serif; margin: 0 0 16px; }
.brochures-intro { max-width: 760px; font: 20px/1.6 Lyontext, Georgia, serif; }
.presentation-film { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: center; margin-bottom: 72px; scroll-margin-top: 100px; }
.presentation-film figure { margin: 0; }
.presentation-film video { display: block; width: 100%; height: auto; background: #161616; }
.presentation-film figcaption { margin-top: 14px; font: 14px/1.6 Gt Pressura Mono, monospace; }
.presentation-film figcaption a { color: inherit; text-underline-offset: 4px; }
.presentation-film .editorial-meta { font: 16px/1.6 Gt Pressura Mono, monospace; }
.presentation-brochures { border-top: 1px solid #d8d8d8; padding-top: 48px; }
@media (max-width: 991px) { .presentation-film { grid-template-columns: 1fr; gap: 8px; margin-bottom: 48px; } }
.brochure-copy > p:not(.editorial-label) { font: 18px/1.55 Lyontext, Georgia, serif; margin-bottom: 22px; }
.brochure-downloads { display: grid; gap: 10px; margin-top: auto; }
.brochure-download { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 12px; padding: 12px 14px; background: #fff; border: 1px solid #a7a7a7; color: #292929; text-decoration: none; font: 16px/1.5 Gt Pressura Mono, monospace; }
.brochure-download small { font-size: 14px; }
.brochure-download:hover { background: #292929; color: #fff; border-color: #292929; }
.article-inline-figure { margin: 36px 0; }
.article-inline-figure img { width: 100%; height: auto; display: block; }
.article-inline-figure figcaption { margin-top: 12px; color: #595959; font: 14px/1.6 Gt Pressura Mono, monospace; }
.article-brochure-link { border-top: 1px solid #d8d8d8; padding-top: 20px; margin-top: 48px; }
.article-brochure-link h2 { margin-top: 20px; }
.news-block-heading .resource-teaser-title { max-width: 100%; font-size: clamp(36px, 5vw, 64px); }
@media (min-width: 992px) and (max-width: 1199px) {
  .herd-nav .nav-link { font-size: 14px; }
  .brochure-card { grid-template-columns: 100px minmax(0, 1fr); gap: 20px; padding: 22px; }
  .brochure-cover { width: 100px; }
}
@media (max-width: 991px) {
  .brochure-grid { grid-template-columns: 1fr; }
  .herd-nav .nav-link-mob[href$="/articles"] { line-height: 1.15; }
}
@media (max-width: 767px) {
  .resources-cases, .resources-brochures { margin-top: 56px; }
  .resource-jumps { gap: 8px; }
  .resource-jumps a { padding: 9px 14px; }
  .resource-case { grid-template-columns: 1fr; gap: 8px; }
  .resource-case > .editorial-read { justify-self: start; }
  .brochure-card { grid-template-columns: 90px minmax(0, 1fr); padding: 20px; gap: 18px; }
  .brochure-cover { width: 90px; }
  .brochure-copy h2, .brochure-copy h3 { font-size: 25px; }
  .brochure-copy > p:not(.editorial-label) { font-size: 17px; }
}
@media (max-width: 399px) {
  .brochure-card { grid-template-columns: 1fr; }
  .brochure-cover { width: 110px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .herd-nav .brand-image { min-width: 140px; flex-shrink: 0; }
  .herd-nav .nav-wrapper-div { column-gap: 8px; }
  .herd-nav .nav-link { padding-left: 7px; padding-right: 7px; }
  .herd-nav .nav-cta-div { margin-left: 8px; }
  .herd-nav .cta-nav { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 767px) {
  .editorial-page { padding-top: 40px; padding-bottom: 56px; }
  .articles-heading { margin-bottom: 32px; }
  .article-card { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .article-heading { margin-bottom: 32px; }
  .article-heading .editorial-back { margin-bottom: 28px; }
  .article-copy h2 { font-size: 28px; }
  .article-copy p { font-size: 18px; }
  .editorial-cta { padding: 28px 20px; margin-top: 40px; }
}
