.site-header { position: relative; z-index: 4; }
.public-nav .nav-menu { position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; display: flex; gap: .45em; align-items: center; color: var(--teal); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: .46em; height: .46em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-.12em) rotate(45deg); }
.nav-menu[open] summary::after { transform: translateY(.14em) rotate(225deg); }
.nav-popover { position: absolute; top: calc(100% + 1rem); right: 0; width: 13.6rem; padding: .4rem; background: var(--card); border: 2px solid var(--teal-deep); border-radius: .45rem; box-shadow: .2rem .23rem 0 var(--ink); }
.nav-popover a, .nav-popover button { display: block; width: 100%; padding: .55rem .7rem; color: var(--teal-deep); text-decoration: none; text-align: left; border-radius: .25rem; font-size: .94rem; font-weight: 570; }
.nav-popover a:hover, .nav-popover button:hover { background: var(--cream); }
.nav-popover .mobile-only, .small-label { display: none; }
.footer-map { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-block: clamp(2.3rem, 5vw, 4.5rem); }
.footer-brand .footer-wordmark { font-size: clamp(2rem, 3vw, 2.8rem); }
.footer-brand p { margin: .7rem 0 1rem; }
.footer-brand small { color: #d7dbc9; }
.footer-map nav { display: flex; flex-direction: column; align-items: start; gap: .42rem; }
.footer-map nav h2 { font-size: 1rem; margin: .25rem 0 .35rem; letter-spacing: 0; color: var(--gold); }
.footer-map nav a { color: var(--paper); font-size: .93rem; text-decoration: none; }
.footer-map a:hover { text-decoration: underline; }
.footer-map a:focus-visible { outline-color: var(--gold); }
.edition-hero { background-color: #f7edcf; color: var(--teal-deep); border-bottom: 1px solid var(--line); }
.edition-grid { padding-block: clamp(2.4rem, 4.8vw, 4.5rem); }
.with-mascot .edition-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: 2rem; align-items: center; }
.edition-copy { min-width: 0; }
.crumb { display: flex; gap: .55rem; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: .87rem; font-weight: 570; }
.crumb a { color: var(--teal); }
.edition-hero h1 { max-width: 15em; margin: .24em 0 .22em; font: italic 800 clamp(3rem, 5.6vw, 5.35rem)/.98 var(--display); text-transform: uppercase; letter-spacing: -.025em; text-wrap: balance; }
.edition-deck { max-width: 42rem; font-size: clamp(1.03rem, 1.4vw, 1.19rem); line-height: 1.57; }
.edition-mascot { display: block; width: 100%; height: auto; }
.section-space, .home-library { padding-block: clamp(2.8rem, 5.2vw, 5rem); }
.section-intro { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1.35rem; }
.section-intro h2, .home-band h2 { font: italic 800 clamp(2.3rem, 4.2vw, 3.8rem)/1 var(--display); color: var(--teal-deep); letter-spacing: -.015em; text-transform: uppercase; }
.section-intro a, .end-note a, .hero-secondary { font-weight: 620; }
.result-count, .card-summary { color: var(--muted); }
.result-count { font-size: .95rem; }
.entry-grid { display: grid; align-items: stretch; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.95rem, 2vw, 1.65rem); }
.entry-card { background: var(--card); min-width: 0; border: 1px solid var(--line); border-radius: .48rem; overflow: hidden; }
.card-link { display: flex; height: 100%; flex-direction: column; color: var(--teal-deep); text-decoration: none; }
.card-link:hover h3, .card-link:focus-visible h3 { text-decoration: underline; text-underline-offset: .15em; }
.card-link:focus-visible { outline-offset: -4px; }
.card-body { flex: 1; padding: clamp(1.2rem, 2.5vw, 1.75rem); }
.card-label { color: #885125; font-size: .77rem; font-weight: 710; line-height: 1.4; letter-spacing: .075em; text-transform: uppercase; }
.card-body h3 { margin: .35rem 0 .55rem; font: 650 clamp(1.2rem, 1.7vw, 1.55rem)/1.14 "Work Sans", sans-serif; letter-spacing: -.035em; }
.card-summary { line-height: 1.52; }
.list-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.list-cards .entry-card { border-top: .22rem solid var(--teal); }
.library-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; padding-bottom: 1.8rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.library-filter .field:first-child { flex: 1 1 16rem; max-width: 37rem; }
.library-filter .field:nth-child(2) { flex: 0 1 15rem; }
.field select { width: 100%; min-width: 0; padding: .74rem .75rem; border: 1px solid #83958a; background: #fffefa; color: var(--ink); border-radius: .38rem; font: inherit; }
.library-filter .button { min-width: 5.5rem; }
.library-filter .text-button { margin: 0 0 .6rem; }
.end-note, .flash.shell { margin-top: 1.4rem; }
.article-layout, .sample-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(15rem, .83fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.article-body { min-width: 0; }
.article-body section + section { margin-top: 2rem; padding-top: 1.65rem; border-top: 1px solid var(--line); }
.article-body h2, .help-questions summary { color: var(--teal-deep); font-size: clamp(1.4rem, 2.2vw, 2rem); }
.article-body section > p { margin-top: .6rem; max-width: 68ch; font-size: 1.045rem; line-height: 1.68; }
.article-body section > .card-label { margin: 0 0 .6rem; font-size: .8rem; }
.article-body ul { list-style: disc; margin-top: .8rem; padding-left: 1.25rem; }
.article-body li + li { margin-top: .4rem; }
.article-body blockquote { margin: .85rem 0 1rem; color: var(--teal-deep); font: 400 1.2rem/1.55 Georgia, serif; }
.family-invite { padding: 1.35rem; background: #f8e6ae; border-left: .3rem solid var(--red); }
.article-rail { padding: 1.4rem 1.5rem; border: 1px solid #b3a782; border-top: .32rem solid var(--teal); background: #f7edcf; border-radius: .4rem; }
.article-rail > div + div, .article-rail > .button { margin-top: 1.35rem; }
.article-rail h2 { color: var(--teal-deep); font-size: 1.13rem; margin-bottom: .45rem; }
.rail-link { display: block; padding: .38rem 0; font-weight: 550; }
.price-card strong, .price-card span { display: block; }
.price-card strong { color: var(--teal-deep); font: italic 800 5rem/.95 var(--display); }
.price-card span { color: var(--muted); font-size: .9rem; }
.help-questions details { border-bottom: 1px solid var(--line); padding: 0 0 .8rem; margin-bottom: .8rem; }
.help-questions summary { font-size: 1.2rem; font-weight: 630; cursor: pointer; }
.help-questions p { margin: .6rem 0 0; }
.file-preview { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; padding: 1.25rem; border: 1px solid var(--line); background: var(--card); border-radius: .4rem; margin-top: .8rem; font: .96rem/1.55 ui-monospace, monospace; }
.download { margin-top: 1rem; }
.budget { margin-top: 1rem; }
.budget div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed #bcad86; }
.budget dd { font-variant-numeric: tabular-nums; font-weight: 650; }
.sample-layout { grid-template-columns: minmax(0,1.35fr) minmax(18rem,.85fr); }
.hero-links { display: flex; gap: 1rem 1.25rem; flex-wrap: wrap; align-items: baseline; }
.hero-secondary { color: var(--cream); }
.home-events { background: #f3e6c1; border-top: 2px solid var(--teal-deep); border-bottom: 1px solid #d1bd92; }
.home-band { background: var(--teal-deep); color: var(--cream); }
.home-band .shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem 5rem; align-items: center; padding-block: clamp(2.6rem,5vw,4.3rem); }
.home-band h2 { color: var(--cream); }
.audience-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.audience-links a { color: var(--cream); display: inline-block; border: 1px solid #90a58d; border-radius: 1.5rem; padding: .42rem .85rem; text-decoration: none; font-weight: 550; }
.audience-links a:hover { background: var(--cream); color: var(--teal-deep); }
.audience-links a:focus-visible { outline-color: var(--gold); }
.home-more { display: inline-block; margin-top: 1rem; font-weight: 650; }
@media (max-width: 54rem) {
  .public-nav { gap: 1rem; }
  .entry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout, .sample-layout { gap: 1.8rem; }
  .footer-map { grid-template-columns: repeat(3,1fr); }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 46rem) {
  .desktop-link, .wide-label { display: none; }
  .small-label, .nav-popover .mobile-only { display: inline-block; }
  .nav-popover .mobile-only { display: block; }
  .public-nav .nav-button { display: inline-flex; min-height: 2.5rem; padding: .4rem .75rem; }
  .public-nav { gap: .85rem; }
  .nav-popover { right: -3.25rem; max-width: calc(100vw - 2.25rem); max-height: 75vh; overflow-y: auto; }
  .edition-grid { padding-block: 2rem; }
  .with-mascot .edition-grid { grid-template-columns: 1fr; gap: .8rem; }
  .edition-mascot { width: 9rem; justify-self: center; }
  .edition-hero h1 { font-size: clamp(2.85rem, 9.2vw, 4.2rem); }
  .article-layout, .sample-layout, .home-band .shell { grid-template-columns: minmax(0,1fr); }
  .section-space, .home-library { padding-block: 2.5rem; }
}
@media (max-width: 34rem) {
  .entry-grid, .list-cards { grid-template-columns: 1fr; }
  .footer-map { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-brand small { overflow-wrap: anywhere; }
  .library-filter .field, .library-filter .field:nth-child(2) { flex: 1 1 100%; }
  .public-nav { gap: .65rem; }
  .crumb { gap: .36rem; }
}
@media (max-width: 22rem) {
  .public-nav { gap: .45rem; }
  .public-nav .nav-button { padding: .32rem .5rem; min-height: 2.3rem; }
}

.blog-topic { margin-top: 1.5rem; }
.blog-byline, .blog-pages { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.1rem; }
.blog-byline { margin-top: 1.2rem; font-size: .92rem; }
.blog-pages { justify-content: center; margin-top: 2rem; }
.blog-prose { min-width: 0; max-width: 67ch; font-size: 1.06rem; line-height: 1.72; overflow-wrap: anywhere; }
.blog-prose > * + * { margin-top: 1em; }
.blog-prose h2, .blog-prose h3, .blog-prose h4 { color: var(--teal-deep); line-height: 1.2; }
.blog-prose h2 { margin-top: 1.7em; font-size: clamp(1.5rem, 3vw, 2rem); }
.blog-prose h2:first-child { margin-top: 0; }
.blog-prose h3 { font-size: 1.35rem; }
.blog-prose ul, .blog-prose ol { padding-left: 1.5rem; }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose blockquote { padding-left: 1.1rem; border-left: .22rem solid var(--teal); }
.blog-prose pre { overflow-x: auto; }
.blog-cover { width: 100%; height: auto; border-radius: .4rem; }
