/* ==========================================================================
   The Quartet Funk — animations, decorations and widget styles
   Utility classes go in Elementor › Advanced › CSS Classes.
   ========================================================================== */

:root {
	--tq-ink: #111111;
	--tq-bg: #FAF7F0;
	--tq-red: #BA1208;
	--tq-blue: #0F3791;
	--tq-ocra: #D09816;
	--tq-green: #79F707;
	--tq-lime: #E1EF73;
	--tq-disp: 'Shrikhand', cursive;
	--tq-body: 'Rubik', system-ui, sans-serif;
	--tq-mono: 'Rubik Mono One', ui-monospace, monospace;
	--tq-pop-ease: cubic-bezier(.34, 1.56, .64, 1);
}

.tq-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

/* ---------- Keyframes ---------- */
@keyframes tq-spin { to { transform: rotate(360deg); } }
@keyframes tq-spin-rev { to { transform: rotate(-360deg); } }
@keyframes tq-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-4deg); } }
@keyframes tq-marquee { to { transform: translateX(-50%); } }
@keyframes tq-blob { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 50% { border-radius: 63% 37% 38% 62% / 58% 61% 39% 42%; } }
@keyframes tq-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes tq-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes tq-groove { 0%, 100% { transform: rotate(-7deg) translateY(0); } 25% { transform: rotate(0) translateY(-12px); } 50% { transform: rotate(7deg) translateY(0); } 75% { transform: rotate(0) translateY(-12px); } }
@keyframes tq-wobble { 0%, 100% { rotate: -5deg; scale: 1; } 50% { rotate: 5deg; scale: 1.06; } }
@keyframes tq-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.25; } }
@keyframes tq-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Motion utilities ---------- */
.tq-spin { animation: tq-spin 18s linear infinite; }
.tq-spin-slow { animation: tq-spin 40s linear infinite; }
.tq-spin-rev { animation: tq-spin-rev 14s linear infinite; }
.tq-groove { animation: tq-groove 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
.tq-float { animation: tq-float 5s ease-in-out infinite; }
.tq-wobble { animation: tq-wobble 3s ease-in-out infinite; }
.tq-wobble:nth-child(2n) { animation-delay: .5s; }
.tq-wobble:nth-child(3n) { animation-delay: 1s; }
.tq-pulse { animation: tq-pulse 1.2s ease-in-out infinite; }
.tq-blob { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: tq-blob 9s ease-in-out infinite; }

/* Bouncing letters on a Heading widget (letters are split by tq-funk.js) */
.tq-bounce-letters .tq-ch { display: inline-block; animation: tq-bounce 1.6s ease-in-out infinite; }

/* Hover fun */
.tq-wiggle, .tq-wiggle .elementor-button { transition: transform .25s; }
.tq-wiggle:hover, .tq-wiggle .elementor-button:hover { transform: rotate(-4deg) scale(1.06); }
.tq-pop { transition: transform .35s var(--tq-pop-ease); }
.tq-pop:hover { transform: translateY(-10px) rotate(1.5deg); }

/* Static tilts */
.tq-tilt-l { rotate: -3deg; }
.tq-tilt-r { rotate: 3deg; }

/* Outline numbers (e.g. "01") */
.tq-outline .elementor-heading-title { color: transparent !important; -webkit-text-stroke: 3px var(--tq-outline, var(--tq-ink)); }
.tq-outline-lime { --tq-outline: var(--tq-lime); }

/* Sticky header container */
.tq-sticky { position: sticky !important; top: 0; z-index: 99; }
body.admin-bar .tq-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tq-sticky { top: 0; } }

/* ---------- Decorations on containers ---------- */
/* Colour pickers for decorations */
.tq-a-red { --tq-a: var(--tq-red); } .tq-a-blue { --tq-a: var(--tq-blue); } .tq-a-ocra { --tq-a: var(--tq-ocra); } .tq-a-green { --tq-a: var(--tq-green); } .tq-a-lime { --tq-a: var(--tq-lime); }
.tq-b-red { --tq-b: var(--tq-red); } .tq-b-blue { --tq-b: var(--tq-blue); } .tq-b-ocra { --tq-b: var(--tq-ocra); } .tq-b-green { --tq-b: var(--tq-green); } .tq-b-lime { --tq-b: var(--tq-lime); }
.tq-r-red { --tq-r: var(--tq-red); } .tq-r-blue { --tq-r: var(--tq-blue); } .tq-r-ocra { --tq-r: var(--tq-ocra); } .tq-r-green { --tq-r: var(--tq-green); } .tq-r-lime { --tq-r: var(--tq-lime); } .tq-r-ink { --tq-r: var(--tq-ink); }

