/* mauriceluke.com shared styles. Theme: a piano keyboard. Ivory, ebony, hammer-felt red, and the Three Wide Men yellow. */
:root {
  --ivory:#FBF8F1;   /* page */
  --ebony:#121110;   /* text, black keys */
  --felt:#9E1B32;    /* piano hammer felt red: links, accents (7.9:1 on ivory) */
  --brass:#FFC61A;   /* Three Wide Men yellow: highlights on ebony only */
  --soft:#57524A;    /* secondary text (7.4:1 on ivory) */
  --rule:#D9D2C3;
  --display:"Archivo", "Arial Black", sans-serif;
  --body:"Atkinson Hyperlegible", system-ui, sans-serif;
}
* { box-sizing:border-box; margin:0; }
html { scroll-behavior:smooth; }
body { background:var(--ivory); color:var(--ebony); font:1.0625rem/1.6 var(--body); }
a { color:var(--felt); text-underline-offset:3px; text-decoration-thickness:2px; }
a:hover { color:var(--ebony); }
:focus-visible { outline:4px solid var(--felt); outline-offset:3px; }
img { max-width:100%; height:auto; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip { position:absolute; left:16px; top:-100px; background:var(--ebony); color:var(--ivory); padding:12px 16px; z-index:10; font-weight:700; }
.skip:focus { top:12px; color:var(--ivory); }

.wrap { max-width:1080px; margin:0 auto; padding:0 16px; }

/* masthead + keyboard nav */
.mast { padding:24px 0 0; }
.brand { display:inline-block; font-family:var(--display); font-weight:900; font-stretch:125%; font-size:1.35rem;
         letter-spacing:-.01em; color:var(--ebony); text-decoration:none; }
.keys { margin-top:16px; display:flex; flex-wrap:wrap; border:3px solid var(--ebony); border-radius:0 0 10px 10px;
        background:var(--ebony); gap:3px; }
.keys a { position:relative; flex:1 1 120px; min-height:64px; display:flex; align-items:flex-end; padding:10px 12px;
          background:var(--ivory); color:var(--ebony); text-decoration:none; font-weight:700; line-height:1.2;
          border-radius:0 0 6px 6px; box-shadow:inset 0 -6px 0 #E9E2D2; }
/* the little black key between white keys (decoration only) */
.keys a:not(:last-child)::after { content:""; position:absolute; right:-10px; top:0; width:17px; height:28px;
          background:var(--ebony); border-radius:0 0 3px 3px; z-index:1; }
.keys a:hover { background:#fff; }
.keys a[aria-current="page"] { box-shadow:inset 0 -2px 0 #E9E2D2, inset 0 6px 0 var(--felt); background:#F1EADB; }
.keys a:focus-visible { outline-offset:-6px; z-index:2; }

/* page heading */
.hero { padding:56px 0 24px; }
.hero h1 { font-family:var(--display); font-weight:900; font-stretch:125%; font-size:clamp(2.4rem, 8vw, 5.2rem);
           line-height:.95; letter-spacing:-.03em; }
.hero .lede { font-size:clamp(1.1rem, 2.4vw, 1.35rem); max-width:44ch; margin-top:18px; }
.hero .roles { margin-top:14px; color:var(--soft); font-weight:700; }

main { padding-bottom:64px; }
.prose { max-width:66ch; }
.prose p + p { margin-top:1em; }
h2 { font-family:var(--display); font-weight:800; font-stretch:112%; font-size:clamp(1.5rem, 3.6vw, 2.1rem);
     line-height:1.1; margin:48px 0 14px; letter-spacing:-.01em; }
h3 { font-family:var(--display); font-weight:800; font-size:1.15rem; margin:24px 0 6px; }
.quote { font-family:var(--display); font-weight:800; font-stretch:112%; font-size:clamp(1.3rem, 3vw, 1.8rem);
         line-height:1.25; border-left:8px solid var(--felt); padding:6px 0 6px 20px; margin:36px 0; max-width:30ch; }

/* credits: a real list of releases */
.credits { list-style:none; padding:0; border-top:3px solid var(--ebony); max-width:760px; }
.credits li { display:grid; grid-template-columns:5.5rem 1fr; gap:16px; padding:16px 0; border-bottom:1px solid var(--rule); }
.credits .yr { font-family:var(--display); font-weight:900; font-size:1.3rem; }
.credits .what { font-weight:700; }
.credits .who { color:var(--soft); }

/* ebony band for a featured video */
.band { background:var(--ebony); color:var(--ivory); margin-top:56px; padding:48px 0; }
.band h2 { margin-top:0; color:var(--ivory); }
.band a { color:var(--brass); }
.band a:hover { color:#fff; }
.band .grid { display:grid; gap:32px; align-items:center; }
@media (min-width:820px) { .band .grid { grid-template-columns:minmax(0,1fr) 340px; } }
.vid { aspect-ratio:9/16; width:100%; max-width:340px; justify-self:center; border:3px solid var(--brass); border-radius:16px; overflow:hidden; background:#000; }
.vid iframe { width:100%; height:100%; border:0; display:block; }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:10px 22px;
       background:var(--ebony); color:var(--ivory); border:3px solid var(--ebony); border-radius:999px;
       font:700 1rem var(--body); text-decoration:none; cursor:pointer; }
.btn:hover { background:var(--felt); border-color:var(--felt); color:#fff; }
.btn.ghost { background:transparent; color:var(--ebony); }
.btn.ghost:hover { background:var(--ebony); color:var(--ivory); }
.band .btn { background:var(--brass); color:var(--ebony); border-color:var(--brass); }
.btn svg { width:20px; height:20px; fill:currentColor; flex:none; }
.row { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }

/* forms */
form { max-width:560px; display:grid; gap:18px; margin-top:8px; }
label { font-weight:700; display:block; margin-bottom:6px; }
.hint { color:var(--soft); font-weight:400; font-size:.95rem; }
input, select, textarea { width:100%; font:inherit; color:var(--ebony); background:#fff; border:2px solid var(--soft);
       border-radius:10px; padding:12px 14px; min-height:48px; }
textarea { min-height:160px; resize:vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline:4px solid var(--felt); outline-offset:1px; border-color:var(--ebony); }
.notice { border:3px solid var(--ebony); border-radius:12px; padding:16px 18px; max-width:560px; background:#fff; }

footer { border-top:3px solid var(--ebony); padding:24px 0 40px; color:var(--soft); font-size:.95rem; }
footer .wrap { display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; }

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media (forced-colors:active) { .keys a[aria-current="page"] { outline:3px solid Highlight; } .keys a::after { display:none; } }
@media (max-width:560px) { .keys a { flex-basis:30%; min-height:56px; } .keys a::after { display:none; } }
