/* CARMIE manifesto (/manifesto/). Modelled on tryditto.com/manifesto: one painting fixed behind the page,
   a narrow column of short lines, a few lines set large. The painting is the night town, darkened at the top. */
@font-face{font-family:Smythe;src:url('/assets/fonts/smythe-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Figtree;src:url('/assets/fonts/figtree-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Figtree;src:url('/assets/fonts/figtree-latin-700-normal.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--cream:#FFF8E9;--amber:#FFE3A0;--cocoa:#3A2A22;--pink:#F7A3C6;
 --display:Smythe,'Bodoni MT Condensed',Georgia,serif;--serif:'Instrument Serif',Georgia,serif;--sans:Figtree,'Trebuchet MS',system-ui,sans-serif}
*{box-sizing:border-box}
html{background:#04172F;color:var(--cream)}
body{margin:0;font:500 clamp(16px,1.15vw,18px)/1.6 var(--sans);-webkit-font-smoothing:antialiased}
a{color:var(--cream)}a:hover{color:var(--amber)}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px}

/* the painting: fixed, covering, the town at the bottom; a deep night veil above it so the words always read */
.m-bg{position:fixed;inset:0;z-index:-1;overflow:hidden}
.m-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 100%}
.m-bg::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,16,38,.86) 0%,rgba(3,16,38,.72) 45%,rgba(3,16,38,.35) 100%),linear-gradient(rgba(3,16,38,.35),rgba(3,16,38,0) 55%,rgba(3,16,38,.45))}

.m-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px clamp(16px,3.2vw,46px)}
.m-brand{display:flex;align-items:center;gap:9px;text-decoration:none;filter:drop-shadow(0 2px 8px rgba(8,14,44,.6))}
.m-brand img{width:auto;height:30px}.m-brand .nono-logo{height:28px;filter:brightness(0) invert(1)}
.x{width:11px;height:11px;fill:none;stroke:var(--cream);stroke-width:2.2;stroke-linecap:round}
/* the same Join pill as the homepage's in its pink (manifesto) colorway: the pixel Nono in the cream, navy and pink beanie */
.m-pill{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 18px 0 13px;border:0;border-radius:999px;background:#F7A3C6;color:#2B1E18;font:700 15px/1 var(--sans);text-decoration:none;white-space:nowrap;box-shadow:0 0 0 1.5px rgba(58,42,34,.28),0 8px 20px rgba(20,16,40,.22);transition:transform .15s}
.m-pill:hover{color:#2B1E18;transform:translateY(-1px)}.m-pill:active{transform:translateY(1px)}
.m-pill .head{flex:none;width:26px;height:26px;margin:-5px -1px -5px -4px;border-radius:50%;background:url('/assets/brand/heads/happy-96.webp') center/contain no-repeat;box-shadow:0 0 0 1.5px #3A2A22}

.m-text{max-width:600px;margin:0 0 0 clamp(20px,14vw,240px);padding:clamp(40px,8vh,96px) 0 clamp(80px,14vh,160px);text-shadow:0 1px 12px rgba(3,16,38,.6)}
.m-text h1{margin:0 0 clamp(32px,4vw,48px);font:400 clamp(44px,5.4vw,76px)/1.02 var(--display);letter-spacing:.005em}
.m-text p{margin:0 0 1.25em}
.m-text .big{margin:1.6em 0 1.4em;font:italic 400 clamp(26px,2.4vw,36px)/1.15 var(--serif);color:var(--amber)}
.m-text .end{margin:2em 0 .2em;font:400 clamp(34px,3.6vw,52px)/1.05 var(--display)}
.m-text .sign{margin:0 0 30px;font:italic 400 clamp(22px,1.9vw,28px)/1.2 var(--serif);color:var(--amber)}
/* the same Join button as the homepage: a flat sticker in the town's brick red with the pixel Nono head (Nov 16) */
.m-cta{display:inline-flex;align-items:center;justify-content:center;gap:.36em;height:60px;padding:0 30px 2px 14px;border-radius:20px;background:#A4503E;color:#FFF8E9;font:400 30px/1 var(--display);text-decoration:none;text-shadow:none;box-shadow:inset 0 2px 0 rgba(255,255,255,.16),0 0 0 3px var(--cocoa),0 0 0 8px #fff,0 14px 26px rgba(0,0,0,.35);transition:transform .12s,background-color .12s}
.m-cta::before{content:"";flex:none;width:1.4em;height:1.4em;background:url('/assets/brand/heads/smile-96.webp') center/contain no-repeat}
.m-cta:hover{color:#FFF8E9;background:#B35C48;transform:translateY(-2px)}
.m-cta:active{transform:translateY(1px)}

.m-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding:22px clamp(20px,3.2vw,46px) 28px;border-top:1px solid rgba(255,248,233,.18);background:rgba(3,16,38,.82);font-size:15px;color:#D9CCB8}
.m-foot nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.m-foot a{text-decoration:none}.m-foot a[aria-current]{color:var(--amber)}

/* lines drift in as they reach the screen (only when script added .reveal, never for reduced motion) */
.reveal .m-text>*{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.reveal .m-text>.in{opacity:1;transform:none}

@media (max-width:700px){
 .m-text{margin:0 auto;padding-left:22px;padding-right:22px}
 .m-bg::after{background:linear-gradient(rgba(3,16,38,.82),rgba(3,16,38,.7) 70%,rgba(3,16,38,.55))}
 .m-brand img{height:24px}.m-brand .nono-logo{height:22px}
 .m-pill{min-height:44px;padding:0 14px 0 11px;font-size:14px}
}
