@font-face {font-family:'Hibiki Menu';src:url('/assets/kalam-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display: block;;unicode-range:U+2BC,U+2C6-2C7,U+2C9,U+2D8-2DD,U+3C0,U+901-903,U+905-90D,U+90F-911,U+913-928,U+92A-933,U+935-939,U+93C-945,U+947-949,U+94B-94D,U+950,U+958-95E,U+960-970,U+972,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+25CC,U+FB01-FB02,U+F0001-F0002,U+F01B5-F0402;}
@font-face {font-family:'Hibiki Menu';src:url('/assets/kalam-400-latin-v1.woff2') format('woff2');font-weight:400;font-style:normal;font-display: block;;unicode-range:U+0,U+D,U+20-7E,U+A0-107,U+10C-113,U+116-11B,U+11E-11F,U+122-123,U+12A-12B,U+12E-131,U+136-137,U+139-13E,U+141-148,U+14C-14D,U+150-15B,U+15E-165,U+16A-16B,U+16E-173,U+178-17E,U+192,U+218-21B,U+200B-200D,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A8,U+20AC,U+20B9-20BA,U+20BD,U+2113,U+2122,U+2126,U+212E;}
/* Option B: watercolor keepsakes with readable, live labels. */
.hf-illustrated-masthead:is(.masthead,.hf-masthead) {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  box-sizing:border-box; width:min(1440px,calc(100% - 72px));
  height:auto; min-height:110px; margin:0 auto; padding:8px 0 10px;
  position:relative; color:#513827;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.logo,.hf-masthead-logo) {
  display:block; flex:0 0 clamp(230px,22vw,305px); width:clamp(230px,22vw,305px);
  max-width:none; margin:0;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.logo,.hf-masthead-logo) img {
  display:block; width:100%; height:auto; max-height:112px; object-fit:contain;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) nav {
  position:static; display:flex; flex:1 1 auto; align-items:flex-start;
  align-self:center; justify-content:flex-end; gap:clamp(8px,1.2vw,18px); max-width:650px;
  width:auto; margin:0; padding:0; border:0; background:none; box-shadow:none;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a {
  display:flex; flex:0 1 115px; flex-direction:column; align-items:center;
  justify-content:flex-start; gap:0; min-width:0; min-height:93px;
  box-sizing:border-box; position:relative; padding:0 3px 5px; margin:0;
  color:inherit; text-decoration:none; white-space:normal; text-align:center;
  font:400 18px/1.05 'Hibiki Menu','Hibiki Navigation',cursive;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a::after {display:none!important;}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-art {
  display:block; flex:none; width:76px; max-width:100%; height:44px;
  margin:0 auto 2px; object-fit:contain; transition:transform .18s ease;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-label {
  display:block; position:relative; width:max-content; max-width:100%;
  box-sizing:border-box; min-height:42px; padding-bottom:4px; line-height:1.05; color:inherit;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-label::after {
  content:''; position:absolute; left:0; right:0; bottom:0; height:3px;
  border-radius:70% 30% 65% 35%; background:#e9b83d;
  transform:rotate(-2deg); opacity:0;
}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) a[aria-current=page] .hf-nav-label::after {opacity:1;}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a:hover .hf-nav-art {transform:translateY(-3px);}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a:hover {color:#326e71;}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(a,button):focus-visible {outline:2px solid #417875;outline-offset:5px;border-radius:5px;}
.hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.menu-button,.hf-menu-button) {display:none;}
@media(max-width:1050px) {
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) {width:calc(100% - 48px);min-height:100px;padding:5px 0;gap:16px;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.logo,.hf-masthead-logo) {flex:0 1 285px;width:285px;max-width:calc(100% - 90px);}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.logo,.hf-masthead-logo) img {max-height:90px;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.menu-button,.hf-menu-button) {
    display:block; flex:none; min-width:70px; min-height:44px; padding:8px 2px;
    border:0; background:transparent; color:inherit; cursor:pointer;
    font:400 23px/1.2 Gaegu,'Hibiki Navigation Hand',cursive; white-space:nowrap;
  }
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) nav {
    display:none; position:absolute; inset:100% -24px auto; z-index:1400;
    grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; max-width:none;
    padding:18px 24px 22px; border-bottom:1px solid #dfd0b8;
    background:#fff9ef url('/assets/cotton-paper.svg'); box-shadow:0 10px 18px #51382715;
    max-height:calc(100dvh - 110px); overflow-y:auto; overscroll-behavior:contain;
  }
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) button[aria-expanded=true]+nav {display:grid;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a {width:100%;min-height:93px;font-size:19px;}
}
@media(max-width:620px) {
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) {width:calc(100% - 36px);min-height:90px;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.logo,.hf-masthead-logo) {flex-basis:265px;width:265px;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) :is(.logo,.hf-masthead-logo) img {max-height:80px;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) nav {inset-inline:-18px;grid-template-columns:minmax(0,1fr);gap:0;padding:10px 22px 14px;max-height:calc(100dvh - 100px);}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a {min-height:48px;flex-direction:row;align-items:center;justify-content:flex-start;padding:10px 8px;font-size:20px;text-align:left;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-art {display:none;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a:last-child {grid-column:auto;width:100%;justify-self:stretch;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-label {min-height:0;line-height:1.2;padding-bottom:3px;}
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-label br {display:none;}
}
@media(prefers-reduced-motion:reduce) {.hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-art {transition:none;}}

/* Keep desktop artwork, captions, and active marks in independent fixed rows.
   These rows total the existing 93px link height; header geometry is unchanged. */
@media (min-width:1051px) {
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) nav a {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:44px 42px;
    row-gap:2px;
    justify-items:center;
    align-items:start;
    align-content:start;
    height:93px;
    min-height:93px;
  }
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-art {
    grid-row:1;
    align-self:center;
    margin:0;
  }
  .hf-illustrated-masthead:is(.masthead,.hf-masthead) .hf-nav-label {
    grid-row:2;
    align-self:start;
    height:42px;
    min-height:42px;
  }
}
