/* A paper masthead keeps the original olive-coloured logo legible. */
html { scroll-padding-top:72px; }
body[class*="tol-page-"] .site-header {
  position:sticky; top:0; z-index:65; padding:0; min-height:0;
  color:#29382c; background:#f7f4e9; border:0; border-bottom:1px solid #c4c4ae;
}
.site-header .header-inner {
  position:relative; width:min(91%,1280px); max-width:none; min-height:82px;
  display:flex; gap:24px; align-items:center; justify-content:space-between;
}
.site-header .brand { min-width:0; display:flex; width:104px;height:76px;overflow:hidden;align-items:center; }
.site-header .brand .brand-logo { flex:none; width:104px;height:104px;object-fit:contain;filter:none; }
.site-header .nav { gap:clamp(16px,2.3vw,36px);align-items:center; }
.site-header .nav a {
  color:#344034; font:480 clamp(17px,1.35vw,22px)/1.2 Newsreader,Georgia,serif; letter-spacing:-.025em;
  padding:7px 0 5px; text-decoration:none; border-bottom:1px solid transparent;
}
.site-header .nav a:is(:hover,[aria-current="page"]) { border-color:#8d825a; text-decoration:none; }
.site-header .nav .nav-cta {
  color:#faf8ec;background:#293e32; border:1px solid #293e32;border-radius:3px;
  padding:9px 15px 7px; font-style:italic;
}
.site-header .menu-btn {
  color:#304335; border:0;background:transparent;border-radius:0;min-height:44px;min-width:48px;
  align-items:center;justify-content:center;padding:0;cursor:pointer;
}
.menu-lines { width:25px;height:12px;position:relative;display:block; }
.menu-lines:before,.menu-lines:after {content:"";position:absolute;right:0;width:25px;height:1.6px;background:currentColor;transition:transform .16s ease;}
.menu-lines:before{top:1px}.menu-lines:after{bottom:1px;width:19px}
[aria-expanded="true"] .menu-lines:before{transform:translateY(4px) rotate(45deg)}
[aria-expanded="true"] .menu-lines:after{width:25px;transform:translateY(-4px) rotate(-45deg)}
.site-header.is-compact .header-inner{min-height:55px}
.site-header.is-compact .brand {width:68px;height:52px}
.site-header.is-compact .brand .brand-logo{width:68px;height:68px}
.site-header.is-compact .menu-btn{display:inline-flex}
.site-header.is-compact .nav{display:none}
.site-header.is-compact .nav.open,
.site-header .nav.open {
  position:absolute;top:100%;right:0;left:auto; width:min(310px,100%); max-height:calc(100dvh - 90px);overflow-y:auto;
  display:flex;flex-direction:column;align-items:stretch;gap:0; padding:8px 20px 14px;margin:0;
  background:#f7f4e9;color:#29382c;border:1px solid #c4c4ae;box-shadow:0 12px 24px #19342819;
}
.site-header .nav.open a {display:flex;align-items:center;min-height:44px;border-bottom:1px solid #d7d8c8;padding:8px 2px 6px;font-size:20px}
.site-header .nav.open .nav-cta{justify-content:center;margin-top:8px}
.site-header :focus-visible,.site-footer :focus-visible {outline:2px solid #ac8152;outline-offset:3px}
@media(min-width:851px){.site-header:not(.is-compact) .nav{display:flex}.site-header:not(.is-compact) .menu-btn{display:none}}
@media(max-width:850px){
  .site-header .header-inner{width:calc(100% - 32px);min-height:66px}
  .site-header .brand{width:83px;height:62px}.site-header .brand .brand-logo{width:83px;height:83px}
  .site-header .menu-btn{display:inline-flex}
}
body .compact-footer{background:#142820;color:#e6ebdc;padding:25px 0 9px}
.compact-footer>.wrap{width:min(90%,1010px);max-width:none}
.compact-footer .footer-grid{display:grid;grid-template-columns:minmax(210px,.95fr) minmax(250px,1.35fr) auto;gap:25px;align-items:center}
.compact-footer .footer-grid>div:first-child{grid-column:auto}
.compact-footer .footer-grid h3{font:440 25px/1 Newsreader,Georgia,serif;letter-spacing:-.04em;color:#f3f1e1;margin:0 0 5px}
.compact-footer .footer-grid p{font:400 13px/1.36 Arial,sans-serif;margin:0;max-width:42ch;color:#d6dece}
.compact-footer .footer-grid .legal-note{font-size:11px;margin-top:6px;color:#c3cfbd}
.foot-directory{display:flex;flex-wrap:wrap;align-content:center;gap:0 15px;max-width:45ch}
.compact-footer .foot-directory a{display:inline-flex;align-items:center;font:400 15px/1.18 Newsreader,Georgia,serif;color:#f0efdc;min-height:30px;text-decoration:none}
.compact-footer .foot-directory a:hover{text-decoration:underline;text-underline-offset:4px}
.compact-footer .socials{display:flex;gap:1px;flex-wrap:nowrap}
.compact-footer .socials a{width:44px;height:44px;min-height:44px;border:0;color:#e4e4c9;display:grid;place-items:center;border-radius:50%}
.compact-footer .socials a:hover{background:#ffffff12;color:white}
.compact-footer .socials svg{width:19px;height:19px;display:block}
.compact-footer .footer-bottom{padding:8px 0 0;margin:15px 0 0;display:flex;flex-direction:row;flex-wrap:wrap;gap:4px 16px;align-items:center;justify-content:space-between;font-size:11px;color:#c5cfbf}
.compact-footer .footer-bottom .review-exit{font:inherit;color:inherit;background:transparent;padding:4px 0;text-underline-offset:3px}
@media(max-width:850px){
  .compact-footer .footer-grid{grid-template-columns:minmax(0,1fr) auto;gap:7px 14px}
  .compact-footer .foot-directory{grid-column:1/-1;grid-row:2;max-width:none}
  .compact-footer .socials{grid-column:2;grid-row:1}
  .compact-footer .foot-directory a{min-height:34px}
}
@media(max-width:510px){
  body .compact-footer{padding:18px 0 10px}
  .compact-footer .footer-grid{display:flex;flex-wrap:wrap;gap:7px 0}
  .compact-footer .footer-grid>div:first-child{width:100%}
  .compact-footer .foot-directory{gap:0 16px}
  .compact-footer .footer-bottom{margin-top:4px;gap:3px 12px}
  .compact-footer .footer-bottom span:nth-child(2){display:none}
}

/* Keep the wordmark readable in the compact header and align footer rows. */
html { scroll-padding-top: 80px; }
.site-header .header-inner { min-height: 86px; }
.site-header .brand { width: 118px; height: 82px; }
.site-header .brand .brand-logo { width: 118px; height: 118px; }
.site-header.is-compact .header-inner { min-height: 62px; }
.site-header.is-compact .brand { width: 88px; height: 60px; }
.site-header.is-compact .brand .brand-logo { width: 88px; height: 88px; }
body .compact-footer { padding: 27px 0 11px; }
.compact-footer > .wrap { width: min(calc(100% - 48px), 1120px); }
.compact-footer .footer-grid {
  grid-template-columns: minmax(200px, .86fr) minmax(280px, 1.4fr) auto;
  align-items: start; gap: 12px clamp(20px, 4vw, 52px);
}
.compact-footer .footer-grid p { font-size: 14px; line-height: 1.45; }
.compact-footer .footer-grid .legal-note { font-size: 12px; }
.compact-footer .foot-directory {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none; column-gap: 18px; row-gap: 0;
}
.compact-footer .foot-directory a { font-size: 16px; min-height: 30px; }
.compact-footer .socials { align-self: start; margin: 0; }
.compact-footer .footer-bottom { margin-top: 19px; font-size: 12px; color: #d6dece; }
.compact-footer .footer-bottom > :nth-child(2):not(.foot-legal):not(.review-exit) { display: none; }
.compact-footer .foot-legal { display: flex; flex-wrap: wrap; column-gap: 16px; align-items: center; }
.compact-footer .foot-legal a,
.compact-footer .foot-legal .tol-measurement-settings button {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0;
  padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.compact-footer .foot-legal .tol-measurement-settings { background: transparent; color: inherit; }
@media (max-width: 850px) {
  .site-header .header-inner { min-height: 70px; }
  .site-header .brand { width: 96px; height: 66px; }
  .site-header .brand .brand-logo { width: 96px; height: 96px; }
  .compact-footer .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .compact-footer .foot-directory { grid-column: 1 / -1; grid-row: 2; }
  .compact-footer .foot-directory a { min-height: 42px; }
}
@media (max-width: 510px) {
  body .compact-footer { padding-top: 22px; }
  .compact-footer > .wrap { width: calc(100% - 36px); }
  .compact-footer .footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .compact-footer .foot-directory { grid-column: 1; grid-row: 2; }
  .compact-footer .socials { grid-column: 1; grid-row: 3; margin-left: -10px; }
  .compact-footer .footer-bottom { display: block; margin-top: 8px; }
}
