/* Messy Hero: the shared header, menu and footer on every page (the home page too). Tokens and rules: DESIGN.md.
   Inner-page parts live in pages.css, which the home page does not load. */
:root { --tomato:#E2412E; --cream:#FFF6EA; --ink:#2A1A12; --muted:#6B5A4E; --butter:#F9D97A; --sky:#BFDDF0;
        --ease:cubic-bezier(0.23,1,0.32,1); --pad:clamp(20px,5vw,80px); --r:22px; }

/* ---------- header + menu ---------- */
.mh-top { position:sticky; top:0; z-index:40; background:var(--tomato); color:var(--cream); }
.mh-bar { display:flex; align-items:center; gap:10px; padding:12px var(--pad); min-height:64px; }
.mh-logo { font:800 26px 'Bricolage Grotesque',system-ui,sans-serif; letter-spacing:-.05em; text-decoration:none; color:inherit; display:flex; align-items:center; gap:6px; margin-right:auto; white-space:nowrap; flex:none; }
.mh-logo i { width:12px; height:15px; background:var(--cream); border-radius:50% 50% 50% 50% / 60% 60% 40% 40%; display:inline-block; transform:translateY(3px); }
.mh-links { display:none; align-items:center; gap:4px; font:500 15px Inter,system-ui,sans-serif; }
.mh-links > a, .mh-shop { color:inherit; text-decoration:none; padding:10px 12px; border-radius:99px; border:0; background:none; font:inherit; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
  transition:background-color 160ms var(--ease); }
