/* Colors: edit here to retheme the whole site */
:root{
  --cream:#fff8e6; --aqua:#e2f3ef; --ink:#17323d; --navy:#0e4a5e;
  --blue:#2a74c4; --green:#4f8f26; --orange:#c75e0a; --red:#d6403a; --purple:#6f45a8;
  --serif:Georgia,"Times New Roman",serif;
  --round:"Trebuchet MS","Segoe UI",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:4.5rem}
body{margin:0;background:var(--cream);color:var(--ink);font:1.1rem/1.7 var(--serif)}
img{max-width:100%;height:auto;display:block}
h1,h2{font-family:var(--round);color:var(--navy);line-height:1.2;margin:0 0 .6em}
h1{font-size:clamp(1.8rem,4vw,2.6rem)}
h2{font-size:clamp(1.5rem,3vw,2rem)}
.wrap{max-width:1100px;margin:0 auto;padding:0 1.25rem}
.narrow{max-width:46rem}
.center{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:.6rem 1rem;z-index:100}
.skip:focus{left:.5rem;top:.5rem}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

.site-header{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem 1.5rem;padding:.55rem 1.25rem;background:rgba(255,248,230,.96);border-bottom:3px solid var(--aqua)}
.brand{font:700 1.5rem var(--round);color:var(--navy);text-decoration:none;letter-spacing:.02em}
.site-header ul{display:flex;flex-wrap:wrap;gap:.1rem .3rem;list-style:none;margin:0;padding:0}
.site-header nav a{display:block;padding:.4rem .7rem;border-radius:2rem;font:600 .95rem var(--round);color:var(--navy);text-decoration:none}
.site-header nav a:hover{background:var(--aqua)}

.hero{background:linear-gradient(180deg,var(--aqua),var(--cream));padding:2.5rem 0 3rem}
.hero-grid{display:grid;gap:1.75rem;align-items:center}
.hero-cover{border-radius:1.2rem;box-shadow:0 10px 30px rgba(14,74,94,.25);border:4px solid #fff}
.lead{font-size:1.3rem;margin:0 0 1.5rem}
.buttons{display:flex;flex-wrap:wrap;gap:.8rem}
.btn{display:inline-block;padding:.8rem 1.5rem;border-radius:3rem;font:700 1.05rem var(--round);color:#fff;text-decoration:none;box-shadow:0 3px 0 rgba(0,0,0,.2)}
.btn-blue{background:var(--blue)} .btn-orange{background:var(--orange)}
.btn:hover{filter:brightness(1.08)}
@media(min-width:900px){.hero-grid{grid-template-columns:5fr 7fr}}

.band{padding:3.5rem 0}
.band-aqua{background:var(--aqua)}
.summary{font-size:1.25rem}
.themes{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0;margin:1.5rem 0 0}
.themes li{padding:.35rem 1rem;border-radius:2rem;color:#fff;font:700 .95rem var(--round)}
.t-blue{background:var(--blue)} .t-green{background:var(--green)} .t-orange{background:var(--orange)}
.section-intro{margin-top:-.2rem}

.pages{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:1.5rem}
@media(min-width:700px){.pages{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}
.page-btn{position:relative;display:block;width:100%;padding:0;border:4px solid #fff;border-radius:1rem;background:#fff;cursor:zoom-in;overflow:hidden;box-shadow:0 6px 18px rgba(14,74,94,.22)}
.page-btn img{width:100%}
.zoom{position:absolute;right:.7rem;bottom:.7rem;background:var(--navy);color:#fff;padding:.3rem .9rem;border-radius:2rem;font:700 .9rem var(--round)}
.page-btn:hover .zoom{background:var(--blue)}

.author-grid{display:grid;gap:1.75rem;align-items:center;justify-items:center}
.author-photo{width:100%;max-width:380px;border-radius:1.2rem;border:4px solid #fff;box-shadow:0 8px 24px rgba(14,74,94,.2)}
.author-text{max-width:36rem}
.author-text p{margin:0 0 1em}
.author-name{font:700 1.35rem var(--round);color:var(--navy);margin-top:-.4rem !important}
@media(min-width:800px){.author-grid{grid-template-columns:380px 1fr;gap:3rem;justify-items:start}}
.check{font:700 1.1rem var(--round);color:var(--green)}

.site-footer{background:var(--navy);color:#fff;text-align:center;padding:2rem 1.25rem;font-family:var(--round)}
.site-footer p{margin:.2rem 0}

dialog{border:0;padding:0;background:transparent;max-width:100vw;max-height:100vh;width:100vw;height:100vh}
dialog::backdrop{background:rgba(8,28,38,.92)}
dialog[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8rem;padding:.8rem}
#lightbox-img{max-width:100%;max-height:calc(100vh - 5rem);width:auto;height:auto;border-radius:.6rem;object-fit:contain}
.close{align-self:flex-end;margin:0 auto 0 0;padding:.7rem 1.3rem;border:0;border-radius:3rem;background:#fff;color:var(--navy);font:700 1.1rem var(--round);cursor:pointer}
.close:hover{background:var(--aqua)}
dialog .close{align-self:center}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Companion song */
.song-band{background:linear-gradient(135deg,#fff8e6,#f4f3de)}
.song-grid{display:grid;gap:2rem;align-items:center}
.song-text{min-width:0}
.song-text .buttons{margin-top:1.5rem}
.song-qr{margin:0;justify-self:center;width:100%;max-width:250px;padding:1rem;background:#fff;border-radius:1.2rem;box-shadow:0 6px 22px rgba(14,74,94,.12);text-align:center}
.song-qr a{display:block;border-radius:.3rem}
.song-qr img{width:100%;height:auto}
.song-qr figcaption{margin-top:.7rem;font:.95rem/1.5 var(--round);color:var(--navy)}
@media(min-width:760px){.song-grid{grid-template-columns:minmax(0,1fr) 250px;gap:3rem}}