.tq-blob-tl, .tq-blob-br, .tq-rays-tr, .tq-rays-l { position: relative; overflow: hidden; isolation: isolate; }
.tq-blob-tl > *, .tq-blob-br > *, .tq-rays-tr > *, .tq-rays-l > * { position: relative; z-index: 1; }

.e-con.tq-blob-tl::before, .tq-blob-tl::before {
	content: "" !important; display: block !important; position: absolute; z-index: 0; pointer-events: none;
	width: 420px; height: 420px; left: -170px; top: -60px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
	background: var(--tq-a, var(--tq-blue));
	animation: tq-blob 9s ease-in-out infinite;
}
.e-con.tq-blob-br::after, .tq-blob-br::after {
	content: "" !important; display: block !important; position: absolute; z-index: 0; pointer-events: none;
	width: 260px; height: 260px; right: 5%; bottom: -80px; border-radius: 63% 37% 38% 62% / 58% 61% 39% 42%;
	background: var(--tq-b, var(--tq-green));
	animation: tq-blob 9s ease-in-out infinite reverse, tq-float 5s ease-in-out infinite;
}
.e-con.tq-rays-tr::after, .e-con.tq-rays-l::before, .tq-rays-tr::after, .tq-rays-l::before {
	content: "" !important; display: block !important; position: absolute; z-index: 0; pointer-events: none;
	width: 1000px; height: 1000px; border-radius: 50%;
	background: repeating-conic-gradient(var(--tq-r, var(--tq-ocra)) 0 6deg, transparent 6deg 18deg);
	opacity: .25;
	animation: tq-spin 40s linear infinite;
}
.tq-rays-tr::after { right: -360px; top: -360px; }
.tq-rays-l::before { left: -420px; top: -200px; }
.e-con.tq-rays-tr::after, .e-con.tq-rays-l::before { background: repeating-conic-gradient(var(--tq-r, var(--tq-ocra)) 0 6deg, transparent 6deg 18deg) !important; }
.e-con.tq-blob-tl::before { background: var(--tq-a, var(--tq-blue)) !important; }
.e-con.tq-blob-br::after { background: var(--tq-b, var(--tq-green)) !important; }

@media (max-width: 767px) {
	.e-con.tq-blob-tl::before, .tq-blob-tl::before { width: 220px; height: 220px; left: -130px; top: -70px; }
	.e-con.tq-blob-br::after, .tq-blob-br::after { width: 150px; height: 150px; right: -40px; bottom: -50px; }
	.e-con.tq-rays-tr::after, .e-con.tq-rays-l::before { opacity: .18; }
}

/* Plugin widgets fill their column */
.elementor-widget-tq-hero-disc, .elementor-widget-tq-cover-stack, .elementor-widget-tq-vinyl, .elementor-widget-tq-video-grid, .elementor-widget-tq-contact-form, .elementor-widget-tq-marquee, .elementor-widget-tq-nav { width: 100%; }

