/* Fox Valley Mixers — static rebuild of the WordPress "Twenty Twenty" look.
   Breakpoints match the original theme: 480, 700, 1000, 1220px.
   Sizes use rem on a 10px root (html {font-size: 62.5%}), as the theme did. */

@font-face { font-family: "Inter var"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(../fonts/Inter-upright-var.woff2) format("woff2"); }
@font-face { font-family: "Inter var"; font-weight: 100 900; font-style: italic; font-display: swap; src: url(../fonts/Inter-italic-var.woff2) format("woff2"); }
/* Tiny font from the theme that keeps non-breaking spaces the right width in serif text. */
@font-face { font-family: NonBreakingSpaceOverride; src: url("data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAAMoAA0AAAAACDQAAALTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCahEICjx3CywAATYCJANUBCAFhiEHgWwbXQfILgpsY+rQRRARwyAs6uL7pxzYhxEE+32b3aeHmifR6tklkS9hiZA0ewkqGRJE+H7/+6378ASViK/PGeavqJyOzsceKi1s3BCiQsiOdn1r/RBgIJYEgCUhbm/8/8/h4saPssnTNkkiWUBrTRtjmQSajw3Ui3pZ3LYDPD+XG2C3JA/yKAS8/rU5eNfuGqRf4eNNgV4YAlIIgxglEkWe6FYpq10+wi3g+/nUgvgPFczNrz/RsTgVm/zfbPuHZlsuQECxuyqBcQwKFBjFgKO8AqP4bAN9tFJtnM9xPcbNjeXS/x1wY/xU52f5W/X1+9cnH4YwKIaoRRAkUkj/YlAAeF/624foiIDBgBmgQBeGAyhBljUPZUm/l2dTvmpqcBDUOHdbPZWd8JsBAsGr4w8/EDn82/bUPx4eh0YNrQTBuHO2FjQEAGBwK0DeI37DpQVqdERS4gZBhpeUhWCfLFz7J99aEBgsJCHvUGAdAPp4IADDCAPCEFMGpMZ9AQpTfQtQGhLbGVBZFV8BaqNyP68oTZgHNj3M8kBPfXTTC9t90UuzYhy9ciH0grVlOcqyCytisvbsERsEYztiznR0WCrmTksJwbSNK6fd1Rvr25I9oLvctUoEbNOmXJbqgYgPXEHJ82IUsrCnpkxh23F1rfZ2zcRnJYoXtauB3VTFkFXQg3uoZYD5qE0kdjDtoDoF1h2bulGmev5HbYhbrjtohQSRI4aNOkffIcT+d3v6atpaYh3JvPoQsztCcqvaBkppDSPcQ3bw3KaCBo1f5CJWTZEgW3LjLofYg51MaVezrx8xZitYbQ9KYeoRaqQdVLwSEfrKXLK1otCWOKNdR/YwYAfon5Yk8O2MJfSD10dPGA5PIJJQMkah0ugMJiv6x4Dm7LEa8xnrRGGGLAg4sAlbsA07sAt76DOsXKO3hIjtIlpnnFrt1qW4kh6NhS83P/6HB/fl1SMAAA==") format("woff2"); }

:root {
  --accent: #cd2653;      /* links, gallery headings */
  --brand: #6f2a2b;       /* header, title band, footer */
  --page: #f5efe0;        /* page background */
  --menu-link: #e994ab;   /* nav links on the dark band */
  --muted: #d1b7b7;       /* "Menu" label, footer secondary text */
  --rule: #953637;        /* borders on the dark band */
  --grey: #6d6d6d;        /* separators */
  --stripe: #dcd7ca;      /* table stripes and borders */
  --sans: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  --serif: NonBreakingSpaceOverride, "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
}

