/* BandKit templates. Loaded after site.css, only on sites that picked a template (body.tpl).
   Colors and fonts come from /theme.css (Templates::vars). Mobile first.
   Shared part first, then one block per template: Headliner, Editorial, Studio, Gig Poster, Afterhours, Roots, Salon. */

/* =====================================================================  SHARED */
.tpl {
  --radius: 0.5rem; --btn-radius: 999px; --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --soft: color-mix(in oklab, var(--ink) 6%, var(--bg));
  font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale;
}
.tpl .wrap { max-width: 78rem; padding-inline: var(--gutter); }
.tpl p, .tpl li, .tpl dd, .tpl blockquote { text-wrap: pretty; }
.tpl h1, .tpl h2, .tpl h3, .tpl .lede, .tpl .tx-tagline, .tpl .tx-feature-title { text-wrap: balance; }
.tpl :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tpl a { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.tpl a:hover { text-decoration-thickness: 1px; text-decoration-color: currentColor; }

.tpl :is(.h1, .h2, .brand, .foot-name, .show-day, .post-title, .release-title, .product-title, .tier-name, .tx-name, .tx-feature-title, .tx-when) {
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--dwd);
  letter-spacing: var(--display-track); text-transform: var(--dcase); line-height: var(--display-lead);
}
.tpl .h1 { font-size: clamp(2.8rem, 9vw, 6.5rem); margin-bottom: 0.45em; }
.tpl .h2 { font-size: clamp(2.5rem, 7vw, 5rem); margin-bottom: 0.55em; }
.tpl .prose :is(h2, h3, h4) { font-stretch: var(--dwd); text-transform: var(--dcase); }
.tpl .more { margin-top: 2.2rem; font-weight: 600; }
.tpl .more a { text-decoration: none; white-space: nowrap; }
.tpl .more a::after { content: "→"; display: inline-block; margin-left: 0.35em; transition: transform 0.2s; }
.tpl .more a:hover::after { transform: translateX(0.25em); }
.tpl .fine { color: var(--muted); }
.tpl .band .fine, .tpl #mailing-list .fine { color: inherit; opacity: 0.8; }
.tpl .signup-status:empty { min-height: 0; margin: 0; }

