/* ===== the House menu: two canes that cross, and a panel of the House's pages ===== */
.hm-btn{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:64px;min-height:48px;padding:6px 8px;background:none;border:0;cursor:pointer;color:#0a2a1e;font:inherit}
.hm-btn .bars{position:relative;display:block;width:46px;height:24px}
.hm-btn .cane{position:absolute;left:0;width:46px;height:10px;overflow:visible;transition:transform .5s cubic-bezier(.65,0,.35,1)}
.hm-btn .cane:first-child{top:0;transform-origin:23px 8.2px}
.hm-btn .cane:last-child{top:14px;transform-origin:23px 1.8px}
.hm-btn:hover .cane:first-child,.hm-btn:focus-visible .cane:first-child,.hm-btn[aria-expanded="true"] .cane:first-child{transform:translate(0,3.8px) rotate(-24deg) scale(1,-1)}
.hm-btn:hover .cane:last-child,.hm-btn:focus-visible .cane:last-child,.hm-btn[aria-expanded="true"] .cane:last-child{transform:translate(0,-3.8px) rotate(24deg)}
.hm-btn .word{font-family:'Semplicita','Semplicità','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:300;font-size:12px;letter-spacing:.14em;padding-left:.14em}
.hm-btn:focus-visible{outline:2px solid #c4a666;outline-offset:4px}

.hm-shade{position:fixed;inset:0;z-index:80;background:rgba(10,42,30,.6);visibility:hidden;opacity:0;transition:opacity .45s,visibility .45s}
.hm-panel{--hm-left:var(--rail,0px);position:fixed;z-index:90;top:0;bottom:0;left:var(--hm-left);width:min(520px,max(380px,36%));background:#fbf8f1;color:#0a2a1e;font-family:'EB Garamond',Garamond,Georgia,serif;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top,0px) + 56px) clamp(32px,3.6vw,56px) calc(env(safe-area-inset-bottom,0px) + 36px);visibility:hidden;opacity:0;transform:translateX(-14px);transition:opacity .45s,transform .45s cubic-bezier(.4,0,.2,1),visibility .45s;overflow-y:auto}
.hm-panel::before{content:"";position:absolute;left:0;top:30px;bottom:30px;width:1px;background:#c4a666}
body.hm-open .hm-shade,body.hm-open .hm-panel{visibility:visible;opacity:1}
body.hm-open .hm-panel{transform:none}
body.hm-open{overflow:hidden}
.hm-label{margin:0;font-family:var(--caps);font-weight:300;text-transform:uppercase;font-size:11.5px;letter-spacing:.2em;color:#7a5f26}
.hm-nav{margin-top:18px;flex:1;display:flex;flex-direction:column;justify-content:center}
.hm-nav a{display:grid;grid-template-columns:2.6em 1fr;align-items:baseline;padding:clamp(16px,2.6vh,26px) 0;border-top:1px solid rgba(196,166,102,.55);color:#0a2a1e;text-decoration:none;transition:color .25s}
.hm-nav a:last-child{border-bottom:1px solid rgba(196,166,102,.55)}
.hm-nav .n{font-style:italic;font-size:1.25rem;color:#8a6d33}
.hm-nav .t{font-family:'Semplicita','Semplicità','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:200;font-size:clamp(1.35rem,1.9vw,1.75rem);letter-spacing:.14em;line-height:1.15}
.hm-nav .t i{font-family:'EB Garamond',Garamond,Georgia,serif;font-style:italic;font-weight:400;letter-spacing:0;font-size:.8em}
.hm-nav .s{grid-column:2;margin-top:4px;font-style:italic;font-size:1.02rem;color:#4d5a53}
.hm-nav a:hover .t,.hm-nav a:focus-visible .t,.hm-nav a[aria-current="page"] .t{color:#7a5f26}
.hm-foot{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 24px}
.hm-foot .mail{font-style:italic;font-size:1.08rem;color:#0a2a1e;text-decoration:none}
.hm-foot .mail:hover{color:#7a5f26}
.hm-foot .small{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px}
.hm-foot .small a{display:inline-flex;align-items:center;min-height:44px;font-family:'Semplicita','Semplicità','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:300;font-size:12px;letter-spacing:.14em;color:#0a2a1e;text-decoration:none}
.hm-foot .small a:hover{color:#7a5f26}

/* inner pages: the button sits at the top of the rail */
.rail .hm-btn{margin-top:4px}
body.hm-open .rail{z-index:95}
/* landing page: the button at the top of the ivory panel, appearing once the opening has settled */
.hm-landing{position:fixed;z-index:95;top:calc(env(safe-area-inset-top,0px) + 26px);left:calc(var(--side-w,29%) / 2);transform:translateX(-50%);animation:hm-in 1s ease 3.3s both}
.hm-landing-panel{--hm-left:var(--side-w,29%)}
@keyframes hm-in{from{opacity:0}to{opacity:1}}
@media (max-width:860px){
  /* phones: the canes sized to sit in proportion with the bowler hat, and the hat moved to the right of the header */
  .hm-btn{gap:5px;min-width:44px;min-height:44px;padding:4px 6px}
  .hm-btn .bars{width:34px;height:18px}
  .hm-btn .cane{width:34px;height:7.4px}
  .hm-btn .cane:first-child{transform-origin:17px 6.06px}
  .hm-btn .cane:last-child{top:10.4px;transform-origin:17px 1.33px}
  .hm-btn:hover .cane:first-child,.hm-btn:focus-visible .cane:first-child,.hm-btn[aria-expanded="true"] .cane:first-child{transform:translate(0,2.8px) rotate(-24deg) scale(1,-1)}
  .hm-btn:hover .cane:last-child,.hm-btn:focus-visible .cane:last-child,.hm-btn[aria-expanded="true"] .cane:last-child{transform:translate(0,-2.8px) rotate(24deg)}
  .hm-btn .word{font-size:9.5px;letter-spacing:.16em}
  .rail{justify-content:space-between;padding-left:14px;padding-right:18px}
  .rail .social{display:none}
  .rail .home{display:inline-flex;align-items:center;min-height:44px}
  .hm-panel,.hm-landing-panel{left:0;width:100%;padding-top:calc(env(safe-area-inset-top,0px) + 124px)}
  .hm-panel::before{display:none}
  .hm-nav{justify-content:flex-start}
  .hm-landing{left:calc(var(--frame,24px) + 6px);top:calc(env(safe-area-inset-top,0px) + 40px);transform:none;color:#fbf8f1;animation-delay:3.3s}
  body.hm-open .hm-landing{color:#0a2a1e}
  .rail .hm-btn{margin-top:0;position:relative;z-index:95}
  body.hm-open .rail{z-index:95}
}
@media (prefers-reduced-motion:reduce){.hm-btn .cane,.hm-panel,.hm-shade{transition:none}.hm-landing{animation:none}}
/* ===== end of the House menu ===== */

/* Menu without numerals: title and description in one column */
.hm-nav a{grid-template-columns:1fr}
.hm-nav .s{grid-column:1}
