@font-face{font-family:'IN Mono';font-weight:400;font-display:swap;src:url(../fonts/spacemono-400.ttf)}
@font-face{font-family:'IN Mono';font-weight:700;font-display:swap;src:url(../fonts/spacemono-700.ttf)}
@font-face{font-family:'IN Sub Fallback';font-weight:600;font-display:swap;src:url(../fonts/jost-600.ttf)}
@font-face{font-family:'IN Sub Fallback';font-weight:800;font-display:swap;src:url(../fonts/jost-800.ttf)}
@font-face{font-family:'IN Script Fallback';font-display:swap;src:url(../fonts/damion-400.ttf)}

:root{
	--black:#000;--white:#fff;--yellow:#F7CA26;--cyan:#13C0E2;--teal:#12B69E;
	--blue:#2261AC;--red:#DD3B26;--pink:#EF829D;--cream:#FFE8E1;
	--script:'IN Script','IN Script Fallback',cursive;
	--sub:'IN Sub','IN Sub Fallback',system-ui,sans-serif;
	--mono:'IN Mono',ui-monospace,monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--white);font:400 1rem/1.65 var(--mono);overflow-x:hidden}
img,iframe,video{max-width:100%}
img{height:auto;display:block}
a{color:var(--cyan)}
a:hover{color:var(--yellow)}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
h1,h2,h3{font-family:var(--sub);font-weight:800;line-height:1.15;text-transform:uppercase;margin:0 0 .6em}
h2{font-size:clamp(1.5rem,3vw,2.1rem)}
h3{font-size:1.2rem}
.script{font-family:var(--script);font-weight:400;text-transform:none;line-height:1.05}
.yellow{color:var(--yellow)}.cyan{color:var(--cyan)}.teal{color:var(--teal)}.pink{color:var(--pink)}.red{color:var(--red)}
.wrap,.content>*:not(.band){width:min(1120px,100% - 2.5rem);margin-inline:auto}
.small{font-size:.8rem;opacity:.75}
.skip{position:absolute;left:-999em}
.skip:focus{left:1rem;top:1rem;z-index:100;background:var(--yellow);color:#000;padding:.5rem 1rem}

/* Header */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1.25rem;position:relative;z-index:50;background:#000}
.brand img{width:72px;height:72px}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end}
.site-nav li{position:relative}
.site-nav a{display:block;padding:.5rem .7rem;color:#fff;text-decoration:none;font:600 .95rem var(--sub);text-transform:uppercase}
.site-nav a:hover,.site-nav .current-menu-item>a,.site-nav .current-menu-ancestor>a{color:var(--yellow)}
.site-nav .sub-menu{position:absolute;left:0;top:100%;display:none;flex-direction:column;min-width:15rem;background:#000;border:3px solid var(--teal);border-radius:16px;padding:.4rem}
.site-nav li:hover>.sub-menu,.site-nav li:focus-within>.sub-menu{display:flex}
.site-nav a[href$="/tickets/"]{background:var(--yellow);color:#000;border-radius:999px;padding-inline:1.1rem;margin-left:.4rem}
.nav-toggle{display:none;background:var(--yellow);color:#000;border:0;border-radius:999px;font:800 .95rem var(--sub);text-transform:uppercase;padding:.6rem 1.1rem;cursor:pointer}
@media (max-width:1100px){
	.site-header{flex-wrap:wrap}
	.nav-toggle{display:block}
	.site-nav{display:none;width:100%}
	.site-nav.open{display:block}
	.site-nav ul{flex-direction:column}
	.site-nav .sub-menu{position:static;display:flex;margin:0 0 .5rem .8rem;border-width:0 0 0 3px;border-radius:0;min-width:0}
	.site-nav a[href$="/tickets/"]{margin:.4rem 0 0;display:inline-block}
}

/* Buttons (core Buttons block, plus .btn for theme templates) */
.btn,.wp-block-button__link{display:inline-block;background:var(--yellow);color:#000;font:800 1rem var(--sub);text-transform:uppercase;text-decoration:none;padding:.8rem 1.5rem;border-radius:999px;border:3px solid var(--yellow)}
.btn:hover,.wp-block-button__link:hover{background:#000;color:var(--yellow)}
.ghost .wp-block-button__link{background:transparent;color:#fff;border-color:#fff}
.ghost .wp-block-button__link:hover{border-color:var(--cyan);color:var(--cyan)}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.4rem}
.wp-block-buttons.centered,.center .wp-block-buttons{justify-content:center}

/* Doodles */
.doodle{display:inline-block;width:90px;height:90px;pointer-events:none}
.page-head{position:relative;overflow:hidden;text-align:center;padding:2.5rem 1.25rem 2rem}
.page-head h1{font-size:clamp(3rem,9vw,6rem);margin:0}
.d-left,.d-right{position:absolute;top:1.5rem}
.d-left{left:-20px}.d-right{right:-20px}
@media (max-width:700px){.d-left,.d-right{width:56px;height:56px;top:0}}

/* Hero */
.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:2.5rem;align-items:center;padding-block:2rem 5rem}
.hero h1{font-size:clamp(3.4rem,8vw,6.5rem);margin:0 0 .15em}
.kicker{font:800 1.15rem var(--sub);text-transform:uppercase;color:var(--cyan);margin:0}
.hero-art{position:relative}
.hero-art figure{margin:0}
.hero-art img{border-radius:46% 54% 42% 58%/55% 45% 55% 45%;aspect-ratio:1/1;object-fit:cover;width:100%;border:8px solid var(--yellow)}
.hero-art::before,.hero-art::after{content:"";position:absolute;z-index:1;background:center/contain no-repeat}
.hero-art::before{top:-30px;right:-10px;width:120px;height:120px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23DD3B26'%3E%3Ccircle cx='50' cy='20' r='19'/%3E%3Ccircle cx='78' cy='38' r='19'/%3E%3Ccircle cx='70' cy='73' r='19'/%3E%3Ccircle cx='30' cy='73' r='19'/%3E%3Ccircle cx='22' cy='38' r='19'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='24' fill='%23F7CA26'/%3E%3Cpath d='M32 50q18-18 36 0-18 18-36 0z' fill='%23FFE8E1'/%3E%3Ccircle cx='50' cy='50' r='7'/%3E%3C/svg%3E")}
.hero-art::after{bottom:-30px;left:-20px;width:90px;height:90px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4V96M4 50H96M17 17 83 83M83 17 17 83' stroke='%2313C0E2' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E")}

/* Bands and grids */
.band{padding:4rem 0}
.band.yellow-bg{background:var(--yellow);color:#000}
.band.cream-bg{background:var(--cream);color:#000}
.band.blue-bg{background:var(--blue);color:#fff}
.band a:not(.wp-block-button__link){color:inherit}
.band.yellow-bg .wp-block-button__link,.band.cream-bg .wp-block-button__link{background:#000;border-color:#000;color:#fff}
.center{text-align:center}
.grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
/* At most two side by side: three 460px columns never fit the 1120px content width. */
.grid.two{grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr))}
.card{border-radius:28px;padding:1.5rem;color:#000;display:flex;flex-direction:column}
.card.teal-bg{background:var(--teal)}.card.pink-bg{background:var(--pink)}.card.cyan-bg{background:var(--cyan)}.card.yellow-bg{background:var(--yellow)}.card.cream-bg{background:var(--cream)}
.card figure{margin:0 0 1.2rem}
.card img{border-radius:18px;aspect-ratio:16/10;object-fit:cover;width:100%}
.card h2,.card h3{margin-bottom:.4em}
.card ul{padding-left:1.2rem}
.card .wp-block-buttons{margin-top:auto}
.card .wp-block-button__link{background:#000;border-color:#000;color:#fff}
.level{font:800 .85rem var(--sub);text-transform:uppercase;margin:0 0 .3rem}
.panel{border:3px solid var(--teal);border-radius:28px;padding:1.5rem}
.split{display:grid;gap:2.5rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));align-items:center}
.split img{border-radius:28px;width:100%}
.content>*+*{margin-top:3rem}
.content{padding-bottom:4rem}
.content:has(>.band:last-child){padding-bottom:0}
.lead{font-size:1.15rem;max-width:62ch;text-align:center}

.wp-block-quote{background:var(--cream);color:#000;border:0;border-radius:48% 52% 45% 55%/30% 35% 65% 70%;padding:3rem 2.2rem;margin:0;text-align:center}
.wp-block-quote p{margin:0 0 .8rem}
.wp-block-quote cite{font:800 .9rem var(--sub);text-transform:uppercase;font-style:normal}
.grid.wrap{margin-inline:auto}
.spaced{margin-top:5rem}
.big{font-size:3rem}
.narrow{max-width:640px}

/* Team */
.team{display:grid;gap:2.5rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.person{text-align:center}
.person figure{margin:0 0 1rem}
.person img{width:220px;height:220px;border-radius:50%;object-fit:cover;border:8px solid var(--teal);margin:0 auto}
.person:nth-child(4n+2) img{border-color:var(--cyan)}
.person:nth-child(4n+3) img{border-color:var(--pink)}
.person:nth-child(4n+4) img{border-color:var(--yellow)}
.person h3{color:var(--yellow)}
.person details{text-align:left;font-size:.92rem;border:0;padding:0}
.person summary{text-align:center}

.gallery{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.gallery figure{margin:0}
.gallery img{border-radius:20px;aspect-ratio:3/2;object-fit:cover;width:100%}
.tickets{background:#fff;border-radius:28px;padding:1rem;scroll-margin-top:1rem}
.content>.tickets{width:min(1120px,100% - 1.5rem)}
.tickable-shop{width:100%;min-height:600px;border:0}

/* Core blocks */
.content .wp-block-image img{margin-inline:auto;border-radius:16px}
.content .person .wp-block-image img{border-radius:50%}
.content figure.wp-block-image{margin-block:1.5rem}
.content .card figure.wp-block-image,.content .person figure.wp-block-image,.content .gallery figure.wp-block-image{margin-top:0}
.content .gallery figure.wp-block-image{margin:0}
.content .wp-block-embed{margin-inline:auto}
.wp-block-columns{align-items:flex-start;gap:2.5rem}
.wp-block-details{border:3px solid var(--teal);border-radius:20px;padding:.8rem 1.2rem}
.wp-block-details+.wp-block-details{margin-top:1rem}
.wp-block-details summary{cursor:pointer;color:var(--cyan);font-weight:700}
.wp-block-separator{border:0;border-top:4px dotted var(--yellow)}

.site-footer{border-top:6px solid var(--yellow);padding:3rem 0 1rem}
.footer-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.site-footer h2{font-size:1.1rem;color:var(--teal)}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer a{color:#fff;overflow-wrap:anywhere}
.tagline{font-size:2.2rem;margin:.2rem 0}

@media (max-width:800px){.hero{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media (prefers-reduced-motion:no-preference){
	.hero-art .a{animation:float 7s ease-in-out infinite}
	@keyframes float{50%{transform:translateY(-14px) rotate(12deg)}}
}

/* Course artwork carries text, so it is never cropped */
.card .poster img{aspect-ratio:16/9}

/* Floating ticket button added by the site's WPCode snippet */
.impro-tickets-button{position:fixed;left:1rem;bottom:1rem;z-index:60;background:var(--red);color:#000;font:800 .95rem var(--sub);text-transform:uppercase;text-decoration:none;padding:.75rem 1.2rem;border-radius:999px;box-shadow:0 0 0 3px #000}
.impro-tickets-button:hover{background:var(--yellow);color:#000}
.page-id-2189 .impro-tickets-button{display:none}
.site-footer{padding-bottom:5rem}

/* A course taught by two groups: nav.js rotates the posters; side by side without it. */
.card .posters{display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));margin-bottom:1.2rem}
.content .card .posters figure.wp-block-image{margin:0}
.card .posters.slideshow{grid-template-columns:minmax(0,1fr);gap:.5rem}
.posters.slideshow>figure{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s}
.posters.slideshow>figure.on{opacity:1;visibility:visible}
.slide-controls{display:flex;justify-content:center;align-items:center;gap:.25rem}
.slide-controls button{width:28px;height:28px;padding:0;border:0;background:none;color:#000;font-size:.7rem;cursor:pointer;display:grid;place-items:center}
.slide-controls button[aria-current]::before{content:'';width:11px;height:11px;border:2px solid #000;border-radius:50%}
.slide-controls button[aria-current="true"]::before{background:#000}

/* Tickable adds a credit line inside the white panel; it inherited white text. */
.tickets{color:#000}
.content .tickets a{color:inherit}

/* The floating button is redundant where a ticket shop is already on the page. */
body:has(.tickable-shop) .impro-tickets-button{display:none}
@media (max-width:700px){.impro-tickets-button{font-size:.75rem;padding:.55rem .85rem;left:.6rem;bottom:.6rem}}

/* Tickets first in the phone menu */
@media (max-width:1100px){.site-nav li:has(>a[href$="/tickets/"]){order:-1;margin-bottom:.4rem}}

/* Photo that links to the show video on YouTube */
.video-link a{display:block;position:relative}
.video-link a::after{content:"▶";position:absolute;inset:0;margin:auto;width:84px;height:84px;border-radius:50%;background:var(--yellow);color:#000;font-size:2rem;display:grid;place-items:center;padding-left:6px;box-sizing:border-box}
.video-link img{width:100%;aspect-ratio:16/9;object-fit:cover}
.video-link figcaption{text-align:center;margin-top:.6rem}

/* Mark links that open a new tab; the text after the slash is what screen readers say. */
.site-footer a[target="_blank"]::after,
#main :not(.video-link) > a[target="_blank"]::after{content:" ↗";content:" ↗" / " (opens in a new tab)"}