/* buttons */
.tpl .btn { padding: 0.85em 1.5em; border-radius: var(--btn-radius); border: 1.5px solid var(--accent); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap; transition: transform 0.15s, background-color 0.2s, color 0.2s, border-color 0.2s; }
.tpl .btn:hover { transform: translateY(-1px); background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tpl .btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.tpl .btn.small { padding: 0.65em 1.2em; font-size: 0.88rem; }
.tpl .badge { padding: 0.5em 1.05em; border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.tpl input:not([type]), .tpl input[type="text"], .tpl input[type="email"], .tpl input[type="search"], .tpl input[type="number"], .tpl input[type="tel"], .tpl input[type="url"], .tpl select, .tpl textarea { border-width: 1.5px; border-color: var(--line); border-radius: var(--radius); }
.tpl :is(input, select, textarea):focus { border-color: var(--ink); outline: none; }

/* header */
.tpl .top { position: relative; z-index: 20; background: var(--bg); }
.tpl .top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 78rem; margin-inline: auto; padding: 1.1rem var(--gutter); }
.tpl .brand { font-size: 1.35rem; text-decoration: none; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 4rem); }
.tpl .tnav-btn { display: grid; gap: 6px; padding: 0.7rem 0.3rem; cursor: pointer; }
.tpl .tnav-btn span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform 0.25s; }
.tpl .nav-toggle:checked + .tnav-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.tpl .nav-toggle:checked + .tnav-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.tpl .nav-toggle:focus-visible + .tnav-btn { outline: 2px solid var(--accent); outline-offset: 3px; }
.tpl .tnav { display: none; flex-basis: 100%; flex-direction: column; padding: 0.5rem 0 1rem; }
.tpl .tnav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 1.15rem; }
.tpl .nav-toggle:checked ~ .tnav { display: flex; }
.tpl .tnav .tnav-cta { margin-top: 1rem; border: 0; background: var(--accent); color: var(--on-accent); text-align: center; border-radius: var(--btn-radius); font-weight: 600; }
@media (min-width: 56rem) {
  .tpl .tnav-btn { display: none; }
  .tpl .tnav { display: flex; flex-basis: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.4rem 2rem; padding: 0; }
  .tpl .tnav a { padding: 0.3rem 0; border: 0; font-size: 0.95rem; position: relative; }
  .tpl .tnav a:not(.tnav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
  .tpl .tnav a:not(.tnav-cta):hover::after, .tpl .tnav a[aria-current="page"]::after { transform: scaleX(1); }
  .tpl .tnav .tnav-cta { margin: 0; padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}
/* header over the photo (Headliner, Afterhours, Roots home pages with a photo) */
.tpl.has-overlay .top { position: absolute; inset: 0 0 auto; background: transparent; color: #fff; }
.tpl.has-overlay .top::before { content: ""; position: absolute; inset: 0 0 -3rem; z-index: -1; background: linear-gradient(rgba(0,0,0,0.5), transparent); pointer-events: none; }
.tpl.has-overlay .top:has(.nav-toggle:checked) { background: var(--bg); color: var(--ink); }
.tpl.has-overlay .top:has(.nav-toggle:checked)::before { display: none; }

/* hero (shared bits) */
.tx-hero { position: relative; }
.tx-photo { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.tx-kicker, .tx-eyebrow { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.tx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tx-tagline { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.35; margin: 0; }
.tx-name { font-size: var(--name-size); margin: 0 0 0 -0.04em; overflow-wrap: break-word; }
.tx-mini { width: 4.5rem; height: 4.5rem; object-fit: cover; flex: none; }

/* sections */
.tpl .block { border-top: 0; padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.tpl.is-home main > section.block:nth-of-type(odd) { background: var(--alt); }
.tpl .hero + .block, .tpl .tx-hero + .block { border-top: 0; }

/* shows */
.tpl .shows { border-top: 1px solid var(--line); border-bottom: 0; }
.tpl .show { grid-template-columns: 4.4rem minmax(0, 1fr); gap: 0.4rem 1.2rem; padding-block: 1.4rem; border-top: 0; border-bottom: 1px solid var(--line); transition: padding 0.25s; }
.tpl .show-date { flex-direction: column-reverse; justify-content: flex-end; gap: 0.15rem; }
.tpl .show-month { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tpl .show-day { font-size: 2.6rem; line-height: 0.9; }
.tpl .show-venue { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.005em; line-height: 1.25; }
.tpl .show-where { color: var(--muted); }
.tpl .show-act { grid-column: 2; margin-top: 0.4rem; }
.tpl .show.is-sold-out .show-venue { text-decoration: none; color: var(--muted); }
.tpl .past-list .show-day { font-size: 1.8rem; }
@media (min-width: 44rem) {
  .tpl .show { grid-template-columns: 6rem minmax(0, 1fr) auto; padding-block: 1.6rem; }
  .tpl .show-act { grid-column: 3; margin: 0; }
  .tpl .show-venue { font-size: 1.4rem; }
  .tpl .show-day { font-size: 3.2rem; }
  .tpl .shows:not(.past-list) .show:hover { padding-inline: 0.6rem; }
}

/* music */
.tpl .release { gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: 3rem; }
.tpl .release-cover { max-width: none; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 2rem 4rem -1.5rem rgba(0,0,0,0.45); }
.tpl .release-title { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 0.4rem; }
.tpl .release-meta { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0.6rem 0 1.4rem; }
.tpl .release .links { gap: 0.5rem; margin-top: 1.6rem; }
.tpl .release .links .btn { background: transparent; color: inherit; border-color: var(--line); padding: 0.6em 1.1em; font-size: 0.88rem; }
.tpl .release .links .btn:hover { border-color: var(--ink); background: transparent; color: inherit; }
.tpl .release .links .btn:first-child { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tpl .embed { max-width: none; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 52rem) { .tpl .release { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); } }

/* photos: a feature grid on the home page, a soft masonry on the gallery page */
.tpl .gallery li { border-radius: var(--radius); overflow: hidden; }
.tpl .gallery img { transition: transform 0.8s cubic-bezier(.2,.7,.2,1), opacity 0.2s; }
.tpl .gallery a:hover img { opacity: 1; transform: scale(1.04); }
.tpl #photos .gallery { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.tpl #photos .gallery li { margin: 0; }
.tpl #photos .gallery li:first-child { grid-column: 1 / -1; }
.tpl #photos .gallery a, .tpl #photos .gallery img { height: 100%; }
.tpl #photos .gallery img { aspect-ratio: 1; object-fit: cover; }
.tpl #photos .gallery li:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 48rem) {
  .tpl #photos .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, 15rem); gap: 1rem; }
  .tpl #photos .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .tpl #photos .gallery img, .tpl #photos .gallery li:first-child img { aspect-ratio: auto; }
}

/* news */
.tpl .post-list { gap: 1.5rem; }
.tpl .post-card { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.tpl .post-date { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.tpl .post-title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; margin-bottom: 0.6rem; }
@media (min-width: 52rem) { .tpl #news .post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }

/* merch */
.tpl .products { gap: 2rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl .product-card a { gap: 0.3rem; }
.tpl .product-card img, .tpl .product-noimg { aspect-ratio: 4 / 5; border-radius: var(--radius); margin-bottom: 0.5rem; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.tpl .product-card a:hover img { transform: scale(1.02); opacity: 1; }
.tpl .product-name { font-size: 1rem; font-weight: 600; }
@media (min-width: 56rem) { .tpl .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }

/* mailing list band */
.tpl .band { background: var(--accent); color: var(--on-accent); }
.tpl.is-home main > section.block.band { background: var(--accent); } /* beats the odd-section shade, wherever the band sits */
.tpl .signup-box { max-width: none; display: grid; gap: 1rem; }
.tpl .band .h2 { margin: 0; }
.tpl .signup-row { max-width: 32rem; }
.tpl .signup-row input { border: 1.5px solid currentColor; border-radius: var(--btn-radius); padding: 0.95rem 1.2rem; }
.tpl .band .btn { background: var(--on-accent); color: var(--accent); border-color: var(--on-accent); }
.tpl .band .btn:hover { background: transparent; color: var(--on-accent); }
@media (min-width: 56rem) {
  .tpl #mailing-list .signup-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; align-items: center; }
  .tpl #mailing-list .signup-box .h2 { grid-row: span 2; }
}

/* footer */
.tpl .foot { padding-block: 4rem 3rem; }
.tpl .foot-in { gap: 1.2rem; }
.tpl .foot-name { font-size: clamp(2.2rem, 6vw, 3.5rem); }
.tpl .social a { text-decoration: none; }
.tpl .social a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .tpl *, .tpl *::before, .tpl *::after { animation: none !important; transition: none !important; } }

/* =====================================================================  HEADLINER */
.t-headliner { --radius: 2px; --btn-radius: 2px; }
.t-headliner .brand { font-size: 1.5rem; }
.t-headliner .tx-hero { min-height: min(100svh, 62rem); display: grid; align-items: end; overflow: hidden; isolation: isolate; color: var(--ink); background: var(--bg); }
.t-headliner .tx-hero:not(.has-photo) { min-height: 34rem; background: radial-gradient(80% 90% at 85% 10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--bg); }
.t-headliner .tx-photo { position: absolute; inset: 0; z-index: -2; filter: saturate(0.85) contrast(1.05); animation: tx-kb 22s ease-out both; }
@keyframes tx-kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.t-headliner .has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 2%, color-mix(in srgb, var(--bg) 70%, transparent) 30%, transparent 70%); }
.t-headliner .tx-in { padding-block: 9rem 6.5rem; }
.t-headliner .tx-eyebrow { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); margin: 0 0 1.2rem; text-shadow: 0 1px 12px color-mix(in srgb, var(--bg) 60%, transparent); }
.t-headliner .tx-eyebrow::before { background: var(--accent) !important; }
.t-headliner .tx-eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: currentColor; }
.t-headliner .tx-name { font-size: var(--name-size); }
.t-headliner .tx-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: 1.8rem; }
.t-headliner .tx-tagline { max-width: 26rem; }
.t-headliner .tx-next { position: absolute; right: 0; bottom: 0; display: flex; gap: 0.8rem; align-items: center; padding: 1rem var(--gutter); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.t-headliner .tx-next span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.t-headliner .tx-next i { font-style: normal; transition: transform 0.2s; }
.t-headliner .tx-next:hover i { transform: translateX(4px); }
@media (max-width: 40rem) {
  .t-headliner .tx-next { left: 0; justify-content: center; }
  .t-headliner .tx-in { padding-bottom: 6rem; }
  .t-headliner .has-photo::after { background: linear-gradient(to top, var(--bg) 8%, color-mix(in srgb, var(--bg) 85%, transparent) 42%, transparent 75%); }
}
.t-headliner .h2 { font-size: clamp(3rem, 10vw, 7.5rem); }
.t-headliner .show-day { color: var(--accent); }
.t-headliner .show-venue { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.t-headliner .band .h2 { font-size: clamp(3rem, 8vw, 6.5rem); }
.t-headliner .foot-name { font-size: clamp(3rem, 12vw, 9rem); }

/* =====================================================================  EDITORIAL */
.t-editorial { --radius: 0; --btn-radius: 0; }
.t-editorial .top { border-bottom: 1px solid var(--line); }
.t-editorial .brand { font-size: 1.6rem; font-style: italic; text-transform: none; letter-spacing: -0.02em; }
.t-editorial .tx-hero { display: grid; border-bottom: 1px solid var(--line); }
.t-editorial .tx-fig { position: relative; order: -1; margin: 0; aspect-ratio: 4 / 5; max-height: 80svh; overflow: hidden; }
.t-editorial .tx-copy { display: grid; align-content: center; gap: 1.6rem; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); }
.t-editorial .tx-eyebrow { color: var(--accent); }
.t-editorial .tx-name { font-size: var(--name-size); }
.t-editorial .tx-tagline { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--muted); max-width: 28rem; }
.t-editorial .tx-feature { display: flex; gap: 1.2rem; align-items: center; padding-top: 1.6rem; margin-top: 0.6rem; border-top: 1px solid var(--line); text-decoration: none; }
.t-editorial .tx-feature > span { display: grid; gap: 0.2rem; }
.t-editorial .tx-kicker { color: var(--muted); }
.t-editorial .tx-feature-title { font-size: 1.6rem; text-transform: none; }
.t-editorial .tx-link { color: var(--accent); font-weight: 600; }
.t-editorial .tx-link::after { content: " →"; }
@media (min-width: 56rem) {
  .t-editorial .tx-hero.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - 4.6rem); }
  .t-editorial .tx-fig { order: 0; aspect-ratio: auto; max-height: none; }
  .t-editorial .tx-copy { padding-inline: max(var(--gutter), calc((100vw - 78rem) / 2 + var(--gutter))) clamp(2rem, 5vw, 5rem); }
}
.t-editorial .h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); border-bottom: 1px solid var(--ink); padding-bottom: 0.3em; }
.t-editorial .shows { border-top: 0; }
.t-editorial .show-day { font-style: italic; font-weight: 400; }
.t-editorial .show-venue { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.01em; }
.t-editorial .btn { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.t-editorial .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.t-editorial .btn.ghost { background: transparent; color: var(--ink); }
.t-editorial .release-title { text-transform: none; }
.t-editorial .post-title { font-weight: 500; }
.t-editorial #mailing-list { background: var(--alt); color: var(--ink); text-align: center; }
.t-editorial #mailing-list .signup-box { grid-template-columns: 1fr; justify-items: center; }
.t-editorial #mailing-list .h2 { font-style: italic; border: 0; }
.t-editorial #mailing-list .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.t-editorial #mailing-list .signup-row input { border-color: var(--ink); border-radius: 0; }
.t-editorial .foot-in { justify-items: center; text-align: center; }
.t-editorial .foot-name { font-style: italic; }
.t-editorial .social { justify-content: center; }

/* =====================================================================  STUDIO */
.t-studio { --radius: 1.25rem; }
.t-studio .brand { font-size: 1.35rem; text-transform: none; }
.t-studio .tx-hero { padding-bottom: clamp(3rem, 8vw, 6rem); }
.t-studio .tx-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 1.75rem; overflow: hidden; }
@media (min-width: 48rem) { .t-studio .tx-frame { aspect-ratio: auto; height: 60svh; min-height: 24rem; } }
.t-studio .tx-card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 1.2rem; background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--ink); text-decoration: none; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.t-studio .tx-card-text { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }
.t-studio .tx-card .tx-mini { width: 4rem; height: 4rem; border-radius: 0.6rem; }
.t-studio .tx-kicker { font-size: 0.7rem; color: var(--muted); }
.t-studio .tx-feature-title { font-size: 1.4rem; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 48rem) { .t-studio .tx-card { left: 1.5rem; bottom: 1.5rem; right: auto; width: 24rem; } }
.t-studio .tx-text { display: grid; gap: 1.2rem 3rem; align-items: end; padding-top: clamp(1.5rem, 4vw, 3rem); }
.t-studio .tx-name { font-size: min(var(--name-size), 9.5rem); }
.t-studio .tx-tagline { color: var(--muted); max-width: 22rem; }
.t-studio .tx-tagline a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
@media (min-width: 56rem) { .t-studio .tx-text { grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem); } .t-studio .tx-tagline { padding-bottom: 0.8em; } }
.t-studio .h2 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.t-studio .shows { border: 0; display: grid; gap: 0.6rem; }
.t-studio .show { border: 0; background: var(--bg); border-radius: 1.1rem; padding-inline: 1.2rem; transition: transform 0.2s, box-shadow 0.2s; }
.t-studio main > section.block:nth-of-type(even) .show { background: var(--alt); }
@media (min-width: 44rem) { .t-studio .show { padding-inline: 1.6rem; } .t-studio .shows:not(.past-list) .show:hover { padding-inline: 1.6rem; transform: translateY(-2px); box-shadow: 0 1rem 2rem -1rem rgba(0,0,0,0.18); } }
.t-studio .show-day { color: var(--accent); }
.t-studio #mailing-list { background: none !important; color: var(--ink); padding-top: 0; }
.t-studio #mailing-list .wrap > .signup-box { padding: clamp(2.5rem, 7vw, 5rem); border-radius: 1.75rem; background: var(--accent); color: var(--on-accent); }