.mh-shop svg { width:12px; height:12px; transition:transform 200ms var(--ease); }
.mh-shop[aria-expanded=true] { background:#ffffff26; } .mh-shop[aria-expanded=true] svg { transform:rotate(180deg); }
.mh-cta { display:inline-flex; align-items:center; gap:8px; font:700 15px 'Bricolage Grotesque',system-ui,sans-serif; letter-spacing:-.01em; padding:11px 18px; border-radius:99px;
  background:var(--cream); color:var(--ink); text-decoration:none; white-space:nowrap; transition:transform 180ms var(--ease), background-color 180ms var(--ease); }
.mh-cta:active { transform:scale(.97); }
.mh-burger { width:44px; height:44px; border-radius:50%; border:0; background:#ffffff26; color:var(--cream); display:grid; place-items:center; cursor:pointer; }
.mh-burger span, .mh-burger span::before, .mh-burger span::after { display:block; width:18px; height:2px; background:currentColor; border-radius:2px; position:relative; transition:transform 200ms var(--ease), opacity 200ms var(--ease); }
.mh-burger span::before, .mh-burger span::after { content:''; position:absolute; left:0; }
.mh-burger span::before { top:-6px; } .mh-burger span::after { top:6px; }
.mh-burger[aria-expanded=true] span { background:transparent; }
.mh-burger[aria-expanded=true] span::before { transform:translateY(6px) rotate(45deg); }
.mh-burger[aria-expanded=true] span::after { transform:translateY(-6px) rotate(-45deg); }

/* The one menu panel: the desktop "Shop" dropdown and the phone menu are the same content. */
.mh-panel { position:absolute; left:0; right:0; top:100%; background:var(--cream); color:var(--ink); border-bottom:2px solid #2a1a1222; box-shadow:0 30px 60px -30px #0006;
  max-height:calc(100dvh - 64px); overflow:auto; overscroll-behavior:contain; }
.mh-panel[hidden] { display:none; }
.mh-panel.anim { animation:mhDrop 200ms var(--ease); }
@keyframes mhDrop { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.mh-grid { display:grid; grid-template-columns:1fr; gap:26px; padding:24px var(--pad) 30px; }
.mh-col h3 { font:600 12px Inter,system-ui,sans-serif; letter-spacing:.16em; text-transform:uppercase; color:var(--tomato); margin:0 0 10px; }
.mh-col ul { list-style:none; padding:0; margin:0; display:grid; gap:2px; }
.mh-col a { display:block; padding:8px 10px; margin:0 -10px; border-radius:12px; text-decoration:none; color:var(--ink); font:600 16px Inter,system-ui,sans-serif; transition:background-color 160ms var(--ease); }
.mh-col a small { display:block; font:400 13px/1.35 Inter,system-ui,sans-serif; color:var(--muted); margin-top:2px; }
.mh-col a .p { font-weight:500; color:var(--muted); }
.mh-doors a { font:800 20px 'Bricolage Grotesque',system-ui,sans-serif; letter-spacing:-.02em; }
.mh-panel-foot { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; padding:16px var(--pad) 22px; border-top:2px solid #2a1a1214; font-size:14px; color:var(--muted); }
.mh-panel-foot .mh-cta { background:var(--ink); color:var(--cream); }

@media (max-width:379px) { .mh-logo { font-size:22px; } .mh-cta { padding:10px 14px; font-size:14px; } }
@media (min-width:760px) { .mh-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:1080px) {
  .mh-links { display:flex; } .mh-burger { display:none; }
  .mh-grid { grid-template-columns:1.25fr 1fr 1fr 1fr; gap:34px; padding-top:30px; }
  .mh-panel-foot { display:none; }
}
@media (hover:hover) and (pointer:fine) {
  .mh-links > a:hover, .mh-shop:hover { background:#ffffff26; }
  .mh-col a:hover { background:#2a1a120d; }
  .mh-cta:hover { background:var(--butter); } .mh-panel-foot .mh-cta:hover { background:var(--tomato); }
}

/* ---------- footer ---------- */
.mh-foot { background:var(--ink); color:var(--cream); padding:64px var(--pad) 34px; }
.mh-foot-top { display:grid; gap:34px; grid-template-columns:1fr; }
.mh-foot .mh-logo { margin:0; font-size:30px; color:var(--cream); }
.mh-foot-brand p { color:#fff6eacc; font-size:15px; line-height:1.55; max-width:34ch; margin-top:12px; }
.mh-foot-brand .mh-cta { margin-top:18px; }
.mh-foot-cols { display:grid; grid-template-columns:repeat(2,1fr); gap:28px 20px; }
.mh-foot h4 { font:600 12px Inter,system-ui,sans-serif; letter-spacing:.16em; text-transform:uppercase; color:var(--butter); margin:0 0 12px; }
.mh-foot ul { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.mh-foot a { color:#fff6eadd; text-decoration:none; font-size:15px; }
.mh-foot-family { margin-top:40px; padding-top:20px; border-top:1px solid #fff6ea26; }
.mh-foot-family h4 { margin-bottom:8px; }
.mh-foot-family p { margin:0; font-size:15px; line-height:1.9; color:#fff6ea99; }
.mh-foot-family span { font-size:13px; }
.mh-foot-family a { white-space:nowrap; }
.mh-foot-family + .mh-foot-base { margin-top:20px; }
.mh-foot-base { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 24px; margin-top:48px; padding-top:20px; border-top:1px solid #fff6ea26; font-size:13px; color:#fff6ea99; }
/* Link groups are <details open>, so every link is in the page without JS. mh.js folds them on phones only; on wider
   screens the heading is plain text. Three classes deep: the pages style their own FAQ details and must not reach in here. */
.mh-foot .mh-foot-cols .mh-fold { padding:0; border:0; }
.mh-foot .mh-fold a { color:#fff6eadd; }
.mh-foot .mh-fold > .mh-foldh { display:block; padding:0; list-style:none; font:inherit; letter-spacing:normal; pointer-events:none; }
.mh-foot .mh-fold > .mh-foldh::-webkit-details-marker { display:none; }
.mh-foot .mh-fold > .mh-foldh::after, .mh-foot .mh-fold[open] > .mh-foldh::after { content:none; }
@media (min-width:760px) { .mh-foot-cols { grid-template-columns:repeat(4,1fr); } }
@media (max-width:759px) {
  .mh-foot { padding-block:48px 28px; } .mh-foot-top { gap:28px; } .mh-foot-brand p { max-width:none; text-wrap:pretty; }
  .mh-foot .mh-cta { min-height:44px; }
  .mh-foot-cols { grid-template-columns:1fr; gap:0; border-top:1px solid #fff6ea26; }
  .mh-foot .mh-foot-cols .mh-fold { border-bottom:1px solid #fff6ea26; }
  .mh-foot .mh-fold > .mh-foldh { display:flex; align-items:center; justify-content:space-between; min-height:52px; pointer-events:auto; cursor:pointer; }
  .mh-foot .mh-foldh h4 { margin:0; }
  .mh-foot .mh-fold > .mh-foldh::after, .mh-foot .mh-fold[open] > .mh-foldh::after { content:'+'; width:auto; height:auto; background:none; color:var(--butter); font:600 20px/1 Inter,system-ui,sans-serif; transition:transform 200ms var(--ease); }
  .mh-foot .mh-fold[open] > .mh-foldh::after { transform:rotate(45deg); }
  .mh-foot .mh-fold ul { grid-template-columns:1fr 1fr; gap:0 16px; padding-bottom:12px; }
  .mh-foot .mh-fold li a { display:flex; align-items:center; min-height:44px; line-height:1.25; }
  .mh-foot-family { margin-top:26px; padding-top:0; border:0; } .mh-foot-base { margin-top:26px; }
  .mh-foot-family p { display:grid; grid-template-columns:auto 1fr; align-items:center; column-gap:12px; line-height:1.3; } .mh-foot-family p a { display:flex; align-items:center; min-height:44px; } .mh-foot-family span[aria-hidden] { display:none; }
}
@media (min-width:1080px) { .mh-foot-top { grid-template-columns:.9fr 2.4fr; gap:60px; } }
@media (hover:hover) and (pointer:fine) { .mh-foot a:hover { color:var(--butter); } .mh-foot .mh-cta:hover { background:var(--butter); } }
.mh-foot .mh-cta { color:var(--ink); }


/* ---------- audience doors under the header (every page) ---------- */
.mh-rail { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding:12px var(--pad) 10px; background:var(--cream); border-bottom:2px solid #2a1a1214; scroll-snap-type:x proximity; }
.mh-rail::-webkit-scrollbar { display:none; }
.mh-rail a { flex:none; display:flex; flex-direction:column; align-items:center; gap:6px; width:76px; text-decoration:none; color:var(--ink); font:600 12.5px/1.15 Inter,system-ui,sans-serif; text-align:center; scroll-snap-align:start; }
.mh-rail img { width:56px; height:56px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 2px var(--cream), 0 0 0 4px #2a1a121a; transition:transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.mh-rail a:active img { transform:scale(.95); }
@media (max-width:759px) {
  /* first face lines up with the page gutter, one-line labels, the last face always half cut, 44px taps in the header */
  .mh-rail { gap:clamp(14px,12.5vw - 35px,24px); padding-inline:calc(var(--pad) - 4px); scroll-padding-inline:calc(var(--pad) - 4px); } .mh-rail a { width:auto; min-width:64px; white-space:nowrap; }
  .mh-bar { padding-block:10px; } .mh-logo, .mh-cta { min-height:44px; } .mh-col a { min-height:44px; } .mh-col ul { gap:0; }
}
@media (min-width:760px) { .mh-rail { justify-content:center; gap:22px; } .mh-rail a { width:auto; flex-direction:row; gap:10px; font-size:14px; } .mh-rail img { width:40px; height:40px; } }
@media (hover:hover) and (pointer:fine) { .mh-rail a:hover img { box-shadow:0 0 0 2px var(--cream), 0 0 0 4px var(--tomato); } }

@media (prefers-reduced-motion:reduce) { .mh-panel.anim { animation:mhFade 200ms var(--ease); } }
@keyframes mhFade { from { opacity:0; } to { opacity:1; } }
