/* Top bar (sections/topbar, prefix tb-), first child of the fixed .navbar1_component header.
   Forest band: rotating facts with a redrawn hand-drawn underline, place, e-mail with copy, contact link.
   Folds away (section.js adds .is-folded) once the page scrolls, so anchors and the hero keep the
   72 px header. --tb-h is its open height for any section that wants to clear it. */
:root{--tb-h:38px}
.tb-bar{position:relative;height:var(--tb-h);background:var(--forest);color:var(--on-forest);font:500 .82rem/1 var(--sans);letter-spacing:.01em;--doodle:#d9b26a;transition:margin-top .45s cubic-bezier(.22,.68,0,1),opacity .3s,visibility .45s}
.tb-bar.is-folded{margin-top:calc(-1 * var(--tb-h));opacity:0;visibility:hidden}
.tb-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:min(90%,80rem);height:100%;margin:0 auto}
.tb-facts{position:relative;display:flex;align-items:center;gap:10px;min-width:0}
.tb-sprig{width:18px;height:18px;color:var(--accent-dark);transform-origin:50% 100%;animation:tb-sway 5s ease-in-out infinite}
@keyframes tb-sway{50%{transform:rotate(9deg)}}
.tb-rotator{display:grid;min-width:0;margin:0;padding:0;list-style:none}
.tb-fact{grid-area:1/1;justify-self:start;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0;transform:translateY(70%);transition:opacity .45s,transform .6s cubic-bezier(.22,.68,0,1)}
.tb-fact.is-on{opacity:1;transform:none;color:#fff}
.tb-fact.is-out{transform:translateY(-70%)}
.tb-line{position:absolute;left:28px;top:calc(50% + 9px);width:0;height:6px;stroke-width:1.8}
.tb-contact{display:flex;flex:none;align-items:center;gap:18px}
.tb-place,.tb-mail{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.tb-place .lh-ico{width:20px;height:20px;color:var(--accent-dark)}
.tb-mail{color:#fff;text-decoration:none}
.tb-mail i{font-size:1rem;color:var(--accent-dark)}
.tb-mail:hover span{text-decoration:underline;text-underline-offset:.25em}
.tb-copy{display:grid;place-items:center;width:28px;height:28px;margin-left:-12px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--on-forest);font-size:.95rem;cursor:pointer;transition:background-color .2s,color .2s}
.tb-copy:hover{background:rgba(255,255,255,.1);color:#fff}
.tb-copy.is-done{background:var(--accent-dark);color:var(--forest)}
.tb-cta{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 12px;border:1px solid rgba(217,178,106,.55);border-radius:999px;color:var(--accent-dark);font-weight:600;text-decoration:none;transition:background-color .25s,color .25s}
.tb-cta:hover{background:var(--accent-dark);color:var(--forest)}
.tb-bar :focus-visible{outline:2px solid var(--accent-dark);outline-offset:2px}
.tb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* The mobile menu is position:fixed inside the header (its backdrop-filter makes the header the
   containing block), so it hangs from the header's bottom edge whether the bar is open or folded. */
.navbar1_component:has(> .tb-bar) .navbar1_menu{top:100%}
@media (max-width:1000px){.tb-cta{display:none}}
@media (max-width:760px){.tb-place{display:none}}
@media (max-width:640px){
  .tb-inner{width:92%;gap:12px}
  .tb-copy{display:none}
  .tb-mail{display:grid;place-items:center;width:30px;height:30px}
  .tb-mail i{font-size:1.15rem}
  .tb-mail span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  /* QA 2026-11-29: the longer facts ended in an ellipsis at 390 px. They wrap to two lines inside the 38 px bar. */
  .tb-fact{white-space:normal;text-overflow:clip;font-size:.74rem;line-height:1.15}
}