/* =====================================================================  GIG POSTER */
.t-poster { --radius: 0; --btn-radius: 0; font-size: 0.98rem; }
.t-poster .top { border-bottom: 3px solid var(--ink); }
.t-poster .brand { font-size: 1.7rem; }
.t-poster .tnav a { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; font-weight: 600; }
.t-poster .btn { border-width: 3px; border-color: var(--ink); background: var(--ink); color: var(--bg); text-transform: uppercase; letter-spacing: 0.06em; box-shadow: 4px 4px 0 var(--accent); }
.t-poster .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); background: var(--ink); color: var(--bg); }
.t-poster .tnav .tnav-cta { background: var(--accent); color: var(--on-accent); }
.t-poster .tx-poster { position: relative; display: grid; gap: 1rem; padding: var(--gutter); max-width: 90rem; margin-inline: auto; }
.t-poster .tx-name { font-size: var(--name-size); line-height: 0.82; letter-spacing: -0.01em; }
.t-poster .tx-duo { background: var(--accent); aspect-ratio: 4 / 3; overflow: hidden; border: 3px solid var(--ink); }
.t-poster .tx-duo .tx-photo { filter: grayscale(1) contrast(1.5) brightness(1.05); mix-blend-mode: multiply; }
.t-poster .tx-tagline { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--dwd); text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1; }
.t-poster .tx-dates { border-top: 3px solid var(--ink); }
.t-poster .tx-dates a { display: flex; gap: 1rem; padding: 0.55rem 0; border-bottom: 3px solid var(--ink); font-weight: 600; font-size: 1.05rem; white-space: nowrap; text-decoration: none; text-transform: uppercase; }
.t-poster .tx-dates a:hover { background: var(--ink); color: var(--bg); }
.t-poster .tx-dates b { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--dwd); font-size: 1.35rem; min-width: 5.5rem; line-height: 1.1; }
.t-poster .tx-dates s { text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
.t-poster .tx-so { margin-left: auto; color: var(--accent); }
.t-poster .tx-stamp { position: absolute; right: 6%; top: 30%; width: 8.5rem; aspect-ratio: 1; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 400 1.05rem/1 var(--font-display); font-stretch: var(--dwd); text-transform: uppercase; text-decoration: none; rotate: -12deg; box-shadow: 4px 4px 0 var(--ink); transition: rotate 0.3s; }
.t-poster .tx-stamp:hover { rotate: 0deg; }
.t-poster .tx-stamp span { padding: 0.8rem; }
@media (min-width: 60rem) {
  .t-poster .tx-poster { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem 2rem; align-items: start; }
  .t-poster .tx-name { grid-column: 1 / -1; }
  .t-poster .tx-duo { grid-column: 1 / 8; grid-row: 2 / 4; aspect-ratio: 5 / 4; }
  .t-poster .tx-tagline, .t-poster .tx-dates { grid-column: 8 / -1; }
  .t-poster .tx-hero:not(.has-photo) .tx-tagline, .t-poster .tx-hero:not(.has-photo) .tx-dates { grid-column: 1 / -1; }
  .t-poster .tx-stamp { top: 3.5rem; right: calc(var(--gutter) + 2rem); width: 11rem; font-size: 1.4rem; }
}
.t-poster .block { border-top: 3px solid var(--ink); }
.t-poster .h2 { font-size: clamp(3.2rem, 11vw, 8rem); }
.t-poster .shows { border-top: 3px solid var(--ink); }
.t-poster .show { border-bottom: 3px solid var(--ink); }
.t-poster .show-month { color: var(--ink); }
.t-poster .show-day { font-size: clamp(2.8rem, 6vw, 4rem); }
.t-poster .show-venue { text-transform: uppercase; }
.t-poster .show.is-sold-out .show-venue { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 3px; color: var(--ink); }
.t-poster .badge { border: 3px solid var(--accent); color: var(--accent); border-radius: 0; text-transform: uppercase; }
.t-poster :is(.release-cover, .product-card img, .gallery li, .embed) { border: 3px solid var(--ink); }
.t-poster :is(.release-cover, .gallery img) { filter: grayscale(1) contrast(1.25); }
.t-poster .gallery a:hover img { filter: none; }
.t-poster .release .links .btn { box-shadow: none; border-width: 3px; }
.t-poster .post-card { border: 3px solid var(--ink); padding: 1.4rem; background: var(--bg); box-shadow: 6px 6px 0 var(--accent); }
.t-poster .band .h2 { font-size: clamp(3.5rem, 11vw, 8rem); }
.t-poster .band .btn { box-shadow: 4px 4px 0 var(--ink); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.t-poster .signup-row input { border-width: 3px; border-radius: 0; }
.t-poster .foot { border-top: 3px solid var(--ink); }
.t-poster .foot-name { font-size: clamp(3rem, 14vw, 11rem); }

/* =====================================================================  AFTERHOURS */
.t-afterhours { --radius: 0.4rem; }
.t-afterhours .brand { font-size: 1.15rem; }
.t-afterhours :is(.tx-eyebrow, .show-month, .post-date, .release-meta) { letter-spacing: 0.2em; }
.t-afterhours .tx-hero { min-height: min(100svh, 62rem); display: grid; align-content: end; overflow: hidden; isolation: isolate; color: #fff; background: var(--bg); }
.t-afterhours .tx-hero:not(.has-photo) { min-height: 36rem; color: var(--ink); }
.t-afterhours .tx-photo { position: absolute; inset: 0; z-index: -3; filter: saturate(1.3) contrast(1.1) brightness(0.75); }
.t-afterhours .tx-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 15% 85%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); mix-blend-mode: screen; animation: tx-glow 7s ease-in-out infinite alternate; }
@keyframes tx-glow { to { opacity: 0.55; transform: translateX(4%); } }
.t-afterhours .tx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 5%, transparent 55%); }
.t-afterhours .tx-in { padding-block: 9rem 3rem; }
.t-afterhours .tx-eyebrow { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.4rem; }
.t-afterhours .tx-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: tx-pulse 2s infinite; }
@keyframes tx-pulse { 70% { box-shadow: 0 0 0 0.7rem transparent; } }
.t-afterhours .tx-name { font-size: var(--name-size); text-shadow: 0 0 3rem color-mix(in srgb, var(--accent) 45%, transparent); }
.t-afterhours .tx-tagline { margin: 1.2rem 0 2rem; opacity: 0.78; max-width: 30rem; }
.t-afterhours .btn { box-shadow: 0 0 2rem -0.3rem var(--accent); }
.t-afterhours .btn.ghost, .t-afterhours .release .links .btn:not(:first-child) { box-shadow: none; }
.t-afterhours .tx-ticker { border-block: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); overflow: hidden; padding: 0.9rem 0; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.t-afterhours .tx-ticker-in { display: flex; width: max-content; animation: tx-tick 40s linear infinite; }
.t-afterhours .tx-ticker span { padding-inline: 2rem; white-space: nowrap; }
.t-afterhours .tx-ticker b { color: var(--accent); margin-right: 0.5rem; }
@keyframes tx-tick { to { transform: translateX(-50%); } }
.t-afterhours .h2 { font-size: clamp(2.4rem, 7vw, 5.5rem); }
.t-afterhours .show-day { color: var(--accent); }
.t-afterhours .release-cover { box-shadow: 0 0 5rem -1rem color-mix(in srgb, var(--accent) 50%, transparent); }
.t-afterhours .gallery img { filter: saturate(1.2); }
.t-afterhours .post-card { border-top-color: var(--accent); }
.t-afterhours #mailing-list { background: radial-gradient(80% 120% at 0% 100%, color-mix(in srgb, var(--accent) 35%, var(--bg)), var(--bg) 70%); color: var(--ink); border-block: 1px solid var(--line); }
.t-afterhours #mailing-list .btn { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.t-afterhours #mailing-list :focus-visible { outline-color: var(--accent); }

