/* the foxfire affair: site styles. Fonts and colors come from the original site. */
:root {
	--ff-orange: #ff6600;
	--ff-orange-dark: #e05400;
	--ff-dark: #212529;
	--ff-yellow: #f1e911;
	--ff-light: #f6f4f1;
	--ff-line: #e4e1dc;
	--ff-script: 'Berkshire Swash', cursive;
	--ff-sans: 'Montserrat', Arial, sans-serif;
	/* Size of the slanted edges between sections */
	--ff-slant: 26px;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
/* Stop anything (such as the closed phone menu) from making the page scroll sideways.
   Newer browsers get "clip" on both, which keeps the sticky header working; older ones get "hidden" on html only. */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body { font-family: var(--ff-sans); color: var(--ff-dark); background: #fff; font-size: 1rem; }
a { color: var(--ff-orange); }
a:hover { color: var(--ff-orange-dark); }
::selection { color: #fff; background: var(--ff-dark); }
.script { font-family: var(--ff-script); text-transform: lowercase; font-weight: 400; }
.dot { color: var(--ff-orange); }
.section { padding: 6rem 0; }
.section-title { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }
.section-intro { max-width: 34rem; margin: 0 auto 3.5rem; color: #555; }

/* Buttons: solid orange with an arrow, dark, and outline */
.btn-ff {
	display: inline-flex; align-items: center; gap: .9rem;
	font-weight: 800; font-size: .92rem; text-decoration: none;
	padding: 1rem 1.6rem; border: 2px solid transparent; border-radius: 0;
	transition: background .2s, color .2s, gap .2s;
}
.btn-ff:hover { gap: 1.25rem; }
.btn-ff-orange { background: var(--ff-orange); color: #fff; }
.btn-ff-orange:hover { background: var(--ff-orange-dark); color: #fff; }
.btn-ff-dark { background: var(--ff-dark); color: #fff; }
.btn-ff-dark:hover { background: #000; color: #fff; }
.btn-ff-outline { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-ff-outline:hover { background: #fff; color: var(--ff-dark); }

/* Header: dark bar with a slanted bottom edge. The hero tucks up under it. */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--ff-dark); color: #fff; display: flex; align-items: stretch; height: 88px; border-bottom: 1px solid rgba(255, 255, 255, .08); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ff-slant)), 0 100%); }
.header-square { width: 88px; flex-shrink: 0; background: var(--ff-orange); color: #fff; display: grid; place-items: center; font-size: 1.35rem; text-decoration: none; }
.header-square:hover { background: var(--ff-orange-dark); color: #fff; }
/* Text row: sits a little high (centred on the bar's average height) and tilts halfway between level and the bar's slant.
   Browsers without atan2() simply show it level. */
.header-row { flex: 1; min-width: 0; display: flex; align-items: center; padding-bottom: calc(var(--ff-slant) / 2); rotate: atan2(calc(var(--ff-slant) / -2), 100vw); }
.brand { font-family: var(--ff-script); text-transform: lowercase; font-size: 1.85rem; color: #fff; text-decoration: none; display: flex; align-items: center; padding: 0 1.4rem; white-space: nowrap; }
.brand:hover { color: #fff; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2.2rem; padding-right: 2.4rem; }
.main-nav a.link { color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.main-nav a.link:hover, .main-nav a.link.active { color: var(--ff-orange); }
.menu-btn { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; padding: 0 1.3rem; }
.mobile-menu { background: var(--ff-dark); color: #fff; }

/* Announcement bar: the next show */
.announce { position: relative; background: var(--ff-yellow); color: var(--ff-dark); font-size: .85rem; font-weight: 700; text-align: center; padding: .7rem 3rem; }
.announce a { color: var(--ff-dark); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.announce a:hover { color: var(--ff-orange-dark); }
.announce .sep { margin: 0 .25rem; opacity: .6; }
.announce button { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--ff-dark); font-size: 1rem; padding: .25rem .4rem; }

/* Hero: grayscale live photos filling the screen below the header */
.hero { background: var(--ff-yellow); position: relative; margin-top: calc(-1 * var(--ff-slant)); height: calc(100vh - var(--ff-top, 108px)); height: calc(100svh - var(--ff-top, 108px)); min-height: 437px; }
/* Crooked bottom edge: lower on the left */
.hero-media { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - max(5vw, 30px)), 0 100%); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; filter: grayscale(1); transform: scale(1.1); }
.hero-media img.on { opacity: 1; }
/* Sticker logo: starts centred on the photos (desktop), then settles on their bottom edge as the page scrolls */
.sticker {
	position: absolute; z-index: 3; left: 50%; bottom: 0; width: 420px; height: auto;
	transform: translate(-50%, 25%) rotate(-4deg);
	filter: drop-shadow(8px 8px 15px rgba(0, 0, 0, .38));
}
@supports (translate: 0) {
	.sticker { transform: none; translate: -50% var(--sticker-y, 25%); rotate: -4deg; transition: rotate .3s, scale .3s; }
	.sticker:hover { rotate: 2deg; scale: 1.04; }
}
.hero-watch { position: absolute; z-index: 2; right: 3rem; bottom: 2.5rem; display: flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; font-weight: 800; font-size: .9rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hero-watch span { width: 58px; height: 58px; border-radius: 50%; background: var(--ff-orange); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 0 0 8px rgba(255, 102, 0, .3); transition: box-shadow .25s; text-shadow: none; }
.hero-watch:hover { color: #fff; }
.hero-watch:hover span { box-shadow: 0 0 0 14px rgba(255, 102, 0, .22); }
.hero-dots { position: absolute; z-index: 2; left: 3rem; bottom: 2.5rem; display: flex; gap: .5rem; }
.hero-dots button { width: 28px; height: 4px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; }
.hero-dots button.on { background: var(--ff-orange); }

/* Intro: yellow band below the sticker; bottom edge lower on the right */
.intro { background: var(--ff-yellow); color: var(--ff-dark); text-align: center; padding: 175px 0 calc(5rem + var(--ff-slant)); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--ff-slant))); }
.intro h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; margin-bottom: 1.3rem; }
.intro p { color: rgba(33, 37, 41, .85); max-width: 34rem; margin: 0 auto 2.2rem; line-height: 1.75; }
.intro .btn-ff-outline { border-color: var(--ff-dark); color: var(--ff-dark); }
.intro .btn-ff-outline:hover { background: var(--ff-dark); color: #fff; }

/* What we play: four cards that overlap the top of the bio band */
.play { position: relative; z-index: 2; padding-bottom: 0; }
.highlight { border: 1px solid var(--ff-line); padding: 2.4rem 1.6rem 1.8rem; text-align: center; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; background: #fff; }
.highlight:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(33, 37, 41, .1); }
.highlight i { font-size: 1.9rem; color: var(--ff-dark); }
.highlight .rule { width: 34px; height: 2px; background: var(--ff-dark); margin: 1.1rem auto; }
.highlight h3 { font-weight: 800; font-size: 1.45rem; line-height: 1.15; margin-bottom: .3rem; }
.highlight .under { width: 34px; height: 3px; background: var(--ff-orange); margin: .4rem auto 1.1rem; }
.highlight p { color: #555; font-size: .9rem; flex-grow: 1; }

/* Bio: orange band tucked under the cards. Top edge lower on the left, bottom edge lower on the right. */
.bio-band { --overlap: 140px; position: relative; z-index: 1; margin-top: calc(-1 * var(--overlap)); background: var(--ff-orange); color: #fff; text-align: center; padding: calc(var(--overlap) + 26px + 4rem) 0 calc(5rem + var(--ff-slant)); clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 calc(100% - var(--ff-slant))); }
.bio-band h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; margin-bottom: 1.3rem; }
.bio-band p { color: #fff; max-width: 40rem; margin: 0 auto 1.2rem; line-height: 1.75; }

/* Shows: dark band (tucked under the bio's slant), a view switch, then cards or a list */
.shows-band { position: relative; color: #fff; background: var(--ff-dark); margin-top: calc(-1 * var(--ff-slant)); padding: calc(5rem + var(--ff-slant)) 0 calc(9rem + var(--ff-slant)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ff-slant)), 0 100%); }
.shows-band .section-intro { color: rgba(255, 255, 255, .8); margin-bottom: 1.8rem; }
.view-switch { display: inline-flex; align-items: center; gap: .8rem; font-size: .85rem; font-weight: 700; }
.view-switch .track { width: 52px; height: 26px; background: #fff; position: relative; cursor: pointer; border: 0; padding: 0; }
.view-switch .track::after { content: ''; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; background: var(--ff-orange); transition: left .2s; }
.view-switch.list .track::after { left: 30px; }
.view-switch span { opacity: .55; transition: opacity .2s; }
.view-switch:not(.list) .opt-cards, .view-switch.list .opt-list { opacity: 1; }
.shows-body { margin-top: calc(-6rem - var(--ff-slant)); position: relative; z-index: 2; }
.show-card { background: #fff; border: 1px solid var(--ff-line); text-align: center; padding: 2.4rem 1.6rem 2rem; height: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.show-card.next { box-shadow: 0 24px 50px rgba(33, 37, 41, .18); transform: translateY(-14px); }
.show-card .ribbon { position: absolute; top: 0; right: 0; width: 92px; height: 92px; background: var(--ff-orange); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.show-card .ribbon span { position: absolute; top: 20px; right: -2px; transform: rotate(45deg); font-size: .8rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; width: 70px; text-align: center; }
.show-card .cal { width: 74px; margin: 0 auto 1.2rem; border: 2px solid var(--ff-dark); }
.show-card .cal b { display: block; background: var(--ff-dark); color: #fff; font-size: .72rem; letter-spacing: .1em; padding: .2rem 0; }
.show-card .cal strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1.2; }
.show-card .meta { font-size: .8rem; color: #777; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.show-card h3 { font-weight: 800; font-size: 1.4rem; margin: .6rem 0 .25rem; }
.show-card .city { color: #555; margin-bottom: 1.5rem; flex-grow: 1; }
.show-card .btn-ff { justify-content: center; }
.show-list { background: #fff; border: 1px solid var(--ff-line); }
.show-row { display: grid; grid-template-columns: 9rem 10.5rem 1fr 14rem auto; gap: 1rem; align-items: center; padding: 1.25rem 1.6rem; font-size: 1.15rem; border-bottom: 1px solid var(--ff-line); transition: background .2s; }
.show-row:last-child { border-bottom: 0; }
.show-row:hover { background: var(--ff-light); }
.show-row .date { font-weight: 800; }
.show-row .time { color: #666; font-size: 1.05rem; }
.show-row .venue { font-weight: 700; font-size: 1.25rem; }
.show-row .venue a { color: var(--ff-dark); text-decoration: none; }
.show-row .venue a:hover { color: var(--ff-orange); }
.show-row .city a { color: #555; text-decoration: none; }
.show-row .city a:hover { color: var(--ff-orange); }
.show-row .map { width: 2.8rem; height: 2.8rem; background: var(--ff-dark); color: #fff; display: grid; place-items: center; text-decoration: none; }
.show-row .map:hover { background: var(--ff-orange); color: #fff; }
.show-row.tba .venue, .show-row.tba .city { color: #aaa; }
.show-row > span.map-none { width: 2.8rem; height: 2.8rem; }
.shows-empty { background: #fff; border: 1px solid var(--ff-line); text-align: center; padding: 3rem 1.6rem; font-size: 1.1rem; }

/* Kind words: one centred quote at a time in a bordered box with an orange edge */
.quote-card { text-align: center; border: 1px solid var(--ff-line); position: relative; background: #fff; }
.quote-card::before { content: ''; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; background: var(--ff-orange); }
.quote-text { display: flex; flex-direction: column; align-items: center; padding: 2.6rem 3rem 2.4rem; }
.quote-text .qmark { font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--ff-orange); margin-top: 1.4rem; }
.quote-text blockquote { font-size: 1.45rem; font-weight: 500; line-height: 1.6; margin: 1.2rem 0 1.4rem; max-width: 42rem; display: flex; align-items: center; justify-content: center; }
.quote-text .who::before { content: ''; display: block; width: 40px; height: 3px; background: var(--ff-orange); margin: 0 auto .9rem; }
.quote-text .who strong { display: block; font-size: 1.1rem; }
.quote-text .who small { color: #777; display: block; min-height: 1.5em; }
.quote-nav { display: flex; gap: .6rem; justify-content: center; margin-top: 1.4rem; }
.quote-nav button { width: 50px; height: 50px; border: 1px solid var(--ff-line); background: #fff; color: var(--ff-dark); }
.quote-nav button:hover { background: var(--ff-dark); color: #fff; }

/* Media: yellow band, top edge lower on the right, bottom edge lower on the left */
.media-band { background: var(--ff-yellow); padding: calc(5rem + var(--ff-slant)) 0; clip-path: polygon(0 0, 100% var(--ff-slant), 100% calc(100% - var(--ff-slant)), 0 100%); }
.media-band .section-intro { color: rgba(33, 37, 41, .85); }
.media-card { display: grid; grid-template-columns: 38% 1fr; border: 1px solid var(--ff-line); height: 100%; text-decoration: none; color: var(--ff-dark); background: #fff; transition: box-shadow .25s; }
.media-card:hover { box-shadow: 0 18px 40px rgba(33, 37, 41, .1); color: var(--ff-dark); }
.media-card .thumb { position: relative; overflow: hidden; min-height: 170px; }
.media-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.media-card:hover .thumb img { transform: scale(1.06); }
.media-card .thumb i { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ff-orange); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.media-card .info { padding: 1.4rem 1.5rem; }
.media-card .tag { font-size: .75rem; color: #777; font-weight: 700; }
.media-card h3 { font-weight: 800; font-size: 1.15rem; margin: .4rem 0 .5rem; }
.media-card p { font-size: .88rem; color: #555; margin: 0; }

/* Venues */
.venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ff-line); border: 1px solid var(--ff-line); }
.venues span { background: #fff; padding: 1.8rem 1rem; text-align: center; font-weight: 800; font-size: .95rem; color: #888; transition: color .2s; }
.venues span:hover { color: var(--ff-orange); }

/* FAQ */
.faq { max-width: 52rem; margin: 0 auto; }
.faq .accordion-item { border: 0; border-top: 1px solid var(--ff-line); border-radius: 0; }
.faq .accordion-item:last-child { border-bottom: 1px solid var(--ff-line); }
.faq .accordion-button { font-weight: 700; color: var(--ff-dark); background: #fff; padding: 1.3rem .2rem; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--ff-orange); }
.faq .accordion-body { padding: 0 .2rem 1.4rem; color: #555; line-height: 1.75; }

/* Signup: orange band, top edge lower on the left, bottom edge lower on the right */
.signup { background: var(--ff-orange); color: #fff; padding: calc(3.5rem + var(--ff-slant)) 0; clip-path: polygon(0 var(--ff-slant), 100% 0, 100% 100%, 0 calc(100% - var(--ff-slant))); }
.signup h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 0; }
.signup input[type="email"] { border: 0; border-radius: 0; padding: 1rem 1.2rem; width: 100%; font-weight: 500; }
.signup input[type="email"]:focus { outline: 3px solid var(--ff-dark); }
.signup .bot-field { position: absolute; left: -5000px; }

/* Contact */
.contact-info a { display: flex; align-items: center; gap: 1rem; color: var(--ff-dark); text-decoration: none; font-weight: 700; margin-bottom: 1.2rem; }
.contact-info a i { width: 2.8rem; height: 2.8rem; border: 2px solid var(--ff-dark); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.contact-info a:hover i { background: var(--ff-orange); border-color: var(--ff-orange); color: #fff; }
.ff-input { width: 100%; border: 1px solid var(--ff-line); border-radius: 0; padding: .95rem 1.1rem; margin-bottom: 1rem; background: var(--ff-light); font-weight: 500; }
.ff-input:focus { outline: 0; border-color: var(--ff-orange); background: #fff; }
.g-recaptcha { margin-bottom: 1.4rem; }
.form-errors { border-left: 6px solid #c00; background: #fff4f2; padding: 1.1rem 1.4rem; margin-bottom: 1.6rem; }
.form-errors h3 { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; color: #a00; }
.form-errors ul { margin: 0; padding-left: 1.1rem; }
.form-sent { border-left: 6px solid var(--ff-orange); background: var(--ff-light); padding: 1.6rem 1.8rem; }
.form-sent h3 { font-family: var(--ff-script); text-transform: lowercase; font-size: 2.2rem; margin-bottom: .4rem; }
.form-sent p { margin: 0; }

/* Footer: top edge lower on the left like the menu bar's bottom edge */
.site-footer { background: var(--ff-dark); color: #fff; padding: calc(4.5rem + var(--ff-slant)) 0 1.6rem; clip-path: polygon(0 var(--ff-slant), 100% 0, 100% 100%, 0 100%); }
.site-footer h4 { font-weight: 800; font-size: 1rem; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--ff-orange); }
.footer-brand { font-family: var(--ff-script); text-transform: lowercase; font-size: 2.4rem; line-height: 1; }
.footer-tagline { color: rgba(255, 255, 255, .8); }
.socials { display: flex; justify-content: center; gap: .8rem; margin-top: 1.5rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); display: grid; place-items: center; font-size: 1rem; color: #fff; }
.socials a:hover { background: var(--ff-orange); border-color: var(--ff-orange); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 3.5rem; padding-top: 1.4rem; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: rgba(255, 255, 255, .7); }

/* Video and photo popups */
.video-modal .modal-content, .photo-modal .modal-content { background: #000; border: 0; border-radius: 0; }
.video-modal .btn-close, .photo-modal .btn-close { position: absolute; top: -2.4rem; right: 0; }
.photo-modal .carousel-item img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; background: #000; }

@media (max-width: 991.98px) {
	:root { --ff-slant: 18px; }
	.site-header { height: 72px; }
	.header-square { width: 72px; font-size: 1.15rem; }
	.brand { font-size: 1.5rem; padding: 0 1rem; }
	.hero { height: 71vw; min-height: 299px; }
	.sticker { width: 288px; --sticker-y: 40%; }
	.intro { padding-top: 170px; }
	/* Keep "celtic, maritime & folk" on one line: the line is about 9.5em wide */
	.intro h1 { font-size: min(2.4rem, calc((100vw - 24px) / 10)); }
	/* The sticker covers the bottom corners on phones, so these sit at the top */
	.hero-watch { right: 1rem; top: calc(var(--ff-slant) + 1rem); bottom: auto; font-size: 0; gap: 0; }
	.hero-watch span { width: 46px; height: 46px; font-size: .95rem; }
	.hero-dots { left: 1rem; top: calc(var(--ff-slant) + 1.9rem); bottom: auto; }
	.hero-dots button { width: 18px; }
	.announce { font-size: .75rem; padding: .6rem 2.4rem; }
	/* Too narrow for one line: the link goes on its own line and the // is dropped */
	.announce .sep { display: none; }
	.announce a { display: block; margin-top: .15rem; }
	.announce button { right: .5rem; }
	.bio-band { --overlap: 90px; }
	.show-row { grid-template-columns: 1fr auto; gap: .2rem 1rem; }
	.show-row .date, .show-row .time, .show-row .venue, .show-row .city { grid-column: 1; }
	.show-row .map, .show-row > span.map-none { grid-column: 2; grid-row: 1 / span 4; }
	.show-card.next { transform: none; }
	.quote-text blockquote { font-size: 1.2rem; }
	.quote-card::before { left: 0; width: 6px; }
	.quote-text { padding: 2rem 1.6rem; }
	.media-card { grid-template-columns: 1fr; }
	.media-card .thumb { min-height: 200px; }
	.venues { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