/* ---------- base ---------- */
html { font-size: 62.5%; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; -webkit-font-smoothing: antialiased; word-break: break-word; overflow-wrap: break-word; }
body { margin: 0; background: var(--page); color: #000; font-family: var(--sans); font-size: 1.8rem; letter-spacing: -0.015em; }
h1, h2, h3, h4, p, ul, li, figure, table, th, td { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-feature-settings: "lnum"; font-weight: 700; letter-spacing: -0.0415625em; line-height: 1.25; }
p { line-height: 1.5; }
strong { font-weight: 700; }
a { color: var(--accent); text-decoration: underline; transition: 0.15s linear; }
a:hover, a:focus { text-decoration: none; }
img, svg { display: block; height: auto; max-width: 100%; }
sup { font-size: 75%; line-height: 0; position: relative; top: -0.5em; vertical-align: baseline; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.wrap { margin: 0 auto; max-width: 120rem; width: calc(100% - 4rem); }
@media (min-width: 700px) { .wrap { width: calc(100% - 8rem); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ---------- header ---------- */
.site-header { position: relative; background: var(--brand); color: #fff; }
.header-inner { max-width: 168rem; padding: 3.15rem 4rem 3.15rem 0; display: flex; align-items: center; }
.logo img { width: auto; max-height: 6rem; }
.menu { display: none; }
.menu-toggle { position: absolute; top: 0; right: 0; bottom: 0; width: 6.6rem; display: flex; align-items: center; padding: 0 2rem; }
.menu-toggle .inner { position: relative; display: flex; justify-content: center; height: 2.3rem; padding-top: 0.8rem; }
.menu-toggle svg { width: 2.6rem; height: 0.8rem; fill: currentColor; }
.menu-toggle .label { position: absolute; top: calc(100% + 0.5rem); color: var(--muted); font-size: 1rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.menu-toggle:hover .label, .menu-toggle:focus .label { text-decoration: underline; }
@media (min-width: 700px) {
  .header-inner { padding-top: 3.8rem; padding-bottom: 3.8rem; }
  .logo img { max-height: 9rem; }
  .menu-toggle { right: 2rem; }
  .menu-toggle .label { font-size: 1.2rem; }
}

/* desktop navigation (1000px+) */
@media (min-width: 1000px) {
  .header-inner { justify-content: space-between; padding: 2.8rem 0; }
  .logo { margin-right: 4rem; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .menu { display: block; }
  .menu > ul { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: -0.8rem 0 0 -1.6rem; font-size: 1.8rem; font-weight: 500; letter-spacing: -0.0277em; }
  .menu li { position: relative; line-height: 1.25; }
  .menu > ul > li { margin: 0.8rem 0 0 1.6rem; }
  .menu a { display: block; color: var(--menu-link); line-height: 1.2; text-decoration: none; word-break: normal; overflow-wrap: normal; }
  .menu a:hover, .menu a:focus, .menu a[aria-current] { text-decoration: underline; }
  .menu a[aria-current]:hover, .menu a[aria-current]:focus { text-decoration: none; }
  .menu .current-parent { text-decoration: underline; }
  .menu .has-sub > a { padding-right: 2rem; }
  /* the small down-chevron next to "Gallery" */
  .menu .icon { position: absolute; right: -0.5rem; top: calc(50% - 0.4rem); width: 1.3rem; height: 0.7rem; transform: rotate(-45deg); color: var(--menu-link); pointer-events: none; }
  .menu .icon::before, .menu .icon::after { content: ""; position: absolute; left: 0; bottom: calc(50% - 0.1rem); background: currentColor; }
  .menu .icon::before { width: 0.2rem; height: 0.9rem; }
  .menu .icon::after { width: 0.9rem; height: 0.2rem; }
  /* dropdown */
  .menu li ul { position: absolute; right: 9999rem; top: calc(100% + 2rem); z-index: 1; width: 20rem; padding: 1rem 0; list-style: none; background: #fff; color: var(--brand); border-radius: 0.4rem; font-size: 1.7rem; opacity: 0; transform: translateY(0.6rem); transition: opacity 0.15s linear, transform 0.15s linear, right 0.15s; }
  .menu li ul::before, .menu li ul::after { content: ""; position: absolute; bottom: 100%; }
  .menu li ul::before { left: 0; right: 0; height: 2rem; }     /* hover bridge */
  .menu li ul::after { right: 1.8rem; border: 0.8rem solid transparent; border-bottom-color: #fff; }
  .menu li ul a { color: inherit; padding: 1rem 2rem; }
  .menu .has-sub:hover > ul, .menu .has-sub:focus-within > ul { right: 0; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; }
}
@media (min-width: 1000px) and (any-pointer: coarse) { .menu .has-sub > a { padding-right: 0; margin-right: 2rem; } }
@media (min-width: 1220px) {
  .menu > ul { margin-left: -2.5rem; }
  .menu > ul > li { margin-left: 2.5rem; }
}

/* mobile menu (under 1000px) */
.mobile-menu { position: fixed; inset: 0; z-index: 99; overflow-y: auto; background: var(--brand); color: #fff; animation: fade-in 0.25s ease-in; }
@keyframes fade-in { from { opacity: 0; } }
.menu-close { display: flex; align-items: center; justify-content: flex-end; width: 100%; padding: 3.1rem 0; font-size: 1.6rem; font-weight: 500; line-height: 1.25; }
.menu-close span { margin-right: 1.6rem; }
.menu-close svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.mobile-menu ul { list-style: none; }
.mobile-menu nav > ul { position: relative; left: calc(50% - 50vw); width: 100vw; }
.mobile-menu li { display: flex; flex-wrap: wrap; justify-content: space-between; line-height: 1; border-top: 0.1rem solid var(--rule); }
.mobile-menu nav > ul > li:last-child { border-bottom: 0.1rem solid var(--rule); }
.mobile-menu a { flex: 1; padding: 2rem 2.5rem; color: var(--menu-link); text-decoration: none; }
.mobile-menu nav > ul > li > a { font-size: 2rem; font-weight: 700; letter-spacing: -0.0375em; }
.mobile-menu a:hover, .mobile-menu a:focus, .mobile-menu a[aria-current], .mobile-menu .current-parent > a { text-decoration: underline; }
.sub-toggle { flex-shrink: 0; margin: 1rem 0; padding: 0 2.5rem; border-left: 0.1rem solid var(--rule); }
.sub-toggle svg { width: 1.5rem; height: 0.9rem; fill: currentColor; transition: transform 0.15s linear; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu li ul { display: none; width: 100%; }
.mobile-menu li ul.open { display: block; }
.mobile-menu li li { border-left: 1rem solid var(--rule); }
.mobile-menu li li a { color: inherit; font-weight: 500; }
@media (min-width: 700px) {
  .menu-close { padding: 4rem 0; font-size: 1.8rem; }
  .menu-close span { margin-right: 2.1rem; }
  .menu-close svg { width: 2rem; height: 2rem; }
  .mobile-menu nav > ul { left: auto; width: 100%; }
  .mobile-menu nav > ul > li > a { font-size: 2.4rem; padding: 2.5rem 0; }
  .mobile-menu .sub-toggle { padding: 0 3rem; }
  .mobile-menu .sub-toggle svg { width: 1.8rem; height: 1.1rem; }
  .mobile-menu li li { border-left-color: transparent; }
}

/* ---------- page title band + featured image ---------- */
main { display: block; overflow: hidden; }
.page-title { background: var(--brand); color: #fff; text-align: center; padding: 4rem max(2rem, (100% - 100rem) / 2); font-size: 3.6rem; font-weight: 800; line-height: 1.13889; }
.featured { position: relative; }
.featured::before { content: ""; position: absolute; inset: 0 0 50%; background: var(--brand); }   /* top half continues the band */
.featured img { position: relative; margin: 0 auto; }
@media (min-width: 700px) { .page-title { padding: 8rem max(4rem, (100% - 100rem) / 2); font-size: 6.4rem; } }
@media (min-width: 1220px) { .page-title { font-size: 8.4rem; } }

/* ---------- page content: a centred 58rem column ---------- */
.content { padding-top: 5rem; font-family: var(--serif); letter-spacing: normal; line-height: 1.5; }
.content > * { max-width: 58rem; width: calc(100% - 4rem); margin: 0 auto 1.25em; }
.content > :first-child { margin-top: 0; }
.content p, .content li { line-height: 1.4; }
.content h2, .content h3, .content h4 { font-family: var(--sans); margin: 3.5rem auto 2rem; }
.content h2 { font-size: 3.2rem; }
.content h3 { font-size: 2.8rem; }
.content h4 { font-size: 2.4rem; }
.content ul { list-style: disc; }
.content li { margin: 0.5rem 0 0 2rem; }
.center { text-align: center; }
.accent { color: var(--accent); }
.accent a, .fineprint a { color: inherit; }
.small { font-size: 18px; }
.fineprint { font-size: 13px; font-style: italic; font-weight: 300; }

/* separator: thin line with two slanted ticks in the middle */
.content hr { position: relative; overflow: visible; height: 0.1rem; margin: 4rem auto; border: 0; color: var(--grey);
  background: linear-gradient(to left, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px)); }
.content hr::before, .content hr::after { content: ""; position: absolute; top: calc(50% - 0.8rem); width: 0.1rem; height: 1.6rem; background: currentColor; transform: rotate(22.5deg); }
.content hr::before { left: calc(50% - 0.5rem); }
.content hr::after { right: calc(50% - 0.5rem); }

/* images: plain figure = left-aligned, .center = centred, .wide = fills the column */
.content > figure, .content > .notes { margin-top: 3rem; margin-bottom: 3rem; }
.content figure.center { text-align: center; }
.content figure.center img, .content figure.center .zoom { margin: 0 auto; }
.content figure > a:not(.zoom) { display: inline-block; }   /* image that links elsewhere (Lessons logo) */
.content figure.wide img { width: 100%; }
.zoom { display: block; position: relative; width: fit-content; max-width: 100%; cursor: zoom-in; }
.wide .zoom { width: auto; }
.zoom::after { content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 4px; opacity: 0; transition: opacity 0.2s;
  background: rgba(90, 90, 90, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z'/%3E%3C/svg%3E") center no-repeat;
  backdrop-filter: blur(16px) saturate(180%); }
.zoom:hover::after { opacity: 1; }

/* schedule: notes list and striped table */
.content > .notes { display: flow-root; font-size: 18px; }   /* flow-root: first item's margin stays inside */
.content > .table { width: fit-content; max-width: min(58rem, calc(100% - 4rem)); margin-left: max(2rem, 50% - 29rem); overflow-x: auto; font-size: 15px; }
.table table { margin: 4rem 0; width: 100%; border: 0.1rem solid var(--stripe); border-spacing: 0; font-family: var(--sans); line-height: 1.4; }
.table th, .table td { border: 0.1rem solid var(--stripe); padding: 0.5em; text-align: left; }
.table thead { vertical-align: bottom; white-space: nowrap; }
.table tbody tr:nth-child(odd) { background: var(--stripe); }

@media (max-width: 479px) { .content li { margin-left: 1rem; } }
@media (min-width: 700px) {
  .content { padding-top: 8rem; font-size: 2.1rem; }
  .content p, .content li { line-height: 1.476; }
  .content h2, .content h3 { margin: 6rem auto 3rem; }
  .content h2 { font-size: 4.8rem; }
  .content h3 { font-size: 4rem; }
  .content h4 { margin: 4.5rem auto 2.5rem; font-size: 3.2rem; }
  .content hr { margin: 6rem auto; }
  .content > figure, .content > .notes { margin-top: 4rem; margin-bottom: 4rem; }
}
@media (min-width: 1000px) { .content hr { margin: 8rem auto; } }

/* ---------- lightbox (js/site.js) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.9); cursor: zoom-out; animation: fade-in 0.2s; }
.lightbox img { max-width: calc(100% - 32px); max-height: calc(100% - 112px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; color: #000; }
@media (min-width: 960px) { .lightbox img { max-width: calc(100% - 160px); max-height: calc(100% - 160px); } }

/* ---------- footer ---------- */
.footer-widgets { margin-top: 5rem; background: var(--brand); color: #fff; }
.footer-widgets .wrap { padding: 3rem 0; border-bottom: 0.1rem solid var(--rule); }
.footer-widgets figure { margin: 3rem 0; line-height: normal; }
.footer-widgets a { display: inline-block; }      /* inline-block keeps the original's few px under the logo */
.footer-widgets img { width: 139px; }
.site-footer { background: var(--brand); color: #fff; padding: 3rem 0; font-size: 1.6rem; }
.site-footer .wrap { display: flex; align-items: baseline; justify-content: space-between; }
.site-footer p { line-height: 1.5; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }
.copyright { font-weight: 600; }
.powered-by { display: none; margin-left: 2.4rem; }
.powered-by, .to-top { color: var(--muted); }
.site-footer .to-top { color: var(--muted); margin-left: 2.4rem; white-space: nowrap; }
.to-top .long { display: none; }
@media (min-width: 700px) {
  .footer-widgets { margin-top: 8rem; }
  .footer-widgets .wrap { padding: 8rem 0; }
  .footer-widgets figure { margin: 4rem 0; }
  .site-footer { padding: 4.3rem 0; font-size: 1.8rem; }
  .credits { display: flex; flex-wrap: wrap; }
  .copyright { font-weight: 700; }
  .to-top .long { display: inline; }
  .to-top .short { display: none; }
}
@media (min-width: 1000px) { .powered-by { display: block; } }
@media (min-width: 1220px) { .footer-widgets figure { font-size: 2.1rem; } }
