/* 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}

/* Top bar: dark, small white type. Name at left (upper and lower case), site links at right. */
.masthead{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:20px 0;color:var(--ink);font-size:13px;letter-spacing:.06em}
.masthead a{color:var(--ink)}
.masthead .name{color:var(--ink)}
.masthead nav{display:flex;gap:22px}
.masthead nav a{color:var(--soft)}
.masthead nav a:hover,.masthead nav a[aria-current]{color:var(--accent);text-decoration:none}

/* Title band: lighter blue, "Joe Lertola" in orange, " – Section" in white, dark gap below. */
.titleband{padding:30px 0 32px;margin-bottom:40px}
.titleband h1{margin:0;font-size:clamp(30px,3.6vw,52px);line-height:1.1;color:var(--accent)}
.titleband h1 .section{color:var(--ink)}
.titleband p{margin:12px 0 0;max-width:760px;color:var(--soft);font-size:clamp(16px,1.3vw,19px);line-height:1.5}

.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}}