/* ---------- Widget: Nav ---------- */
.tq-nav {
	--tq-nav-ink: var(--tq-ink); --tq-nav-bg: var(--tq-bg); --tq-nav-cta: var(--tq-ocra);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
	color: var(--tq-nav-ink); font-family: var(--tq-body);
}
.tq-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.tq-nav .tq-nav__brand img { display: block; height: 52px; width: auto; border-radius: 8px; background: #111111; }
.tq-nav__brand span { font-family: var(--tq-disp); font-size: 28px; line-height: 1; }
.tq-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tq-nav__link {
	display: inline-block; font-family: var(--tq-mono); font-size: 12px; line-height: 1.2;
	padding: 13px 15px; border-radius: 999px; color: var(--tq-nav-ink); text-decoration: none;
	border: 3px solid transparent; transition: transform .25s;
}
.tq-nav__link:hover { transform: rotate(-4deg) scale(1.06); color: var(--tq-nav-ink); }
.tq-nav__link.is-active { background: var(--tq-nav-ink); color: var(--tq-nav-bg); }
.tq-nav__link.is-cta { background: var(--tq-nav-cta); border-color: var(--tq-nav-ink); box-shadow: 4px 4px 0 var(--tq-nav-ink); }
.tq-nav__link:focus-visible, .tq-nav__toggle:focus-visible { outline: 3px solid var(--tq-blue); outline-offset: 3px; }
.tq-nav__toggle {
	display: none; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px;
	font-family: var(--tq-mono); font-size: 12px; color: var(--tq-nav-ink);
	background: var(--tq-nav-bg); border: 3px solid var(--tq-nav-ink); border-radius: 999px; cursor: pointer;
}
.tq-nav__bars { display: grid; gap: 4px; }
.tq-nav__bars span { display: block; width: 20px; height: 3px; background: currentColor; border-radius: 2px; }
@media (max-width: 880px) {
	.tq-nav__toggle { display: inline-flex; }
	.tq-nav__list { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; }
	.tq-nav.is-open .tq-nav__list { display: flex; }
	.tq-nav__link { display: block; text-align: center; font-size: 14px; padding: 16px; }
}

/* ---------- Widget: Marquee ---------- */
.elementor-widget-tq-marquee { width: 100%; margin: 0 !important; }
.tq-marquee {
	--tq-speed: 22s; --tq-tilt: -2deg;
	overflow: hidden; padding: 16px 0; border-block: 4px solid var(--tq-ink);
	rotate: var(--tq-tilt); scale: 1.04;
}
.tq-marquee__track {
	display: flex; width: max-content; gap: 32px; white-space: nowrap;
	font-family: var(--tq-mono); font-size: 28px; line-height: 1.2;
	animation: tq-marquee var(--tq-speed) linear infinite;
}
.tq-marquee.is-reverse .tq-marquee__track { animation-direction: reverse; }
@media (max-width: 767px) { .tq-marquee__track { font-size: 20px; } }

/* The section holding a marquee: no empty band around it, tilt may overlap neighbours, no sideways scroll */
.e-con:has(> .elementor-widget-tq-marquee),
.e-con:has(> .e-con-inner > .elementor-widget-tq-marquee) {
	padding: 0 !important; --padding-left: 0px; --padding-right: 0px;
	max-width: none !important;
	overflow-x: clip !important; overflow-y: visible !important;
	position: relative; z-index: 3;
}

/* ---------- Widget: Hero Disc ---------- */
.tq-disc {
	--tq-ray: var(--tq-ocra); --tq-ray-bg: var(--tq-bg); --tq-shadow: var(--tq-red);
	--tq-badge-bg: var(--tq-ink); --tq-badge-fg: var(--tq-bg);
	position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; margin-inline: auto;
}
.tq-disc__rays {
	position: absolute; inset: 0; border-radius: 50%; border: 4px solid var(--tq-ink);
	background: repeating-conic-gradient(var(--tq-ray) 0 10deg, var(--tq-ray-bg) 10deg 20deg);
}
.tq-disc__logo { position: absolute; inset: 14% 22%; }
.tq-disc .tq-disc__logo img {
	display: block; width: 100%; height: 100%; object-fit: contain;
	background: #111111; border: 4px solid var(--tq-ink); border-radius: 24px;
	box-shadow: 10px 10px 0 var(--tq-shadow);
}
.tq-disc__badge { position: absolute; right: -4%; top: -4%; width: 34%; height: 34%; background: var(--tq-badge-bg); border-radius: 50%; }
.tq-disc__badge text { font-family: var(--tq-mono); font-size: 12px; fill: var(--tq-badge-fg); }

/* ---------- Widget: Vinyl Album ---------- */
.tq-vinyl {
	--tq-accent: var(--tq-red); --tq-accent-fg: #FFFFFF; --tq-frame: var(--tq-ink);
	position: relative; display: block; width: 100%; max-width: 520px; text-decoration: none; color: inherit;
	transition: transform .3s;
}
a.tq-vinyl:hover { transform: rotate(-2deg) scale(1.02); }
.tq-vinyl__stage { position: relative; display: block; aspect-ratio: 1 / 1; margin-right: 20%; }
.tq-vinyl__disc {
	position: absolute; inset: 4%; border-radius: 50%; display: grid; place-items: center;
	background: repeating-radial-gradient(circle, #111 0 3px, #2a2a2a 3px 5px);
	transition: transform .7s var(--tq-pop-ease);
}
.tq-vinyl__label { width: 34%; height: 34%; border-radius: 50%; background: var(--tq-accent); border: 6px solid #111; }
.tq-vinyl:hover .tq-vinyl__disc, .tq-vinyl:focus-visible .tq-vinyl__disc { transform: translateX(42%) rotate(200deg); }
.tq-vinyl .tq-vinyl__cover {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center;
	box-sizing: border-box; border: 4px solid var(--tq-frame); box-shadow: 12px 12px 0 var(--tq-accent); background: var(--tq-bg);
}
.tq-vinyl__badge {
	position: absolute; left: -12px; top: -12px; rotate: -6deg;
	font-family: var(--tq-mono); font-size: 12px; padding: 8px 12px;
	background: var(--tq-accent); color: var(--tq-accent-fg); border: 3px solid var(--tq-frame); border-radius: 999px;
}

/* ---------- Widget: Equalizer ---------- */
.tq-eq { --tq-bar: 22px; display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.tq-eq span { width: var(--tq-bar); height: 100%; border: 3px solid var(--tq-ink); transform-origin: bottom; animation: tq-eq 1s ease-in-out infinite; }

/* ---------- Widget: Cover Stack ---------- */
.tq-stack { position: relative; height: 340px; max-width: 480px; }
.tq-stack .tq-stack__item { position: absolute; width: 46%; aspect-ratio: 1 / 1; object-fit: cover; border: 4px solid var(--tq-ink); box-shadow: 8px 8px 0 var(--tq-ink); }
.tq-stack__item--1 { left: 0; top: 12%; rotate: -10deg; }
.tq-stack__item--2 { left: 25%; top: 0; rotate: 4deg; animation-delay: .6s; }
.tq-stack__item--3 { left: 50%; top: 26%; rotate: 12deg; animation-delay: 1.2s; }

/* ---------- Widget: Dancing Logo ---------- */
.tq-logo { --tq-frame: var(--tq-bg); --tq-shadow: var(--tq-red); display: flex; justify-content: center; }
.tq-logo img, .elementor .tq-logo img { display: block; width: 280px; max-width: 100%; height: auto; background: #111111; border: 4px solid var(--tq-frame); border-radius: 28px; box-shadow: 12px 12px 0 var(--tq-shadow); }

/* ---------- Pills (filters, topics) ---------- */
.tq-pill {
	font-family: var(--tq-mono); font-size: 12px; line-height: 1.2; padding: 13px 18px; min-height: 44px;
	border-radius: 999px; border: 3px solid var(--tq-ink); background: #FFFFFF; color: var(--tq-ink);
	cursor: pointer; transition: transform .25s;
}
.tq-pill:hover { transform: rotate(-4deg) scale(1.06); }
.tq-pill.is-on { background: var(--tq-ink); color: #FFFFFF; box-shadow: 4px 4px 0 var(--tq-ocra); }
.tq-pill:focus-visible { outline: 3px solid var(--tq-blue); outline-offset: 3px; }

/* ---------- Widget: Video Grid ---------- */
.tq-vgrid__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tq-vgrid__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px; }
.tq-vcard {
	all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; cursor: pointer;
	font-family: var(--tq-body); color: var(--tq-ink); transition: transform .35s var(--tq-pop-ease);
}
.tq-vcard[hidden] { display: none; }
.tq-vcard:disabled { cursor: default; }
.tq-vcard:not(:disabled):hover { transform: translateY(-10px) rotate(-1.5deg); }
.tq-vcard:focus-visible { outline: 3px solid var(--tq-blue); outline-offset: 6px; border-radius: 24px; }
.tq-vcard__thumb {
	position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden;
	border: 4px solid var(--tq-ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--tq-ink);
}
.tq-vcard .tq-vcard__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tq-vcard__play {
	position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
	background: var(--tq-bg); color: var(--tq-ink); border: 4px solid var(--tq-ink); transition: transform .35s var(--tq-pop-ease);
}
.tq-vcard__play svg { margin-left: 4px; }
.tq-vcard:not(:disabled):hover .tq-vcard__play { transform: scale(1.2) rotate(-10deg); }
.tq-vcard__time { position: absolute; right: 14px; bottom: 12px; font-family: var(--tq-mono); font-size: 11px; padding: 6px 10px; background: var(--tq-ink); color: #FFFFFF; border-radius: 999px; }
.tq-vcard__cat { align-self: flex-start; font-family: var(--tq-mono); font-size: 11px; padding: 7px 12px; border: 3px solid var(--tq-ink); border-radius: 999px; }
.tq-vcard__title { font-family: var(--tq-disp); font-size: 30px; line-height: 1.05; }
.tq-vcard__meta { font-size: 15px; font-weight: 500; }
.tq-vmodal { width: min(1100px, 94vw); padding: 0; border: 5px solid var(--tq-ink); border-radius: 24px; background: #000000; overflow: visible; }
.tq-vmodal::backdrop { background: rgba(17, 17, 17, .85); }
.tq-vmodal__frame { aspect-ratio: 16 / 9; }
.tq-vmodal__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 18px; display: block; }
.tq-vmodal__close {
	position: absolute; right: -18px; top: -18px; width: 48px; height: 48px; border-radius: 50%;
	background: var(--tq-green); color: var(--tq-ink); border: 4px solid var(--tq-ink); font-size: 20px; cursor: pointer;
}

/* ---------- Widget: Contact Form ---------- */
.tq-form {
	--tq-card: var(--tq-lime); --tq-ink: #111111; --tq-shadow: var(--tq-red); --tq-btn: var(--tq-red); --tq-btn-fg: #FFFFFF;
	display: flex; flex-direction: column; gap: 18px; padding: 36px;
	background: var(--tq-card); color: var(--tq-ink); font-family: var(--tq-body);
	border: 4px solid var(--tq-ink); border-radius: 32px; box-shadow: 14px 14px 0 var(--tq-shadow);
}
.tq-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tq-form fieldset { margin: 0; padding: 0; border: 0; }
.tq-form legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.tq-form__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tq-form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.tq-form__row[hidden] { display: none; }
.tq-form__booking { padding: 18px; border: 3px dashed var(--tq-ink); border-radius: 18px; }
.tq-form__row > label, .tq-form__full { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.tq-form input[type="text"], .tq-form input[type="email"], .tq-form input[type="date"], .tq-form textarea {
	font: inherit; font-weight: 400; padding: 14px 16px; border: 3px solid var(--tq-ink); border-radius: 14px;
	background: #FFFFFF; color: #111111; width: 100%; box-sizing: border-box;
}
.tq-form textarea { resize: vertical; }
.tq-form input:focus-visible, .tq-form textarea:focus-visible { outline: 3px solid var(--tq-blue); outline-offset: 2px; }
.tq-form__check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.tq-form__check input { width: 22px; height: 22px; margin: 0; accent-color: var(--tq-ink); flex: 0 0 auto; }
.tq-form__check a { color: inherit; text-decoration: underline; }
.tq-form__submit {
	align-self: flex-start; font-family: var(--tq-mono); font-size: 15px; padding: 18px 30px; min-height: 48px;
	background: var(--tq-btn); color: var(--tq-btn-fg); border: 4px solid var(--tq-ink); border-radius: 999px;
	box-shadow: 6px 6px 0 var(--tq-ink); cursor: pointer;
}
.tq-form__submit[disabled] { opacity: .6; cursor: progress; }
.tq-form__status { margin: 0; font-weight: 700; min-height: 1.4em; }
.tq-form__status.is-error { color: #8A0C05; }
@media (max-width: 767px) { .tq-form { padding: 24px; box-shadow: 8px 8px 0 var(--tq-shadow); } }

/* ---------- Phone fixes ---------- */
@media (max-width: 767px) {
	.elementor .e-con.tq-pop { border-radius: 28px !important; }
}
@media (max-width: 480px) {
	.tq-nav { gap: 10px; }
	.tq-nav .tq-nav__brand { gap: 10px; min-width: 0; }
	.tq-nav .tq-nav__brand img { height: 40px; }
	.tq-nav .tq-nav__brand span { font-size: 22px; }
	.tq-nav__toggle { padding: 10px 12px; }
	.tq-nav__toggle-label {
		position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
		overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
	}
}

/* ---------- Inline audio (track trailers) ---------- */
a[data-tq-audio] { cursor: pointer; }
li.tq-playing .elementor-icon-list-text, li.tq-loading .elementor-icon-list-text { font-weight: 700; }
li.tq-playing .elementor-icon-list-text::after { content: "  ♫ playing"; font-family: var(--tq-mono); font-size: .7em; letter-spacing: .02em; white-space: nowrap; }
li.tq-loading .elementor-icon-list-text::after { content: "  …"; }
li.tq-playing .elementor-icon-list-icon { animation: tq-pulse 1s ease-in-out infinite; }

/* ---------- Motion off ---------- */
body.tq-motion-off *, body.tq-motion-off *::before, body.tq-motion-off *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
	[class*="tq-"], [class*="tq-"] *, [class*="tq-"]::before, [class*="tq-"]::after { animation: none !important; transition: none !important; }
}
