/* Shared HAEPPY shell: a sticky HEADER and a normal-flow FOOTER on every Studio view. */
:root{--haeppy-shell-header-height:78px}
.site-head.site-head--shared{
  position:sticky;top:0;inset-inline:auto;z-index:70;
  background:var(--haeppy-surface);border-bottom:1px solid var(--haeppy-header-border);
  width:100%;isolation:isolate;
}
.site-head--shared .head-content{
  display:flex;align-items:center;justify-content:space-between;
  min-height:var(--haeppy-shell-header-height);gap:16px;flex-wrap:nowrap;padding:9px 0;
}
.site-head--shared .logo{flex:0 0 auto}
.site-head--shared .brand-logo{display:block;width:clamp(156px,15vw,200px);height:auto;mix-blend-mode:normal}
/* Each product page owns the top-left mark; never stretch a tall transparent PNG. */
.site-head--shared .brand-logo--product{
  display:block;width:auto;height:auto;max-height:56px;max-width:min(235px,45vw);
  object-fit:contain;object-position:left center;mix-blend-mode:normal;
}
.site-head--shared .brand-wordmark{
  display:inline-flex;align-items:center;max-width:min(250px,45vw);min-height:52px;
  color:#122b45;font-size:clamp(15px,1.9vw,24px);font-weight:850;
  line-height:1.16;letter-spacing:.025em;overflow-wrap:anywhere;
}
.site-head--shared .brand-wordmark--hsm{
  font-size:clamp(13px,1.5vw,17px);letter-spacing:-.05em;line-height:1.25;
}
.site-head--shared .brand-wordmark--salim{color:#316d51;letter-spacing:.10em}
.site-head--shared .brand-wordmark--lc{color:#8f462d;letter-spacing:.035em}
.site-head--shared .main-nav{
  display:flex;align-items:center;justify-content:flex-end;flex:1;
  margin:0;gap:clamp(8px,1.5vw,24px);width:auto;white-space:normal;overflow:visible;
}
.site-head--shared .main-nav a{
  display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;
  padding:9px 6px;text-decoration:none;font-size:13px;font-weight:680;
  color:var(--haeppy-navy);
}
.site-head--shared .main-nav a[aria-current="page"],
.site-head--shared .main-nav a:is(:hover,:focus-visible){
  color:var(--haeppy-orange-accent);text-decoration:underline;text-underline-offset:5px;
}
.site-head--shared .haeppy-mobile-menu{display:none}
body.haeppy-site--story .site-head--shared{
  background:var(--story-bg);border-bottom-color:var(--story-border);
}
body.haeppy-site--story .site-head--shared .brand-logo{filter:var(--story-logo-filter)}
body.haeppy-site--story .site-head--shared .main-nav a{color:var(--story-fg)}
body.haeppy-site--story .site-head--shared .main-nav a:is(:hover,:focus-visible),
body.haeppy-site--story .site-head--shared .main-nav a[aria-current="page"]{
  color:var(--story-fg);text-decoration-color:var(--story-accent);
}
.site-head--shared + main.studio-main .studio-showcase{
  height:calc(100svh - var(--haeppy-shell-header-height));
  min-height:520px;
}
.footer.site-footer--shared{
  position:static;inset:auto;float:none;
  border-top:1px solid var(--haeppy-header-border);
  background:var(--haeppy-paper);
}
.site-footer--shared .foot-grid{
  display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,2fr);
  align-items:start;gap:13px 30px;padding:30px 0 35px;
}
.site-footer--shared .footer-brand{grid-column:1}
.site-footer--shared .haeppy-footer-identity{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px}
.site-footer--shared .haeppy-footer-identity span:first-child{font-size:16px}
.site-footer--shared .haeppy-footer-identity span:last-child{font-size:13px}
.site-footer--shared .foot-nav{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;
  gap:7px 16px;min-width:0;
}
.site-footer--shared .foot-nav a,
.site-footer--shared .languages a,
.site-footer--shared .studio-legal-links a{
  display:inline-flex;align-items:center;min-height:40px;min-width:0;
  text-decoration:none;padding:6px 2px;font-size:12px;
}
.site-footer--shared .foot-nav a:is(:hover,:focus-visible),
.site-footer--shared .languages a:is(:hover,:focus-visible),
.site-footer--shared .studio-legal-links a:is(:hover,:focus-visible){
  color:var(--haeppy-orange-accent);text-decoration:underline;text-underline-offset:4px;
}
.site-footer--shared .languages{
  grid-column:1/-1;display:flex;flex-wrap:wrap;gap:3px 14px;
}
.site-footer--shared .studio-legal-links{
  grid-column:1/-1;display:flex;flex-wrap:wrap;gap:3px 18px;
  border-top:1px solid var(--haeppy-header-border);
  padding-top:6px;align-items:center;
}
.site-footer--shared .foot-note,
.site-footer--shared .studio-legal-notice{
  grid-column:1/-1;margin:0;line-height:1.6;font-size:11px;
}
.site-footer--shared .foot-note{color:var(--haeppy-muted)}
.site-footer--shared .studio-legal-notice{border:0;padding:0;color:var(--haeppy-muted)}
body.haeppy-site--story .site-footer--shared{
  background:var(--story-bg);border-top-color:var(--story-border);
}
body.haeppy-site--story .site-footer--shared .foot-note,
body.haeppy-site--story .site-footer--shared .studio-legal-notice{
  color:var(--story-muted);
}
@media(max-width:720px){
 :root{--haeppy-shell-header-height:74px}
 .site-head--shared .head-content{min-height:var(--haeppy-shell-header-height);padding:8px 0;gap:10px;flex-wrap:nowrap}
 .site-head--shared .brand-logo{width:clamp(147px,38vw,170px)}
 .site-head--shared .main-nav{display:none}
 .site-head--shared .haeppy-mobile-menu{display:block;margin-left:auto;position:relative;z-index:71}
 .site-head--shared .haeppy-mobile-menu summary{min-height:44px;display:flex;align-items:center;justify-content:center}
 .site-head--shared .haeppy-mobile-menu nav{position:absolute;top:calc(100% + 8px);right:0;max-width:calc(100vw - 30px)}
 .site-footer--shared .foot-grid{grid-template-columns:minmax(0,1fr);gap:10px;padding:25px 0 28px}
 .site-footer--shared .footer-brand,.site-footer--shared .languages,
 .site-footer--shared .studio-legal-links,
 .site-footer--shared .foot-note,.site-footer--shared .studio-legal-notice{grid-column:1}
 .site-footer--shared .foot-nav{justify-content:flex-start;gap:7px 13px}
 .site-head--shared + main.studio-main .studio-showcase{min-height:540px}
}
@media(prefers-reduced-motion:reduce){
 body.haeppy-site--story .site-head--shared,
 body.haeppy-site--story .site-footer--shared{transition:none!important}
}