/* =====================================================================  ROOTS */
.t-roots { --radius: 0.3rem; --btn-radius: 0.3rem; }
.t-roots main > section.block:nth-of-type(odd), .t-roots .tx-hero { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.t-roots .brand { font-size: 1.35rem; }
.t-roots .tnav a { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 600; }
.t-roots .tx-hero { min-height: min(92svh, 58rem); display: grid; align-content: end; overflow: hidden; isolation: isolate; color: #FFF6EA; text-align: center; background-color: #2A1D14; }
.t-roots .tx-hero:not(.has-photo) { min-height: 32rem; background-color: var(--accent); color: var(--on-accent); }
.t-roots .tx-photo { position: absolute; inset: 0; z-index: -2; filter: sepia(0.25) saturate(1.1); }
.t-roots .has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,14,6,0.85), rgba(28,14,6,0.25) 55%, rgba(28,14,6,0.1)); }
.t-roots .tx-in { display: grid; justify-items: center; gap: 1.4rem; padding-block: 9rem clamp(3.5rem, 8vw, 6rem); }
.t-roots .tx-badge { display: flex; align-items: center; gap: 1rem; margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.t-roots .tx-badge::before, .t-roots .tx-badge::after { content: ""; width: 3rem; height: 1px; background: currentColor; opacity: 0.7; }
.t-roots .tx-name { margin: 0; text-shadow: 0 0.2rem 2rem rgba(0,0,0,0.35); }
.t-roots .tx-tagline { font-style: italic; max-width: 30rem; opacity: 0.92; }
.t-roots .tx-actions { justify-content: center; margin-top: 0.6rem; }
.t-roots .h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); text-align: center; }
.t-roots .h2::before, .t-roots .h2::after { content: "✦"; font-size: 0.3em; vertical-align: middle; color: var(--accent); margin-inline: 0.8em; }
.t-roots .more { text-align: center; }
.t-roots .shows { border-top: 2px dashed var(--line); max-width: 56rem; margin-inline: auto; }
.t-roots .show { border-bottom: 2px dashed var(--line); }
.t-roots .show-day { color: var(--accent); }
.t-roots .show-venue { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0; text-transform: none; }
.t-roots .gallery li { background: #FFFDF8; padding: 0.5rem 0.5rem 1.6rem; border-radius: 2px; box-shadow: 0 0.6rem 1.4rem -0.6rem rgba(40,20,5,0.4); transition: rotate 0.3s, transform 0.3s; }
.t-roots .gallery li:nth-child(odd) { rotate: -1.2deg; } .t-roots .gallery li:nth-child(even) { rotate: 1.4deg; }
.t-roots .gallery li:hover { rotate: 0deg; transform: scale(1.02); z-index: 1; }
.t-roots .gallery a:hover img { transform: none; }
.t-roots .gallery img { filter: sepia(0.2); }
@media (min-width: 48rem) { .t-roots #photos .gallery { gap: 1.4rem; } }
.t-roots .release-cover { border: 0.5rem solid #FFFDF8; rotate: -1.5deg; }
.t-roots #mailing-list .signup-box { justify-items: center; text-align: center; grid-template-columns: 1fr; }
.t-roots #mailing-list .h2::before, .t-roots #mailing-list .h2::after { color: inherit; }

/* =====================================================================  SALON */
.t-salon { --radius: 0; --btn-radius: 0; }
.t-salon .top { border-bottom: 1px solid var(--line); }
@media (min-width: 56rem) {
  .t-salon .top-in { flex-direction: column; gap: 0.9rem; padding-block: 1.6rem 1.1rem; }
  .t-salon .tnav { gap: 0.4rem 2.4rem; justify-content: center; }
}
.t-salon .brand { font-size: 1.7rem; letter-spacing: 0.01em; }
.t-salon .tnav a { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.t-salon .btn, .t-salon .tnav .tnav-cta { background: transparent; color: var(--ink); border: 1px solid var(--ink); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 500; padding: 1.1em 2.2em; }
.t-salon .tnav .tnav-cta { padding: 0.8em 1.6em; }
.t-salon .btn:hover { background: var(--ink); color: var(--bg); }
.t-salon .tx-head { text-align: center; display: grid; justify-items: center; gap: 1.2rem; padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem); }
.t-salon .tx-name { font-size: var(--name-size); margin: 0; }
.t-salon .tx-tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--muted); max-width: 32rem; }
.t-salon .tx-fig { margin: 0 auto; }
.t-salon .tx-fig .tx-photo { aspect-ratio: 4 / 3; }
@media (min-width: 48rem) { .t-salon .tx-fig .tx-photo { aspect-ratio: 21 / 9; } }
.t-salon .tx-program { display: grid; justify-items: center; text-align: center; gap: 0.5rem; padding-block: clamp(3rem, 7vw, 5rem); }
.t-salon .tx-program p { margin: 0; }
.t-salon .tx-kicker { color: var(--accent); letter-spacing: 0.3em; }
.t-salon .tx-when { font-size: clamp(2rem, 4.5vw, 3.2rem); text-transform: none; }
.t-salon .tx-where { font-size: 1.1rem; }
.t-salon .tx-note { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.t-salon .tx-program .btn { margin-top: 1.4rem; }
.t-salon .h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); text-align: center; }
.t-salon .more { text-align: center; }
.t-salon .shows { max-width: 58rem; margin-inline: auto; }
.t-salon .show-day { font-weight: 300; }
.t-salon .show-venue { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: 0; }
.t-salon .show-notes { font-style: italic; }
.t-salon .release-title { text-transform: none; }
.t-salon #mailing-list { background: var(--alt); color: var(--ink); }
.t-salon #mailing-list .signup-box { justify-items: center; text-align: center; grid-template-columns: 1fr; }
.t-salon #mailing-list .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.t-salon .signup-row input { border-radius: 0; border-width: 1px; border-color: var(--ink); }
.t-salon .foot-in { justify-items: center; text-align: center; }
.t-salon .social { justify-content: center; }

/* The signup heading is a sentence the band writes (often long): keep it a size that reads as one thought. */
.tpl #mailing-list .h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; }
.t-poster #mailing-list .h2, .t-headliner #mailing-list .h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 0.9; }
.t-roots #mailing-list .h2::before, .t-roots #mailing-list .h2::after { content: none; }
