/* Shared site header: mobile first, desktop row from 768px */
html{ scroll-padding-top:72px; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

.site-header{ z-index:50; background:rgba(233,211,205,.96); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid rgba(87,66,56,.12); }
.site-header .sh-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; height:60px; max-width:1120px; margin:0 auto; padding:0 16px; }
.site-header .logo{ font-family:var(--serif); font-size:21px; line-height:1; color:#574238; text-decoration:none; letter-spacing:0.03em; padding:0; white-space:nowrap; }
.site-header .logo em{ font-style:italic; }
.site-header .sh-actions{ display:flex; align-items:center; gap:6px; }
.site-header .sh-book{ display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 18px; font-size:15px; letter-spacing:0.01em; white-space:nowrap; }
.site-header .sh-book-long{ display:none; }
.site-header .sh-toggle{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin-right:-8px; padding:0; border:0; background:none; color:#574238; font-size:24px; line-height:1; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.site-header .sh-toggle .sh-close{ display:none; font-size:20px; }
.site-header.is-open .sh-toggle .sh-open{ display:none; }
.site-header.is-open .sh-toggle .sh-close{ display:inline; }

/* Announcement bar (above the header on every page) */
.announce-bar{ background:#574238; color:#F4E6E2; font-family:var(--sans); font-size:clamp(10.5px, 2.85vw, 12px); line-height:1.4; text-align:center; padding:7px 10px; }
@media (min-width:1024px){
  /* Pages whose header is fixed on desktop keep the bar pinned above it */
  .announce-bar--fixed{ position:fixed; top:0; left:0; right:0; z-index:51; height:31px; white-space:nowrap; }
  .announce-bar--fixed + .site-header{ top:31px; }
}

/* Mobile dropdown */
.site-header .sh-nav{ display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; padding:6px 20px 14px; background:#E9D3CD; border-bottom:1px solid rgba(87,66,56,.12); box-shadow:0 12px 24px -16px rgba(87,66,56,.35); }
.site-header.is-open .sh-nav{ display:flex; }
.site-header .sh-nav a{ display:flex; align-items:center; min-height:52px; font-family:var(--sans); font-size:17px; font-weight:500; color:#574238; text-decoration:none; border-bottom:1px solid rgba(87,66,56,.12); }
.site-header .sh-nav a:last-child{ border-bottom:0; }

/* Desktop */
@media (min-width:768px){
  html{ scroll-padding-top:88px; }
  .site-header .sh-bar{ height:72px; padding:0 28px; gap:20px; }
  .site-header .logo{ font-size:23px; }
  .site-header .sh-toggle{ display:none; }
  .site-header .sh-book{ min-height:0; padding:10px 22px; font-size:13px; }
  .site-header .sh-book-short{ display:none; }
  .site-header .sh-book-long{ display:inline; }
  .site-header .sh-nav{ display:flex; position:static; flex-direction:row; gap:20px; padding:0; background:none; border:0; box-shadow:none; }
  .site-header .sh-nav a{ position:relative; min-height:0; font-size:13px; border:0; }
  .site-header .sh-nav a::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:#D9A8A8; transform:scaleX(0); transform-origin:left; transition:transform .35s ease; }
  .site-header .sh-nav a:hover::after{ transform:scaleX(1); }
}
@media (min-width:1000px){
  .site-header .sh-bar{ padding:0 40px; }
  .site-header .sh-nav{ gap:32px; }
}
