/* ===== COLORS & FONTS: change these to restyle the whole site ===== */
:root{
  --ink:#16111f; --plum:#4b2e83; --lilac:#a98bcb; --cream:#f0eee9; --white:#fff;
  --serif:"Fraunces",Georgia,serif; --sans:"Jost",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:4.5rem}
body{margin:0;font:1.05rem/1.6 var(--sans);color:var(--ink);background:var(--cream)}
a{color:inherit}
:focus-visible{outline:3px solid var(--plum);outline-offset:3px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;margin:0 0 .5em}
h2{font-size:clamp(2rem,5vw,3.2rem)}
section{padding:4.5rem 1.25rem}
.wrap{max-width:68rem;margin:auto}
.photo{background:linear-gradient(135deg,var(--plum),var(--ink)) center/cover}

/* nav */
header{position:sticky;top:0;z-index:5;background:var(--lilac)}
nav{max-width:68rem;margin:auto;display:flex;flex-wrap:wrap;gap:.25rem 2rem;padding:.9rem 1.25rem;font-weight:600;letter-spacing:.04em}
nav a{text-decoration:none;padding:.2rem 0;border-bottom:2px solid transparent}
nav a:hover{border-color:var(--ink)}

/* hero */
.hero{min-height:88vh;display:grid;place-content:center;text-align:center;color:var(--white);
  background:linear-gradient(rgba(22,17,31,.74),rgba(22,17,31,.74)),url(images/hero.jpg) center/cover,linear-gradient(135deg,var(--plum),var(--ink))}
.hero h1{font-size:clamp(2.6rem,8vw,6rem);margin-bottom:.4em}
.hero p{font-size:1.4rem;font-weight:600;letter-spacing:.08em;margin:2rem 0 1rem}
.btns{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}
.btn{display:inline-block;padding:1rem 1.6rem;background:var(--white);color:var(--ink);font-weight:600;text-decoration:none;border:2px solid var(--white);max-width:20rem}
.btn.alt{background:var(--lilac);border-color:var(--lilac)}
.btn:hover{background:var(--ink);color:var(--white);border-color:var(--white)}
.soon{display:inline-block;padding:.8rem 1.2rem;background:rgba(255,255,255,.75);color:var(--ink);font-style:italic;font-weight:500}
.partner{background:var(--cream);text-align:center;padding:1rem;font-size:1.05rem}

/* about */
#about{background:var(--ink);color:var(--white)}
.two{display:grid;gap:2.5rem;align-items:center}
@media(min-width:56rem){.two{grid-template-columns:1.1fr 1fr}}
#about .photo{min-height:22rem;background-image:url(images/about.jpg),linear-gradient(135deg,var(--plum),var(--ink))}
.kicker{color:var(--lilac);font-weight:600;font-size:1.1rem;margin:0 0 .4rem}
.board{list-style:none;margin:2rem 0 0;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(12.5rem,1fr))}
.board li{border-left:4px solid var(--lilac);padding:.3rem 0 .3rem 1rem;color:var(--ink)}
.board strong{display:block;font-family:var(--serif);font-size:1.25rem;font-weight:600}
.boardsec{background:var(--white)}

