/* joelertola.css: shared look for every joelertola.com branch.
   Change a value here and every page that links this file follows.
   Palette and type match branching.joelertola.com and topotoimage.joelertola.com. */

:root{
  --bg:#0a1222;        /* page background, deep navy */
  --band:#142238;      /* raised bands and panels */
  --ink:#eef3fa;       /* main text */
  --soft:#d0daea;      /* body copy */
  --muted:#a1afc3;     /* captions, labels */
  --line:#26374d;      /* rules and borders */
  --accent:#ea9c12;    /* orange: titles, the thing to look at */
  --focus:#e7b873;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,monospace;
  --gap:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--font)}
a,button,select,input{font:inherit;color:inherit}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
button{cursor:pointer}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

.page{max-width:1580px;padding:0 4%;margin:auto}

.masthead{display:flex;justify-content:space-between;gap:20px;padding:24px 0;color:var(--muted);font-size:13px;letter-spacing:.06em}
.masthead a{color:var(--muted)}
.masthead .name{color:var(--ink)}

.band{background:var(--band);box-shadow:0 0 0 100vmax var(--band);clip-path:inset(0 -100vmax)}

h1,h2,h3{font-weight:450;letter-spacing:.05em}
h1{color:var(--accent)}

.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 0 36px;margin-top:40px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}

@media(max-width:750px){:root{--gap:18px}.page{padding:0 16px}.masthead{font-size:12px;letter-spacing:.025em;flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
