/* CalmHum shared styles: tokens, type, header, footer, buttons and the landing-page layout.
   New file name = new cache entry (/assets/* is immutable); change it via a new name or ?v=. */
:root{
  --night:#121b16;--surface:#1c2821;--surface-2:#243229;--line:#34423a;--line-strong:#6b7d68;
  --text:#ecefe4;--text-muted:#b4beb0;--sage:#a9bd98;--sage-hover:#c0d0ae;--on-sage:#142018;
  --akita:#d9a066;--akita-light:#e7b57f;--cream:#f1e6d2;--akita-deep:#7a4a24;--focus:#d0ddb9;
  --font-head:Literata,"Noto Serif",Georgia,serif;
  --font-body:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif;
  color-scheme:dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--night);color:var(--text);font:400 17px/1.6 var(--font-body)}
img{max-width:100%}
a{color:var(--sage-hover);text-underline-offset:3px}
h1,h2{font-family:var(--font-head);font-weight:600;color:var(--text)}
h1{font-size:clamp(34px,7vw,56px);line-height:1.1;letter-spacing:-.01em;margin:12px 0}
h2{font-size:28px;line-height:1.2;margin:0 0 10px}
h3{font:600 17px/1.5 var(--font-body);color:var(--text);margin:20px 0 4px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}

/* layout */
.wrap{max-width:900px;margin:0 auto;padding:0 22px 56px}

/* header: one row, 52px; mark + wordmark left, language + mixer right */
.site-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:.45em;font:600 20px/1 var(--font-head);letter-spacing:-.01em;color:var(--text);text-decoration:none;min-height:44px}
.brand img{width:32px;height:32px;display:block}
.site-nav{display:flex;align-items:center;gap:4px 16px;font-size:15px}
.site-nav a{color:var(--text-muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.site-nav a:hover{color:var(--text)}
.site-nav .lang{border:1px solid var(--line-strong);border-radius:22px;padding:0 14px;color:var(--text);font-size:14px;letter-spacing:.02em}
.crumbs{font-size:13px;color:var(--text-muted);margin:14px 0 0}.crumbs a{color:var(--text-muted)}

/* type helpers */
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:13px;font-weight:600;color:var(--sage)}
.hero{padding:34px 0 22px}.hero p{color:var(--text-muted);max-width:700px;font-size:18px}
.lead{font-size:18px;color:var(--text-muted)}

/* one button style */
.btn,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border-radius:26px;border:1px solid transparent;background:var(--sage);color:var(--on-sage);font:600 16px/1.2 var(--font-body);text-decoration:none;cursor:pointer;text-align:center}
.btn:hover,.button:hover{background:var(--sage-hover)}
.btn.secondary,.button.secondary{background:var(--surface-2);color:var(--text);border-color:var(--line-strong)}
.btn.secondary:hover,.button.secondary:hover{background:#2d3d33}
.btn.block{display:flex;width:100%;min-height:52px;font-size:17px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 28px}

/* content blocks */
section{border-top:1px solid var(--line);padding:26px 0}
section p,section li{color:var(--text-muted);max-width:760px}
section strong{color:var(--text)}
section ul,section ol{padding-left:22px}section li{margin:6px 0}
.notice{border-left:3px solid var(--sage);padding:10px 15px;background:var(--surface);color:var(--text);border-radius:0 12px 12px 0}
.notice p{color:var(--text)}
.mixes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0 20px}
.mixes a{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line-strong);border-radius:16px;padding:15px;color:var(--text);text-decoration:none}
.mixes a:hover{border-color:var(--sage)}
.mixes a strong{font-weight:600}
.mixes a span{color:var(--text-muted);font-size:15px;line-height:1.55;margin:4px 0 12px;flex:1}
.mixes a .play{align-self:flex-start;background:var(--sage);color:var(--on-sage);font-weight:600;border-radius:20px;padding:6px 14px;font-size:14px}
.related{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0;padding:0;list-style:none}
.related li{margin:0}
.related a{display:inline-flex;align-items:center;min-height:40px;background:var(--surface-2);color:var(--text);border:1px solid var(--line-strong);border-radius:20px;padding:6px 14px;text-decoration:none;font-size:14px}
.related a[aria-current]{background:var(--sage);color:var(--on-sage);border-color:var(--sage)}
.avatar{border-radius:50%;object-fit:cover;display:block}
.meet h2{display:flex;align-items:center;gap:12px}.meet .avatar{width:52px;height:52px;border:1px solid var(--line-strong);flex:none}
.tag-akita{display:inline-block;background:var(--akita);color:var(--night);font-size:13px;font-weight:600;border-radius:14px;padding:3px 10px}

/* embedded player (QuietMix.mountPlayer) */
.embed-player{margin:8px 0 18px;--qm-bg:var(--surface);--qm-fg:var(--text);--qm-muted:var(--text-muted);--qm-line:var(--line-strong);--qm-accent:var(--sage);--qm-accent-fg:var(--on-sage);--qm-radius:18px;--qm-font:var(--font-body)}
.embed-player .qm-player{max-width:none}
.embed-player .qm-title{font-family:var(--font-head)}

/* time-boxed New Year's Eve banner */
.nye{display:flex;gap:12px;align-items:flex-start;margin:18px 0 0;padding:14px 16px;border:1px solid var(--akita);border-left:5px solid var(--akita);border-radius:14px;background:#2a2219;color:var(--text)}
.nye strong{color:var(--akita-light)}.nye p{margin:0;color:var(--text)}.nye a{color:var(--akita-light)}

/* footer: same pattern everywhere */
.site-foot{margin-top:36px;padding:22px 0 8px;border-top:1px solid var(--line);color:var(--text-muted);font-size:14px}
.site-foot nav{display:flex;flex-wrap:wrap;gap:2px 18px;margin:0 0 12px}
.site-foot nav a{color:var(--text-muted);min-height:36px;display:inline-flex;align-items:center}
.site-foot .ig{display:inline-flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;min-height:44px}
.site-foot .ig img{width:40px;height:40px;border:1px solid var(--line-strong)}
.site-foot .ig span{text-decoration:underline;text-underline-offset:3px}
.site-foot p{margin:8px 0}

@media(max-width:700px){
  body{font-size:16px}
  .wrap{padding:0 16px 48px}
  h2{font-size:24px}
  .hero{padding:24px 0 18px}.hero p,.lead{font-size:16px}
  .site-nav .hide-sm{display:none}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