/* events table */
.tablewrap{overflow-x:auto;border:1px solid var(--lilac)}
table{border-collapse:collapse;width:100%;min-width:42rem;background:var(--white)}
th,td{text-align:left;vertical-align:top;padding:1rem;border-bottom:1px solid var(--ink)}
th{font-weight:600;border-bottom:2px solid var(--ink)}
td em{display:block;color:#5b5368}

/* program sections with photo backgrounds */
.band{color:var(--white);text-align:center}
#indoor{background:linear-gradient(rgba(22,17,31,.72),rgba(22,17,31,.72)),url(images/indoor.jpg) center/cover,linear-gradient(135deg,var(--ink),var(--plum))}
#festivals{background:linear-gradient(rgba(22,17,31,.7),rgba(22,17,31,.7)),url(images/festival.jpg) center/cover,linear-gradient(135deg,var(--plum),var(--ink))}
.band h3{font-size:1.5rem;font-family:var(--sans);font-weight:500}
.grid{display:grid;gap:1.5rem;margin-top:2.5rem;text-align:left}
@media(min-width:48rem){.grid{grid-template-columns:1fr 1fr}}
.grid .btn{display:block;max-width:none;width:100%}
.stack{display:grid;gap:.75rem;align-content:start}
.note{margin-top:2.5rem;background:rgba(255,255,255,.1);padding:1.5rem;text-align:left}

/* festival + registration + sponsors */
.fest .photo{min-height:20rem;background-image:url(images/festival-venue.jpg),linear-gradient(135deg,var(--plum),var(--ink))}
.facts{border-top:3px solid var(--ink);padding-top:1rem;margin:1rem 0 1.5rem}
.reg{background:var(--lilac)}
.card{background:var(--white);padding:2rem;max-width:44rem;border-top:6px solid var(--plum)}
.card dt{font-weight:600;margin-top:1rem}.card dd{margin:0}
#sponsors{background:var(--white);text-align:center}
footer{background:var(--ink);color:var(--white);padding:2rem 1.25rem;text-align:center}
footer a{color:var(--lilac)}

/* home teaser + page spacing */
.teaser{background:var(--ink);color:var(--white);text-align:center}
.teaser p{max-width:44rem;margin:0 auto 2rem;font-size:1.2rem}
.teaser .btn{background:var(--lilac);border-color:var(--lilac)}
nav a[aria-current="page"]{border-color:var(--ink)}

/* indoor page: prominent Register button, compact show buttons */
.btn.primary{background:var(--lilac);border-color:var(--lilac);font-size:1.5rem;padding:1.4rem 1.6rem;text-align:center;box-shadow:0 0 0 4px rgba(169,139,203,.4)}
.btn.primary:hover{background:var(--white);color:var(--ink);border-color:var(--white)}
.compact .btn,.compact .soon{width:auto;justify-self:start;font-size:.95rem;padding:.55rem 1rem}
.compact .btn{display:inline-block}

/* white registration card on the Indoor page, matching the festival registration look */
.note.card{background:var(--white);color:var(--ink);max-width:44rem;margin:2.5rem auto 0;padding:2rem}
.note.card h3{font-family:var(--serif);font-size:1.6rem;font-weight:400}
.note.card .btn.primary:hover{background:var(--plum);color:var(--white);border-color:var(--plum)}

/* indoor page: more breathing room between the two columns */
@media(min-width:48rem){
  #indoor .grid{column-gap:7rem}
  #indoor .compact{padding-left:3rem}
}

/* Festivals dropdown menu (opens on hover or keyboard focus) */
.dd{position:relative}
.dd ul{display:none;position:absolute;left:-.75rem;top:100%;margin:0;padding:.4rem 0;list-style:none;background:var(--lilac);min-width:19rem;box-shadow:0 6px 16px rgba(22,17,31,.3)}
.dd:hover ul,.dd:focus-within ul{display:block}
.dd li a{display:block;padding:.6rem 1rem;border-bottom:0}
.dd li a:hover,.dd li a[aria-current="page"]{background:var(--ink);color:var(--white)}
nav a.here{border-color:var(--ink)}
/* festivals title page */
.titlepage{min-height:78vh;display:grid;align-content:center}
.titlepage h2{font-size:clamp(3rem,10vw,6.5rem)}
.bigbtn{font-size:1.3rem;padding:1.3rem 2rem}

/* symposium page */
.symhero{background:var(--ink);color:var(--white);padding:5rem 1.25rem}
.symhero .kicker{font-size:1.2rem}
.symhero h1{font-size:clamp(2.2rem,6vw,4.2rem);max-width:18em;margin-bottom:.6em}
.symhero .when{font-size:1.2rem;border-left:4px solid var(--lilac);padding-left:1rem}
.lead{font-size:1.25rem;max-width:46rem}
.topics{display:flex;flex-wrap:wrap;gap:.75rem;list-style:none;padding:0;margin:1rem 0 0}
.topics li{border:2px solid var(--plum);padding:.5rem 1rem;font-weight:500}
.artists{display:grid;gap:3rem;margin-top:1.5rem}
@media(min-width:56rem){.artists{grid-template-columns:1fr 1fr}}
.artists img{width:100%;max-width:22rem;height:auto;display:block;margin-bottom:1rem}
.artists h3{font-size:1.8rem}
table.sched{min-width:40rem}
table.sched td:first-child,table.sched th:first-child{width:3.5rem}
table.sched small{display:block;color:#5b5368}
table.sched tr.lunch td{background:#f3dcc0;font-weight:600;text-align:center}
blockquote{margin:0 0 2rem;padding-left:1.25rem;border-left:4px solid var(--lilac);max-width:50rem}
blockquote footer{background:none;color:#5b5368;padding:0;text-align:left;font-size:.95rem}
.flyers{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));max-width:48rem;margin:1.5rem 0}
.flyers img{width:100%;height:auto;display:block;border:1px solid var(--ink);background:var(--white)}

.callout{background:var(--lilac);padding:1.5rem 1.25rem}
.callout h2{font-size:clamp(1.4rem,3vw,1.8rem);margin-bottom:.25em}
.callout p{font-size:1.05rem;line-height:1.45;margin:.25em 0;max-width:52rem}

#about .photo{background-position:center 72%}

/* ===== Home hero: extra legibility ===== */
.hero h1,.hero p{text-shadow:0 2px 6px rgba(0,0,0,.55),0 4px 28px rgba(0,0,0,.6)}
.hero .btn{box-shadow:0 4px 18px rgba(0,0,0,.45)}

/* ===== Fade-in animations ===== */
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
/* title block of every page fades in line by line */
.hero .wrap>*,main>section:first-child .wrap>*{animation:rise .8s ease-out both}
.hero .wrap>:nth-child(1),main>section:first-child .wrap>:nth-child(1){animation-delay:.1s}
.hero .wrap>:nth-child(2),main>section:first-child .wrap>:nth-child(2){animation-delay:.3s}
.hero .wrap>:nth-child(3),main>section:first-child .wrap>:nth-child(3){animation-delay:.5s}
.hero .wrap>:nth-child(4),main>section:first-child .wrap>:nth-child(4){animation-delay:.7s}
.hero .wrap>:nth-child(n+5),main>section:first-child .wrap>:nth-child(n+5){animation-delay:.9s}
.partner{animation:rise .8s ease-out .9s both}
/* later sections fade in as you scroll (browsers that support it) */
@supports (animation-timeline:view()){
  main>section:not(:first-child){animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
}
/* soft cross-fade between pages (Chrome, Edge, Safari) */
@view-transition{navigation:auto}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}}
