/* The homepage header and footer, for pages that do not load home.css
   (the Journal and the case studies). Every rule sits under .oh-header or
   .oh-footer, so it cannot change the page around it. Values copy
   assets/homepage/home.css; change both together. */
@font-face{font-family:'DM Sans';src:url('/assets/homepage/fonts/dm-sans-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'DM Sans';src:url('/assets/homepage/fonts/dm-sans-semibold.ttf') format('truetype');font-style:normal;font-weight:500 800;font-display:swap}
@font-face{font-family:'DM Serif';src:url('/assets/homepage/fonts/dm-serif-display.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}

.oh-header,.oh-footer{--oh-green:#193e39;--oh-deep:#12332e;--oh-paper:#f7f4ed;--oh-muted:#68736c;--oh-line:#dcded4;
  font-family:'DM Sans',sans-serif;color:var(--oh-green);line-height:1.5;-webkit-font-smoothing:antialiased}
.oh-header *,.oh-footer *{box-sizing:border-box}
.oh-header a,.oh-footer a{color:inherit;text-decoration:none}
.oh-header a:hover,.oh-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.oh-header .oh-container,.oh-footer .oh-container{width:min(1192px,calc(100% - 80px));margin-inline:auto}

.oh-header{position:sticky;top:0;z-index:50;background:var(--oh-paper);border-bottom:1px solid #193e3915}
.oh-header .oh-row{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:30px}
.oh-header .oh-brand,.oh-footer .oh-brand{display:flex;align-items:center;gap:9px;font:27px/1 'DM Serif',Georgia,serif;white-space:nowrap;letter-spacing:-.04em;color:var(--oh-green)}
.oh-header .oh-brand img{width:54px;height:48px;object-fit:contain}
.oh-header .oh-brand:hover,.oh-footer .oh-brand:hover{text-decoration:none}
.oh-header .oh-nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:500}
.oh-header .oh-toggle{display:none}
.oh-header .oh-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:10px 21px;background:var(--oh-green);border:1px solid var(--oh-green);border-radius:999px;color:#fff;font:500 13px/1.4 'DM Sans',sans-serif;text-align:center;transition:background .16s,box-shadow .16s}
.oh-header .oh-button:hover{background:var(--oh-deep);text-decoration:none;box-shadow:0 3px 10px #193e3915}
.oh-header .oh-button.outline{background:transparent;color:var(--oh-green);border-color:#9dac9f}
.oh-header .oh-button.outline:hover{background:var(--oh-green);color:#fff}

footer.oh-footer{padding:44px 0 20px;background:var(--oh-paper);border-top:1px solid var(--oh-line);color:var(--oh-green);text-align:left;font-size:inherit}
.oh-footer .footer-top{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:30px;align-items:start}
.oh-footer .footer-top .oh-brand{font-size:23px}
.oh-footer .footer-top .oh-brand img{width:43px;height:40px;object-fit:contain}
.oh-footer .footer-top>p{margin:0;font-size:12px;color:var(--oh-muted)}
.oh-footer .footer-top>div{display:flex;flex-direction:column;gap:9px;font-size:12px}
.oh-footer .footer-audiences{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-top:30px;padding:22px 0;border-top:1px solid var(--oh-line)}
.oh-footer .footer-audiences>p{margin:0;font:21px/1.4 'DM Serif',Georgia,serif;flex-shrink:0}
.oh-footer .footer-audiences>div{display:flex;gap:14px 23px;flex-wrap:wrap;justify-content:flex-end}
.oh-footer .footer-audiences a{font-size:13px}
.oh-footer .footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--oh-line);padding-top:20px;margin-top:30px;font-size:10px;color:var(--oh-muted)}
.oh-footer .footer-bottom>div{display:flex;gap:20px}

@media(min-width:1440px){.oh-header .oh-container,.oh-footer .oh-container{width:min(1260px,calc(100% - 120px))}}
@media(max-width:1100px){
  .oh-header .oh-container,.oh-footer .oh-container{width:calc(100% - 48px)}
  .oh-header .oh-nav{gap:19px}
  .oh-header .oh-brand{font-size:24px}
  .oh-footer .footer-top{grid-template-columns:1fr 1fr;gap:25px}
}
@media(max-width:800px){
  .oh-header .oh-container,.oh-footer .oh-container{width:calc(100% - 40px)}
  .oh-header .oh-row{min-height:74px}
  .oh-header .oh-brand{font-size:25px}
  .oh-header .oh-brand img{width:46px;height:43px}
  .oh-header .oh-toggle{display:flex;align-items:center;gap:15px;padding:10px 15px;min-height:44px;border:1px solid #afbcac;border-radius:99px;background:transparent;color:var(--oh-green);font:500 12px 'DM Sans',sans-serif;cursor:pointer}
  .oh-header .oh-toggle span{font-size:20px;line-height:1}
  .oh-header .oh-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--oh-paper);border-bottom:1px solid var(--oh-line);padding:20px;box-shadow:0 10px 16px #193e3910;align-items:stretch;gap:0}
  .oh-header .oh-nav.open{display:flex;flex-direction:column}
  .oh-header .oh-nav>a{padding:13px 10px}
  .oh-header .oh-nav>.oh-button{margin-top:10px}
  .oh-footer .footer-audiences{align-items:flex-start;flex-direction:column;gap:13px}
  .oh-footer .footer-audiences>div{justify-content:flex-start}
  .oh-footer .footer-audiences a{font-size:14px}
}
@media(max-width:540px){
  .oh-header .oh-container,.oh-footer .oh-container{width:calc(100% - 36px)}
  .oh-footer .footer-top{gap:27px 20px}
  .oh-footer .footer-top .oh-brand{font-size:22px;grid-column:1/-1}
  .oh-footer .footer-top>p{grid-column:1/-1;margin-top:-14px}
  .oh-footer .footer-top>p br{display:none}
  .oh-footer .footer-top>div{font-size:11px}
  .oh-footer .footer-bottom{flex-wrap:wrap;row-gap:14px;font-size:9px}
}
@media(max-width:360px){
  .oh-header .oh-brand{font-size:23px;gap:5px}
  .oh-header .oh-brand img{width:39px}
}
