/* Glue, after dark: cream ink on smoke-black, after the Fall Tour poster. */
:root {
    color-scheme: dark;
    --black: #0f0e0d;
    --coal: #1a1816;
    --bone: #e9e3d3;
    --muted: #9b9486;
    --line: #e9e3d340;
    --accent: #f26a21;
    --tape: #d9cfb6c4;
    --display: 'IM Fell English', Georgia, serif;
    --type: 'Special Elite', 'Courier New', monospace;
    --scratch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 C40 3 70 7 110 5 S180 2 220 5 S300 8 340 4 S390 5 400 5' fill='none' stroke='%23e9e3d3' stroke-opacity='.45' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M12 6 L120 6.6 M190 3.8 L260 4.4 M300 6.2 L380 5' stroke='%23e9e3d3' stroke-opacity='.2' stroke-width='.8'/%3E%3C/svg%3E");
}
@font-face {
    font-family: 'Austin';
    src: url('fonts/Austin-Regular.ttf') format('truetype');
    font-display: swap;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; background: var(--black); }
body {
    background:
        linear-gradient(180deg, #0f0e0d 0, #0f0e0d00 280px, #0f0e0d00 650px, #0f0e0d 1150px),
        linear-gradient(#0f0e0d5c, #0f0e0d5c),
        url('zine/smoke.webp') center top / 1600px auto no-repeat,
        var(--black);
    color: var(--bone);
    font-family: var(--display);
    font-size: 1.12rem;
    padding: 0 clamp(1rem, 4vw, 3rem);
    line-height: 1.55;
    overflow-x: hidden;
}
/* Photocopy grain and a dark vignette over everything. */
body::before, body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 10; }
body::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .09;
}
body::after { background: radial-gradient(ellipse at 50% 40%, transparent 55%, #000a 100%); }
.page { max-width: 1180px; margin: auto; position: relative; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px dashed var(--accent); outline-offset: 5px; }
img { max-width: 100%; }
strong { font-weight: 400; color: #fff8e8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 20; padding: .75rem 1rem; color: var(--black); background: var(--bone); }
.skip-link:focus { top: 1rem; }
.deco { display: block; height: auto; pointer-events: none; user-select: none; }

/* Nav */
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0 1.2rem; background: var(--scratch) bottom / 100% 8px no-repeat; font-family: var(--type); font-size: .85rem; text-transform: lowercase; }
.site-nav a { text-decoration: none; }
.site-nav div { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.site-nav div a:hover { text-decoration: line-through; text-decoration-color: var(--accent); }
.nav-brand { font-family: var(--display); font-size: 1.2rem; text-transform: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0 2.5rem; }
.eyebrow, .section-note, .hero-genres { font-family: var(--type); color: var(--muted); font-size: .85rem; letter-spacing: .04em; text-transform: lowercase; }
.brand-logo { display: block; width: min(100%, 520px); margin: .6rem 0 .4rem -.6rem; }
.brand-logo img { display: block; width: 100%; height: auto; }
.tour-title { margin: .2rem 0 0; line-height: 0; }
.tour-title img, .ep-title img { display: block; width: min(100%, 440px); height: auto; }
.tour-subtitle { font-family: 'Austin', var(--display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: var(--accent); line-height: 1.1; margin: .7rem 0 1.1rem; }
.tour-subtitle span { white-space: nowrap; }
.tagline { max-width: 34rem; font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-style: italic; line-height: 1.45; }
.hero-genres { margin-top: .9rem; }

/* Buttons: plain, slightly rough-cut rectangles */
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.buttons a, .ticket-placeholder, .ticket-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px;
    padding: .7rem 1.3rem; border: 1.5px solid var(--bone); background: transparent; color: var(--bone);
    font-family: var(--type); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-decoration: none;
    transition: background .12s, color .12s, border-color .12s;
}
.buttons a:hover, .ticket-button:hover:not(:disabled) { background: var(--bone); border-color: var(--bone); color: var(--black); }
.buttons .primary-cta, .ticket-button { background: var(--accent); border-color: var(--accent); color: var(--black); }
.hero-show-link {
    display: inline-flex; flex-direction: column; gap: .15rem; margin-top: 1.6rem; padding: .8rem 1.2rem;
    border-left: 3px solid var(--accent); background: #e9e3d30f; text-decoration: none; transition: background .12s;
}
.hero-show-link > span:first-child { font-family: var(--display); font-size: 1.3rem; }
.hero-show-link:hover { color: var(--bone); background: #e9e3d31f; }
.hero-show-link .show-summary { font-family: var(--type); font-size: .82rem; color: var(--muted); }

/* Taped-up poster */
.hero-media { position: relative; margin: 0; padding: .5rem; }
.hero-poster { position: relative; display: block; transform: rotate(1.5deg); box-shadow: 0 18px 40px #000c; }
.hero-poster img { display: block; width: 100%; height: auto; }
.hero-poster::before, .hero-poster::after { content: ''; position: absolute; z-index: 2; width: 110px; height: 30px; background: var(--tape); clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%); }
.hero-poster::before { top: -12px; left: -28px; transform: rotate(-38deg); }
.hero-poster::after { bottom: -10px; right: -26px; transform: rotate(-35deg); }
.hero-sticker { position: absolute; width: 24%; left: -12%; bottom: -5%; z-index: 3; transform: rotate(-12deg); opacity: .9; }
.poster-caption { margin-top: 2rem; font-family: var(--type); color: var(--muted); font-size: .82rem; text-align: right; text-transform: lowercase; }

/* Chain divider from the cover border */
.chain { height: 30px; margin: 1rem 0 0; background: url('zine/cream-chain.png') center / auto 30px repeat-x; opacity: .7; }

/* Sections */
.section { position: relative; margin: clamp(3rem, 7vw, 5rem) 0 0; padding-top: 2rem; background: var(--scratch) top / 100% 8px no-repeat; }
.chain + .section, .ep-section + .section { background: none; padding-top: 0; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading h2 { margin: 0; }
.section p { max-width: 46rem; margin-bottom: .8rem; }

/* Tour dates */
#tour .section-heading { position: relative; }
.tour-falcon { position: absolute; right: 0; bottom: 100%; width: clamp(120px, 18vw, 200px); transform: scaleX(-1) rotate(-3deg); opacity: .85; }
.tour-list { border-top: 1px solid var(--line); }
.tour-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, .95fr) auto; gap: 1.5rem; align-items: center; padding: 1.4rem .8rem; border-bottom: 1px dashed var(--line); }
.tour-row time { font-family: var(--display); font-size: 2.8rem; line-height: .95; color: var(--accent); }
.tour-row time span { display: block; font-family: var(--type); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }
.show-place h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.show-place p { margin: .3rem 0 0; font-family: var(--type); color: var(--muted); font-size: .9rem; }
.tour-row .show-note { margin: 0; font-family: var(--type); font-size: .88rem; }
.show-link { font-family: var(--type); font-size: .85rem; letter-spacing: .04em; text-transform: lowercase; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--accent); }
.featured-show { background: linear-gradient(90deg, #f26a211f, #f26a2105 70%); border-left: 3px solid var(--accent); }
.show-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.section .row-ticket-status { max-width: 16rem; margin: 0; font-family: var(--type); font-size: .75rem; line-height: 1.4; color: var(--muted); text-align: right; }
.section .poster-update { font-family: var(--type); color: var(--muted); font-size: .8rem; margin: 1.1rem 0 0; }

/* EP: framed in the cover's chain border */
.ep-section { padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.8rem, 5vw, 3.6rem); background:
    url('zine/cream-chain.png') top left / auto 24px repeat-x,
    url('zine/cream-chain.png') bottom left / auto 24px repeat-x,
    url('zine/cream-chain-v.png') top left / 24px auto repeat-y,
    url('zine/cream-chain-v.png') top right / 24px auto repeat-y,
    #0f0e0dd9; }
.release-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.release-art { position: relative; display: block; transform: rotate(-1.5deg); margin-top: .5rem; box-shadow: 0 16px 36px #000c; }
.release-art img { display: block; width: 100%; height: auto; filter: brightness(.88) sepia(.12); }
.ep-copy .ep-title { margin: .4rem 0 1rem; }
.ep-copy .ep-title img { width: min(100%, 380px); }
.ep-copy .bio-short { font-size: 1.35rem; font-style: italic; }
.ep-copy .buttons { margin-top: 1.2rem; }
.ep-player { display: block; width: 100%; max-width: 660px; border: 0; margin-top: 1.8rem; }

/* Show posters */
.tour-posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.tour-posters details { align-self: start; scroll-margin-top: 2rem; border: 1px solid var(--line); background: #e9e3d308; }
.tour-posters summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .9rem 1rem; font-family: var(--display); font-size: 1.25rem; cursor: pointer; list-style: none; }
.tour-posters summary::-webkit-details-marker { display: none; }
.tour-posters summary::after { content: 'open'; font-family: var(--type); font-size: .78rem; letter-spacing: .06em; color: var(--accent); }
.tour-posters details[open] summary::after { content: 'close'; }
.tour-posters img { display: block; width: 100%; height: auto; }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: .6rem; }
.video-container { position: relative; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 14px 30px #000b; }
.video-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Bio + highlights */
.bio-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.bio-eyes { width: 100%; max-width: 340px; margin: auto; opacity: .85; }
#bio p, #booking p { font-size: 1.15rem; line-height: 1.65; }
#bio .bio-short { font-size: clamp(1.4rem, 2.3vw, 1.75rem); line-height: 1.4; font-style: italic; }
.highlights-list { list-style: none; display: grid; gap: 1rem; max-width: 50rem; }
.highlights-list li { position: relative; padding: .1rem 0 .1rem 3rem; font-size: 1.15rem; }
.highlights-list li::before { content: ''; position: absolute; left: 0; top: .15rem; width: 2rem; height: 1.8rem; background: url('zine/cream-star.webp') center / contain no-repeat; transform: rotate(-8deg); opacity: .85; }
.highlights-list li:nth-child(2)::before { transform: rotate(14deg) scale(.9); }

/* Stage plot */
.tech-grid { display: flex; align-items: center; gap: 2rem; }
.tech-swords { width: 66px; flex: none; transform: rotate(-8deg); opacity: .85; }
.tech-grid .buttons { margin-top: 0; }

/* Photo galleries: photocopied prints taped to a dark wall */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; margin-top: 1.6rem; }
.gallery picture, .gallery a { display: block; }
.gallery > * { position: relative; padding: .5rem; background: #d8d1c0; box-shadow: 0 12px 26px #000b; transition: transform .2s; }
.gallery > *:nth-child(3n+1) { transform: rotate(-1.2deg); }
.gallery > *:nth-child(3n+2) { transform: rotate(.9deg); }
.gallery > *:nth-child(3n) { transform: rotate(-.4deg); }
.gallery > *:hover { transform: rotate(0); }
.gallery > *::before { content: ''; position: absolute; z-index: 2; top: -11px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: var(--tape); clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%); transform: rotate(-3deg); }
.gallery img { display: block; width: 100%; height: 220px; object-fit: cover; filter: grayscale(1) contrast(1.3) brightness(.95); }
#photos .gallery > *, #posters .gallery > * { justify-self: center; width: fit-content; max-width: 100%; }
#photos .gallery img { width: auto; max-width: 100%; height: auto; max-height: 480px; }
#posters .gallery img { width: auto; max-width: 100%; height: 320px; object-fit: contain; filter: none; }

/* Footer: the houses drawing in cream ink over black */
footer { position: relative; margin: clamp(4rem, 8vw, 6rem) calc(50% - 50vw) 0; text-align: center; background: linear-gradient(transparent 0, #000 70%); }
.footer-houses { width: min(100% - 2rem, 680px); margin: 0 auto; opacity: .8; }
.footer-body { padding: 2rem clamp(1rem, 4vw, 3rem) calc(2.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-family: var(--type); font-size: .9rem; color: var(--muted); }
.footer-body a { color: var(--bone); }
.footer-contact { margin-top: 1.1rem; overflow-wrap: anywhere; }
.socials { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); font-size: 1.2rem; text-decoration: none; transition: border-color .12s, color .12s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* Hamilton landing */
.landing-title { font-family: var(--display); font-weight: 400; font-size: clamp(4.2rem, 10vw, 7.8rem); line-height: .9; letter-spacing: -.03em; margin: .5rem 0 .3rem; text-shadow: 0 2px 18px #000a; }
.landing-title span { color: var(--accent); }
.show-date { font-family: var(--type); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.7; margin: 1.2rem 0 1rem; }
.show-date time { color: #fff8e8; }
.ticket-callout { margin-top: 1.7rem; padding: 1.3rem 0 1.1rem; background: var(--scratch) top / 100% 8px no-repeat, var(--scratch) bottom / 100% 8px no-repeat; }
.ticket-callout .buttons { margin: .7rem 0; }
.ticket-placeholder, .ticket-button:disabled { background: transparent; color: var(--muted); border: 1.5px dashed var(--muted); cursor: not-allowed; }
.ticket-callout > p:last-child { font-family: var(--type); color: var(--muted); font-size: .85rem; }
@media (max-width: 1000px) {
    .tour-row { grid-template-columns: 76px minmax(0, 1fr) auto; gap: .4rem 1rem; }
    .tour-row .show-note { grid-column: 2; grid-row: 2; }
    .tour-row .show-link, .tour-row .show-actions { grid-column: 3; grid-row: 1 / 3; }
    .tour-row time { grid-row: 1 / 3; }
}
@media (max-width: 760px) {
    body { font-size: 1.06rem; background-size: auto, auto, 1100px auto, auto; }
    .site-nav { align-items: start; font-size: .8rem; padding: 1.1rem 0 1rem; }
    .site-nav div { flex-wrap: wrap; justify-content: end; gap: .5rem 1rem; }
    .nav-brand { white-space: nowrap; }
    .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 1.6rem; }
    .brand-logo { max-width: 400px; }
    .hero-media { max-width: 440px; width: 100%; margin: auto; }
    .hero-sticker { width: 24%; left: -3%; }
    .release-grid, .bio-grid { grid-template-columns: 1fr; }
    .release-art { max-width: 340px; width: 100%; }
    .bio-eyes { max-width: 260px; }
    .tour-posters, .video-grid { grid-template-columns: 1fr; }
    .section-heading { display: block; }
    .section-heading .section-note { margin-top: .6rem; }
    .tour-falcon { width: 110px; bottom: calc(100% - 1rem); }
    .tour-row { grid-template-columns: 62px minmax(0, 1fr); gap: .3rem 1rem; padding: 1.2rem .4rem; }
    .tour-row .show-note { grid-column: 2; grid-row: 2; }
    .tour-row .show-link, .tour-row .show-actions { grid-column: 2; grid-row: 3; margin-top: .5rem; justify-self: start; }
    .show-actions { align-items: flex-start; }
    .section .row-ticket-status { text-align: left; }
    .tour-row time { align-self: start; grid-row: 1 / 4; font-size: 2.3rem; }
    .featured-show { padding-left: .8rem; }
    .ep-section { padding: 2.4rem 2.2rem; background-size: auto 18px, auto 18px, 18px auto, 18px auto, auto; }
    .tech-grid { gap: 1.2rem; }
    .tech-swords { width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* Hamilton show page */
.hamilton-page .hero { align-items: start; }
.show-admission { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; font-family: var(--type); font-size: .95rem; }
.age-badge { display: inline-block; padding: .2rem .55rem; border: 1.5px solid var(--accent); color: var(--accent); font-family: var(--type); font-weight: 400; font-size: 1.05rem; letter-spacing: .04em; transform: rotate(-4deg); }
.show-lineup { margin: 2rem 0 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.lineup-headliner { margin: .2rem 0 .8rem -.4rem; line-height: 0; }
.lineup-headliner img { display: block; width: min(100%, 360px); height: auto; }
.lineup-support { font-family: var(--type); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.8; }
.hamilton-page .tagline { font-size: 1.15rem; color: var(--muted); }
.ticket-callout .ticket-status { font-family: var(--type); color: var(--muted); font-size: .85rem; }
.ticket-button { cursor: pointer; }
.ticket-button[aria-busy="true"] { cursor: wait; }
.hamilton-page .ticket-callout .ticket-button { width: 100%; }
.show-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.show-details-grid > div { padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); }
.show-details-grid dt { font-family: var(--type); color: var(--accent); font-size: .85rem; text-transform: lowercase; margin-bottom: .4rem; }
.show-details-grid dd { font-family: var(--display); font-size: 1.3rem; line-height: 1.35; }
.show-details-grid dd span { font-family: var(--type); font-size: .85rem; color: var(--muted); }
.mobile-ticket-bar { display: none; }
@media (max-width: 760px) {
    .hamilton-page { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
    .show-details-grid { grid-template-columns: 1fr; gap: .4rem; }
    .mobile-ticket-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem .75rem; position: fixed; inset: auto 0 0; z-index: 11; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: var(--coal); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px #000a; }
    .mobile-ticket-bar > p:first-child { font-family: var(--display); font-size: 1.1rem; line-height: 1.3; }
    .mobile-ticket-bar span { display: block; font-family: var(--type); color: var(--muted); font-size: .78rem; }
    .mobile-ticket-bar .ticket-button { padding: .7rem 1rem; font-size: .85rem; }
    .mobile-ticket-status { grid-column: 1 / -1; font-family: var(--type); font-size: .75rem; color: var(--muted); line-height: 1.5; }
    .hamilton-page footer { margin-bottom: calc(-6rem - env(safe-area-inset-bottom)); }
    .hamilton-page .footer-body { padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
}
